Your message dated Thu, 16 Jan 2025 07:05:14 +0000 with message-id <e1tyjwi-00cp4q...@fasolo.debian.org> and subject line Bug#1092091: fixed in sbuild 0.88.2 has caused the Debian Bug report #1092091, regarding sbuild: autopkgtests fail with new dpkg - test-pkg is not "R³:no"-safe to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 1092091: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1092091 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Package: sbuild Version: 0.88.1 Severity: serious X-Debbugs-Cc: ni...@thykier.net, debian-d...@lists.debian.org Hi,Since dpkg/1.22.13, `Rules-Requires-Root: no` is now the new default. The `sbuild` autopkgtests make an assumption that is no longer true and therefore produce an incorrect result.The `test-pkg` should be updated to properly build in the new setup. There are two options:* Change `test-pkg` to use `dpkg-deb --root-owner-group --build ...` rather than `dpkg-deb --build ...`. This assumes you can rely on dpkg/1.19 (oldoldstable) * Change `test-pkg` to have `Rules-Requires-Root: binary-targets`. This works with even older versions of dpkg, but they will emit a warning that you need to deal with unless the test already is set to not treat stderr as a failure.529s + env --chdir=/tmp/autopkgtest-lxc.oiz0hb3_/downtmp/autopkgtest_tmp/test-pkg-1.0/ dpkg-buildpackage --sign-keyfile=/tmp/autopkgtest-lxc.oiz0hb3_/downtmp/autopkgtest_tmp/key.asc --build=full 529s dpkg-buildpackage: info: source package test-pkg 529s dpkg-buildpackage: info: source version 1.0 529s dpkg-buildpackage: info: source distribution unstable 529s dpkg-buildpackage: info: source changed by sbuild fake uploader <fake-uploa...@debian.org> 529s dpkg-source --before-build . 529s dpkg-buildpackage: info: host architecture amd64 529s debian/rules clean 529s rm -rf debian/files debian/tmp 529s dpkg-source -b . 529s dpkg-source: info: using source format '3.0 (native)' 529s dpkg-source: info: building test-pkg in test-pkg_1.0.tar.xz 529s dpkg-source: info: building test-pkg in test-pkg_1.0.dsc 529s debian/rules binary 529s rm -rf debian/tmp 529s mkdir -p debian/tmp/DEBIAN 529s dpkg-gencontrol 529s dpkg-deb --build debian/tmp .. 529s dpkg-deb: Hint: you might need to pass --root-owner-group, see <https://wiki.debian.org/Teams/Dpkg/RootlessBuilds> for further details 529s dpkg-deb: building package 'test-pkg' in '../test-pkg_1.0_all.deb'. 529s dpkg-deb: warning: root directory debian/tmp has unusual owner or group 1000:1000 529s dpkg-deb: warning: ignoring 1 warning about the control file(s) 529s dpkg-genbuildinfo --build=full -O../test-pkg_1.0_amd64.buildinfo 530s dpkg-genchanges --build=full -O../test-pkg_1.0_amd64.changes 530s dpkg-source --after-build . 530s dpkg-genchanges: info: including full source code in upload 530s dpkg-buildpackage: info: full upload; Debian-native package (full source is included) 530s signfile test-pkg_1.0.dsc 530s signfile test-pkg_1.0_amd64.buildinfo 530s signfile test-pkg_1.0_amd64.changes 530s + env --chdir=/tmp/autopkgtest-lxc.oiz0hb3_/downtmp/autopkgtest_tmp/test-pkg-1.0/ dpkg-buildpackage --sign-keyfile=/tmp/autopkgtest-lxc.oiz0hb3_/downtmp/autopkgtest_tmp/key.asc --target=clean 530s dpkg-buildpackage: info: source package test-pkg 530s dpkg-buildpackage: info: source version 1.0 530s dpkg-buildpackage: info: source distribution unstable 530s dpkg-buildpackage: info: source changed by sbuild fake uploader <fake-uploa...@debian.org> 530s debian/rules clean 530s rm -rf debian/files debian/tmp 530s + verify orig deb dsc bin_changes 530s + verify_orig 530s + echo verifying test-pkg_1.0.tar.xz 530s verifying test-pkg_1.0.tar.xz 530s + cat 530s + base64 -d 530s + xz -cd 530s + xz -cd 530s + diffoscope /tmp/autopkgtest-lxc.oiz0hb3_/downtmp/autopkgtest_tmp/expected /tmp/autopkgtest-lxc.oiz0hb3_/downtmp/autopkgtest_tmp/test-pkg_1.0.tar 530s + rm /tmp/autopkgtest-lxc.oiz0hb3_/downtmp/autopkgtest_tmp/expected /tmp/autopkgtest-lxc.oiz0hb3_/downtmp/autopkgtest_tmp/test-pkg_1.0.tar 530s + verify_deb 530s + echo verifying test-pkg_1.0_all.deb 530s verifying test-pkg_1.0_all.deb 530s + + grep ^data\.tar\. 530s ar t /tmp/autopkgtest-lxc.oiz0hb3_/downtmp/autopkgtest_tmp/test-pkg_1.0_all.deb 530s + data_tar=data.tar.xz 530s + cat 530s + base64 -d 530s + diffoscope /tmp/autopkgtest-lxc.oiz0hb3_/downtmp/autopkgtest_tmp/expected /tmp/autopkgtest-lxc.oiz0hb3_/downtmp/autopkgtest_tmp/test-pkg_1.0_all.deb 531s --- /tmp/autopkgtest-lxc.oiz0hb3_/downtmp/autopkgtest_tmp/expected 531s +++ /tmp/autopkgtest-lxc.oiz0hb3_/downtmp/autopkgtest_tmp/test-pkg_1.0_all.deb 531s ├── file list 531s │ @@ -1,3 +1,3 @@ 531s │ -rw-r--r-- 0 0 0 4 2016-06-30 18:15:12.000000 debian-binary 531s │ -rw-r--r-- 0 0 0 460 2016-06-30 18:15:12.000000 control.tar.xz 531s │ --rw-r--r-- 0 0 0 168 2016-06-30 18:15:12.000000 data.tar.xz 531s │ +-rw-r--r-- 0 0 0 172 2016-06-30 18:15:12.000000 data.tar.xz 531s ├── data.tar.xz 531s │ ├── data.tar 531s │ │ ├── file list 531s │ │ │ @@ -1 +1 @@ 531s │ │ │ -drwxr-xr-x 0 root (0) root (0) 0 2016-06-30 18:15:12.000000 ./ 531s │ │ │ +drwxr-xr-x 0 debci (1000) debci (1000) 0 2016-06-30 18:15:12.000000 ./ 531s autopkgtest [15:48:53]: test unshare: -----------------------]▾ test unshare: test resultsBest regards, NielsOpenPGP_signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---Source: sbuild Source-Version: 0.88.2 Done: Johannes Schauer Marin Rodrigues <jo...@debian.org> We believe that the bug you reported is fixed in the latest version of sbuild, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1092...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Johannes Schauer Marin Rodrigues <jo...@debian.org> (supplier of updated sbuild package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmas...@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Thu, 16 Jan 2025 07:46:28 +0100 Source: sbuild Architecture: source Version: 0.88.2 Distribution: unstable Urgency: medium Maintainer: sbuild maintainers <sbu...@packages.debian.org> Changed-By: Johannes Schauer Marin Rodrigues <jo...@debian.org> Closes: 1089035 1089105 1090336 1090358 1091169 1091170 1091370 1092091 1092557 Changes: sbuild (0.88.2) unstable; urgency=medium . [ Johannes Schauer Marin Rodrigues ] * lib/Sbuild/Conf.pm: - fix examples for ENVIRONMENT_FILTER (Closes: #1090336) - do not ignore an empty DEB_BUILD_PROFILES environment variable - Add CHROOT_ALIASES configuration option, allowing one to look up chroots under a different name (Closes: #1089035) * lib/Sbuild/ConfBase.pm: - run check after setting all values - preserve order of configuration options - Set variables to their default values in ~/.config/sbuild/config.pl (Closes: #1090358) * lib/Sbuild/ChrootUnshare.pm: - check if mmdebstrap is installed only when needed - instead of passing the tarball path to the decompressor, let sbuild open it and feed it to the decompressor program via standard input (Closes: #1091169) * debian/tests/unshare: - install ca-certificates for https debci hosts. Thanks to Paul Gevers - run dpkg-deb with --root-owner-group (Closes: #1092091) * lib/Sbuild/Build.pm: fail if dpkg --print-foreign-architectures failed * lib/Sbuild/ResolverBase.pm: build metapackage with dpkg-deb --root-owner-group (Closes: #1092557) * Use dpkg-buildtree to figure out if fakeroot is required * die if exec fails because it cannot find the program . [ Simon McVittie ] * man: Cross-reference the --build-dir option in BUILD ARTIFACTS * man: Document how and where log files are saved . [ Guillem Jover ] * lib/Sbuild/Conf.pm: Do not use deprecated Dpkg::Build::Info module . [ Chris Hofstaedtler ] * Remove deborphan from Suggests:, package was removed * sbuild-update: abort if chroot-mode=unshare (Closes: #1089105, #1091370) . [ Santiago Ruano Rincón ] * Add Recommends on iproute2 * Fix mmdebstrap+unshare setup-hook when handling *-security suites . [ Jakub Wilk ] * man: Remove stray quotation mark . [ Richard Lewis ] * man/sbuild.1.in: remove stray quotation mark * Document the need to retain package lists in the chroot if $apt_update is 0 (Closes: #1091170) . [ Jochen Sprickerhof ] * unshare: Use $BUILD_USER as the default user * unshare: Use 'sbuild' as the default user * Use BUILD_USER for architecture and disk space check Checksums-Sha1: 0f0099edcbf367fae51ea461298ed81e97f28812 2643 sbuild_0.88.2.dsc 7c8afb029abcb8524160a037aee55cf1ff601080 255988 sbuild_0.88.2.tar.xz Checksums-Sha256: 43147313e02531d784b5fed0b81ad45481bc89e0b17f13c89cdc268d91a3af47 2643 sbuild_0.88.2.dsc 569736857d4e906faf50ce25baa3e10d45d4be983237b70ce4e1e00871557116 255988 sbuild_0.88.2.tar.xz Files: 47556984b7a862d35ab78354c7c3a68c 2643 devel optional sbuild_0.88.2.dsc 1b63edbc9459af6f09986dfc82e34a74 255988 devel optional sbuild_0.88.2.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEElFhU6KL81LF4wVq58sulx4+9g+EFAmeIq2YACgkQ8sulx4+9 g+ESFQ//Y/wgtNcLRqfw/sIWtUd1OC1a/o2U26BHY9KZjW5Rqp01B4FepDwoH3c/ r+brucA3j2/0nvx6BpcF2EupcMlgPpY4J4EYmisyZrHgYBPlHyc8LyKVm2gDEnPV LapflaCbdTWprYQoijxdjQ9lGJiz1XQCS+xhwI8EcIK+KXxx18pbB3i3DSLhEkX/ Ud5qHb0Y/tnj+xtdKVZED+Z6AmlGiT0+GEjWw1N7bC+uLy2J8IbdUB37ANopvVtE l3u54HIh8M/+hDW7B4X/QeB+houFPXzRNZx+QlccWJvf19MiPPKpbOa213ieG5IH raijuMEwNzH2PevH8nBKA1REcIAyYXlcdk4OaLm3rsiXLk2rPtXaVbFazxMiqP8m 3UyOMPmBfZSjOMjkbVtYHiw6YuA7uYCejyW5h//jW1v4NNBVQZKbHAddLjp4m6+A oBSbuGLVamTvqcUJG+n94V+U1pRHCtvvvtYHi4h991k4Cph/klzYF3zHmZsxcET6 WBaOv4erPMP1BJkD7B2O5oxGr8tJ/jprEKtbJa1LsNakjDu7pBYumL+mmj4OKlhO oIjw3ujGfVkXE+9Glmtj5WRTZTzRJ+cYz6zTQfwJRZ3WJxLtmJCUazK+uXi/VL01 M3bNHlwwCAyLDZ9yGm45YwneY7EiMfZytL6S8czYs+FTwXRC8og= =H3Yw -----END PGP SIGNATURE-----pgpd9ndCFfzA8.pgp
Description: PGP signature
--- End Message ---