[Bug 1254765] [NEW] Second stage fails on Debian sparc guest

Ken Sharp 1254765 at bugs.launchpad.net
Mon Nov 25 15:34:02 UTC 2013


Public bug reported:

Host: Ubuntu Precise amd64
Guest: Debian Testing sparc

The second stage of a debootstrap fails, claiming it cannot find a file
which does exist.

$ sudo qemu-debootstrap --arch=sparc testing sparc http://ftp.uk.debian.org/debian/
I: Running command: debootstrap --arch sparc --foreign testing sparc http://ftp.uk.debian.org/debian/
[...]
I: Running command: chroot sparc /debootstrap/debootstrap --second-stage
chroot: failed to run command `/debootstrap/debootstrap': No such file or directory

$ ll sparc/debootstrap/
total 108K
drwxr-xr-x  2 root root 4.0K Nov 25 14:59 ./
drwxr-xr-x 18 root root 4.0K May  7  2013 ../
-rw-r--r--  1 root root    6 Nov 25 14:59 arch
-rw-r--r--  1 root root 1012 Nov 25 14:59 base
-rwxr-xr-x  1 root root  19K Nov 25 14:59 debootstrap*
-rw-r--r--  1 root root  177 Nov 25 14:58 debootstrap.log
-rw-r--r--  1 root root  11K Nov 25 14:59 debpaths
-rw-r--r--  1 root root  792 Nov 25 14:59 devices.tar.gz
-rw-r--r--  1 root root  35K Nov 25 14:59 functions
-rw-r--r--  1 root root  754 Nov 25 14:59 required
-rw-r--r--  1 root root    8 Nov 25 14:59 suite
-rw-r--r--  1 root root 5.7K Nov 25 14:59 suite-script

Other chroots don't have this problem, it seems to be specific to the
sparc arch.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: debootstrap 1.0.40~ubuntu0.4
ProcVersionSignature: Ubuntu 3.8.0-33.48~precise1-generic 3.8.13.11
Uname: Linux 3.8.0-33-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: amd64
Date: Mon Nov 25 15:09:42 2013
InstallationMedia: Ubuntu 12.04.3 LTS "Precise Pangolin" - Release amd64 (20130820.1)
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_GB:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: debootstrap
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: debootstrap (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug precise

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

Title:
  Second stage fails on Debian sparc guest

Status in “debootstrap” package in Ubuntu:
  New

Bug description:
  Host: Ubuntu Precise amd64
  Guest: Debian Testing sparc

  The second stage of a debootstrap fails, claiming it cannot find a
  file which does exist.

  $ sudo qemu-debootstrap --arch=sparc testing sparc http://ftp.uk.debian.org/debian/
  I: Running command: debootstrap --arch sparc --foreign testing sparc http://ftp.uk.debian.org/debian/
  [...]
  I: Running command: chroot sparc /debootstrap/debootstrap --second-stage
  chroot: failed to run command `/debootstrap/debootstrap': No such file or directory

  $ ll sparc/debootstrap/
  total 108K
  drwxr-xr-x  2 root root 4.0K Nov 25 14:59 ./
  drwxr-xr-x 18 root root 4.0K May  7  2013 ../
  -rw-r--r--  1 root root    6 Nov 25 14:59 arch
  -rw-r--r--  1 root root 1012 Nov 25 14:59 base
  -rwxr-xr-x  1 root root  19K Nov 25 14:59 debootstrap*
  -rw-r--r--  1 root root  177 Nov 25 14:58 debootstrap.log
  -rw-r--r--  1 root root  11K Nov 25 14:59 debpaths
  -rw-r--r--  1 root root  792 Nov 25 14:59 devices.tar.gz
  -rw-r--r--  1 root root  35K Nov 25 14:59 functions
  -rw-r--r--  1 root root  754 Nov 25 14:59 required
  -rw-r--r--  1 root root    8 Nov 25 14:59 suite
  -rw-r--r--  1 root root 5.7K Nov 25 14:59 suite-script

  Other chroots don't have this problem, it seems to be specific to the
  sparc arch.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: debootstrap 1.0.40~ubuntu0.4
  ProcVersionSignature: Ubuntu 3.8.0-33.48~precise1-generic 3.8.13.11
  Uname: Linux 3.8.0-33-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.0.1-0ubuntu17.6
  Architecture: amd64
  Date: Mon Nov 25 15:09:42 2013
  InstallationMedia: Ubuntu 12.04.3 LTS "Precise Pangolin" - Release amd64 (20130820.1)
  MarkForUpload: True
  PackageArchitecture: all
  ProcEnviron:
   LANGUAGE=en_GB:en
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: debootstrap
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list