[buildd-tools-devel] Bug#875981: sbuild: creation of wheezy chroot fails with segfault
Rob Browning
rlb at defaultvalue.org
Sat Sep 16 19:28:07 UTC 2017
Package: sbuild
Version: 0.73.0-4
Severity: wishlist
I was trying to create a wheezy box, and it crashed.
# sbuild-createchroot --include=eatmydata,ccache,gnupg \
wheezy /srv/chroot/wheezy-amd64-sbuild http://deb.debian.org/debian
...
I: Extracting xz-utils...
I: Extracting zlib1g...
I: Installing core packages...
W: Failure trying to run: chroot /srv/chroot/wheezy-amd64-sbuild dpkg --force-depends --install /var/cache/apt/archives/base-passwd_3.5.26_amd64.deb
W: See /srv/chroot/wheezy-amd64-sbuild/debootstrap/debootstrap.log for details
E: Error running debootstrap at /usr/sbin/sbuild-createchroot line 268, <PH> line 4.
# tail /srv/chroot/wheezy-amd64-sbuild/debootstrap/debootstrap.log
Saving to: '/srv/chroot/wheezy-amd64-sbuild//var/cache/apt/archives/partial/zlib1g_1%3a1.2.7.dfsg-13_amd64.deb'
0K .......... .......... .......... .......... .......... 58% 714K 0s
50K .......... .......... .......... ..... 100% 2.16M=0.09s
2017-09-16 12:15:02 (992 KB/s) - '/srv/chroot/wheezy-amd64-sbuild//var/cache/apt/archives/partial/zlib1g_1%3a1.2.7.dfsg-13_amd64.deb' saved [87392/87392]
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 5 package 'dpkg':
missing description
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 5 package 'dpkg':
missing architecture
Segmentation fault
But the same thing worked fine in a stretch vm. After a bit of
confusion, followed by some help on #debian-devel, it looks like this
may be because my kernel was too new for wheezy.
4.11.0-1-amd64 #1 SMP Debian 4.11.6-1 (2017-06-19) x86_64 GNU/Linux
Assuming so, and if there's some reasonable way for sbuild to detect
this situation, it'd be nice if sbuild could just tell me why that's
never going to work.
Thanks
--
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4
More information about the Buildd-tools-devel
mailing list