[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1010825: marked as done (lwatch: reproducible-builds: embedded build paths in /usr/bin/lwatch)



Your message dated Tue, 10 May 2022 22:19:20 +0000
with message-id <E1noYCO-000DyP-LM@fasolo.debian.org>
and subject line Bug#1010825: fixed in lwatch 0.6.2-4
has caused the Debian Bug report #1010825,
regarding lwatch: reproducible-builds: embedded build paths in /usr/bin/lwatch
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1010825: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010825
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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
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

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
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-----

--- End Message ---

Reply to: