Your message dated Mon, 22 Apr 2024 00:19:14 +0000
with message-id <e1ryhos-001gst...@fasolo.debian.org>
and subject line Bug#1011493: fixed in freecdb 0.77
has caused the Debian Bug report #1011493,
regarding freecdb: reproducible-builds: embedded build paths in various binaries
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 ow...@bugs.debian.org
immediately.)


-- 
1011493: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1011493
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: freecdb
Severity: normal
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

The build path is embedded in various binaries in /usr/bin:

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

  /usr/bin/cdbdump

  /build/1st/freecdb-0.76/cdbdump.c:45
  vs.
  /build/2/freecdb-0.76/2nd/cdbdump.c:45

The attached patch fixes this by explicitly passing CFLAGS to a
dh_auto_build override in debian/rules, which includes the
-ffile-prefix-map argument used to avoid embedding build paths.


With this patch applied, freecdb should build reproducibly on
tests.reproducible-builds.org!


live well,
  vagrant
From 614861c71f34eea174ed917d3a03b23f771008f3 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagr...@reproducible-builds.org>
Date: Mon, 23 May 2022 22:28:57 +0000
Subject: [PATCH] debian/rules: Explicitly pass CFLAGS to dh_auto_build.

---
 debian/rules | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/rules b/debian/rules
index 2d33f6a..ae015cc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,3 +2,6 @@
 
 %:
 	dh $@
+
+override_dh_auto_build:
+	dh_auto_build -- CFLAGS="$(CFLAGS)"
-- 
2.36.1

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: freecdb
Source-Version: 0.77
Done: Andreas Beckmann <a...@debian.org>

We believe that the bug you reported is fixed in the latest version of
freecdb, 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 1011...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Beckmann <a...@debian.org> (supplier of updated freecdb 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 22 Apr 2024 01:55:29 +0200
Source: freecdb
Architecture: source
Version: 0.77
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packa...@qa.debian.org>
Changed-By: Andreas Beckmann <a...@debian.org>
Closes: 1011493 1069481
Changes:
 freecdb (0.77) unstable; urgency=medium
 .
   * QA upload.
   * Explicitly pass CFLAGS to the build.  (Closes: #1011493, #1069481)
   * Fix building with -Werror=implicit-function-declaration.
   * Declare Rules-Requires-Root: no.
Checksums-Sha1:
 585b79d52820daba1389e4535a0160ec52eafec8 1531 freecdb_0.77.dsc
 ee987a46da1db0ba45cea13e0cd7362399309cb7 218108 freecdb_0.77.tar.xz
 b8f1b39c2725c21dfea4d333ab847059ce06dc55 5613 freecdb_0.77_source.buildinfo
Checksums-Sha256:
 26b7bea273740144f4b93be3bfa71d61c491a2438c5f557802f68bdaba7cfdfa 1531 
freecdb_0.77.dsc
 8a8805a521ccc49f54b28abd9ab4ff0ceebdc14267bc72b946ccf3efd35aed95 218108 
freecdb_0.77.tar.xz
 2ccc40d887ac4cb22b4db1f64bfd9f2edfc260248213d1d7bedb00cb31b4cb7a 5613 
freecdb_0.77_source.buildinfo
Files:
 d8f2435204bc3e531946b7c4c129429d 1531 utils optional freecdb_0.77.dsc
 145be443c590812b2df3d7d3c6eb4b6c 218108 utils optional freecdb_0.77.tar.xz
 6e8fd572ce43b2c469bb41d1d8d811a3 5613 utils optional 
freecdb_0.77_source.buildinfo

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

iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAmYlqBIQHGFuYmVAZGVi
aWFuLm9yZwAKCRBfsz+TWentCK+oD/0QoBsB4d0XzP3hs+EkfW5bxLF53TE3htU5
2qSVB89Vzo5ZatDP1AKZJvZvrFbtQQRzx+dZWiywjYqNijwvAoXdbE7waZ/lvzla
BMMuxr32dCV6XN6xBwIzTBT0YMI3VHSSUwXo+mSma09ZMUYV4AAUIiExZgF5zAeg
cXPPfUxQidWaMyY5G3muDkYOrLGRh4+bDY+s4qgqJP2nuhlCUfWWBettIsODqjHE
yl7H60+F1bul/f9PNwxXl7cwzY+GU39q+DV7Pz4KjdjHakZ/+QzzwZznQM5+g+CV
+Nbi5ogMSy6yREDMdqco2Fb1GYh0AfuL3NZhbwr9+yi8Zvpz29DpE18MJDXIbtO1
hWDVVSjTRyFxVoqky/lrBr2RVUuZl3axHx1BUtaJyuJNgo/cAw/UUi7ktofQStd/
eLJK3bxlLZ8fvZTWfYOdZGZm6Y7vhhKsLcvrOZkije2P7a2EeJKSr2tZx095+QgK
eYRVco8lxd8rJtk2tZASZhWfRIhQ8c6CHnZwd+zP+NUUY6xYpNIzwd957Zx0fw9A
gN7JBkgjSq199iw1i9SGaO/96HEjnzlNmRqGN25vFYbUa5fudHVs69mNVb4JTVtY
8hFzcDos+7Ggm6ocVRSPCXmzV85x20tLzK/NT/JVYRTFXwxxE5wBoUe0i1P3x+cW
8Pym96Rxvw==
=JzV6
-----END PGP SIGNATURE-----

Attachment: pgpJQAEaMhJM4.pgp
Description: PGP signature


--- End Message ---

Reply via email to