Your message dated Mon, 02 May 2022 21:24:19 +0000
with message-id <e1nldwl-000grm...@fasolo.debian.org>
and subject line Bug#1010238: fixed in binutils 2.38-4
has caused the Debian Bug report #1010238,
regarding binutils: reproducible builds: source tarball embeds build user and 
group
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.)


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

binutils-source embeds the username, uid, group and gid in the binutils
source tarball:

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

  /usr/src/binutils/binutils-2.38.tar.xz

  
-rw-r--r--···0·pbuilder1··(1111)·pbuilder1··(1111)····18002·2022-01-22·12:14:07.000000·binutils-2.38/COPYING
  vs.
  
-rw-r--r--···0·pbuilder2··(2222)·pbuilder2··(2222)····18002·2022-01-22·12:14:07.000000·binutils-2.38/COPYING


The attached patch fixes this by passing arguments to tar in
debian/rules to ensure consistent user, group, uid and gid in the
generated tarballs.


Unfortunately, other issues prevent binutils from building reproducibly,
but this should at least reduce the differences, making it easier to fix
remaining issues.


Thanks for maintaining binutils!


live well,
  vagrant
From 30c8ddb48925121e20e53039ca60968764f6b874 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagr...@reproducible-builds.org>
Date: Tue, 26 Apr 2022 20:25:08 +0000
Subject: [PATCH] debian/rules: Use consistent user and group when generating
 source tarball.

https://reproducible-builds.org/docs/archives/
---
 debian/rules | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/rules b/debian/rules
index 7e856a63..c795d87b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1406,6 +1406,7 @@ endif # ifndef BACKPORT
 		xargs -0r touch --no-dereference --date='$(BUILD_DATE)' && \
 		find $(source_files) -type f -print0 | LC_ALL=C sort -z | \
 		tar --null -T - -c --xz --exclude=CVS --mode=go=rX,u+rw,a-s \
+		--owner=0 --group=0 --numeric-owner \
 		--xform='s=^[^/]*\/=binutils-$(VERSION)/=' \
 		-f $(pwd)/$(d_src)/$(PF)/src/binutils/binutils-$(VERSION).tar.xz \
 		$(source_files)
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: binutils
Source-Version: 2.38-4
Done: Matthias Klose <d...@debian.org>

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

Debian distribution maintenance software
pp.
Matthias Klose <d...@debian.org> (supplier of updated binutils 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, 02 May 2022 22:50:25 +0200
Source: binutils
Architecture: source
Version: 2.38-4
Distribution: unstable
Urgency: medium
Maintainer: Matthias Klose <d...@debian.org>
Changed-By: Matthias Klose <d...@debian.org>
Closes: 1010238
Changes:
 binutils (2.38-4) unstable; urgency=medium
 .
   * Update from the binutils 2.38 branch:
     - Fix PR ld/29087, x86: invalid relocation against protected symbol.
     - s390: Add DT_JMPREL pointing to .rela.[i]plt with static-pie.
     - Fix PR ld/22263, s390: Avoid dynamic TLS relocs in PIE.
     - Fix PR libctf/28933: ld: diagnose corrupted CTF header cth_strlen.
     - Fix PR 28885.
     - PR28959, obdump doesn't disassemble mftb instruction.
     - PowerPC64 DT_RELR relative reloc addresses.
   * Fix reproducible builds: source tarball embeds build user and group.
     Closes: #1010238.
Checksums-Sha1:
 1547820e2976cfbea98b4ca582ec7708be7ad323 11276 binutils_2.38-4.dsc
 21afc015d2f1130ebf5f8e24ec488595da4f9233 273624 binutils_2.38-4.debian.tar.xz
 676e1ebe5e028d7d43aad98b66b996a0bd257292 6392 binutils_2.38-4_source.buildinfo
Checksums-Sha256:
 b87e5c78f73473ca6d28dd3ceec500179bb7f493cafcc8f9fbaf360c048c0aa5 11276 
binutils_2.38-4.dsc
 f331fceb16096d611c6f3ad2235476bf845727c65fdbf6a89693e3c68404fbb1 273624 
binutils_2.38-4.debian.tar.xz
 63704d55519f66530e76340f749988fe1e1f44ed167dcf625bf3b425a75a3091 6392 
binutils_2.38-4_source.buildinfo
Files:
 edcc1282865f4800b439368f0d2aa5d1 11276 devel optional binutils_2.38-4.dsc
 286b82aacbbe3ae81a1ee9d960f9cc22 273624 devel optional 
binutils_2.38-4.debian.tar.xz
 28e642e0b15309c4203ea9627ce170bb 6392 devel optional 
binutils_2.38-4_source.buildinfo

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

iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAmJwRl4QHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9TV+EACY3YkWJjcaFOeYmG0+gWSJSra3eeu+N666
AHf/iQyyo4PN8G906JHJBiWYO0N8Mz9M71SH5+MobWxt2M3daLrp/+heZxomGtXb
DRq9LJq9c2fmr8/KlnafbfYgKbriTmHmeBVtWA6cHqQHlInPfv68KlQXggjmTrk+
WyDgRpwtqQ21OrPCbqxTwNptsZLEu1i2Uz3gUkhQgTCw1xmsl4ld06yzjdozp1BW
3Qobitov/5OAaFQeqMtQc9VfM9S6IHTDsxu94JbDiPJFXqbhvSeCLdSJ2T2hWC4i
TUCD58kq9a48Iz+57QB3vvJ/Ia4/5RWg9JTVD6Ji3Dohv9nCzRD+ss+gk3IQfAoz
W5OEKjpz3urcnTbIoWaJYo7L8Iwz9TPFLKGYwI/oDueTPG93LyNOhmkEy1eosnKs
+oyL/Bdp5QUzjUlU56UvJwO35qEYNLEGIPUuS9hbYV2HK9qc9vgi46lXUVW8JKZs
Tq44gGDDs71g2z64JodyYkvfGpBEenrUQnXaVISyinX/vGlYWWQ5JPaz505bSsLI
hT5BxcFWRudwy+mpSovHW+0G6p8ERuIHEjIUhvFJHmqZGTmnkyPA4jfV7ZPH6mM+
iyPSXcq/3BPsuZVeY+xJG6XTPALs3lKr14XDdq2YRpFwG4BIdtoQu4QgeE7HbZBq
YrKR24rRWw==
=a2gl
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to