Comment 6 for bug 942335

Revision history for this message
RonBraithwaite (1wp-rma-f1r) wrote : Re: [Bug 942335] cannot init-repo on OSX Lion with bzr_2.5b6

On Feb 28, 2012, at 5:05 AM, Gordon Tyler wrote:

> It's been compiled on Mac OS X 10.6 against SVN 1.6.17. Interestingly,
> on the system where I build the installer, /usr/lib/libpq* doesn't
> exist. libsvn is a universal binary with Intel 32-bit, 64-bit and PPC
> code.
>
> Could you try running this from a terminal and pasting the output here:
> otool -L /usr/lib/libsvn_client-1.0.dylib

I don't have otool - where can I get a copy? I've downloaded and installed the latest version of Qt, but it's not in there.

-Ron

> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/942335
>
> Title:
> cannot init-repo on OSX Lion with bzr_2.5b6
>
> Status in Mac Installers for Bazaar:
> New
>
> Bug description:
> Trying to create a local repo under OSX Lion, but the 2.5b6 is giving
> me problems. Here's the junk:
>
>
> Athena:WIN ron$ bzr init-repo browser
> bzr: ERROR: exceptions.ImportError: Unable to load subvertpy extensions: dlopen(/Library/Python/2.6/site-packages/subvertpy/client.so, 2): Library not loaded: /usr/lib/libpq.5.dylib
> Referenced from: /usr/lib/libsvn_client-1.0.dylib
> Reason: no suitable image found. Did find:
> /usr/lib/libpq.5.dylib: mach-o, but wrong architecture
> /usr/lib/libpq.5.dylib: mach-o, but wrong architecture
>
> Traceback (most recent call last):
> File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 920, in exception_to_return_code
> return the_callable(*args, **kwargs)
> File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 1131, in run_bzr
> ret = run(*run_argv)
> File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 673, in run_argv_aliases
> return self.run(**all_cmd_args)
> File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 695, in run
> return self._operation.run_simple(*args, **kwargs)
> File "/Library/Python/2.6/site-packages/bzrlib/cleanup.py", line 136, in run_simple
> self.cleanups, self.func, *args, **kwargs)
> File "/Library/Python/2.6/site-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups
> result = func(*args, **kwargs)
> File "/Library/Python/2.6/site-packages/bzrlib/builtins.py", line 2191, in run
> show_bzrdir_info(newdir, verbose=0, outfile=self.outf)
> File "/Library/Python/2.6/site-packages/bzrlib/info.py", line 377, in show_bzrdir_info
> outfile)
> File "/Library/Python/2.6/site-packages/bzrlib/info.py", line 393, in show_component_info
> format = describe_format(control, repository, branch, working)
> File "/Library/Python/2.6/site-packages/bzrlib/info.py", line 497, in describe_format
> format = controldir.format_registry.make_bzrdir(key)
> File "/Library/Python/2.6/site-packages/bzrlib/controldir.py", line 1346, in make_bzrdir
> return self.get(key)()
> File "/Library/Python/2.6/site-packages/bzrlib/registry.py", line 177, in get
> return self._dict[self._get_key_or_default(key)].get_obj()
> File "/Library/Python/2.6/site-packages/bzrlib/registry.py", line 74, in get_obj
> self._obj = get_named_object(self._module_name, self._member_name)
> File "/Library/Python/2.6/site-packages/bzrlib/pyutils.py", line 51, in get_named_object
> obj = __import__(module_name, {}, {}, from_list)
> File "/Library/Python/2.6/site-packages/bzrlib/plugins/svn/workingtree.py", line 26, in <module>
> import subvertpy
> File "/Library/Python/2.6/site-packages/subvertpy/__init__.py", line 130, in <module>
> raise ImportError("Unable to load subvertpy extensions: %s" % e)
> ImportError: Unable to load subvertpy extensions: dlopen(/Library/Python/2.6/site-packages/subvertpy/client.so, 2): Library not loaded: /usr/lib/libpq.5.dylib
> Referenced from: /usr/lib/libsvn_client-1.0.dylib
> Reason: no suitable image found. Did find:
> /usr/lib/libpq.5.dylib: mach-o, but wrong architecture
> /usr/lib/libpq.5.dylib: mach-o, but wrong architecture
>
> bzr 2.5b6 on python 2.6.7 (Darwin-11.3.0-x86_64-i386-64bit)
> arguments: ['/usr/local/bin/bzr', 'init-repo', 'browser']
> plugins: bash_completion[2.5b6], bzrtools[2.5.0], changelog_merge[2.5b6],
> colo[0.4.0], email[unknown], explorer[1.2.1], fastimport[0.12.0dev],
> git[0.6.7], keychain[0.1.0], launchpad[2.5b6], loom[2.2.1dev],
> netrc_credential_store[2.5b6], news_merge[2.5b6], pipeline[1.4.0],
> po_merge[2.5b6], qbzr[0.22.0], rewrite[0.6.3dev], svn[1.1.2],
> upload[1.0.1dev], weave_fmt[2.5b6], xmloutput[0.8.8]
> encoding: 'utf-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'
>
> *** Bazaar has encountered an internal error. This probably indicates a
> bug in Bazaar. You can help us fix it by filing a bug report at
> https://bugs.launchpad.net/bzr/+filebug
> including this traceback and a description of the problem.
> Athena:WIN ron$ bzr init-repo browser
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/bzr-mac-installers/+bug/942335/+subscriptions