bazaar in chroot
Jelmer Vernooij
jelmer at samba.org
Wed Dec 21 11:24:22 UTC 2011
Hi Hajo,
Am 21/12/11 11:16, schrieb Hajo Locke:
> Hello,
>
> for my chroot-ssh users i inserted bazaar in chroot environment. I
> copied all files/libs which belong to relevant packages just like
> other applications before.
> But in chroot i get error-message: bzr: warning: some compiled
> extensions could not be loaded; see
> <https://answers.launchpad.net/bzr/+faq/703>
>
> Log says: 0.095 failed to load compiled extension: No module named
> _static_tuple_c
> 0.102 failed to load compiled extension: cannot import name
> _btree_serializer_pyx
>
> I dont find missing files. All of the needed .so .pyc files in chroot
> /usr/share/pyshared /usr/lib/python2.6/dist-packages are existent just
> like in non-chroot.
> i tried to figure out with strace-tools but this produces a large log
> so i cant decide which "file not found"-message is relevant.
> Is there a other way to find out which files are needed and causes
> this error?
> I can supress message by "echo ignore_missing_extensions=True >>
> ~/.bazaar/bazaar.conf" but i try to find better solution first.
> Any hints?
Is your chroot running the same version of Python?
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.
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/bd96559e/attachment.pgp>
More information about the bazaar
mailing list