Second stage fails on Debian sparc guest

Bug #1254765 reported by Ken Sharp on 2013-11-25
This bug affects 1 person
Affects Status Importance Assigned to Milestone
debootstrap (Ubuntu)

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
I: Running command: debootstrap --arch sparc --foreign testing sparc
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
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
 PATH=(custom, no user)
SourcePackage: debootstrap
UpgradeStatus: No upgrade log present (probably fresh install)

Ken Sharp (kennybobs) wrote :
Ken Sharp (kennybobs) wrote :

Version: 1.6.0+dfsg-2ubuntu4

Same in Trusty.

tags: added: trusty
Ken Sharp (kennybobs) wrote :

Oops, that's the Qemu version.

qemu: Version: 1.6.0+dfsg-2ubuntu4
debootstrap: Version: 1.0.55

Ken Sharp (kennybobs) wrote :

# chroot sparc
chroot: failed to run command ‘/bin/bash’: No such file or directory

# file bash
bash: ELF 32-bit MSB executable, SPARC32PLUS, V8+ Required, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.26, BuildID[sha1]=0x3c414ea5e87b998b34aac3a3c5e31406787e6ff8, stripped

tags: added: i386
Ken Sharp (kennybobs) on 2014-01-15
tags: added: saucy
mzenzes (mzenzes) wrote :

same problem for trusty in amd64... in armhf it works

mzenzes (mzenzes) wrote :

editing comments is not possible? hm, anyways

i meant arm64

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers