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