Debian Bug report logs - #996184
binutils-or1k-elf: reproducible builds: Enable deterministic archives

version graph

Package: binutils-or1k-elf; Maintainer for binutils-or1k-elf is Nicolas Boulenguez <nicolas@debian.org>; Source for binutils-or1k-elf is src:binutils-or1k-elf (PTS, buildd, popcon).

Affects: gcc-or1k-elf

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

Date: Mon, 11 Oct 2021 21:27:01 UTC

Severity: normal

Tags: patch

Fixed in version binutils-or1k-elf/1.0.2

Done: Jonas Smedegaard <dr@jones.dk>

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, Nicolas Boulenguez <nicolas@debian.org>:
Bug#996184; Package binutils-or1k-elf. (Mon, 11 Oct 2021 21:27:03 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, Nicolas Boulenguez <nicolas@debian.org>. (Mon, 11 Oct 2021 21:27:03 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-or1k-elf: reproducible builds: Enable deterministic archives
Date: Mon, 11 Oct 2021 14:24:52 -0700
[Message part 1 (text/plain, inline)]
Package: binutils-or1k-elf
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps toolchain
Control: affects -1 gcc-or1k-elf
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

binutils-or1k-elf 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 Debian's "binutils"
package in 2015.

With this feature enabled in binutils-or1k-elf, I've been able to
reproducibly build gcc-or1k-elf when using a stable build path.


Thanks for maintaining binutils-or1k-elf!


live well,
  vagrant
[0001-debian-rules-Pass-enable-deterministic-archives-to-c.patch (text/x-diff, inline)]
From 19ad976d637a6fe4276babec19d74b91e03130e1 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Mon, 11 Oct 2021 21:17:17 +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 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/rules b/debian/rules
index 0f6b868..97b68a9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -48,6 +48,9 @@ confargs += --with-pkgversion='$(pkgversion)+$(DEB_VERSION)'
 
 confargs += --disable-nls
 
+# https://tests.reproducible-builds.org/debian/issues/unstable/timestamps_in_static_libraries_issue.html
+confargs += --enable-deterministic-archives
+
 override_dh_auto_configure:
   # Imitate dh_auto_configure -- $(confargs), but without
   # --runstatedir as long as libiberty/configure cannot be refreshed.
-- 
2.30.2

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

