Package: kcodecs Severity: normal Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: fixfilepath ftbfs X-Debbugs-Cc: reproducible-bugs@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), kcodecs fails to build from source: http://qa-logs.debian.net/2020/09/26.fixfilepath/kcodecs_5.70.0-1_unstable_fixfilepath.log While the "fixfilepath" feature is not currently enabled by 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 kcodecs, but a common triggering issue is test suites expectinfg __FILE__ to resolve to an absolute path. The attached patch works around this issue by disabling the fixfilepath feature in debian/rules using DEB_BUILD_MAINT_OPTIONS=-fixfilepath. Thanks for maintaining kcodecs! live well, vagrant
From 8b3809f1211df8a81864cfe3071416b1667ecbb1 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagrant@reproducible-builds.org> Date: Fri, 23 Oct 2020 02:34:39 +0000 Subject: [PATCH] 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 49fbb22..4a32e70 100755 --- a/debian/rules +++ b/debian/rules @@ -1,7 +1,9 @@ #!/usr/bin/make -f # -*- makefile -*- -export DEB_BUILD_MAINT_OPTIONS = hardening=+all +# Disable fixfilepath feature, as it triggers build failures when +# enabled. +export DEB_BUILD_MAINT_OPTIONS = hardening=+all reproducible=-fixfilepath # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -- 2.20.1
Attachment:
signature.asc
Description: PGP signature