[buildd-tools-devel] Bug#877710: /usr/sbin/sbuild-createchroot: fails to create stretch arm64 schroot on unstable

Neil Williams codehelp at debian.org
Wed Oct 4 17:27:43 UTC 2017


Package: sbuild
Version: 0.73.0-4
Severity: important
File: /usr/sbin/sbuild-createchroot

$ sudo sbuild-createchroot --arch=arm64 --foreign stretch /srv/chroot/arm64 http://mirror.bytemark.co.uk/debian

$ sudo cp /usr/bin/qemu-aarch64-static /srv/chroot/arm64/usr/bin/
$ sudo chroot /srv/chroot/arm64/ 
I have no name!@sylvester:/# /debootstrap/debootstrap --second-stage
....
I: Configuring e2fsprogs...
I: Configuring libblkid1:arm64...
I: Configuring sysvinit-utils...
I: Configuring libmount1:arm64...
I: Configuring util-linux...
I: Configuring libc-bin...
W: Failure while configuring required packages.
W: See //debootstrap/debootstrap.log for details (possibly the package passwd is at fault)
I have no name!@sylvester:/# exit


>From the debootstrap.log:

Setting up gzip (1.6-5+b1) ...
Setting up bsdutils (1:2.29.2-1) ...
Setting up dash (0.5.8-2.4) ...
Setting up init-system-helpers (1.48) ...
Setting up libpam0g:arm64 (1.1.8-3.6) ...
Setting up libpam-modules-bin (1.1.8-3.6) ...
Setting up bash (4.4-5) ...
update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode
Setting up libpam-modules:arm64 (1.1.8-3.6) ...
Setting up libpam-runtime (1.1.8-3.6) ...
Setting up passwd (1:4.4-4.1) ...
duplicate group entry
delete line 'sbuild:x:121:neil'? No
group sbuild: no user neil
delete member 'neil'? No
duplicate group entry
delete line 'sbuild:x:121:neil'? No
group sbuild: no user neil
delete member 'neil'? No
grpck: no changes
Multiple entries named 'sbuild' in /etc/group. Please fix this with pwck or grpck.
grpconv: failed to prepare the new /etc/group entry 'sbuild'
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault
/bin/chown: cannot access '/etc/gshadow': No such file or directory
/bin/chmod: cannot access '/etc/gshadow': No such file or directory
Please correct the error and rerun `/sbin/shadowconfig on'
dpkg: error processing package passwd (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up login (1:4.4-4.1) ...
dpkg: libuuid1:arm64: dependency problems, but configuring anyway as you requested:
 libuuid1:arm64 depends on passwd; however:
  Package passwd is not configured yet.

The line:
Multiple entries named 'sbuild' in /etc/group. Please fix this with pwck or grpck.
would seem to indicate a problem within sbuild rather than debootstrap.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf, arm64

Kernel: Linux 4.12.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages sbuild depends on:
ii  adduser         3.116
ii  libsbuild-perl  0.73.0-4
ii  perl            5.26.0-8

Versions of packages sbuild recommends:
ii  autopkgtest  5.0
ii  debootstrap  1.0.91
ii  schroot      1.6.10-4

Versions of packages sbuild suggests:
pn  deborphan  <none>
ii  kmod       24-1
ii  wget       1.19.1-4

-- no debconf information



More information about the Buildd-tools-devel mailing list