Package: sbuild Version: 0.73.0-4 Severity: normal While attempting to use sbuild to test the reverse-dependencies of a package before uploading a new upstream revision, I ran into the following error using "--extra-package":
| $ sbuild --arch-all --dist=unstable --nolog golang-gopkg-pg.v5_5.3.3-2 --extra-package=golang-github-jinzhu-inflection-dev_0.0~git20170102.0.1c35d90-1_all.deb | | ... | | +------------------------------------------------------------------------------+ | | Update chroot | | +------------------------------------------------------------------------------+ | | Get:1 file:/build/golang-gopkg-pg.v5-8YE5po/resolver-71vQn3/apt_archive ./ InRelease | Ign:1 file:/build/golang-gopkg-pg.v5-8YE5po/resolver-71vQn3/apt_archive ./ InRelease | Get:2 file:/build/golang-gopkg-pg.v5-8YE5po/resolver-71vQn3/apt_archive ./ Release [948 B] | Get:2 file:/build/golang-gopkg-pg.v5-8YE5po/resolver-71vQn3/apt_archive ./ Release [948 B] | Get:4 file:/build/golang-gopkg-pg.v5-8YE5po/resolver-71vQn3/apt_archive ./ Release.gpg | Ign:4 file:/build/golang-gopkg-pg.v5-8YE5po/resolver-71vQn3/apt_archive ./ Release.gpg | Get:5 file:/build/golang-gopkg-pg.v5-8YE5po/resolver-71vQn3/apt_archive ./ Packages [493 B] | Get:3 http://cdn-fastly.deb.debian.org/debian unstable InRelease [229 kB] | Ign:5 file:/build/golang-gopkg-pg.v5-8YE5po/resolver-71vQn3/apt_archive ./ Packages | Get:5 file:/build/golang-gopkg-pg.v5-8YE5po/resolver-71vQn3/apt_archive ./ Packages [777 B] | Err:5 file:/build/golang-gopkg-pg.v5-8YE5po/resolver-71vQn3/apt_archive ./ Packages | Could not open file /var/lib/apt/lists/partial/_build_golang-gopkg-pg.v5-8YE5po_resolver-71vQn3_apt%5farchive_._Packages - open (13: Permission denied) | Get:6 http://cdn-fastly.deb.debian.org/debian unstable/main Sources [9913 kB] | Get:7 http://cdn-fastly.deb.debian.org/debian unstable/main amd64 Packages [10.2 MB] | Fetched 20.3 MB in 1s (11.2 MB/s) | Reading package lists... | E: Failed to fetch store:/var/lib/apt/lists/partial/_build_golang-gopkg-pg.v5-8YE5po_resolver-71vQn3_apt%5farchive_._Packages Could not open file /var/lib/apt/lists/partial/_build_golang-gopkg-pg.v5-8YE5po_resolver-71vQn3_apt%5farchive_._Packages - open (13: Permission denied) | E: Some index files failed to download. They have been ignored, or old ones used instead. | E: apt-get update failed The ".deb" file I'm attempting to include was created by a previous sbuild run (without "--extra-package"). Things I've tried (with no success): - reordering flags so "--extra-package" is before the package name to build - "sbuild" from unstable (currently using "stretch") - "--dist=stretch" - doing "sbuild-update -udcar unstable" first - using "dget" to download the DSC of the target package directly before building - creating a fresh new schroot Eventually I just had someone else run the command for me to verify that there's no breakage, but that is less than ideal. :) If I remove the "--extra-package" flag, everything builds successfully (but without my updated package, which is what I'm really testing, so not horribly useful). Also, thanks for your work maintaining "sbuild" -- I really enjoy it! :) ♥, - Tianon 4096R / B42F 6819 007F 00F8 8E36 4FD4 036A 9C25 BF35 7DD4 -- System Information: Debian Release: 9.1 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.9.0-3-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US.utf8 (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.115 ii libsbuild-perl 0.73.0-4 ii perl 5.24.1-3+deb9u1 Versions of packages sbuild recommends: ii autopkgtest 4.4 ii debootstrap 1.0.89 ii schroot 1.6.10-3+b1 Versions of packages sbuild suggests: pn deborphan <none> ii kmod 23-2 ii wget 1.18-5 -- no debconf information