Debian Bug report logs -
#1010825
lwatch: reproducible-builds: embedded build paths in /usr/bin/lwatch
Reported by: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Tue, 10 May 2022 21:45:02 UTC
Severity: normal
Tags: patch
Fixed in version lwatch/0.6.2-4
Done: Vagrant Cascadian <vagrant@debian.org>
Bug is archived. No further changes may be made.
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#1010825; Package src:lwatch.
(Tue, 10 May 2022 21:45:04 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>.
(Tue, 10 May 2022 21:45:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: lwatch
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/lwatch:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/lwatch.html
... -ffile-prefix-map=/build/1st/lwatch-0.6.2=. ...
vs.
... -ffile-prefix-map=/build/2/lwatch-0.6.2/2nd=. ...
The attached patch to debian/rules fixes this by replacing the build
path in src/config.h with the placeholder strong "BUILDPATH" from a
dh_auto_configure override.
With this patch applied, lwatch should build reproducibly on
tests.reproducible-builds.org!
live well,
vagrant
[0001-debian-rules-Remove-the-buildpath-from-src-config.h-.patch (text/x-diff, inline)]
From 371ab1b4af9447a2d51510c71c1285a664f974f8 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Tue, 10 May 2022 21:31:30 +0000
Subject: [PATCH] debian/rules: Remove the buildpath from src/config.h in
dh_auto_configure override.
https://tests.reproducible-builds.org/debian/issues/unstable/records_build_flags_issue.html
---
debian/rules | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/debian/rules b/debian/rules
index a5c66ee..0f74fd1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,3 +19,7 @@ endif
override_dh_installdirs:
dh_installdirs
$(MAKE) install DESTDIR=$(CURDIR)/debian/lwatch
+
+override_dh_auto_configure:
+ dh_auto_configure
+ sed -i -e "s,$(CURDIR),BUILDPATH,g" src/config.h
--
2.30.2
[signature.asc (application/pgp-signature, inline)]
Reply sent
to Vagrant Cascadian <vagrant@debian.org>:
You have taken responsibility.
(Tue, 10 May 2022 22:21:07 GMT) (full text, mbox, link).
Notification sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer.
(Tue, 10 May 2022 22:21:07 GMT) (full text, mbox, link).
Message #10 received at 1010825-close@bugs.debian.org (full text, mbox, reply):
Source: lwatch
Source-Version: 0.6.2-4
Done: Vagrant Cascadian <vagrant@debian.org>
We believe that the bug you reported is fixed in the latest version of
lwatch, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1010825@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Vagrant Cascadian <vagrant@debian.org> (supplier of updated lwatch package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 10 May 2022 14:50:19 -0700
Source: lwatch
Architecture: source
Version: 0.6.2-4
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Vagrant Cascadian <vagrant@debian.org>
Closes: 1010825
Changes:
lwatch (0.6.2-4) unstable; urgency=medium
.
* QA upload.
* debian/rules: Remove the buildpath from src/config.h in
dh_auto_configure override. (Closes: #1010825)
Checksums-Sha1:
7a731239504f4194b59e956019fea3e01e1b4319 1295 lwatch_0.6.2-4.dsc
3b68afed10045588401f7f76bd624b128beacb12 3464 lwatch_0.6.2-4.debian.tar.xz
Checksums-Sha256:
4e6d4ddeb6e8a70cb873014c37f7f8bd43da1281c9be039872e444bf0e720330 1295 lwatch_0.6.2-4.dsc
0dba45cac2fbfe476e73fb27ffa325e77894bc6536da4f0901e560ed33bc7415 3464 lwatch_0.6.2-4.debian.tar.xz
Files:
83cf678ae870f9496fab1c57bef08eed 1295 admin optional lwatch_0.6.2-4.dsc
3c2c2ed20b59692a72f442c76f708bb0 3464 admin optional lwatch_0.6.2-4.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iIkEARYKADEWIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYnrflRMcdmFncmFudEBk
ZWJpYW4ub3JnAAoJENxRj8h/lxaqlOgBAPcVPOrbguCDu7b58q2ONO/T4lfr8O0T
2ER+JpVsTjehAQCz8mm5808JRs9+vTwSKOD9L2SzJzmxW5gXu7soUA01DA==
=cT+f
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Fri, 17 Jun 2022 07:25:02 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed May 17 12:38:26 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.