Your message dated Sun, 25 Jun 2023 04:03:46 +0000
with message-id <e1qdgyy-008djv...@fasolo.debian.org>
and subject line Bug#1038908: fixed in binutils-msp430 2.24~ti2
has caused the Debian Bug report #1038908,
regarding binutils-msp430: reproducible builds: embeds build path 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.)


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

  
https://tests.reproducible-builds.org/debian/rb-pkg/bookworm/amd64/diffoscope-results/binutils-msp430.html

  /usr/bin/msp430-addr2line

  /build/1st/binutils-msp430-2.24~ti1/binutils-2.40/bfd/elflink.c:9935
  vs.
  /build/2/binutils-msp430-2.24~ti1/2nd/binutils-2.40/bfd/elflink.c:9935

The attached patch to debian/rules fixes this by using the default
clfags for dpkg-buildflags, which includes -ffile-prefix-map to avoid
embedded build paths.

An alternate approach which may fix this issue is to switch to using a
newer debhelper compat level and dh, which may bring numerous other
benefits as well.

According to my local tests, with this patch applied binutils-msp430
should build reproducibly on tests.reproducible-builds.org!

Thanks for maintaining binutils-msp430!

live well,
  vagrant
From 73dd38286747b8fb031a9b4fa662334b1f7db6e9 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagr...@reproducible-builds.org>
Date: Thu, 22 Jun 2023 16:21:25 -0700
Subject: [PATCH] debian/rules: Use default CFLAGS.

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

diff --git a/debian/rules b/debian/rules
index 852e34d..482d8d6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,6 +17,7 @@ CONFARGS = --prefix=/usr \
            --target=$(TARGET)\
            --disable-static
 
+export CFLAGS = $(shell dpkg-buildflags --get CFLAGS)
 
 unpack: unpack-stamp
 unpack-stamp:
-- 
2.39.2

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: binutils-msp430
Source-Version: 2.24~ti2
Done: Vagrant Cascadian <vagr...@reproducible-builds.org>

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

Debian distribution maintenance software
pp.
Vagrant Cascadian <vagr...@reproducible-builds.org> (supplier of updated 
binutils-msp430 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: SHA512

Format: 1.8
Date: Sat, 24 Jun 2023 20:24:14 -0700
Source: binutils-msp430
Architecture: source
Version: 2.24~ti2
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packa...@qa.debian.org>
Changed-By: Vagrant Cascadian <vagr...@reproducible-builds.org>
Closes: 1038908
Changes:
 binutils-msp430 (2.24~ti2) unstable; urgency=medium
 .
   * QA upload.
   * debian/rules: Switch to dh. (Closes: #1038908)
   * Switch to debhelper-compat 10. (Closes: #1038908)
   * debian/control: Change to priority "optional".
   * debian/rules: Pass --with-system-zlib to configure.
   * debian/rules: Pass --enable-deterministic-archives to configure.
   * debian/control: Set Rules-Requires-Root to "no".
Checksums-Sha1:
 b74d68deb107d3fd60ac0ff61e99a94b0f9f841a 1190 binutils-msp430_2.24~ti2.dsc
 bb894270e69a48bb5c1212e2db6a9d1f0c4b5636 3412 binutils-msp430_2.24~ti2.tar.xz
Checksums-Sha256:
 a2e431da435e2f94bf366c26983a30f1af77071dcc78350ffd00dd31e9bba828 1190 
binutils-msp430_2.24~ti2.dsc
 02b2ceea96fcdc39e06cad3b294e6d6428a57165aa614a819569ac2996cd79ac 3412 
binutils-msp430_2.24~ti2.tar.xz
Files:
 4111fbf9b37a82c1d536102771d198c5 1190 devel optional 
binutils-msp430_2.24~ti2.dsc
 b89665afff2bd0cba5a33e0c2ef66d9b 3412 devel optional 
binutils-msp430_2.24~ti2.tar.xz

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

iJYEARYKAD4WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZJe1wiAcdmFncmFudEBy
ZXByb2R1Y2libGUtYnVpbGRzLm9yZwAKCRDcUY/If5cWqn0GAQDT0VeDVQyGblUd
yLmmimJlZKrS/COnVkgOkaTaZ3U9zgEAyAhjNNtUgc3VmjhEDOt1ay02O1BTw2+6
eDhLb+hkJAE=
=OXnv
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to