Package: sbuild
Version: 0.85.0
Severity: serious
X-Debbugs-Cc: deb...@rocketjump.eu

Hi,

when creating a bookworm schroot e.g. with
sbuild-createchroot --merged-usr bookworm 
/var/lib/schroot/schroots/bookworm-amd64-sbuild 
http://localhost:3142/deb.debian.org/debian/

the resulting schroot has an unmerged /usr. This creates some interesting
problems, like upgrade tests failing. Or in theory it's possible to successfully
build and test packages that would be broken when installed on a "real"
bookworm.

Is there a reason for this? At least for me this break user expectation, as a
merged /usr is required per release notes [0]. I've tentatively set this to
severity serious, as I believe this could have been an oversight. If this is by
design, I think it's best if sbuild-createchroot would very prominently say so
on the end of the build run.

Thanks in advance!

Regards,
Lee

[0] 
https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.en.html#a-merged-usr-is-now-required

-- System Information:
Debian Release: 12.7
  APT prefers stable-updates
  APT policy: (990, 'stable-updates'), (990, 'stable-security'), (990, 
'proposed-updates'), (990, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.9.7+bpo-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
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.134
ii  libsbuild-perl  0.85.0
ii  perl            5.36.0-7+deb12u1

Versions of packages sbuild recommends:
ii  autopkgtest  5.39
ii  debootstrap  1.0.128+nmu2+deb12u1
ii  schroot      1.6.13-3+b2
ii  uidmap       1:4.13+dfsg1-1+b1

Versions of packages sbuild suggests:
pn  deborphan  <none>
ii  e2fsprogs  1.47.0-2
ii  kmod       30+20221128-1
ii  wget       1.21.3-1+b2

-- no debconf information

Reply via email to