Package: sbuild
Version: 0.77.1-1
Severity: important
File: /usr/bin/sbuild-createchroot

sbuild-createchroot runs debootstrap with neither --merged-usr nor
--no-merged-usr, so debootstrap will choose whether to merge /usr
according to its defaults.

The production Debian infrastructure currently runs on Debian stretch,
where sbuild-createchroot will generate traditional chroots without
merged /usr.

However, if you install sbuild on a buster or sid system, debootstrap with
no special options will create buster and sid chroots with merged /usr.
This will start to happen on the production Debian infrastructure as it
gets upgraded from stretch to buster, so before buster freezes we should
make sure the right things are going to happen.

Some packages are misbuilt when built in a merged /usr chroot, for example
quilt <https://bugs.debian.org/913226>. That's a bug in those packages
(possibly a RC bug - I'm going to query that with the release team), but
the conservative approach would be for sbuild-createchroot to avoid this
class of bug in buildd-built packages by using traditional (unmerged /usr)
chroots. It can do this by depending on debootstrap (>= 1.0.83) (which
is in stretch but not jessie) and passing the --no-merged-usr option.

Depending on the level of testing done, number of bugs found and fixed,
and level of adoption of merged /usr, we could assess whether to revert
that change after buster is released.

    smcv

Reply via email to