Package: sbuild Version: 0.91.5 Severity: normal Tags: patch X-Debbugs-Cc: [email protected]
Ohai, I am a lazy person and have no pre-created tarballs when I want to build things and just let sbuild run mmdebstrap on demand. That works great, thanks for that! However, when I want to build things for backports-sloppy, things don't work as they should: $ sbuild -d bookworm-backports-sloppy --source --force-orig-source <dsc> … I: No tarballs found in /home/evgeni/.cache/sbuild I: Creating chroot on-demand by running: mmdebstrap --variant=buildd --arch=amd64 --skip=output/mknod --format=tar bookworm-backports-sloppy - … E: Unable to locate package apt E: Unable to locate package build-essential E: setup failed: E: apt-get -o Dir::Bin::dpkg=env -o DPkg::Options::=--unset=TMPDIR -o DPkg::Options::=dpkg --yes install -oAPT::Status-Fd=<$fd> -oDpkg::Use-Pty=false apt build-essential failed: process exited with 100 and error in console output This is because sbuild doesn't recognize "bookworm-backports-sloppy" as "bookworm with backports-sloppy", like it does when I pass "bookworm-backports". My Perl is rather rusty, but the attached patch seems to do what I want and adds the correct mapping, resulting in mmdebstrap being called with "bookworm" and then adding "bookworm-backports-sloppy" as an extra repo. Thanks again! Evgeni -- System Information: Debian Release: forky/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.17.13+deb14-amd64 (SMP w/4 CPU threads; PREEMPT) Kernel taint flags: TAINT_CPU_OUT_OF_SPEC Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: SELinux: enabled - Mode: Permissive - Policy name: default Versions of packages sbuild depends on: ii iproute2 6.18.0-1 ii libsbuild-perl 0.91.5 ii mount 2.41.3-3 ii passwd 1:4.18.0-2 ii perl 5.40.1-7 ii sbuild-schroot 0.91.5 ii uidmap 1:4.18.0-2 Versions of packages sbuild recommends: ii apt-utils 3.1.12 ii dpkg-dev 1.23.3 ii mmdebstrap 1.5.7-3 ii sbuild-schroot 0.91.5 Versions of packages sbuild suggests: ii autopkgtest 5.53 ii piuparts 1.6.0 -- no debconf information
0001-map-codename-backports-sloppy-to-codename-just-like-.patch
Description: application/mbox

