Debian Bug report logs - #1003494
binutils-xtensa-lx106: reproducible builds: Enable deterministic archives

version graph

Package: binutils-xtensa-lx106; Maintainer for binutils-xtensa-lx106 is Debian Electronics Packaging Team <pkg-electronics-devel@alioth-lists.debian.net>; Source for binutils-xtensa-lx106 is src:binutils-xtensa-lx106 (PTS, buildd, popcon).

Affects: gcc-xtensa-lx106

Reported by: Vagrant Cascadian <vagrant@reproducible-builds.org>

Date: Tue, 11 Jan 2022 01:54:04 UTC

Severity: normal

Tags: patch

Fixed in version binutils-xtensa-lx106/4

Done: Jonathan McDowell <noodles@earth.li>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Debian Electronics Packaging Team <pkg-electronics-devel@alioth-lists.debian.net>:
Bug#1003494; Package binutils-xtensa-lx106. (Tue, 11 Jan 2022 01:54:07 GMT) (full text, mbox, link).


Acknowledgement sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Debian Electronics Packaging Team <pkg-electronics-devel@alioth-lists.debian.net>. (Tue, 11 Jan 2022 01:54:07 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Vagrant Cascadian <vagrant@reproducible-builds.org>
To: submit@bugs.debian.org
Subject: binutils-xtensa-lx106: reproducible builds: Enable deterministic archives
Date: Mon, 10 Jan 2022 17:51:37 -0800
[Message part 1 (text/plain, inline)]
Package: binutils-xtensa-lx106
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps toolchain
Control: affects -1 gcc-xtensa-lx106
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

binutils-xtensa-lx106 is not built with deterministic archives enabled,
which causes reproducibility issues in packages using it:

  https://tests.reproducible-builds.org/debian/issues/unstable/timestamps_in_static_libraries_issue.html

The attached patch adds --enable-deterministic-archives to the configure
arguments in debian/rules.

FWIW, the --enable-deterministic-archives feature was enabled in
Debian's "binutils" package in 2015.

With this feature enabled in binutils-xtensa-lx106, it makes
gcc-xtensa-lx106 much closer to building reproducibly when using
a stable build path.


Thanks for maintaining binutils-xtensa-lx106!


live well,
  vagrant
[0001-debian-rules-Pass-enable-deterministic-archives-to-c.patch (text/x-diff, inline)]
From 126acf437c66d77e300f554ff67875fbd265c0b8 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Tue, 11 Jan 2022 01:35:43 +0000
Subject: [PATCH] debian/rules: Pass --enable-deterministic-archives to
 configure.

https://tests.reproducible-builds.org/debian/issues/unstable/timestamps_in_static_libraries_issue.html
---
 debian/rules | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/rules b/debian/rules
index 5bf3dd3..f00d912 100755
--- a/debian/rules
+++ b/debian/rules
@@ -37,6 +37,7 @@ configure_flags = \
 	--enable-plugins \
 	--enable-interwork \
 	--with-system-zlib \
+	--enable-deterministic-archives \
 	"--with-pkgversion=$(deb_version)" \
 	$(buildflags)
 
-- 
2.30.2

[signature.asc (application/pgp-signature, inline)]

Added indication that 1003494 affects gcc-xtensa-lx106 Request was from Vagrant Cascadian <vagrant@reproducible-builds.org> to submit@bugs.debian.org. (Tue, 11 Jan 2022 01:54:07 GMT) (full text, mbox, link).


Reply sent to Jonathan McDowell <noodles@earth.li>:
You have taken responsibility. (Tue, 11 Jan 2022 10:21:07 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Tue, 11 Jan 2022 10:21:07 GMT) (full text, mbox, link).


Message #12 received at 1003494-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1003494-close@bugs.debian.org
Subject: Bug#1003494: fixed in binutils-xtensa-lx106 4
Date: Tue, 11 Jan 2022 10:19:11 +0000
Source: binutils-xtensa-lx106
Source-Version: 4
Done: Jonathan McDowell <noodles@earth.li>

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

Debian distribution maintenance software
pp.
Jonathan McDowell <noodles@earth.li> (supplier of updated binutils-xtensa-lx106 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, 11 Jan 2022 08:57:56 +0000
Source: binutils-xtensa-lx106
Architecture: source
Version: 4
Distribution: unstable
Urgency: medium
Maintainer: Debian Electronics Packaging Team <pkg-electronics-devel@alioth-lists.debian.net>
Changed-By: Jonathan McDowell <noodles@earth.li>
Closes: 1003494
Changes:
 binutils-xtensa-lx106 (4) unstable; urgency=medium
 .
   * Add --enable-deterministic-archives to help with reproducible builds.
     Thanks to Vagrant Cascadian. (Closes: #1003494)
   * Bump Standards-Version to 4.6.0.1 (no changes)
   * Switch to debhelper-compat and use level 12
   * Work around removal of runstatedir from autoconf2.69
Checksums-Sha1:
 29ae4f1b799e0f224a46100137ef87d85ca49e95 1926 binutils-xtensa-lx106_4.dsc
 56f734b183261ac4ada0315928cc3976c6495fc2 17604 binutils-xtensa-lx106_4.tar.xz
 4ffe114669aca50a577ab932da3318e917e051c0 7285 binutils-xtensa-lx106_4_amd64.buildinfo
Checksums-Sha256:
 c0b565907106bf9c05685b8067d1261fb18dd2382815cc027ee8437480e97c19 1926 binutils-xtensa-lx106_4.dsc
 51ded1a7675e0b1b13f40e13ab6ac1770c7af203413f33c9810a82783d39d017 17604 binutils-xtensa-lx106_4.tar.xz
 298bbd7e65933ed08244e6a0fee850d0f8f21ac0e4b9a68cf61896b7ef1e684e 7285 binutils-xtensa-lx106_4_amd64.buildinfo
Files:
 9f102c77da9b425605e13aec32bfe5bb 1926 devel optional binutils-xtensa-lx106_4.dsc
 78781cd19168356fd7ff00b40f36e5f2 17604 devel optional binutils-xtensa-lx106_4.tar.xz
 36942322f9f0c46f1ffd516052dce6a2 7285 devel optional binutils-xtensa-lx106_4_amd64.buildinfo

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

iQJFBAEBCgAvFiEE/S8txYRw4wP3eXWjSgDzSK903QIFAmHdVlIRHG5vb2RsZXNA
ZWFydGgubGkACgkQSgDzSK903QKhlw/9EKvn2BMVPFOOpp/UYHDQwYOTDGoTo4xU
Zugw4R8QAnihtOy/4CgbkiaK7RNHg96W0tkiwg8NLU3iUmA5TQSws/4mReI4NYjf
GiKzUuwmeIKv98/UsbyLVVHI5v97GeU2T2DccRmYw0cHJebz0IZAjH4NWbhRBA8L
ZSxtaeUJ+gWrSeMQPF4iVVLk9ou8TwXN44A6oTS0fqbL4PItTwMuqUxmzxoI1MD7
6jWpXxd4LhH8De+zVZ/YDMsI+3DfC6u9edak2A/CQhatvD3cGe9VikMN4PyCRkwn
K0NXWS3LmXJdnuJlQ6YFmrp6Irvkk++ptlBmgrxTHrBTzd6lcu5RlqPCkcU6h8xd
Ue41R4shDT0AW/fgacQcjqmeg6eZ4TtTy3OeIVFzlh2NwZy7jb7jZHgnyPM2fHFi
aef3xr+Cpzpd1xeEtu3G9gJmrwsxeLRCiJxj5iyC1GfDM+jV3Qn+ItZZQt0jbu+Z
5enWETTtYG8XcbZdD+D79Ae6iFKvpLP5R+i0Z5nxMVDHJDmzuAEg4VxcMqNJGo2s
imS2L6fCvDsx8I2GQoeQ5dTg8W8eEBIi6oYZz9DIg5oF3ZRjvGgz8wgWXqlohjRq
0C9hLOSSUhXGkSUx9pd8IYGFX/IwvCRD5sCfqKeJnvVWOszjzcL1GvhDZsMbq01S
18JwF1NCto0=
=pYyi
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 18 Feb 2022 07:28:39 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 11:03:56 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.