[Bug 1001129] Re: fakeroot in amd64 lacking support for i386

Marc Olzheim 1001129 at bugs.launchpad.net
Tue Feb 26 10:45:31 UTC 2019


As the main point it that /usr/lib/i386-linux-gnu/libfakeroot is not
part of the patch, this patch fixes it for me. I guess it should
actually be replaced by an @@ macro though.

--- scripts/fakeroot.in.orig    2019-02-26 11:38:12.000000000 +0100
+++ scripts/fakeroot.in 2019-02-26 11:40:41.895722422 +0100
@@ -35,7 +35,7 @@
 
 USEABSLIBPATH=@LDPRELOADABS@
 LIB=lib at fakeroot_transformed@@DLSUFFIX@
-PATHS=@libdir@:${FAKEROOT_PREFIX}/lib64/libfakeroot:${FAKEROOT_PREFIX}/lib32/libfakeroot
+PATHS=@libdir@:/usr/lib/i386-linux-gnu/libfakeroot:${FAKEROOT_PREFIX}/lib64/libfakeroot:${FAKEROOT_PREFIX}/lib32/libfakeroot
 FAKED=${FAKEROOT_BINDIR}/@faked_transformed@
 
 FAKED_MODE="unknown-is-root"

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to fakeroot in Ubuntu.
https://bugs.launchpad.net/bugs/1001129

Title:
  fakeroot in amd64 lacking support for i386

Status in fakeroot package in Ubuntu:
  Confirmed
Status in fakeroot package in Debian:
  New

Bug description:
  fakeroot installation in precise amd64 lacks support for i386
  binaries. This is to the lacking of the library /usr/lib/i386-linux-
  gnu/libfakeroot/libfakeroot-sysv.so. Trying to solve this problem
  installing fakeroot:i386 (which uninstall fakeroot:amd64) makes
  imposible to use it with 64 bits chroot when using fakechroot and
  debootstrap to create an i386 system. To be clear, i've installed
  ia32-libs, so 32 bits binaries work well in my system. Some examples
  of the fakeroot malfunction:

  === Example with fakeroot:amd64 ===:

  $ fakechroot fakeroot debootstrap --variant=buildd --arch=i386 precise /home/dariemp/Escritorio/Chroot_i386 http://archive.ubuntu.com/ubuntu
   .........

   W: Failure trying to run: chroot /home/dariemp/Escritorio/Chroot_i386
  dpkg --force-depends --install /var/cache/apt/archives/base-
  files_6.5ubuntu6_i386.deb /var/cache/apt/archives/base-
  passwd_3.5.24_i386.deb

  $  fakechroot fakeroot chroot /home/dariemp/Escritorio/Chroot_i386
  dpkg --force-depends --install /var/cache/apt/archives/base-
  files_6.5ubuntu6_i386.deb /var/cache/apt/archives/base-
  passwd_3.5.24_i386.deb

  ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: ignored.
  dpkg: error: requested operation requires superuser privilege

  === Example with fakeroot:i386 ===:

  $ fakechroot fakeroot debootstrap --variant=buildd --arch=i386 precise
  /home/dariemp/Escritorio/Chroot_i386 http://archive.ubuntu.com/ubuntu

  ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: ignored.
  ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: ignored.
  ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: ignored.
  ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: ignored.
  E: debootstrap can only run as root

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fakeroot/+bug/1001129/+subscriptions



More information about the foundations-bugs mailing list