sbuild (0.87.0)
[PTS] [DDPO]
COMMITS: VCS has seen 20 commits since the archive/debian/0.87.0 tag
- Git: https://salsa.debian.org/debian/sbuild.git
-
- Branch: main
- Path: debian/changelog
- Repo size: 2461696
- Browser: https://salsa.debian.org/debian/sbuild
- Last scan: 2024-11-17 18:53:22+00
- Next scan: 2024-11-22 23:30:00+00
- Open issues: 2
- Merge requests: 5
- CI pipeline status: failed
- Debian changelog in Git:
sbuild (0.87.0) unstable; urgency=medium
[ Johannes Schauer Marin Rodrigues ]
* If a tarball can't be found, create a chroot on-demand using mmdebstrap.
This version introduces an experimental new feature for the unshare
backend which is supposed to make sbuild more easy to use because sbuild
will manage the chroot tarballs itself. With unshare-mode, sbuild will
now automatically create a chroot tarball upon startup using mmdebstrap
if it cannot find one in ~/.cache/sbuild. This feature can be disabled
by setting $unshare_mmdebstrap_auto_create=0; in your ~/.sbuildrc. If
you like the feature and you would like to keep the tarballs sbuild
creates so that they can be re-used in subsequent invocations of sbuild,
you can set $unshare_mmdebstrap_keep_tarball=1; in your ~/.sbuildrc.
This will also make sbuild update an existing tarball (by re-creating
it) if it has become too old. The maximum age of a chroot tarball can be
specified by setting $unshare_mmdebstrap_max_age to a maximum age value
in seconds (default is 604800, which is one week). To customize the
chroot tarball creation, refer to the setting
UNSHARE_MMDEBSTRAP_EXTRA_ARGS in your sbuild.conf(5).
[ Jochen Sprickerhof ]
* Use empty release in unshare autopkgtest (Closes: #1085450)
-- Johannes Schauer Marin Rodrigues <josch@debian.org> Tue, 12 Nov 2024 00:09:38 +0100
- This branch is 20 commits ahead of tag archive/debian/0.87.0
- Git log:
commit 3a38417c7e61f0c264445df19d73686b7e2ba3ee
Author: Johannes Schauer Marin Rodrigues <josch@debian.org>
Date: Sun Nov 17 18:00:43 2024 +0100
Be more elaborate with explanation for insufficient disk space
Closes: #1087656
commit 0ad9dea150772b5a9e8595719723fc1298759f09
Author: Johannes Schauer Marin Rodrigues <josch@debian.org>
Date: Sun Nov 17 13:51:55 2024 +0100
add config option UNSHARE_MMDEBSTRAP_DISTRO_MANGLE
commit f551e989b400db369b8e2a65bc051b235e472c58
Author: Johannes Schauer Marin Rodrigues <josch@debian.org>
Date: Sun Nov 17 11:19:29 2024 +0100
lib/Sbuild/ChrootUnshare.pm: print out the files that were ignored because they are empty
commit 3ab7e60d814a1d5cc15aae6bc962739a717d5a7c
Author: Johannes Schauer Marin Rodrigues <josch@debian.org>
Date: Sun Nov 17 11:19:05 2024 +0100
lib/Sbuild/ChrootUnshare.pm: if mmdebstrap failed unlink (probably empty) tarball
commit 7184736fc41925bf104d3d6df2450d202447e209
Author: Johannes Schauer Marin Rodrigues <josch@debian.org>
Date: Sun Nov 17 11:18:39 2024 +0100
lib/Sbuild/ChrootUnshare.pm: always print mmdebstrap invokation when creating new chroot tarballs
commit 7ee7c4688d23397f73ab62ade3b3b818af8e77a2
Author: Johannes Schauer Marin Rodrigues <josch@debian.org>
Date: Sun Nov 17 11:11:26 2024 +0100
debian/copyright: modernize
commit 393490174f7418878640e84ade013de627af781d
Author: Johannes Schauer Marin Rodrigues <josch@debian.org>
Date: Sun Nov 17 11:11:14 2024 +0100
bin/sbuild-cross-resolver: switch license to mit/expat
commit 03ff6bfe5347e8942f1242e2778697d35fb67b72
Author: Johannes Schauer Marin Rodrigues <josch@debian.org>
Date: Sun Nov 17 10:37:11 2024 +0100
add test/sbuildrc for test/sbuild-options-parsing.t
commit e1f0c9c7bec20b331db8e4d13fc27774f20ad413
Author: Johannes Schauer Marin Rodrigues <josch@debian.org>
Date: Sun Nov 17 10:20:55 2024 +0100
test/sbuild-options-parsing.t: perltidy
commit 8a708c4678a6eacb950ecacacf2dcaccf84b9857
Author: Alexis Murzeau <amubtdx@gmail.com>
Date: Sat Nov 16 18:49:43 2024 +0100
test/sbuild-options-parsing.pl: test that options correctly set conf variables
Use .t extension to be able to use 'prove test' to run it with
a report.
commit 27e82040f3ade6fd59cf2576222d201f5de8bf6e
Author: Alexis Murzeau <amubtdx@gmail.com>
Date: Tue Nov 12 23:53:19 2024 +0100
lib/Sbuild/Options.pm: replace uses of push by push_conf
Using push may not work as get_conf might return a temporary array from a 'GET' function in Conf.pm.
To handle this case and properly set the conf value with the updated array, use the new `push_conf` function.
`push` usage for EXTERNAL_COMMANDS confs are kept as-is as the conf value is a hash and EXTERNAL_COMMANDS does not have a 'GET' function.
commit 46d7b0090b8e1b42dae8cb58fcdd39d19f1bf5e3
Author: Alexis Murzeau <amubtdx@gmail.com>
Date: Tue Nov 12 23:50:30 2024 +0100
lib/Sbuild/Base.pm: add function to add items to array conf options
Sometimes, the array returned by get_conf is a temporary array depending on what returns the 'GET' function in Conf.pm.
When this happens, any pushed value on the returned array reference by get_conf will be discarded as the next time get_conf is called, the 'GET' function will return a new temporary array.
This happens with AUTOPKGTEST_OPTIONS since commit 621d68b3f52939edc9ba9eb0287459d3dccdf14d when not using unshare.
commit bae2af9905b5ea4d75e34a0cf3df7e69af35471c
Author: Johannes Schauer Marin Rodrigues <josch@debian.org>
Date: Sun Nov 17 07:44:59 2024 +0100
lib/Sbuild/ChrootUnshare.pm: create new tarball for a chroot given via --chroot if it was missing
commit 760f0250cf6a76828526e45828fd4a21fe0404c1
Author: Jochen Sprickerhof <jspricke@debian.org>
Date: Thu Nov 14 14:27:45 2024 +0100
Use mmdebstrap to create piuparts chroot
This allows running
sbuild -d unstable --chroot-mode=unshare --run-piuparts hello
With a unconfigured sbuild.
Needs piuparts 1.5.1.
commit 5246cbe783b1ccd18cfdb46b9c683f708f90a416
Author: Johannes Schauer Marin Rodrigues <josch@debian.org>
Date: Wed Nov 13 12:11:27 2024 +0100
lib/Sbuild/Conf.pm: throw out FAKEROOT
commit 4da64ffbb800230ad7c84ab0c701d84ea35794cd
Author: Johannes Schauer Marin Rodrigues <josch@debian.org>
Date: Wed Nov 13 12:10:20 2024 +0100
bin/sbuild: run dpkg-buildpackage --target clean instead of running debian/rules clean under fakeroot
commit bcf1dfe70cbeb4fb341ddb32ff384de456bce5d6
Author: Johannes Schauer Marin Rodrigues <josch@debian.org>
Date: Sat Sep 21 23:17:22 2024 +0200
debian/tests/unshare: test cross compilation
Agreed with release team here:
https://lists.debian.org/msgid-search/173156754864.3649146.10791472176546387428@localhost
commit 8a9f5973109261fd5c1cc26f3ccfbbf6bf534d2b
Author: Jochen Sprickerhof <jspricke@debian.org>
Date: Wed Nov 13 12:54:02 2024 +0000
Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: Johannes Schauer Marin Rodrigues <josch@debian.org>
commit 5412f4430e1a6344fd3a0ebb41fca933a2504b11
Author: Jochen Sprickerhof <jspricke@debian.org>
Date: Wed Nov 13 13:23:17 2024 +0100
Improve wording about future schroot deprecation
commit 14cc3a41f7eed7d9bd62e3c443d077b0f345cb24
Author: Johannes Schauer Marin Rodrigues <josch@debian.org>
Date: Fri Apr 19 09:26:09 2024 +0200
default build path is /build/reproducible-path and switch off log filtering
This switches the default build path to the same that is used by the
Debian buildds, see bug #1034424 and commit
https://salsa.debian.org/dsa-team/mirror/dsa-puppet/-/commit/aed04290e21c4185bb6a2fb3186bfe4cb862198d
This commit also disables log filtering. The previous behaviour can be
restored by adding this to ~/.sbuildrc:
$build_path = undef;
$log_filter = 1;
By switching the build path to the same as used by the buildds, uploaded
.buildinfo files can now exactly mimic those that will be created by the
buildds. If the Debian infrastructure does not vary build paths, it does
not make sense to have the behaviour on developer machines be different.
This change will makes it impossible to do concurrent builds of the same
package with the same version using the schroot backend. If you want to
do multiple builds of the same package, consider to either:
- vary the version for example with --make-binNMU=...
- manually set the build path via ~/.sbuildrc or --build-path
- don't use the schroot backend
This change also disables log filtering by default. Log filtering was
introduced in commit baf300b302d2fab45eaa96c06eea2a95b353600d to make it
possible to diff build logs against each other even though their build
path contained a random string. If the build path is not random anymore
by default, log filtering lots its main reason to exist. Disabling it
will make build logs easier to read for newcomers or people outside of
Debian.
At the same time, disabling log filtering will make it harder to diff
build logs against each other for the same package but different
versions. If you need to do this, consider to either:
- enable log filtering via ~/.sbuildrc
- process the build log with sed before diffing it