Debian Bug report logs -
#1021509
xxkb: reproducible-builds: build path embedded in /usr/bin/xxkb
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Debian QA Group <packages@qa.debian.org>:
Bug#1021509; Package src:xxkb.
(Sun, 09 Oct 2022 19:54:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Debian QA Group <packages@qa.debian.org>.
(Sun, 09 Oct 2022 19:54:06 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: xxkb
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
The build path is embedded in /usr/bin/xxkb:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/xxkb.html
/build/1st/xxkb-1.11.1/xxkb.c:73
vs.
/build/2/xxkb-1.11.1/2nd/xxkb.c:73
The attached patch to debian/rules fixes this by adding a dh_auto_build
override that passes the default CFLAGS as CCOPTIONS.
According to my local tests, with this patch applied, xxkb should build
reproducibly on tests.reproducible-builds.org!
Thanks for maintaining xxkb!
live well,
vagrant
[0001-debian-rules-Add-dh_auto_build-override-passing-defa.patch (text/x-diff, inline)]
From 0c91003ba8b5707f352faffd12b7cd6b2bae1122 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sun, 9 Oct 2022 19:48:15 +0000
Subject: [PATCH] debian/rules: Add dh_auto_build override passing default
CFLAGS as CCOPTIONS.
---
debian/rules | 3 +++
1 file changed, 3 insertions(+)
diff --git a/debian/rules b/debian/rules
index d76fbcc..8fb8ca3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,5 +14,8 @@ override_dh_auto_install:
mv debian/tmp/usr/share/man/man1/xxkb.1x \
debian/tmp/usr/share/man/man1/xxkb.1
+override_dh_auto_build:
+ dh_auto_build -- CCOPTIONS="$(CFLAGS)"
+
override_dh_installchangelogs:
dh_installchangelogs CHANGES.koi8
--
2.37.2
[signature.asc (application/pgp-signature, inline)]
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed May 17 12:43:08 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.