Package: seqan2 Severity: normal Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: fixfilepath ftbfs X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
When the reproducible=+fixfilepath feature is enabled (either through DEB_BUILD_OPTIONS, or using a dpkg that enables this by default), seqan2 fails to build from source: http://qa-logs.debian.net/2020/09/26.fixfilepath/seqan2_2.4.0+dfsg-12_unstable_fixfilepath.log While the "fixfilepath" feature is not currently enabled in dpkg-buildflags by default, it may become the default at some point in the future, and can by triggered manually by setting DEB_BUILD_OPTIONS=reproducible=+fixfilepath in the build environment. More information about this issue is available at: https://tests.reproducible-builds.org/debian/issues/unstable/ftbfs_due_to_f-file-prefix-map_issue.html I have not identified the exact cause of this issue for seqan2, but a common triggering issue is test suites expecting __FILE__ to resolve to an absolute path. The first patch fixes a typo using DEB_BUILD_MAINT_OPTIONS, and the second patch works around the fixfilepath issue by disabling the fixfilepath feature in debian/rules using DEB_BUILD_MAINT_OPTIONS=-fixfilepath. Thanks for maintaining seqan2! live well, vagrant
From 009ac13af33ec86f14e7ff84ac3100d909c2a264 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Fri, 23 Oct 2020 06:15:03 +0000 Subject: [PATCH 1/2] debian/rules: Fix typo when setting DEB_BUILD_MAINT_OPTIONS. --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index b4fe567..f13e4a5 100755 --- a/debian/rules +++ b/debian/rules @@ -3,7 +3,7 @@ # Uncomment this to turn on verbose mode. export DH_VERBOSE=1 -export DH_BUILD_MAINT_OPTIONS = hardening=+all +export DEB_BUILD_MAINT_OPTIONS = hardening=+all include /usr/share/dpkg/pkg-info.mk export HOME=$(CURDIR)/fakehome -- 2.20.1
From 49c63cbea825b90920c3ad35894f5f2b09acb3f9 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Fri, 23 Oct 2020 03:45:23 +0000 Subject: [PATCH 2/2] debian/rules: Disable fixfilepath feature, as it triggers build failures when enabled. https://tests.reproducible-builds.org/debian/issues/unstable/ftbfs_due_to_f-file-prefix-map_issue.html --- debian/rules | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index f13e4a5..03c8e5e 100755 --- a/debian/rules +++ b/debian/rules @@ -3,7 +3,9 @@ # Uncomment this to turn on verbose mode. export DH_VERBOSE=1 -export DEB_BUILD_MAINT_OPTIONS = hardening=+all +# debian/rules: Disable fixfilepath feature, as it triggers build +# failures when enabled. +export DEB_BUILD_MAINT_OPTIONS = hardening=+all reproducible=-fixfilepath include /usr/share/dpkg/pkg-info.mk export HOME=$(CURDIR)/fakehome -- 2.20.1
signature.asc
Description: PGP signature