Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock
X-Debbugs-Cc: libc...@packages.debian.org
Control: affects -1 + src:libcap2
Hi,
I'm terribly sorry, but my -8 upload you last unblocked contained a
whitespace error that I missed because it coincided with my editor's
wrapping.
This whitespace error led to the Built-Using field not being included,
so I've re-opened the RC bug #1106802. This upload fixes it now.
I've also added a trivial change to d/rules: a `sleep 5` is introduced
to let tests acquiesce on slower arches, where I've seen sporadic FTBFS.
[ Reason ]
Really fixing the RC bug this time.
[ Impact ]
The RC bug is a Policy violation.
[ Tests ]
None of these changes affect any of the binaries shipped by this
package, only the build itself.
To really be sure that this works now, a build showed that libcap-dev
now has the expected field (copy-pasted here):
Built-Using: glibc (= 2.41-8)
[ Risks ]
All of these changes should be risk-free.
[ 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-9
diff -Nru libcap2-2.75/debian/changelog libcap2-2.75/debian/changelog
--- libcap2-2.75/debian/changelog 2025-05-30 12:06:41.000000000 +0200
+++ libcap2-2.75/debian/changelog 2025-06-17 21:43:10.000000000 +0200
@@ -1,10 +1,20 @@
+libcap2 (1:2.75-9) unstable; urgency=medium
+
+ * d/rules: Add short sleep after tests
+ * Fix whitespace in Built-Using package name
+ The previous upload did not fix this because of a whitespace issue that
+ I introduced. Its changelog entry has been modified to reflect this.
+ (Closes: #1106802)
+
+ -- Christian Kastner <c...@debian.org> Tue, 17 Jun 2025 21:43:10 +0200
+
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)
+ * Add missing Built-Using: glibc
[ Christian Kastner ]
* Don't install manpage for missing utility 'captree'. (Closes: #1064065)
diff -Nru libcap2-2.75/debian/rules libcap2-2.75/debian/rules
--- libcap2-2.75/debian/rules 2025-05-30 12:06:41.000000000 +0200
+++ libcap2-2.75/debian/rules 2025-06-17 21:43:10.000000000 +0200
@@ -80,6 +80,10 @@
override_dh_auto_install:
+ # On slower arches, it seems that tests need more time to shut down,
+ # which causes patchelf to fail. A short sleep is the least complicated
+ # workaround
+ sleep 5
# Unfortunately, RPATH seems to be needed for the build-time tests
# (avoiding it and going through LD_LIBRARY_PATH didn't work in all
# cases)
@@ -109,7 +113,7 @@
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)"
+ 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 \