[Bug 572882] Re: qemu-debootstrap does not support --variant=fakechroot
Today we have been looking into that at #emdebian and we got something running doing: 1. $ sudo ln -sf /usr/arm-linux-gnueabi/lib/ld-linux.so.3 ld-linux.so.3 2. Extract armel fakechroot into /tmp/fkch directory 3. Generate a chroot in /tmp/chroot_armel 4. $ LD_PRELOAD=$(pwd)/fkch/usr/lib/fakechroot/libfakechroot.so LD_LIBRARY_PATH=/usr/arm-linux-gnueabi/lib:$(pwd)/chroot_armel/lib:$(pwd)/chroot_armel/usr/lib:$(pwd)/fkch/usr/lib/ $(pwd)/fkch/usr/bin/fakechroot /usr/sbin/chroot $(pwd)/chroot_armel/ /bin/uname -a ERROR: ld.so: object '/tmp/fkch/usr/lib/fakechroot/libfakechroot.so' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object '/tmp/fkch/usr/lib/fakechroot/libfakechroot.so' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object '/tmp/fkch/usr/lib/fakechroot/libfakechroot.so' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object '/tmp/fkch/usr/lib/fakechroot/libfakechroot.so' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object '/tmp/fkch/usr/lib/fakechroot/libfakechroot.so' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object 'libfakechroot.so' from LD_PRELOAD cannot be preloaded: ignored. Linux enorme 2.6.37-2-amd64 #1 SMP Sun Feb 27 10:12:22 UTC 2011 armv7l GNU/Linux Best regards -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. https://bugs.launchpad.net/bugs/572882 Title: qemu-debootstrap does not support --variant=fakechroot -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 572882] Re: qemu-debootstrap does not support --variant=fakechroot
I think this will be solved more elegantly with multiarch :-) This bug was wontfixed at a time where a solution didn't seem anywhere near, but it would be interesting to revisit this once fakeroot is rebuilt against a multiarch loader -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. https://bugs.launchpad.net/bugs/572882 Title: qemu-debootstrap does not support --variant=fakechroot -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 572882] Re: qemu-debootstrap does not support --variant=fakechroot
I can see why that fails, but there's really no easy way to fix this. fakeroot/fakechroot cant be built statically I think as that would defeat the purpose of overriding the symbols in shared libs, and so they link to shared libs from the other arch. I'm happy to consider / review proposed changes to help this use case, but I dont think this is easy to fix and in fact I would recommend avoiding the combination of three fragile tools in a single command (qemu-arm-static + fakeroot + fakechroot ). The fake*root tools are even more fragile in Ubuntu due to usage of -Bsymbolic-funcs to build our eglibc. ** Changed in: qemu-kvm (Ubuntu) Status: New = Won't Fix -- qemu-debootstrap does not support --variant=fakechroot https://bugs.launchpad.net/bugs/572882 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs