Debian Bug report logs -
#1000945
binutils-riscv64-unknown-elf: reproducible builds: Enable deterministic archives
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, keithp@keithp.com, Keith Packard <keith.packard@sifive.com>:
Bug#1000945; Package binutils-riscv64-unknown-elf.
(Wed, 01 Dec 2021 02:57: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, keithp@keithp.com, Keith Packard <keith.packard@sifive.com>.
(Wed, 01 Dec 2021 02:57:03 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: binutils-riscv64-unknown-elf
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps toolchain
Control: affects -1 gcc-riscv64-unknown-elf
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org, keithp@keithp.com
binutils-riscv64-unknown-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-riscv64-unknown-elf, it makes
gcc-riscv64-unknown-elf much closer to building reproducibly when using
a stable build path.
Thanks for maintaining binutils-riscv64-unknown-elf!
live well,
vagrant
p.s. this feels a bit like deja-vu, only the architecture has changed.
[0001-debian-rules-Pass-enable-deterministic-archives-to-c.patch (text/x-diff, inline)]
From d16ad8b64115ff3a6dd51f8e8abd84296fd824cc Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Wed, 1 Dec 2021 02:41:29 +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 607373b811..ec0cce3b49 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,6 +27,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 1000945 affects gcc-riscv64-unknown-elf
Request was from Vagrant Cascadian <vagrant@reproducible-builds.org>
to submit@bugs.debian.org.
(Wed, 01 Dec 2021 02:57:03 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Keith Packard <keith.packard@sifive.com>:
Bug#1000945; Package binutils-riscv64-unknown-elf.
(Sun, 19 Jun 2022 18:39:04 GMT) (full text, mbox, link).
Acknowledgement sent
to oliverbaruch6@gmail.com:
Extra info received and forwarded to list. Copy sent to Keith Packard <keith.packard@sifive.com>.
(Sun, 19 Jun 2022 18:39:04 GMT) (full text, mbox, link).
Message #12 received at 1000945@bugs.debian.org (full text, mbox, reply):
--
Premier Oil Plc,
23 Lower Belgrave Street SW1W 0NR. London.
Attention: Account/Finance manager
Hello, My name is Mr Oliver Baruch, Account/Finance manager in
(Premier Oil PLC).
I have a business proposal that will be beneficial to you and me.
please contact me for more details of the business to you. thanks.
Forward your response to this email: oliverbaruch6@gmail.com
Reply sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
You have taken responsibility.
(Tue, 09 Aug 2022 18:54:03 GMT) (full text, mbox, link).
Notification sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer.
(Tue, 09 Aug 2022 18:54:03 GMT) (full text, mbox, link).
Message #17 received at 1000945-done@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Version: 3
https://salsa.debian.org/debian/binutils-riscv64-unknown-elf/-/blob/3/debian/rules#L40
On 2021-11-30, Vagrant Cascadian wrote:
> Package: binutils-riscv64-unknown-elf
> Severity: normal
> Tags: patch
> User: reproducible-builds@lists.alioth.debian.org
> Usertags: timestamps toolchain
> Control: affects -1 gcc-riscv64-unknown-elf
> X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org, keithp@keithp.com
>
> binutils-riscv64-unknown-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-riscv64-unknown-elf, it makes
> gcc-riscv64-unknown-elf much closer to building reproducibly when using
> a stable build path.
>
> Thanks for maintaining binutils-riscv64-unknown-elf!
>
> live well,
> vagrant
>
> p.s. this feels a bit like deja-vu, only the architecture has changed.
> From d16ad8b64115ff3a6dd51f8e8abd84296fd824cc Mon Sep 17 00:00:00 2001
> From: Vagrant Cascadian <vagrant@reproducible-builds.org>
> Date: Wed, 1 Dec 2021 02:41:29 +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 607373b811..ec0cce3b49 100755
> --- a/debian/rules
> +++ b/debian/rules
> @@ -27,6 +27,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)]
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Thu, 08 Sep 2022 07:26:24 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 10:04:11 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.