Bug#1107115: unblock: libcap2/1:2.75-8
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
X-Debbugs-Cc: libcap2@packages.debian.org
Control: affects -1 + src:libcap2
Hi,
I've prepared an upload for libcap2 that fixes three bugs. One of them
is an RC bug for a Policy violation, one hides a GCC-specific symbols,
and one removes a stray man page for a utility not shipped.
[ Reason ]
The RC bug is the priority. The symbol bug was already queued. The stray
documentation bug seems to be within the release guidelines.
[ Impact ]
The RC bug is for a Policy violation; one binary package with statically
linked binaries is missing the Built-Using field required by § 7.8. The
symbols bug enables building of this package with libc other than GLIBC.
[ Tests ]
None of these changes affect any of the binaries shipped by this
package, only the build itself. The test is therefor a successful build.
[ Risks ]
All of these changes should be risk-free. One adds a Built-Using field
with is metadata, one improves the symbols file in a way that should
have zero impact on a GLIBC system.
[ Checklist ]
[x] all changes are documented in the d/changelog
[x] I reviewed all changes and I approve them
[x] attach debdiff against the package in testing
unblock libcap2/1:2.75-8
diff -Nru libcap2-2.75/debian/changelog libcap2-2.75/debian/changelog
--- libcap2-2.75/debian/changelog 2025-04-21 20:42:52.000000000 +0200
+++ libcap2-2.75/debian/changelog 2025-05-30 12:06:41.000000000 +0200
@@ -1,3 +1,16 @@
+libcap2 (1:2.75-8) unstable; urgency=medium
+
+ [ Helmut Grohne ]
+ * Mark _IO_stdin_used as glibc-only symbol. (Closes: #1105137)
+
+ [ Aurelien Jarno ]
+ * Add missing Built-Using: glibc (Closes: #1106802)
+
+ [ Christian Kastner ]
+ * Don't install manpage for missing utility 'captree'. (Closes: #1064065)
+
+ -- Christian Kastner <ckk@debian.org> Fri, 30 May 2025 12:06:41 +0200
+
libcap2 (1:2.75-7) unstable; urgency=medium
[ Helmut Grohne ]
diff -Nru libcap2-2.75/debian/control libcap2-2.75/debian/control
--- libcap2-2.75/debian/control 2025-04-21 20:42:52.000000000 +0200
+++ libcap2-2.75/debian/control 2025-05-30 12:06:41.000000000 +0200
@@ -48,6 +48,7 @@
Section: libdevel
Architecture: linux-any
Multi-Arch: same
+Built-Using: ${misc:Built-Using}
Depends: libcap2 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}
Suggests: manpages-dev
Provides: libcap2-dev
diff -Nru libcap2-2.75/debian/libcap2-bin.install libcap2-2.75/debian/libcap2-bin.install
--- libcap2-2.75/debian/libcap2-bin.install 2025-04-21 20:42:52.000000000 +0200
+++ libcap2-2.75/debian/libcap2-bin.install 2025-05-30 12:06:41.000000000 +0200
@@ -1,6 +1,5 @@
usr/sbin
usr/share/man/man1
usr/share/man/man8/setcap.8
-usr/share/man/man8/captree.8
usr/share/man/man8/getpcaps.8
usr/share/man/man8/getcap.8
diff -Nru libcap2-2.75/debian/libcap2.symbols libcap2-2.75/debian/libcap2.symbols
--- libcap2-2.75/debian/libcap2.symbols 2025-04-21 20:42:52.000000000 +0200
+++ libcap2-2.75/debian/libcap2.symbols 2025-05-30 12:06:41.000000000 +0200
@@ -1,6 +1,6 @@
libcap.so.2 libcap2 #MINVER#
* Build-Depends-Package: libcap-dev
- _IO_stdin_used@Base 1:2.75
+ (arch=gnu-any-any)_IO_stdin_used@Base 1:2.75
__execable_dl_loader@Base 1:2.63
cap_clear@Base 1:2.10
cap_clear_flag@Base 1:2.10
diff -Nru libcap2-2.75/debian/not-installed libcap2-2.75/debian/not-installed
--- libcap2-2.75/debian/not-installed 1970-01-01 01:00:00.000000000 +0100
+++ libcap2-2.75/debian/not-installed 2025-05-30 12:06:41.000000000 +0200
@@ -0,0 +1,2 @@
+# Will be installed after trixie releases
+usr/share/man/man8/captree.8
diff -Nru libcap2-2.75/debian/rules libcap2-2.75/debian/rules
--- libcap2-2.75/debian/rules 2025-04-21 20:42:52.000000000 +0200
+++ libcap2-2.75/debian/rules 2025-05-30 12:06:41.000000000 +0200
@@ -108,6 +108,9 @@
--add-udeb=libcap2-udeb -- -c4
dh_makeshlibs --remaining-packages -- -c4
+override_dh_gencontrol:
+ dh_gencontrol -- -Vmisc:Built-Using="$(shell dpkg-query -f '$${source:Package} (= $${source:Version})' -W libc-dev- bin)"
+
export DH_GOLANG_BUILDPKG := \
kernel.org/pub/linux/libs/security/libcap/cap \
kernel.org/pub/linux/libs/security/libcap/psx
Reply to: