[Bug 1463840] Re: debootstrap --variant=fakechroot --arch=i386 impossible on amd64

Ken Sharp 1463840 at bugs.launchpad.net
Sun Feb 4 17:39:19 UTC 2024


** Changed in: fakechroot (Ubuntu)
     Assignee: (unassigned) => Ken Sharp (kennybobs)

** Package changed: fakechroot (Ubuntu) => fakeroot (Ubuntu)

-- 
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/1463840

Title:
  debootstrap --variant=fakechroot --arch=i386 impossible on amd64

Status in fakeroot package in Ubuntu:
  Confirmed

Bug description:
  It is simply impossible to create an i386 chroot using fakechroot on a
  Trusty amd64 installation. This variant has been broken for a billion
  reasons since I started using Ubuntu.

  $ fakeroot fakechroot debootstrap --arch=i386 --variant=fakechroot trusty ~/chroot-trusty-i386 http://localhost:3142/gb.archive.ubuntu.com/ubuntu/
  [...]
  W: Failure trying to run: chroot /home/test/chroot-trusty-i386 dpkg --force-depends --install /var/cache/apt/archives/base-passwd_3.5.33_i386.deb
  W: See /home/test/chroot-trusty-i386/debootstrap/debootstrap.log for details

  $ cat /home/test/chroot-trusty-i386/debootstrap/debootstrap.log
  gpgv: Signature made Thu May  8 15:20:33 2014 BST using DSA key ID 437D05B5
  gpgv: Good signature from "Ubuntu Archive Automatic Signing Key <ftpmaster at ubuntu.com>"
  gpgv: Signature made Thu May  8 15:20:33 2014 BST using RSA key ID C0B21F32
  gpgv: Good signature from "Ubuntu Archive Automatic Signing Key (2012) <ftpmaster at ubuntu.com>"
  ERROR: ld.so: object 'libfakechroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
  ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
  dpkg: error: requested operation requires superuser privilege

  $ sudo apt-get install libfakechroot:i386
  (Successful install)

  Try again....

  $ cat /home/test/chroot-trusty-i386/debootstrap/debootstrap.log
  gpgv: Signature made Thu May  8 15:20:33 2014 BST using DSA key ID 437D05B5
  gpgv: Good signature from "Ubuntu Archive Automatic Signing Key <ftpmaster at ubuntu.com>"
  gpgv: Signature made Thu May  8 15:20:33 2014 BST using RSA key ID C0B21F32
  gpgv: Good signature from "Ubuntu Archive Automatic Signing Key (2012) <ftpmaster at ubuntu.com>"
  ERROR: ld.so: object 'libfakechroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
  ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
  dpkg: error: requested operation requires superuser privilege
  gpgv: Signature made Thu May  8 15:20:33 2014 BST using DSA key ID 437D05B5
  gpgv: Good signature from "Ubuntu Archive Automatic Signing Key <ftpmaster at ubuntu.com>"
  gpgv: Signature made Thu May  8 15:20:33 2014 BST using RSA key ID C0B21F32
  gpgv: Good signature from "Ubuntu Archive Automatic Signing Key (2012) <ftpmaster at ubuntu.com>"
  gpgv: Signature made Thu May  8 15:20:33 2014 BST using DSA key ID 437D05B5
  gpgv: Good signature from "Ubuntu Archive Automatic Signing Key <ftpmaster at ubuntu.com>"
  gpgv: Signature made Thu May  8 15:20:33 2014 BST using RSA key ID C0B21F32
  gpgv: Good signature from "Ubuntu Archive Automatic Signing Key (2012) <ftpmaster at ubuntu.com>"
  ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
  dpkg: error: requested operation requires superuser privilege

  And again...

  $ fakeroot fakechroot -l /usr/lib/i386-linux-gnu/fakechroot/libfakechroot.so debootstrap --arch=i386 --variant=fakechroot trusty ~/chroot-trusty-i386 http://localhost:3142/gb.archive.ubuntu.com/ubuntu/
  fakechroot: preload library not found, aborting.

  I give up at this point.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: fakechroot 2.17.2-1
  ProcVersionSignature: Ubuntu 3.13.0-53.89-generic 3.13.11-ckt19
  Uname: Linux 3.13.0-53-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 2.14.1-0ubuntu3.11
  Architecture: amd64
  Date: Wed Jun 10 14:31:18 2015
  Dependencies:
   gcc-4.9-base 4.9.1-0ubuntu1
   libc6 2.19-0ubuntu6.6
   libfakechroot 2.17.2-1
   libgcc1 1:4.9.1-0ubuntu1
   multiarch-support 2.19-0ubuntu6.6
  InstallationDate: Installed on 2014-11-11 (210 days ago)
  InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
  PackageArchitecture: all
  SourcePackage: fakechroot
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list