Package: sbuild Version: 0.78.0-2 Severity: grave Tags: upstream Since the 0.78 upgrade, sbuild cannot build packages in jessie (and maybe other suites). The build during the setup phase, while trying to install the build-dependencies, with this error message:
W: Failed to fetch gzip:/var/lib/apt/lists/partial/_build_systemd-asEYMr_resolver-48eHqy_apt%5farchive_._Sources.gz Invalid file format It looks like the Sources.gz generated for the build-dependencies resolver is incorrectly formatted, which freaks out apt in the chroot. This does not happen with sbuild 0.77.1-2. This seems to be a regression introduced in this commit: https://salsa.debian.org/debian/sbuild/commit/18f423619c176471d2adaafb7742cb204951a10c ... which was implemented to close bug #909847. In there, sbuild reimplements dpkg-scanpackages and dpkg-scansources internally, but it seems to do so incorrectly. Attached are the build logs and the faulty Sources.gz files. -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (500, 'testing'), (1, 'experimental'), (1, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8), LANGUAGE=fr_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages sbuild depends on: ii adduser 3.118 ii libsbuild-perl 0.78.0-2 ii perl 5.28.1-3 Versions of packages sbuild recommends: ii autopkgtest 5.8 ii debootstrap 1.0.114 ii schroot 1.6.10-6+b1 Versions of packages sbuild suggests: ii deborphan 1.7.31 ii e2fsprogs 1.44.5-1 ii kmod 25-2 ii wget 1.20.1-1 -- debconf-show failed
sources.gz
Description: application/gzip
sbuild (Debian sbuild) 0.78.0 (09 January 2019) on curie.anarc.at +==============================================================================+ | systemd 215-17+deb8u9 (amd64) Tue, 22 Jan 2019 21:39:27 +0000 | +==============================================================================+ Package: systemd Version: 215-17+deb8u9 Source Version: 215-17+deb8u9 Distribution: UNRELEASED Machine Architecture: amd64 Host Architecture: amd64 Build Architecture: amd64 Build Type: full I: NOTICE: Log filtering will replace 'var/run/schroot/mount/jessie-amd64-sbuild-3b476c6c-1cda-4a37-bd77-e77297a487a8' with '<<CHROOT>>' I: NOTICE: Log filtering will replace 'build/systemd-x72Uu1/resolver-0MCIZ4' with '<<RESOLVERDIR>>' +------------------------------------------------------------------------------+ | Update chroot | +------------------------------------------------------------------------------+ Ign http://deb.debian.org jessie InRelease Hit http://security.debian.org jessie/updates InRelease Hit http://deb.debian.org jessie-backports InRelease Hit http://deb.debian.org jessie Release.gpg Hit http://security.debian.org jessie/updates/main amd64 Packages Get:1 http://deb.debian.org jessie-backports/main amd64 Packages/DiffIndex [27.8 kB] Hit http://security.debian.org jessie/updates/contrib amd64 Packages Hit http://deb.debian.org jessie Release Hit http://security.debian.org jessie/updates/non-free amd64 Packages Hit http://deb.debian.org jessie/main Sources Hit http://deb.debian.org jessie/main amd64 Packages Fetched 27.8 kB in 2s (12.7 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Local sources ------------- /home/anarcat/dist/systemd_215-17+deb8u9.dsc exists in /home/anarcat/dist; copying to chroot I: NOTICE: Log filtering will replace 'build/systemd-x72Uu1/systemd-215' with '<<PKGBUILDDIR>>' I: NOTICE: Log filtering will replace 'build/systemd-x72Uu1' with '<<BUILDDIR>>' +------------------------------------------------------------------------------+ | Install package build dependencies | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: debhelper (>= 9), pkg-config, xsltproc, docbook-xsl, docbook-xml, gtk-doc-tools, m4, dh-autoreconf, automake (>= 1.11), autoconf (>= 2.63), intltool, gperf, libcap-dev, libpam0g-dev, libaudit-dev, libdbus-1-dev (>= 1.3.2), libglib2.0-dev (>= 2.22.0), libcryptsetup-dev (>= 2:1.6.0), libselinux1-dev (>= 2.1.9), libacl1-dev, liblzma-dev, libgcrypt11-dev, libkmod-dev (>= 15), libblkid-dev (>= 2.20), libgirepository1.0-dev (>= 1.31.1), gobject-introspection (>= 1.31.1), python3-all-dev, python3-lxml, libglib2.0-doc, build-essential, fakeroot Filtered Build-Depends: debhelper (>= 9), pkg-config, xsltproc, docbook-xsl, docbook-xml, gtk-doc-tools, m4, dh-autoreconf, automake (>= 1.11), autoconf (>= 2.63), intltool, gperf, libcap-dev, libpam0g-dev, libaudit-dev, libdbus-1-dev (>= 1.3.2), libglib2.0-dev (>= 2.22.0), libcryptsetup-dev (>= 2:1.6.0), libselinux1-dev (>= 2.1.9), libacl1-dev, liblzma-dev, libgcrypt11-dev, libkmod-dev (>= 15), libblkid-dev (>= 2.20), libgirepository1.0-dev (>= 1.31.1), gobject-introspection (>= 1.31.1), python3-all-dev, python3-lxml, libglib2.0-doc, build-essential, fakeroot dpkg-deb: building package `sbuild-build-depends-main-dummy' in `/<<RESOLVERDIR>>/apt_archive/sbuild-build-depends-main-dummy.deb'. Ign copy: ./ InRelease Ign copy: ./ Release.gpg Get:1 copy: ./ Release [963 B] Get:2 copy: ./ Sources [584 B] Get:3 copy: ./ Packages [674 B] Fetched 2221 B in 0s (0 B/s) W: Failed to fetch gzip:/var/lib/apt/lists/partial/_build_systemd-x72Uu1_resolver-0MCIZ4_apt%5farchive_._Sources.gz Invalid file format E: Some index files failed to download. They have been ignored, or old ones used instead. E: Updating apt archive failed Setup apt archive ----------------- Merged Build-Depends: dose-distcheck Filtered Build-Depends: dose-distcheck dpkg-deb: building package `sbuild-build-depends-dose3-dummy' in `/<<RESOLVERDIR>>/apt_archive/sbuild-build-depends-dose3-dummy.deb'. Ign copy: ./ InRelease Ign copy: ./ Release.gpg Get:1 copy: ./ Release [963 B] Ign copy: ./ Packages/DiffIndex Get:2 copy: ./ Sources [725 B] Err copy: ./ Packages Get:3 copy: ./ Packages [812 B] Fetched 2500 B in 0s (0 B/s) W: Failed to fetch gzip:/var/lib/apt/lists/partial/_build_systemd-x72Uu1_resolver-0MCIZ4_apt%5farchive_._Sources.gz Invalid file format E: Some index files failed to download. They have been ignored, or old ones used instead. E: Updating apt archive failed +------------------------------------------------------------------------------+ | Post Build Failed Commands | +------------------------------------------------------------------------------+ /usr/bin/notify-send "Build completed" "Build of /home/anarcat/dist/systemd_215-17+deb8u9.dsc on %SBUILD_DISTRIBUTION-amd64 completed." --------------------------------------------------------------------------------------------------------------------------------------- I: Finished running '/usr/bin/notify-send "Build completed" "Build of /home/anarcat/dist/systemd_215-17+deb8u9.dsc on %SBUILD_DISTRIBUTION-amd64 completed."'. Finished processing commands. -------------------------------------------------------------------------------- Keeping session: jessie-amd64-sbuild-3b476c6c-1cda-4a37-bd77-e77297a487a8 E: Failed to explain bd-uninstallable +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: amd64 Build Type: full Build-Space: n/a Build-Time: 0 Distribution: UNRELEASED Fail-Stage: explain-bd-uninstallable Host Architecture: amd64 Install-Time: 0 Job: /home/anarcat/dist/systemd_215-17+deb8u9.dsc Machine Architecture: amd64 Package: systemd Package-Time: 0 Source-Version: 215-17+deb8u9 Space: n/a Status: given-back Version: 215-17+deb8u9 -------------------------------------------------------------------------------- Finished at 2019-01-22T21:39:27Z Build needed 00:00:00, no disk space