bazaar in chroot

Jelmer Vernooij jelmer at samba.org
Wed Dec 21 12:31:29 UTC 2011


Hi Hajo,

Am 21/12/11 12:54, schrieb Hajo Locke:
> Hello,
>
>>> Another thing you could try running bzr under strace to see what
>>> location it's trying to load the extensions from - just grep for
>>> _static_tuple_c in the strace output.
>
> ahh, i straced again and found the problem.
> all of the .so files were searched in chrooted
> /usr/share/pyshared/bzrlib/
> in non-chrooted env this .so files are all located in
> /usr/lib/python2.6/dist-packages/bzrlib
>
> the chrooted bzr did not search for files in chrooted
> /usr/lib/python2.6/dist-packages/bzrlib which is also existent.
> I copied the files and solved this by now. Are this searchpaths
> adjustable by some conf-settings in ~/.bazaar/bazaar.conf ? there is
> no conf in original packages.
This all depends on the Python configuration. If you run the "setup.py
install" from bzr inside of the chroot it would probably install to the
right locations.

Cheers,

Jelmer

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/bazaar/attachments/20111221/cad49c3e/attachment.pgp>


More information about the bazaar mailing list