[buildd-tools-devel] Bug#745851: sbuild: should give a clear error message when chroot does not exist

Felipe Sateler fsateler at debian.org
Fri Apr 25 19:46:03 UTC 2014


Package: sbuild
Version: 0.64.1-1
Severity: normal

I use sbuild with chroots. When the target distribution is UNRELEASED,
sbuild cannot find a suitable chroot. I need to pass -d unstable to
build. No complaints here.
The bug is that sbuild gives no error indication that it could not find
the chroot. It just says the build failed. Not even enabling debug
output says anything useful:

D: Setting Config=Sbuild::ConfBase=HASH(0xd7de98)
D: Setting Chroots=HASH(0x23b73e0)
Found schroot chroot: chroot:precise-amd64
  Aliases 
  Location 
  Name precise-amd64
  Namespace chroot
  Priority 0
  Session Purged 0
Found schroot chroot: chroot:sid-amd64
  Aliases unstable-amd64
  Location 
  Name sid-amd64
  Namespace chroot
  Priority 0
  Session Purged 0
Found schroot chroot: chroot:stable-amd64
  Aliases 
  Location 
  Name stable-amd64
  Namespace chroot
  Priority 0
  Session Purged 0
Found schroot chroot: source:precise-amd64
  Aliases 
  Location 
  Name precise-amd64
  Namespace source
  Priority 0
  Session Purged 0
Found schroot chroot: source:sid-amd64
  Aliases unstable-amd64
  Location 
  Name sid-amd64
  Namespace source
  Priority 0
  Session Purged 0
Found schroot chroot: source:stable-amd64
  Aliases 
  Location 
  Name stable-amd64
  Namespace source
  Priority 0
  Session Purged 0
D: Setting Chroots=HASH(0x23a10a8)
D: Setting Pkg Status=failed


Please print a big error message when the chroot cannot be set up, and
if possible print out why.


Thanks


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

Kernel: Linux 3.14-rc7-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages sbuild depends on:
ii  adduser         3.113+nmu3
ii  apt-utils       1.0.1
ii  libsbuild-perl  0.64.1-1
ii  perl            5.18.2-2+b1
ii  perl-modules    5.18.2-2

Versions of packages sbuild recommends:
ii  debootstrap  1.0.59
ii  fakeroot     1.20-3

Versions of packages sbuild suggests:
pn  deborphan  <none>
ii  wget       1.15-1

-- Configuration Files:
/etc/sbuild/sbuild.conf changed [not included]

-- no debconf information



More information about the Buildd-tools-devel mailing list