Your message dated Sun, 30 Oct 2022 19:50:08 +0000
with message-id <[email protected]>
and subject line Bug#1020887: fixed in checkpw 1.02-1.2
has caused the Debian Bug report #1020887,
regarding checkpw: reproducible-builds: buildid differences in /usr/bin/checkpw
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 [email protected]
immediately.)


-- 
1020887: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1020887
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: checkpw
Severity: normal
Tags: patch
User: [email protected]
Usertags: buildpath
X-Debbugs-Cc: [email protected]

The buildid varies when built from a different path for
/usr/bin/checkpw:

  
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/checkpw.html

The attached patch to debian/rules fixes this by adding
-ffile-prefix-map to CFLAGS.

Alternately, updating to a newer debhelper compat level might fix this.

According to my local tests, with this patch applied, and the patch
submitted in 2015 for bug #777299, checkpw should build reproducibly on
tests.reproducible-builds.org!

Thanks for maintaining checkpw!

live well,
  vagrant
From d8bc459cbc3076dec093f7bd5b3db31a27999fdf Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <[email protected]>
Date: Tue, 27 Sep 2022 22:47:32 +0000
Subject: [PATCH 2/2] debian/rules: Add -ffile-prefix-map to CFLAGS to avoid
 embedding build paths.

https://reproducible-builds.org/docs/build-path/
---
 debian/rules | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/rules b/debian/rules
index f5b7c42..13274a9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,8 @@
 
 CC =gcc
 CFLAGS =-g -O2 -Wall
+# Avoid embedding build paths for reproducible builds
+CFLAGS += -ffile-prefix-map=$(CURDIR)=.
 LDFLAGS =
 STRIP =strip
 
-- 
2.37.2

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: checkpw
Source-Version: 1.02-1.2
Done: Vagrant Cascadian <[email protected]>

We believe that the bug you reported is fixed in the latest version of
checkpw, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vagrant Cascadian <[email protected]> (supplier of updated 
checkpw 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 20 Oct 2022 11:41:55 -0700
Source: checkpw
Architecture: source
Version: 1.02-1.2
Distribution: unstable
Urgency: medium
Maintainer: Gerrit Pape <[email protected]>
Changed-By: Vagrant Cascadian <[email protected]>
Closes: 777299 1020887
Changes:
 checkpw (1.02-1.2) unstable; urgency=medium
 .
   * Non-maintainer upload.
 .
   [ Chris Lamb ]
   * Remove timestamps from the build system (Closes: #777299)
 .
   [ Vagrant Cascadian ]
   * debian/rules: Add -ffile-prefix-map to CFLAGS to avoid embedding build
     paths. (Closes: #1020887)
Checksums-Sha1:
 ea5ec561f45e198363b2835ffcebcf2c256a46f5 1145 checkpw_1.02-1.2.dsc
 afd0abc09f2a47b75978620384855a2a136b1d2f 7064 checkpw_1.02-1.2.diff.gz
Checksums-Sha256:
 9bc402713ac02a09bfafaa3f14bac8203c2b2874cd69e0cfc8df1837ee1e4e58 1145 
checkpw_1.02-1.2.dsc
 7daa6f42cb3934c30f2f0d4fccc2a86f082300c7d8df991a5f7cbd324ace154d 7064 
checkpw_1.02-1.2.diff.gz
Files:
 4df28d5ad5c9f8ca635d6119fae05712 1145 mail optional checkpw_1.02-1.2.dsc
 e40b7d0f06fbbb958c2bb41d75301275 7064 mail optional checkpw_1.02-1.2.diff.gz

-----BEGIN PGP SIGNATURE-----

iJYEARYKAD4WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCY1GYdSAcdmFncmFudEBy
ZXByb2R1Y2libGUtYnVpbGRzLm9yZwAKCRDcUY/If5cWqmgdAQD+QIhbpY2DxPy/
jvi42kw2dVI8zceNumN51MYlStOlbgEAyMijZ8ioos6OmbMipPLeeZUZN+e9EzHh
skEFQM7FFgs=
=4vV4
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to