Package: fakechroot Version: 2.8-1.1 Severity: important Hello:
I came here when trying to use debirf to create a i386 initrd image from amd64. debirf is a system that will create diskless, all-in-ram images (kernel and initramfs) that boot entirely into ram and leave the user in a fully functional Debian system. [0] It is made up of a series of bash scripts which in turns uses debootstrap, fakeroot, fakechroot. Building of cross initramfs images was recently added, in version 0.22 which is not currentl on sid, but can be installed from cmrg apt repository: deb http://cmrg.fifthhorseman.net/debian unstable debirf This is a description of my test case: mkdir ~/test cd ~/test tar xvfz /usr/share/doc/debirf/example-profiles/minimal.tgz wget http://localhost:3142/ftp.de.debian.org/debian/pool/main/l/linux-2.6/linux- image-2.6.26-1-486_2.6.26-12_i386.deb DEBIRF_ARCH=i386 DEBIRF_MIRROR=http://localhost:3142/ftp.de.debian.org/debian debirf make -k ~/test/linux-image-2.6.26-1-486_2.6.26-12_i386.deb minimal In this case I've specified a local mirror/cacher http://localhost:3142 but you can connect directly to any other debian mirror. Once you do this, it start processing until it stalls with this error: W: Failure trying to run: chroot /home/rasasi/Vortex/debirf/rescue/root dpkg --force-depends --install var/cache/apt/archives/base-files_5_i386.deb var/cache/apt/archives/base-passwd_3.5.19_i386.deb When I inspect the debootstrap log file I have some messages like this(find attached the whole log): cp: symbol lookup error: /usr/lib32/fakechroot/libfakechroot.so: undefined symbol: rpl_malloc I'll write shortly an analysis of what I think it's happening and a possible workaround which is working for me. Regards, [0] http://cmrg.fifthhorseman.net/wiki/debirf -- System Information: Debian Release: 5.0 APT prefers testing APT policy: (500, 'testing'), (80, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-1-amd64 (SMP w/4 CPU cores) Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages fakechroot depends on: ii libc6 2.7-16 GNU C Library: Shared libraries fakechroot recommends no packages. fakechroot suggests no packages. -- no debconf information
gpgv: Signature made Fri Jan 9 03:29:22 2009 CET using DSA key ID 6070D3A1 gpgv: Good signature from "Debian Archive Automatic Signing Key (4.0/etch) <ftpmas...@debian.org>" Selecting previously deselected package base-files. dpkg: regarding .../archives/base-files_5_i386.deb containing base-files, pre-dependency problem: base-files pre-depends on awk awk is not installed. dpkg: warning - ignoring pre-dependency problem ! (Reading database ... 0 files and directories currently installed.) Unpacking base-files (from .../archives/base-files_5_i386.deb) ... Selecting previously deselected package base-passwd. Unpacking base-passwd (from .../base-passwd_3.5.19_i386.deb) ... dpkg: base-passwd: dependency problems, but configuring anyway as you request: base-passwd depends on libc6 (>= 2.7-1); however: Package libc6 is not installed. Setting up base-passwd (3.5.19) ... cp: symbol lookup error: /usr/lib32/fakechroot/libfakechroot.so: undefined symbol: rpl_malloc dpkg: error processing base-passwd (--install): subprocess post-installation script returned error exit status 127 dpkg: base-files: dependency problems, but configuring anyway as you request: base-files depends on awk; however: Package awk is not installed. base-files depends on base-passwd (>= 2.0.3.4); however: Package base-passwd is not configured yet. Setting up base-files (5) ... /bin/sh: symbol lookup error: /usr/lib32/fakechroot/libfakechroot.so: undefined symbol: rpl_malloc dpkg: error processing base-files (--install): subprocess post-installation script returned error exit status 127 Errors were encountered while processing: base-passwd base-files