On Thu, 23 Feb 2023 20:00:42 +0100 Santiago Vila <sanv...@debian.org> wrote: > Package: debootstrap > Version: 1.0.128+nmu2 > Severity: important > Tags: patch > > Dear maintainer: > > Because Debian has decided that bookworm will have > usr-merge by default even for building packages, > I would expect usr-merge to be enabled by default > in all cases, including when using the buildd profile. > > Currently, such thing does not happen. > > I think the attached patch would fix this > (but I've not tested it). > > A better approach would be to select --usr-merge > in the buildd profile when appropriate (i.e. bookworm > and above). (How feasible would this be?) > > I am aware that the proposed patch (but not the "better approach") > may force some people to do some things differently. > > However, let's compare the two scenarios: > > A) If the patch is applied, then once that bookworm becomes stable: > > - Those who want to build packages for stable the official way > do not have to do anything special. I think this is the category > of users that should be better supported. > > - Those still running bullseye who want to build packages for > bullseye (using debootstrap from bullseye) do not have to do > anything special. > > - Only people who want to build packages for bullseye from > bookworm would have to add --no-usr-merge by hand, and only > when using the buildd profile. I think this is a special case > and having to add an option by hand for such special case would > not be a big deal. > > B) If the patch is not applied, then once that bookworm becomes stable: > > - Those who want to build packages for stable the official way > should add --usr-merge by hand when calling debootstrap. > > This option is *undocumented* in "debootstrap --help" (!). > > Also, failure to add the --usr-merge option may result in packages > being misbuilt, or even failing to build at all. And this would > happen when building packages from stable to be installed in a > stable system. > > - Those still running bullseye who want to build packages for > bullseye (using debootstrap from bullseye) do not have to do > anything special. > > - Those who want to build packages for bullseye from bookworm > would not have to do anything special.
It's too soon for this. I think the right time will be the first point release of Bookworm - at that point we can get the buildds to switch too. But the release should be built in the current default as per CTTE's instructions. -- Kind regards, Luca Boccassi
signature.asc
Description: This is a digitally signed message part