Added indication that 996184 affects gcc-or1k-elf Request was from Vagrant Cascadian <vagrant@reproducible-builds.org> to submit@bugs.debian.org. (Mon, 11 Oct 2021 21:27:04 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#996184; Package binutils-or1k-elf. (Tue, 12 Oct 2021 13:54:02 GMT) (full text, mbox, link).


Acknowledgement sent to Nicolas Boulenguez <nicolas@debian.org>:
Extra info received and forwarded to list. (Tue, 12 Oct 2021 13:54:02 GMT) (full text, mbox, link).


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

From: Nicolas Boulenguez <nicolas@debian.org>
To: Vagrant Cascadian <vagrant@reproducible-builds.org>, 996184@bugs.debian.org
Subject: Re: Bug#996184: binutils-or1k-elf: reproducible builds: Enable deterministic archives
Date: Tue, 12 Oct 2021 10:58:44 +0200
Control: tags -1 + pending

Thanks!
I have pushed your commit, it will be part of next upload.



Added tag(s) pending. Request was from Nicolas Boulenguez <nicolas@debian.org> to 996184-submit@bugs.debian.org. (Tue, 12 Oct 2021 13:54:03 GMT) (full text, mbox, link).


Reply sent to Jonas Smedegaard <dr@jones.dk>:
You have taken responsibility. (Thu, 04 Nov 2021 00:36:03 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Thu, 04 Nov 2021 00:36:03 GMT) (full text, mbox, link).


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

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 996184-close@bugs.debian.org
Subject: Bug#996184: fixed in binutils-or1k-elf 1.0.2
Date: Thu, 04 Nov 2021 00:33:24 +0000
Source: binutils-or1k-elf
Source-Version: 1.0.2
Done: Jonas Smedegaard <dr@jones.dk>

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

Debian distribution maintenance software
pp.
Jonas Smedegaard <dr@jones.dk> (supplier of updated binutils-or1k-elf 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: Thu, 04 Nov 2021 01:37:48 +0100
Source: binutils-or1k-elf
Architecture: source
Version: 1.0.2
Distribution: unstable
Urgency: medium
Maintainer: Nicolas Boulenguez <nicolas@debian.org>
Changed-By: Jonas Smedegaard <dr@jones.dk>
Closes: 996184
Changes:
 binutils-or1k-elf (1.0.2) unstable; urgency=medium
 .
   [ Vagrant Cascadian ]
   * Enable deterministic archives. Closes: #996184.
 .
   [ Nicolas Boulenguez ]
   * autopkgtests: test strip, report progress.
Checksums-Sha1:
 ed60649b1d0d48b325d571616e5259419ae76fa5 1834 binutils-or1k-elf_1.0.2.dsc
 02c2995d4ec38851b73633e46b40c42e35185bf3 4492 binutils-or1k-elf_1.0.2.tar.xz
 6ed307b4720ac2b33c79f1c55523f2a41d61116b 7115 binutils-or1k-elf_1.0.2_amd64.buildinfo
Checksums-Sha256:
 45b479864fd7cbc902ca457a2a07f1b7f498dce7aacb90a1d9c6e1992a2c4155 1834 binutils-or1k-elf_1.0.2.dsc
 4d414b7080314f22b69f1c2cd088ded81b6e556300d97ee738d1ff3cff7dca49 4492 binutils-or1k-elf_1.0.2.tar.xz
 c2d602d918dfc663452b5e69bacb1b4874663d5bae258833694d98947979bb7c 7115 binutils-or1k-elf_1.0.2_amd64.buildinfo
Files:
 81f8643a48d4c35a8899b4b303efff23 1834 devel optional binutils-or1k-elf_1.0.2.dsc
 0d8a8d0cd51f78ecaf0e9f4af1f5ef9c 4492 devel optional binutils-or1k-elf_1.0.2.tar.xz
 6dc53f6f5ee5c13419f44ed33526f1e9 7115 devel optional binutils-or1k-elf_1.0.2_amd64.buildinfo

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

iQIzBAEBCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAmGDLbEACgkQLHwxRsGg
ASEJjRAAlts7rVp6URTvWAi42pAUH5PsDQaphU1prcHWJ0PwhvEMAaW2mjVUGb8Z
K7fjqxiNCnu++yWdZVsBVY3j1l0+QIjmFAaqkiCWSw/Mz9xaHo26BfLBAL4q6YV2
Hj2z/FbQ4vjLXFcg9c5Hxn//7LX8dmVOPuVa/qSOANg1wYai2NRKnKpFla29dENv
C9RAt7FlgaPtJc/KsGBN0PmplTX3/0zo+vJcBc95flQ8+AWbSErkMuQwlnCeXsI+
BxSZZs/4fATPmT97wgB94GMi0xHooAan5LsrlYp3GnCPcoY8v8yl6W86UyfuPZeH
3C8K0XZ19mQhO64eeORwjp15x5zpuHqExfsgX2tx7GX2o8Q0vmKpmh4BFfP/bCLS
k72Jc5kSYefvO+Y5OHnbeJfZphkWnBaS9KCrMDo6BROkUqkL5cNsQk2IUL1NCY6q
yYSNmaYIC4GPcaXbv80pLoxZUTBBVcnXlI8SsNFo9gjXCrsBAbKvBx1AyP95SEnb
83bpsY8CnCqo4eR4u+MtMn/nZ05WE9bOmaJq8jkeoiCdu419fEklioW//PHNS/cu
9643TY1wSGFR8Z/0cPYMLlRY8R1ut0HunhR7fNjRvRWZSpbOs4F5vj0FebZAqkZ+
F4kdtiTf1gdZL3Qb58XL/7lbJ7j6rxUTxbb+QXw+hYUf2pqjp4A=
=esQV
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 02 Feb 2022 07:28:41 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 12:59:39 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.