Bug#1053327: p11-kit: Please add nodoc build profile
Samuel Thibault
sthibault at debian.org
Sun Oct 1 21:38:53 BST 2023
Package: p11-kit
Version: 0.25.0-4
Severity: important
Tags: patch
Hello,
p11-kit's build-dependency on gtk-doc-tools introduces an ample
dependency loop. This can be avoided by adding a nodoc profile, as the
attached patch does (chmod +x debian/p11-kit.install is needed for
dh-exec to work).
Samuel
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'oldstable-proposed-updates-debug'), (500, 'oldstable-proposed-updates'), (500, 'oldoldstable-proposed-updates'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64
Kernel: Linux 6.5.0 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
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 p11-kit depends on:
ii libc6 2.37-10
ii libp11-kit0 0.25.0-4
ii libtasn1-6 4.19.0-3
ii p11-kit-modules 0.25.0-4
p11-kit recommends no packages.
p11-kit suggests no packages.
-- no debconf information
-------------- next part --------------
--- debian/control.original 2023-10-01 19:17:48.000000000 +0000
+++ debian/control 2023-10-01 19:41:49.000000000 +0000
@@ -4,8 +4,8 @@
Uploaders:
Andreas Metzler <ametzler at debian.org>,
Build-Depends:
- debhelper-compat (= 13),
- gtk-doc-tools,
+ debhelper-compat (= 13), dh-exec,
+ gtk-doc-tools <!nodoc>,
libbsd-dev [kfreebsd-any hurd-any],
libffi-dev,
libtasn1-6-dev,
@@ -89,6 +89,7 @@
policy module.
Package: p11-kit-doc
+Build-Profiles: <!nodoc>
Architecture: all
Section: doc
Depends:
--- debian/rules.original 2023-10-01 19:19:03.000000000 +0000
+++ debian/rules 2023-10-01 19:19:34.000000000 +0000
@@ -5,11 +5,15 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+ifeq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
+ DOC=--enable-doc
+endif
+
override_dh_auto_configure:
dh_auto_configure --verbose -- \
--disable-silent-rules \
--with-trust-paths=/etc/ssl/certs/ca-certificates.crt \
- --with-hash-impl=internal --enable-doc
+ --with-hash-impl=internal $(DOC)
override_dh_makeshlibs:
# Force keeping symbol file up to date.
--- debian/p11-kit.install.original 2023-10-01 19:42:06.000000000 +0000
+++ debian/p11-kit.install 2023-10-01 19:42:11.000000000 +0000
@@ -1,6 +1,7 @@
+#!/usr/bin/dh-exec
/usr/libexec/p11-kit/p11-kit-remote
/usr/libexec/p11-kit/p11-kit-server
usr/bin/*
usr/share/locale/*/*/p11-kit.mo
-usr/share/man/man[158]/*
+<!nodoc> usr/share/man/man[158]/*
usr/share/p11-kit/modules/p11-kit-trust.module
More information about the Pkg-gnutls-maint
mailing list