Source: libcap-ng Version: 0.9.5-1 Severity: serious Justification: temporarily prevent testing migration Tags: patch User: [email protected] Usertags: rebootstrap
libcap-ng gained a build dependency on libbluetooth-dev. bluez has a wild zoo of build dependencies many of which do not presently participate in architecture bootstrap. It also pulls a pile of gir packages that cannot be cross built without qemu. libcap-ng also is in the bootstrap set. This is the sort of situation that fundamentally breaks Debian's ability to be bootstrapped. I am therefore filing this as serious and hope you agree. Please downgrade if not. As for solutions, I see that libbluetooth-dev is needed for building utils, but utils is not what the bootstrap needs. Hence, I propose adding a pkg.libcap-ng.noutils build profile that disables both. I compared a full build with a profile build and the packages emitted from both are bit-identical on amd64. Bootstrap builds can enable this profile and proceed as they did before (albeit without a libcap-ng-utils package). Let me know what you think. Helmut
diff -Nru libcap-ng-0.9.5/debian/changelog libcap-ng-0.9.5/debian/changelog --- libcap-ng-0.9.5/debian/changelog 2026-08-26 21:32:42.000000000 +0200 +++ libcap-ng-0.9.5/debian/changelog 2026-09-01 13:22:09.000000000 +0200 @@ -1,3 +1,10 @@ +libcap-ng (0.9.5-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Make bluetooth build dependency optional. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Tue, 01 Sep 2026 13:22:09 +0200 + libcap-ng (0.9.5-1) unstable; urgency=medium * New upstream release. diff -Nru libcap-ng-0.9.5/debian/control libcap-ng-0.9.5/debian/control --- libcap-ng-0.9.5/debian/control 2026-08-26 21:32:42.000000000 +0200 +++ libcap-ng-0.9.5/debian/control 2026-09-01 13:22:09.000000000 +0200 @@ -4,7 +4,7 @@ Build-Depends: debhelper-compat (= 14), dh-sequence-python3 <!nopython>, - libbluetooth-dev, + libbluetooth-dev <!pkg.libcap-ng.noutils>, libpython3-all-dev <!nopython>, linux-libc-dev, pkgconf, @@ -35,6 +35,7 @@ Package: libcap-ng-utils Section: admin Architecture: linux-any +Build-Profiles: <!pkg.libcap-ng.noutils> Depends: libcap-ng0 (= ${binary:Version}), Description: Utilities for analysing and setting file capabilities

