[buildd-tools-devel] Bug#843692: sbuild: extra-packages architecture check emits warnings because it can't find the source debs
Felipe Sateler
fsateler at debian.org
Tue Nov 8 19:30:59 UTC 2016
Package: sbuild
Version: 0.72.0-2
Severity: normal
Hi,
sbuild is generating errors like this when pasing --extra-package:
dpkg-deb: error: failed to read archive 'dpkg_1.18.14+nmu1_i386.deb': No such file or directory
E: read_command failed to execute dpkg-deb
Use of uninitialized value $arch in scalar chomp at /usr/share/perl5/Sbuild/Build.pm line 1295.
Use of uninitialized value $arch in string ne at /usr/share/perl5/Sbuild/Build.pm line 1298.
Use of uninitialized value $arch in string ne at /usr/share/perl5/Sbuild/Build.pm line 1298.
Use of uninitialized value $arch in concatenation (.) or string at /usr/share/perl5/Sbuild/Build.pm line 1300.
W: Extra package dpkg_1.18.14+nmu1_i386.deb of architecture cannot be installed in the chroot
Enabling debug output suggests the problem is that the program is
executed on the host, but on the wrong directory:
I: /bin/sh -c cd '/home/felipe' && 'dpkg-deb' '--field' 'dpkg_1.18.14+nmu1_i386.deb' 'Architecture'
D: Running command: /bin/sh -c cd '/home/felipe' && 'dpkg-deb' '--field' 'dpkg_1.18.14+nmu1_i386.deb' 'Architecture'
dpkg-deb: error: failed to read archive 'dpkg_1.18.14+nmu1_i386.deb': No such file or directory
E: read_command failed to execute dpkg-deb
The `cd` needs to be to the original cwd though.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages sbuild depends on:
ii adduser 3.115
ii apt-utils 1.3.1
ii libsbuild-perl 0.72.0-2
pn perl:any <none>
Versions of packages sbuild recommends:
ii debootstrap 1.0.86
Versions of packages sbuild suggests:
pn autopkgtest <none>
pn deborphan <none>
ii wget 1.18-4
-- Configuration Files:
/etc/sbuild/sbuild.conf changed [not included]
-- no debconf information
More information about the Buildd-tools-devel
mailing list