Package: sbuild
Version: 0.88.1
Severity: wishlist

Hi,

It seems that sbuild-update does not take into account the following setting
unlike sbuild:

$ head ~/.config/sbuild/config.pl
# example for ~/.sbuildrc.  (Also see /etc/sbuild/sbuild.conf.)  -*- Perl -*-
#
# Default settings are commented out.
# Additional options found in /etc/sbuild/sbuild.conf may be
# overridden here.

#$clean_source=0;
$chroot_mode='unshare';


Because here is what sbuild-update says without the '--chroot-mode=unshare'
option:

$ sbuild-update --update --upgrade --dist-upgrade --autoremove unstable
W: No chroots are defined in ‘/etc/schroot/schroot.conf’ or
‘/etc/schroot/chroot.d’
Error creating chroot info
Chroot setup failed at /usr/bin/sbuild-update line 145.


Whereas sbuild does not need any more such an option to switch to its unshare
mode.

Regards,
Patrice

Note: I did not check also for the other sbuild-* commands for which this could
be also inconsistent.


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.6-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
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.137
ii  libsbuild-perl  0.88.1
ii  perl            5.40.0-8

Versions of packages sbuild recommends:
ii  autopkgtest  5.42
ii  debootstrap  1.0.138
ii  mmdebstrap   1.5.4-2
ii  schroot      1.6.13-5
ii  uidmap       1:4.16.0-7

Versions of packages sbuild suggests:
pn  deborphan  <none>
ii  e2fsprogs  1.47.2~rc1-2
ii  kmod       33+20240816-2
ii  wget       1.24.5-2+b1

-- no debconf information

Reply via email to