X-Loop: help-debbugs@HIDDEN Subject: bug#45962: =?UTF-8?Q?=E2=80=98binutils-mesboot0=E2=80=99?= includes non-zero timestamps in ar archives Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: janneke@HIDDEN, bug-guix@HIDDEN Resent-Date: Mon, 18 Jan 2021 17:30:01 +0000 Resent-Message-ID: <handler.45962.B.16109909966974 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 45962 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 45962 <at> debbugs.gnu.org Cc: Jan Nieuwenhuizen <janneke@HIDDEN> X-Debbugs-Original-To: <bug-guix@HIDDEN> X-Debbugs-Original-Xcc: Jan Nieuwenhuizen <janneke@HIDDEN> Received: via spool by submit <at> debbugs.gnu.org id=B.16109909966974 (code B ref -1); Mon, 18 Jan 2021 17:30:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Jan 2021 17:29:56 +0000 Received: from localhost ([127.0.0.1]:48300 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1l1YLk-0001oQ-3K for submit <at> debbugs.gnu.org; Mon, 18 Jan 2021 12:29:56 -0500 Received: from lists.gnu.org ([209.51.188.17]:36050) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1l1YLi-0001oE-Sr for submit <at> debbugs.gnu.org; Mon, 18 Jan 2021 12:29:55 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56380) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1l1YLb-0006Nf-2w for bug-guix@HIDDEN; Mon, 18 Jan 2021 12:29:52 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60591) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1l1YLa-00051c-2v for bug-guix@HIDDEN; Mon, 18 Jan 2021 12:29:46 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=58364 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <ludo@HIDDEN>) id 1l1YLF-0004cU-VO for bug-guix@HIDDEN; Mon, 18 Jan 2021 12:29:32 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 29 =?UTF-8?Q?Niv=C3=B4se?= an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 18 Jan 2021 18:29:24 +0100 Message-ID: <87im7ujgqz.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Hi! On #bootstrappable, mid-kid reported that =E2=80=98binutils-mesboot0=E2=80= =99 in commencement.scm lacks =E2=80=98--enable-deterministic-archives=E2=80=99. = So I checked if this had an effect by running: guix build -e '(@@ (gnu packages commencement) gcc-core-mesboot0)' \ --check -K and yes, it does: --8<---------------cut here---------------start------------->8--- $ diff -ru /gnu/store/ri28kdl41bb76qjr4cyarylw7kxpvfxy-gcc-core-mesboot0-2.= 95.3{,-check} Binary files /gnu/store/ri28kdl41bb76qjr4cyarylw7kxpvfxy-gcc-core-mesboot0-= 2.95.3/lib/gcc-lib/i686-unknown-linux-gnu/2.95.3/libc.a and /gnu/store/ri28= kdl41bb76qjr4cyarylw7kxpvfxy-gcc-core-mesboot0-2.95.3-check/lib/gcc-lib/i68= 6-unknown-linux-gnu/2.95.3/libc.a differ Binary files /gnu/store/ri28kdl41bb76qjr4cyarylw7kxpvfxy-gcc-core-mesboot0-= 2.95.3/lib/gcc-lib/i686-unknown-linux-gnu/2.95.3/libgcc.a and /gnu/store/ri= 28kdl41bb76qjr4cyarylw7kxpvfxy-gcc-core-mesboot0-2.95.3-check/lib/gcc-lib/i= 686-unknown-linux-gnu/2.95.3/libgcc.a differ Binary files /gnu/store/ri28kdl41bb76qjr4cyarylw7kxpvfxy-gcc-core-mesboot0-= 2.95.3/lib/libgcc2.a and /gnu/store/ri28kdl41bb76qjr4cyarylw7kxpvfxy-gcc-co= re-mesboot0-2.95.3-check/lib/libgcc2.a differ Binary files /gnu/store/ri28kdl41bb76qjr4cyarylw7kxpvfxy-gcc-core-mesboot0-= 2.95.3/lib/libiberty.a and /gnu/store/ri28kdl41bb76qjr4cyarylw7kxpvfxy-gcc-= core-mesboot0-2.95.3-check/lib/libiberty.a differ --8<---------------cut here---------------end--------------->8--- Apparently Binutils 2.14 didn=E2=80=99t have =E2=80=98--enable-deterministi= c-archives=E2=80=99 so we=E2=80=99ll have to patch it. There are a few other Binutils variants in commencement.scm that we=E2=80= =99ll have to check. Ludo=E2=80=99.
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> Subject: bug#45962: Acknowledgement (=?UTF-8?Q?=E2=80=98binutils-mesboot0=E2=80=99?= includes non-zero timestamps in ar archives) Message-ID: <handler.45962.B.16109909966974.ack <at> debbugs.gnu.org> References: <87im7ujgqz.fsf@HIDDEN> X-Gnu-PR-Message: ack 45962 X-Gnu-PR-Package: guix Reply-To: 45962 <at> debbugs.gnu.org Date: Mon, 18 Jan 2021 17:30:01 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. As you requested using X-Debbugs-CC, your message was also forwarded to Jan Nieuwenhuizen <janneke@HIDDEN> (after having been given a bug report number, if it did not have one). Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 45962 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 45962: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D45962 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
Received: (at control) by debbugs.gnu.org; 20 Jan 2021 08:45:46 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 20 03:45:46 2021 Received: from localhost ([127.0.0.1]:52815 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1l297a-0007vg-Ba for submit <at> debbugs.gnu.org; Wed, 20 Jan 2021 03:45:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46622) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1l297W-0007vN-OB for control <at> debbugs.gnu.org; Wed, 20 Jan 2021 03:45:44 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46697) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1l297R-0006Du-GB for control <at> debbugs.gnu.org; Wed, 20 Jan 2021 03:45:37 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=57946 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <ludo@HIDDEN>) id 1l297Q-0003KP-WD for control <at> debbugs.gnu.org; Wed, 20 Jan 2021 03:45:37 -0500 Date: Wed, 20 Jan 2021 09:45:35 +0100 Message-Id: <87pn20f13k.fsf@HIDDEN> To: control <at> debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> Subject: control message for bug #45962 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) severity 45962 important quit
X-Loop: help-debbugs@HIDDEN Subject: bug#45962: =?UTF-8?Q?=E2=80=98binutils-mesboot0=E2=80=99?= includes non-zero timestamps in ar archives Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Wed, 03 Mar 2021 13:49:02 +0000 Resent-Message-ID: <handler.45962.B45962.161477933617332 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 45962 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 45962 <at> debbugs.gnu.org Cc: Maxim Cournoyer <maxim.cournoyer@HIDDEN>, Jan Nieuwenhuizen <janneke@HIDDEN> Received: via spool by 45962-submit <at> debbugs.gnu.org id=B45962.161477933617332 (code B ref 45962); Wed, 03 Mar 2021 13:49:02 +0000 Received: (at 45962) by debbugs.gnu.org; 3 Mar 2021 13:48:56 +0000 Received: from localhost ([127.0.0.1]:55418 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lHRrz-0004VT-Eg for submit <at> debbugs.gnu.org; Wed, 03 Mar 2021 08:48:55 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1lHRrw-0004VH-QI for 45962 <at> debbugs.gnu.org; Wed, 03 Mar 2021 08:48:53 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36133) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1lHRrr-0000fB-H5; Wed, 03 Mar 2021 08:48:47 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=36074 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <ludo@HIDDEN>) id 1lHRrq-0002KF-T9; Wed, 03 Mar 2021 08:48:47 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> References: <87im7ujgqz.fsf@HIDDEN> Date: Wed, 03 Mar 2021 14:48:44 +0100 In-Reply-To: <87im7ujgqz.fsf@HIDDEN> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Mon, 18 Jan 2021 18:29:24 +0100") Message-ID: <87lfb4s5z7.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Ludovic Court=C3=A8s <ludo@HIDDEN> skribis: > On #bootstrappable, mid-kid reported that =E2=80=98binutils-mesboot0=E2= =80=99 in > commencement.scm lacks =E2=80=98--enable-deterministic-archives=E2=80=99.= So I checked > if this had an effect by running: [...] > Apparently Binutils 2.14 didn=E2=80=99t have =E2=80=98--enable-determinis= tic-archives=E2=80=99 > so we=E2=80=99ll have to patch it. Sikonas on #bootstrappable provided a patch for that (thanks!) so I went ahead and gave it a try on =E2=80=98core-updates=E2=80=99 (Guix patch attac= hed). The binutils source gets patched and repacked, but then decompressing it fails: --8<---------------cut here---------------start------------->8--- building /gnu/store/fwz150xjaqbh8n02z6gsmpm9w8lxckak-binutils-mesboot0-2.14= .drv... starting phase `set-SOURCE-DATE-EPOCH' phase `set-SOURCE-DATE-EPOCH' succeeded after 0.0 seconds starting phase `set-paths' environment variable `PATH' set to `/gnu/store/70w6gnl3vzv2rsjhyjg0wsxl3pbn= pjb5-bash-mesboot0-2.05b/bin:/gnu/store/2wkjilvkdyb2wrb20ba82dhdpnx2732n-bz= ip2-mesboot-1.0.8/bin:/gnu/store/4nxicfzj8a390f4scxcgglhdqgbyhlkw-gzip-mesb= oot-1.2.4/bin:/gnu/store/6fgjdcl2qrrs7fvdznkx1gcbw6wjfrn0-patch-mesboot-2.5= .9/bin:/gnu/store/4lpagdav2gm022v1fgzcs8323xrggz4b-sed-mesboot0-1.18/bin:/g= nu/store/y70rava2vqf1nilr8smg54qqxdclvrz6-gash-utils-boot-0.1.0/bin:/gnu/st= ore/y9fy4r99q6pqisrw81fn92gk8mzbyzn1-tcc-boot-0.9.27/bin:/gnu/store/krnwfrk= i71dj6zicl2qwv6bdyqvsxgcg-make-mesboot0-3.80/bin:/gnu/store/xxnxdnjdlav4s8v= 3lfhg7x7amrqcrv57-gash-boot-0.2.0/bin:/gnu/store/aglbpf6bihv35pwpvdy6chxv31= 8hsafq-bootar-1a/bin:/gnu/store/lgi9x15a0w35mcpd7g1kb9274r6wy4pv-guile-boot= strap-2.0/bin' environment variable `BASH_LOADABLES_PATH' unset environment variable `C_INCLUDE_PATH' set to `/gnu/store/2wkjilvkdyb2wrb20b= a82dhdpnx2732n-bzip2-mesboot-1.0.8/include:/gnu/store/y9fy4r99q6pqisrw81fn9= 2gk8mzbyzn1-tcc-boot-0.9.27/include' environment variable `LIBRARY_PATH' set to `/gnu/store/2wkjilvkdyb2wrb20ba8= 2dhdpnx2732n-bzip2-mesboot-1.0.8/lib:/gnu/store/y70rava2vqf1nilr8smg54qqxdc= lvrz6-gash-utils-boot-0.1.0/lib:/gnu/store/y9fy4r99q6pqisrw81fn92gk8mzbyzn1= -tcc-boot-0.9.27/lib:/gnu/store/xxnxdnjdlav4s8v3lfhg7x7amrqcrv57-gash-boot-= 0.2.0/lib:/gnu/store/aglbpf6bihv35pwpvdy6chxv318hsafq-bootar-1a/lib:/gnu/st= ore/lgi9x15a0w35mcpd7g1kb9274r6wy4pv-guile-bootstrap-2.0/lib' phase `set-paths' succeeded after 0.0 seconds starting phase `install-locale' warning: failed to install 'en_US.utf8' locale: Invalid argument phase `install-locale' succeeded after 0.0 seconds starting phase `unpack' xz: cannot decompress from stdin Backtrace: In ice-9/boot-9.scm: 157: 5 [catch #t #<catch-closure c928e0> ...] In unknown file: ?: 4 [apply-smob/1 #<catch-closure c928e0>] In ice-9/boot-9.scm: 63: 3 [call-with-prompt prompt0 ...] In ice-9/eval.scm: 432: 2 [eval # #] In gash/guix-utils.scm: 138: 1 [call-with-decompressed-port xz ...] In unknown file: ?: 0 [scm-error misc-error #f "~A ~S" ("decompressed-port failure" (7)) = #f] ERROR: In procedure scm-error: ERROR: decompressed-port failure (7) error: in phase 'unpack': uncaught exception: srfi-34 #<condition &invoke-error [program: "tar" arguments: ("xvf" "/gnu/s= tore/ywf5j03423yiawix3z21xa14hyyvd83z-binutils-2.14.tar.xz") exit-status: 1= term-signal: #f stop-signal: #f] 1215400>=20 phase `unpack' failed after 0.3 seconds command "tar" "xvf" "/gnu/store/ywf5j03423yiawix3z21xa14hyyvd83z-binutils-2= .14.tar.xz" failed with status 1 builder for `/gnu/store/fwz150xjaqbh8n02z6gsmpm9w8lxckak-binutils-mesboot0-= 2.14.drv' failed with exit code 1 --8<---------------cut here---------------end--------------->8--- Maxime, does that ring a bell? Could it be that this bootstrap =E2=80=98xz= =E2=80=99 is less capable, or could it be a Gash-Utils bug? Thanks, Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index 890d57941f..5c523ae7ad 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -997,13 +997,15 @@ $MES -e '(mescc)' module/mescc.scm -- \"$@\" (inherit binutils) (name "binutils-mesboot0") (version "2.14") - (source (origin - (method url-fetch) - (uri (string-append "mirror://gnu/binutils/binutils-" - version ".tar.gz")) - (sha256 - (base32 - "1w8xp7k44bkijr974x9918i4p1sw4g2fcd5mxvspkjpg38m214ds")))) + (source (bootstrap-origin + (origin + (method url-fetch) + (uri (string-append "mirror://gnu/binutils/binutils-" + version ".tar.gz")) + (sha256 + (base32 + "1w8xp7k44bkijr974x9918i4p1sw4g2fcd5mxvspkjpg38m214ds")) + (patches (search-patches "binutils-2.14-deterministic-ar.pa= tch"))))) (inputs '()) (propagated-inputs '()) (native-inputs (%boot-tcc-inputs)) diff --git a/gnu/packages/patches/binutils-2.14-deterministic-ar.patch b/gn= u/packages/patches/binutils-2.14-deterministic-ar.patch new file mode 100644 index 0000000000..7f9310e994 --- /dev/null +++ b/gnu/packages/patches/binutils-2.14-deterministic-ar.patch @@ -0,0 +1,66 @@ +Old binutils do not have support for creating deterministic archives. +Backported from upstream commit 36e4dce69dd23bea9ea2258dea35f034b6d6351c + +Patch by Chris Demetriou <cgd@HIDDEN> (2009), adapted by +Andrius =C5=A0tikonas <andrius@HIDDEN> (2021). + +--- a/bfd/archive.c 2021-03-01 00:05:54.888301655 +0000 ++++ b/bfd/archive.c 2021-03-02 21:53:51.001617689 +0000 +@@ -1396,10 +1396,6 @@ + { + /* Assume we just "made" the member, and fake it. */ + struct bfd_in_memory *bim =3D (struct bfd_in_memory *) member->iost= ream; +- time (&status.st_mtime); +- status.st_uid =3D getuid (); +- status.st_gid =3D getgid (); +- status.st_mode =3D 0644; + status.st_size =3D bim->size; + } + else if (stat (filename, &status) !=3D 0) +@@ -1408,6 +1404,11 @@ + return NULL; + } +=20 ++ status.st_mtime =3D 0; ++ status.st_uid =3D 0; ++ status.st_gid =3D 0; ++ status.st_mode =3D 0644; ++ + amt =3D sizeof (struct ar_hdr) + sizeof (struct areltdata); + ared =3D (struct areltdata *) bfd_zalloc (abfd, amt); + if (ared =3D=3D NULL) +@@ -2003,13 +2004,11 @@ + stat (arch->filename, &statbuf); + memset ((char *) (&hdr), 0, sizeof (struct ar_hdr)); + sprintf (hdr.ar_name, RANLIBMAG); +- /* Remember the timestamp, to keep it holy. But fudge it a little. */ +- bfd_ardata (arch)->armap_timestamp =3D statbuf.st_mtime + ARMAP_TIME_OF= FSET; + bfd_ardata (arch)->armap_datepos =3D (SARMAG + + offsetof (struct ar_hdr, ar_date[0])); +- sprintf (hdr.ar_date, "%ld", bfd_ardata (arch)->armap_timestamp); +- sprintf (hdr.ar_uid, "%ld", (long) getuid ()); +- sprintf (hdr.ar_gid, "%ld", (long) getgid ()); ++ sprintf (hdr.ar_date, "%ld", 0); ++ sprintf (hdr.ar_uid, "%ld", 0); ++ sprintf (hdr.ar_gid, "%ld", 0); + sprintf (hdr.ar_size, "%-10d", (int) mapsize); + strncpy (hdr.ar_fmag, ARFMAG, 2); + for (i =3D 0; i < sizeof (struct ar_hdr); i++) +@@ -2082,6 +2081,8 @@ + struct ar_hdr hdr; + unsigned int i; +=20 ++ return TRUE; ++ + /* Flush writes, get last-write timestamp from file, and compare it + to the timestamp IN the file. */ + bfd_flush (arch); +@@ -2169,7 +2170,7 @@ + memset ((char *) (&hdr), 0, sizeof (struct ar_hdr)); + hdr.ar_name[0] =3D '/'; + sprintf (hdr.ar_size, "%-10d", (int) mapsize); +- sprintf (hdr.ar_date, "%ld", (long) time (NULL)); ++ sprintf (hdr.ar_date, "%ld", 0); + /* This, at least, is what Intel coff sets the values to. */ + sprintf ((hdr.ar_uid), "%d", 0); + sprintf ((hdr.ar_gid), "%d", 0); --=-=-=--
X-Loop: help-debbugs@HIDDEN Subject: bug#45962: =?UTF-8?Q?=E2=80=98binutils-mesboot0=E2=80=99?= includes non-zero timestamps in ar archives Resent-From: Jan Nieuwenhuizen <janneke@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Wed, 03 Mar 2021 17:55:02 +0000 Resent-Message-ID: <handler.45962.B45962.161479408126453 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 45962 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> Cc: 45962 <at> debbugs.gnu.org, Maxim Cournoyer <maxim.cournoyer@HIDDEN> Received: via spool by 45962-submit <at> debbugs.gnu.org id=B45962.161479408126453 (code B ref 45962); Wed, 03 Mar 2021 17:55:02 +0000 Received: (at 45962) by debbugs.gnu.org; 3 Mar 2021 17:54:41 +0000 Received: from localhost ([127.0.0.1]:56932 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lHVhp-0006sb-6Z for submit <at> debbugs.gnu.org; Wed, 03 Mar 2021 12:54:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58718) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <janneke@HIDDEN>) id 1lHVhn-0006sK-39 for 45962 <at> debbugs.gnu.org; Wed, 03 Mar 2021 12:54:39 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41652) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <janneke@HIDDEN>) id 1lHVhh-0000Np-7f; Wed, 03 Mar 2021 12:54:33 -0500 Received: from [2001:980:1b4f:1:42d2:832d:bb59:862] (port=49768 helo=dundal.janneke.lilypond.org) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <janneke@HIDDEN>) id 1lHVhg-0001Jg-Rq; Wed, 03 Mar 2021 12:54:33 -0500 From: Jan Nieuwenhuizen <janneke@HIDDEN> Organization: AvatarAcademy.nl References: <87im7ujgqz.fsf@HIDDEN> <87lfb4s5z7.fsf@HIDDEN> X-Url: http://AvatarAcademy.nl Date: Wed, 03 Mar 2021 18:54:29 +0100 In-Reply-To: <87lfb4s5z7.fsf@HIDDEN> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Wed, 03 Mar 2021 14:48:44 +0100") Message-ID: <8735xc86ne.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Ludovic Court=C3=A8s writes: Hello! > Ludovic Court=C3=A8s <ludo@HIDDEN> skribis: > >> On #bootstrappable, mid-kid reported that =E2=80=98binutils-mesboot0=E2= =80=99 in >> commencement.scm lacks =E2=80=98--enable-deterministic-archives=E2=80=99= . So I checked >> if this had an effect by running: > [...] > >> Apparently Binutils 2.14 didn=E2=80=99t have =E2=80=98--enable-determini= stic-archives=E2=80=99 >> so we=E2=80=99ll have to patch it. > > Sikonas on #bootstrappable provided a patch for that (thanks!) so I went > ahead and gave it a try on =E2=80=98core-updates=E2=80=99 (Guix patch att= ached). Great! > The binutils source gets patched and repacked, but then decompressing it > fails: [..] > Maxime, does that ring a bell? Could it be that this bootstrap =E2=80=98= xz=E2=80=99 is > less capable, or could it be a Gash-Utils bug? Currently, we avoid using non-bootstrapped binaries in the bootstrap, that includes 'xz'; earlier in the bootstrap that includes also 'patch'. See also gcc-core-mesboot0: it applies the patch in a manual phase. So I'm not sure if we want to start depending on 'xz' an this stage? Greetings, Janneke --=20 Jan Nieuwenhuizen <janneke@HIDDEN> | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com
X-Loop: help-debbugs@HIDDEN Subject: bug#45962: =?UTF-8?Q?=E2=80=98binutils-mesboot0=E2=80=99?= includes non-zero timestamps in ar archives Resent-From: Maxim Cournoyer <maxim.cournoyer@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Thu, 04 Mar 2021 16:15:01 +0000 Resent-Message-ID: <handler.45962.B45962.16148744802594 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 45962 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> Cc: 45962 <at> debbugs.gnu.org, Jan Nieuwenhuizen <janneke@HIDDEN> Received: via spool by 45962-submit <at> debbugs.gnu.org id=B45962.16148744802594 (code B ref 45962); Thu, 04 Mar 2021 16:15:01 +0000 Received: (at 45962) by debbugs.gnu.org; 4 Mar 2021 16:14:40 +0000 Received: from localhost ([127.0.0.1]:59974 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lHqca-0000fl-JY for submit <at> debbugs.gnu.org; Thu, 04 Mar 2021 11:14:40 -0500 Received: from mail-qk1-f180.google.com ([209.85.222.180]:36998) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <maxim.cournoyer@HIDDEN>) id 1lHqcW-0000fW-Jc for 45962 <at> debbugs.gnu.org; Thu, 04 Mar 2021 11:14:39 -0500 Received: by mail-qk1-f180.google.com with SMTP id s7so18199723qkg.4 for <45962 <at> debbugs.gnu.org>; Thu, 04 Mar 2021 08:14:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=J0vw1PcxdQ1NZnBiXRH5TKd4WtA4p++X9OTy7MxntY0=; b=rBZifvec16yD7M6AgksbCoZqbuvTLlAcWUpd7UCVTipDRSo1hhPeicWdIJ7Kh91e/n oC4FAstRZ44Yq7JJwbrtqBCM6Ug62dQ/IgmmUcpTJvcGKNwTJikPLpC6dAbd2gQRlyAS 9nkx4zq3efoOboEveocHI5bmNolY4yNSWwPI5gx9UWNZU1Sp/2phWXVi1CXQWMo2l9R6 ddVHw0Qq0Yl1GTKjOFkQBRCbL+zzAWC5o/dFCpVB+Rij4ZL9jZvdRPQCx0wg2uZku5P2 RkuPSEvDputgUkZXQmIojwTWYJCLmucfGe4nNOSdR05UEryVe2GpDt2zHqcimYQVsrJf PfGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=J0vw1PcxdQ1NZnBiXRH5TKd4WtA4p++X9OTy7MxntY0=; b=oQFxnj3mM/rbix5tZ0vBwRkrrZxco92/MSkuGsw5/f7KifsrtEWes50GfVtIL48UKI zoJpbR++eqiVyk6frzGCCusXCbhCVM0pedOCKqKhjL0VnrtvXi5ztkdzvLuP5yjMlVJK lh9kIxvWfCEsBJUI3LNowKNNuSu7s7hZE+aKA7kOp6p1lVKBVS99UMyB5S2X4kzF9kuL xCaeK/RBEbz8eptxh/0BIQe+cOa6yKG1o9Vhga9igin+72udCCes0UnCgvNrQCD2N5tn a8zJCRpUxm+h8c5pF8ye9a8h1C+AwIRd13L1Udal27RVLZZMMK7M9bvkTwjprFigr1Sx Eb7A== X-Gm-Message-State: AOAM531aI/tlU9A87Wzp5PsuV9PrOLVd/yA/Ed19/z66NUk0oJlBdEx3 2TtpY2RhTIR1FLEA048G9Zz56eqyzSY3pA== X-Google-Smtp-Source: ABdhPJycF5ivrOGVVEHrHzLMxMIPLdo5pDGZxs/cP2Rtw6/AjuuKnLnXa2aK9A6W3zL3FGwgqYwcEA== X-Received: by 2002:a37:6888:: with SMTP id d130mr4564832qkc.368.1614874471179; Thu, 04 Mar 2021 08:14:31 -0800 (PST) Received: from hurd (dsl-10-132-106.b2b2c.ca. [72.10.132.106]) by smtp.gmail.com with ESMTPSA id q11sm600qtr.31.2021.03.04.08.14.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Mar 2021 08:14:30 -0800 (PST) From: Maxim Cournoyer <maxim.cournoyer@HIDDEN> References: <87im7ujgqz.fsf@HIDDEN> <87lfb4s5z7.fsf@HIDDEN> Date: Thu, 04 Mar 2021 11:14:29 -0500 In-Reply-To: <87lfb4s5z7.fsf@HIDDEN> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Wed, 03 Mar 2021 14:48:44 +0100") Message-ID: <87k0qmq4ka.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hi, Ludovic Court=C3=A8s <ludo@HIDDEN> writes: [...] > ERROR: In procedure scm-error: > ERROR: decompressed-port failure (7) > error: in phase 'unpack': uncaught exception: > srfi-34 #<condition &invoke-error [program: "tar" arguments: ("xvf" "/gnu= /store/ywf5j03423yiawix3z21xa14hyyvd83z-binutils-2.14.tar.xz") exit-status:= 1 term-signal: #f stop-signal: #f] 1215400>=20 > phase `unpack' failed after 0.3 seconds > command "tar" "xvf" "/gnu/store/ywf5j03423yiawix3z21xa14hyyvd83z-binutils= -2.14.tar.xz" failed with status 1 > builder for `/gnu/store/fwz150xjaqbh8n02z6gsmpm9w8lxckak-binutils-mesboot= 0-2.14.drv' failed with exit code 1 > > Maxime, does that ring a bell? Could it be that this bootstrap =E2=80=98= xz=E2=80=99 is > less capable, or could it be a Gash-Utils bug? From my IRC logs: 2020-09-20 22:32:01 apteryx janneke: haha! the xz-bootstrap supports --memlimit with % after all, my mistake was really silly... forgetting a space between the args passed as XZ_DEFAULTS I recall a similar error I had hit when working on adding multi-core compression support to xz, but it ended up being just a mistake on my part; the xz-bootstrap supported the required arguments just fine after all. HTH, Maxim
X-Loop: help-debbugs@HIDDEN Subject: bug#45962: =?UTF-8?Q?=E2=80=98binutils-mesboot0=E2=80=99?= includes non-zero timestamps in ar archives Resent-From: Maxim Cournoyer <maxim.cournoyer@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Thu, 04 Mar 2021 16:40:02 +0000 Resent-Message-ID: <handler.45962.B45962.16148759604902 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 45962 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Jan Nieuwenhuizen <janneke@HIDDEN> Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, 45962 <at> debbugs.gnu.org Received: via spool by 45962-submit <at> debbugs.gnu.org id=B45962.16148759604902 (code B ref 45962); Thu, 04 Mar 2021 16:40:02 +0000 Received: (at 45962) by debbugs.gnu.org; 4 Mar 2021 16:39:20 +0000 Received: from localhost ([127.0.0.1]:59994 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lHr0R-0001Gz-TU for submit <at> debbugs.gnu.org; Thu, 04 Mar 2021 11:39:20 -0500 Received: from mail-qv1-f43.google.com ([209.85.219.43]:39049) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <maxim.cournoyer@HIDDEN>) id 1lHr0J-0001Gf-G7 for 45962 <at> debbugs.gnu.org; Thu, 04 Mar 2021 11:39:18 -0500 Received: by mail-qv1-f43.google.com with SMTP id k7so11209546qvo.6 for <45962 <at> debbugs.gnu.org>; Thu, 04 Mar 2021 08:39:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=dIfRmdyVxbwj0DFfYRAAhaezN5l+753JhkMxnKED8pg=; b=g1/Boyt6AMbJshWRXCwVbelRSOhvmGE5KdotypKd/vC8eZKT0o65VudXcbQOTU389C W7N7llPIZ4swvsNoxNqxE4jRxd/KuE97CUVtSLZGxeewG3Sg8RUh++0oi6lIIifN3wXw 8WNwZPvVUKDavQXc6ctRJ5mCcnIKj7gFP7LBh7J08vMNWEzGudVdcfLH+6pQy1p30RT0 z1TF1VmBcN+x2TkK1+VlAF7BKBXYs3MjN3ZKwICnY3qYq1vV7K0ehzVjVLXwUFhyyS3O 7jEs8bunE8AdX9yBWlN5dgJceVlEeuhK5hFZzVwzt8WXRLPGyOBKRr2S+fNOsP65CsOE Sf4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=dIfRmdyVxbwj0DFfYRAAhaezN5l+753JhkMxnKED8pg=; b=CiDaKCtIsp7d8mdlfzqfT0eYDROSI+mDnDsdvzfhPPwIcGWcxOQIWxnuVu7r9teppO y6GIgcqWsYL2ziKCzBWaSClcO+/RUoWbjFU0uVt6NB9XDJcEBWofoKGNgc3SQg6AjE6x cGISitu3OsOZJU7IYe7SN4TFp/zvx7tSmpSUKdNFOXdxdX4i4+1UybpSicHqikYoXv0+ YJEyzE4meYO92hxRqxDohTRPejPLpvhTeZyae3O3RhJ0M81VjZmoF14o7onL8Ppaiwyb ik6F4z2Ct6i+tRGTdOZrjRgscvbdtzH8ZeFM72KyZJdGTb9A0YPUDn/am2pLTruvyhg0 ItjQ== X-Gm-Message-State: AOAM5304akYOoikYwTQNXZpkOjSebGDtJyvaxvzXmFqM8N4NLzaqcRuc ZlebqHSU0YJk5GBjiAj/r8ZVL6qk8DgBtQ== X-Google-Smtp-Source: ABdhPJzcspMPju7IqlqAtp5QAhiTZ7Km2Pna2WCTl1x6MO7vKXK0UUMxlWOq13NzMzk65RIeK2C1Aw== X-Received: by 2002:a0c:a8d3:: with SMTP id h19mr4534064qvc.21.1614875945682; Thu, 04 Mar 2021 08:39:05 -0800 (PST) Received: from hurd (dsl-10-132-106.b2b2c.ca. [72.10.132.106]) by smtp.gmail.com with ESMTPSA id j2sm19300795qkk.96.2021.03.04.08.39.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Mar 2021 08:39:05 -0800 (PST) From: Maxim Cournoyer <maxim.cournoyer@HIDDEN> References: <87im7ujgqz.fsf@HIDDEN> <87lfb4s5z7.fsf@HIDDEN> <8735xc86ne.fsf@HIDDEN> Date: Thu, 04 Mar 2021 11:39:04 -0500 In-Reply-To: <8735xc86ne.fsf@HIDDEN> (Jan Nieuwenhuizen's message of "Wed, 03 Mar 2021 18:54:29 +0100") Message-ID: <87ft1aq3fb.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Jan Nieuwenhuizen <janneke@HIDDEN> writes: > Ludovic Court=C3=A8s writes: > > Hello! > >> Ludovic Court=C3=A8s <ludo@HIDDEN> skribis: >> >>> On #bootstrappable, mid-kid reported that =E2=80=98binutils-mesboot0=E2= =80=99 in >>> commencement.scm lacks =E2=80=98--enable-deterministic-archives=E2=80= =99. So I checked >>> if this had an effect by running: > >> [...] >> >>> Apparently Binutils 2.14 didn=E2=80=99t have =E2=80=98--enable-determin= istic-archives=E2=80=99 >>> so we=E2=80=99ll have to patch it. >> >> Sikonas on #bootstrappable provided a patch for that (thanks!) so I went >> ahead and gave it a try on =E2=80=98core-updates=E2=80=99 (Guix patch at= tached). > > Great! > >> The binutils source gets patched and repacked, but then decompressing it >> fails: > > [..] > >> Maxime, does that ring a bell? Could it be that this bootstrap =E2=80= =98xz=E2=80=99 is >> less capable, or could it be a Gash-Utils bug? > > Currently, we avoid using non-bootstrapped binaries in the bootstrap, > that includes 'xz'; earlier in the bootstrap that includes also 'patch'. > > See also gcc-core-mesboot0: it applies the patch in a manual phase. So > I'm not sure if we want to start depending on 'xz' an this stage? I see; so what Ludovic got surprised by is the fact that when adding patches or a snippet to an origin it gets repacked as an xz tarball. That's nothing new (it's how it is on the master branch too); but it can indeed be surprising. Maxim
X-Loop: help-debbugs@HIDDEN Subject: bug#45962: =?UTF-8?Q?=E2=80=98binutils-mesboot0=E2=80=99?= includes non-zero timestamps in ar archives Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Mon, 08 Mar 2021 14:14:02 +0000 Resent-Message-ID: <handler.45962.B45962.161521280010568 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 45962 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Jan Nieuwenhuizen <janneke@HIDDEN> Cc: 45962 <at> debbugs.gnu.org, Maxim Cournoyer <maxim.cournoyer@HIDDEN> Received: via spool by 45962-submit <at> debbugs.gnu.org id=B45962.161521280010568 (code B ref 45962); Mon, 08 Mar 2021 14:14:02 +0000 Received: (at 45962) by debbugs.gnu.org; 8 Mar 2021 14:13:20 +0000 Received: from localhost ([127.0.0.1]:42442 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lJGdL-0002kO-UI for submit <at> debbugs.gnu.org; Mon, 08 Mar 2021 09:13:20 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41934) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1lJGdJ-0002kB-KQ for 45962 <at> debbugs.gnu.org; Mon, 08 Mar 2021 09:13:17 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48124) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1lJGdD-0002UD-OX; Mon, 08 Mar 2021 09:13:11 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=41026 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <ludo@HIDDEN>) id 1lJGd7-0001nJ-W0; Mon, 08 Mar 2021 09:13:07 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> References: <87im7ujgqz.fsf@HIDDEN> <87lfb4s5z7.fsf@HIDDEN> <8735xc86ne.fsf@HIDDEN> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 18 =?UTF-8?Q?Vent=C3=B4se?= an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 08 Mar 2021 15:13:04 +0100 In-Reply-To: <8735xc86ne.fsf@HIDDEN> (Jan Nieuwenhuizen's message of "Wed, 03 Mar 2021 18:54:29 +0100") Message-ID: <87ft15d98v.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Howdy Janneke! Jan Nieuwenhuizen <janneke@HIDDEN> skribis: > Currently, we avoid using non-bootstrapped binaries in the bootstrap, > that includes 'xz'; earlier in the bootstrap that includes also 'patch'. > > See also gcc-core-mesboot0: it applies the patch in a manual phase. So > I'm not sure if we want to start depending on 'xz' an this stage? Probably not, good point! I can think of two possibilities, then: (1) apply the patch in a phase rather than via the =E2=80=98patches=E2=80=99 field, and (2) arrange so that =E2=80=98patch-and-repack=E2=80=99 does not compress the patched code or co= mpresses it with the bootstrap gzip. My understanding is that #2 may be doable now thanks to Maxim=E2=80=99s rec= ent changes. I=E2=80=99ll take a look! Thanks, Ludo=E2=80=99.
X-Loop: help-debbugs@HIDDEN Subject: bug#45962: =?UTF-8?Q?=E2=80=98binutils-mesboot0=E2=80=99?= includes non-zero timestamps in ar archives Resent-From: Jan Nieuwenhuizen <janneke@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Wed, 10 Mar 2021 05:53:01 +0000 Resent-Message-ID: <handler.45962.B45962.161535556929875 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 45962 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> Cc: 45962 <at> debbugs.gnu.org, Maxim Cournoyer <maxim.cournoyer@HIDDEN> Received: via spool by 45962-submit <at> debbugs.gnu.org id=B45962.161535556929875 (code B ref 45962); Wed, 10 Mar 2021 05:53:01 +0000 Received: (at 45962) by debbugs.gnu.org; 10 Mar 2021 05:52:49 +0000 Received: from localhost ([127.0.0.1]:48477 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1lJrm5-0007ln-1a for submit <at> debbugs.gnu.org; Wed, 10 Mar 2021 00:52:49 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47180) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <janneke@HIDDEN>) id 1lJrm2-0007la-RS for 45962 <at> debbugs.gnu.org; Wed, 10 Mar 2021 00:52:47 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56335) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <janneke@HIDDEN>) id 1lJrlw-00008o-2z; Wed, 10 Mar 2021 00:52:40 -0500 Received: from [2001:980:1b4f:1:42d2:832d:bb59:862] (port=47254 helo=dundal.janneke.lilypond.org) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <janneke@HIDDEN>) id 1lJrlu-0001Cb-PQ; Wed, 10 Mar 2021 00:52:39 -0500 From: Jan Nieuwenhuizen <janneke@HIDDEN> Organization: AvatarAcademy.nl References: <87im7ujgqz.fsf@HIDDEN> <87lfb4s5z7.fsf@HIDDEN> <8735xc86ne.fsf@HIDDEN> <87ft15d98v.fsf@HIDDEN> X-Url: http://AvatarAcademy.nl Date: Wed, 10 Mar 2021 06:52:35 +0100 In-Reply-To: <87ft15d98v.fsf@HIDDEN> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Mon, 08 Mar 2021 15:13:04 +0100") Message-ID: <87blbrsggs.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Ludovic Court=C3=A8s writes: Hey Ludo! > Jan Nieuwenhuizen <janneke@HIDDEN> skribis: > > I can think of two possibilities, then: (1) apply the patch in a phase > rather than via the =E2=80=98patches=E2=80=99 field, and (2) arrange so t= hat > =E2=80=98patch-and-repack=E2=80=99 does not compress the patched code or = compresses it > with the bootstrap gzip. Oh, that would be nice: we could remove all these clumsy manual patching stages. Also, we may be able to remove XZ from the bootstrap chain, if no XZ-repackaging happens and only build a final version. > My understanding is that #2 may be doable now thanks to Maxim=E2=80=99s r= ecent > changes. I=E2=80=99ll take a look! Great! Greetings, Janneke --=20 Jan Nieuwenhuizen <janneke@HIDDEN> | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com
Received: (at control) by debbugs.gnu.org; 20 Sep 2021 07:08:38 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 20 03:08:38 2021 Received: from localhost ([127.0.0.1]:40834 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mSDPq-0002L8-9P for submit <at> debbugs.gnu.org; Mon, 20 Sep 2021 03:08:38 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1mSDPp-0002Kv-9B for control <at> debbugs.gnu.org; Mon, 20 Sep 2021 03:08:37 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51504) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1mSDPk-0002CM-5M for control <at> debbugs.gnu.org; Mon, 20 Sep 2021 03:08:32 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=35876 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1mSDPi-000704-9t for control <at> debbugs.gnu.org; Mon, 20 Sep 2021 03:08:30 -0400 Date: Mon, 20 Sep 2021 09:08:28 +0200 Message-Id: <87o88nrafn.fsf@HIDDEN> To: control <at> debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> Subject: control message for bug #45962 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) merge 45962 50031 quit
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.