From unknown Mon Aug 18 15:38:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24832: Hydra generates faulty derivation for gettext-boot0 on MIPS Resent-From: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 31 Oct 2016 05:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24832 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 24832@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.147789210727586 (code B ref -1); Mon, 31 Oct 2016 05:36:02 +0000 Received: (at submit) by debbugs.gnu.org; 31 Oct 2016 05:35:07 +0000 Received: from localhost ([127.0.0.1]:37571 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c15FT-0007Ar-Fo for submit@debbugs.gnu.org; Mon, 31 Oct 2016 01:35:07 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c15FR-0007AJ-SW for submit@debbugs.gnu.org; Mon, 31 Oct 2016 01:35:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c15FL-0004VF-Ne for submit@debbugs.gnu.org; Mon, 31 Oct 2016 01:35:00 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33033) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c15FL-0004V7-Kg for submit@debbugs.gnu.org; Mon, 31 Oct 2016 01:34:59 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38285) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c15FK-0004Fo-LH for bug-guix@gnu.org; Mon, 31 Oct 2016 01:34:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c15FF-0004Tt-OL for bug-guix@gnu.org; Mon, 31 Oct 2016 01:34:58 -0400 Received: from world.peace.net ([50.252.239.5]:42601) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c15FF-0004Tn-KZ for bug-guix@gnu.org; Mon, 31 Oct 2016 01:34:53 -0400 Received: from [10.1.10.31] (helo=yeeloong) by world.peace.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1c15FE-0002ny-TH; Mon, 31 Oct 2016 01:34:52 -0400 From: Mark H Weaver Date: Mon, 31 Oct 2016 01:33:27 -0400 Message-ID: <8760o9dqvs.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Almost all of the derivations being generated on Hydra for MIPS on the 'core-updates' branch differ from what is generated locally by guix on a mips64el-linux machine. The differences go at least as far back as 'gettext-boot0', where Hydra generates: /gnu/store/yzsx42kva1pgj96n9yir7j6xx0ndp7is-gettext-boot0-0.19.8.1.drv but 'guix' on both my Yeeloong and on hydra-slave0 generates: /gnu/store/2zzkamx4a0wrv2372pxjm5kdd0jvnl76-gettext-boot0-0.19.8.1.drv Comparing those two derivations, I see that the derivation built by Hydra includes as an input: /gnu/store/armz91zr59wzv0v0p3x9kvjxwzi714dx-ld-wrapper-x86_64-guix-linux-gnu-0.drv but the one generated by 'guix' on a mips machine includes: /gnu/store/cc5bm6lhpv6bfny24akih86jsgzx8j82-ld-wrapper-mips64el-guix-linux-gnu-0.drv I guess this means that the entire 'core-updates' branch will need to be rebuilt from scratch for MIPS :-( Mark From unknown Mon Aug 18 15:38:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24832: Hydra generates faulty derivation for gettext-boot0 Resent-From: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 31 Oct 2016 06:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24832 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 24832@debbugs.gnu.org Received: via spool by 24832-submit@debbugs.gnu.org id=B24832.147789362630067 (code B ref 24832); Mon, 31 Oct 2016 06:01:01 +0000 Received: (at 24832) by debbugs.gnu.org; 31 Oct 2016 06:00:26 +0000 Received: from localhost ([127.0.0.1]:37577 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c15dy-0007ot-JI for submit@debbugs.gnu.org; Mon, 31 Oct 2016 02:00:26 -0400 Received: from world.peace.net ([50.252.239.5]:42601) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c15dx-0007oe-N5 for 24832@debbugs.gnu.org; Mon, 31 Oct 2016 02:00:26 -0400 Received: from [10.1.10.31] (helo=yeeloong) by world.peace.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1c15dr-0002tT-Q9; Mon, 31 Oct 2016 02:00:19 -0400 From: Mark H Weaver References: <8760o9dqvs.fsf@netris.org> Date: Mon, 31 Oct 2016 01:58:54 -0400 In-Reply-To: <8760o9dqvs.fsf@netris.org> (Mark H. Weaver's message of "Mon, 31 Oct 2016 01:33:27 -0400") Message-ID: <871syxdppd.fsf@netris.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Mark H Weaver writes: > Almost all of the derivations being generated on Hydra for MIPS on the > 'core-updates' branch differ from what is generated locally by guix on a > mips64el-linux machine. The differences go at least as far back as > 'gettext-boot0', where Hydra generates: > > /gnu/store/yzsx42kva1pgj96n9yir7j6xx0ndp7is-gettext-boot0-0.19.8.1.drv > > but 'guix' on both my Yeeloong and on hydra-slave0 generates: > > /gnu/store/2zzkamx4a0wrv2372pxjm5kdd0jvnl76-gettext-boot0-0.19.8.1.drv > > Comparing those two derivations, I see that the derivation built by > Hydra includes as an input: > > /gnu/store/armz91zr59wzv0v0p3x9kvjxwzi714dx-ld-wrapper-x86_64-guix-linux-gnu-0.drv > > but the one generated by 'guix' on a mips machine includes: > > /gnu/store/cc5bm6lhpv6bfny24akih86jsgzx8j82-ld-wrapper-mips64el-guix-linux-gnu-0.drv > > I guess this means that the entire 'core-updates' branch will need to be > rebuilt from scratch for MIPS :-( It turns out that this same problem exists on all systems except for x86_64. To easily see the problem, start from here: https://hydra.gnu.org/eval/109337?filter=mesa and go to the build page for 'mesa-12.0.1' on any non-x86_64 system. Look up the .drv file for that package and open the corresponding file on Hydra. Then find the 'bash-4.4.0' input derivation and look at it. You'll see that it references: /gnu/store/*-ld-wrapper-x86_64-guix-linux-gnu-0.drv where that 'x86_64' should instead match the appropriate system. It appears that we'll need to rebuild all of 'core-updates' again from scratch :-( Mark From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 31 02:02:09 2016 Received: (at control) by debbugs.gnu.org; 31 Oct 2016 06:02:09 +0000 Received: from localhost ([127.0.0.1]:37582 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c15fc-0007rw-UI for submit@debbugs.gnu.org; Mon, 31 Oct 2016 02:02:09 -0400 Received: from world.peace.net ([50.252.239.5]:42605) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c15fa-0007rZ-VL for control@debbugs.gnu.org; Mon, 31 Oct 2016 02:02:07 -0400 Received: from [10.1.10.31] (helo=yeeloong) by world.peace.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1c15fV-0002um-JY; Mon, 31 Oct 2016 02:02:01 -0400 From: Mark H Weaver To: control@debbugs.gnu.org Date: Mon, 31 Oct 2016 02:00:35 -0400 Message-ID: <87wpgpcb24.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: severity 24832 serious retitle 24832 Hydra generates faulty derivations on non-x86_64 thanks [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: severity 24832 serious retitle 24832 Hydra generates faulty derivations on non-x86_64 thanks [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject severity 24832 serious retitle 24832 Hydra generates faulty derivations on non-x86_64 thanks From unknown Mon Aug 18 15:38:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24832: Hydra generates faulty derivation for gettext-boot0 References: <8760o9dqvs.fsf@netris.org> In-Reply-To: <8760o9dqvs.fsf@netris.org> Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 31 Oct 2016 12:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24832 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 24832@debbugs.gnu.org Cc: Mark H Weaver Received: via spool by 24832-submit@debbugs.gnu.org id=B24832.147791533510413 (code B ref 24832); Mon, 31 Oct 2016 12:03:01 +0000 Received: (at 24832) by debbugs.gnu.org; 31 Oct 2016 12:02:15 +0000 Received: from localhost ([127.0.0.1]:37749 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c1BI6-0002ht-Ta for submit@debbugs.gnu.org; Mon, 31 Oct 2016 08:02:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41591) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c1BI5-0002hh-8l for 24832@debbugs.gnu.org; Mon, 31 Oct 2016 08:02:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c1BHw-0008Je-8l for 24832@debbugs.gnu.org; Mon, 31 Oct 2016 08:02:08 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_50,FAKE_REPLY_C, RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46864) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1BHg-0008EY-J5; Mon, 31 Oct 2016 08:01:48 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:49942 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1c1BHg-0007MW-3z; Mon, 31 Oct 2016 08:01:48 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 10 Brumaire an 225 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-unknown-linux-gnu Date: Mon, 31 Oct 2016 13:01:45 +0100 Message-ID: <87d1igral2.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.7 (-------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.7 (-------) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Mark, The bug stems from =E2=80=98ld-wrapper-boot0=E2=80=99 and was introduced in d75acc293dd3e63db8739aa04c021df917aa1b80. The problem is that =E2=80=98ld-wrapper-boot0=E2=80=99 uses the value of (%current-system) on t= he machine that builds the derivation=E2=80=94i.e., hydra.gnu.org. Instead, it should use the value of the system we=E2=80=99re building for, = so its evaluation should be delayed, as is the case for =E2=80=98inputs=E2=80= =99 fields. The result of this bug is that =E2=80=98ld-wrapper-boot0=E2=80=99 is bogus = on all arches except x86_64. However, this is harmless: we don=E2=80=99t need this ld wr= apper anyway, except for GNU/Hurd. So, a short-term hack might be this: --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index 53ba718..0a8e608 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -424,8 +424,8 @@ the bootstrap environment." (define ld-wrapper-boot0 ;; We need this so binaries on Hurd will have libmachuser and libhurduser ;; in their RUNPATH, otherwise validate-runpath will fail. - (make-ld-wrapper (string-append "ld-wrapper-" (boot-triplet)) - #:target (boot-triplet) + (make-ld-wrapper (string-append "ld-wrapper-" "x86_64-guix-linux-gnu") + #:target "x86_64-guix-linux-gnu" #:binutils binutils-boot0 #:guile %bootstrap-guile #:bash (car (assoc-ref %boot0-inputs "bash")))) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable That way, we would not have to rebuild anything (it temporarily breaks GNU/Hurd though, but that=E2=80=99s the cost we=E2=80=99d have to pay.) How does that sound? The actual fix, for the next core-updates cycle, would be to delay evaluation of ld-wrapper-boot0. I guess this bug shows that nobody tried to get substitutes for core-updates on non-x86_64 platforms. :-/ Thanks a lot for the heads-up! Ludo=E2=80=99. --=-=-=-- From unknown Mon Aug 18 15:38:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24832: Hydra generates faulty derivation for gettext-boot0 Resent-From: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 31 Oct 2016 12:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24832 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Cc: 24832@debbugs.gnu.org Received: via spool by 24832-submit@debbugs.gnu.org id=B24832.147791828114734 (code B ref 24832); Mon, 31 Oct 2016 12:52:02 +0000 Received: (at 24832) by debbugs.gnu.org; 31 Oct 2016 12:51:21 +0000 Received: from localhost ([127.0.0.1]:37771 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c1C3d-0003pZ-DA for submit@debbugs.gnu.org; Mon, 31 Oct 2016 08:51:21 -0400 Received: from world.peace.net ([50.252.239.5]:43599) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c1C3a-0003pM-KB for 24832@debbugs.gnu.org; Mon, 31 Oct 2016 08:51:18 -0400 Received: from [10.1.10.31] (helo=yeeloong) by world.peace.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1c1C3T-0005Kb-TK; Mon, 31 Oct 2016 08:51:11 -0400 From: Mark H Weaver In-Reply-To: <87d1igral2.fsf@gnu.org> References: <87d1igral2.fsf@gnu.org> Date: Mon, 31 Oct 2016 08:49:45 -0400 Message-ID: <87lgx4d6om.fsf@netris.org> 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@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Hi Ludovic, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > The bug stems from =E2=80=98ld-wrapper-boot0=E2=80=99 and was introduced = in > d75acc293dd3e63db8739aa04c021df917aa1b80. The problem is that > =E2=80=98ld-wrapper-boot0=E2=80=99 uses the value of (%current-system) on= the machine > that builds the derivation i.e., hydra.gnu.org. >=20 > Instead, it should use the value of the system we=E2=80=99re building for= , so > its evaluation should be delayed, as is the case for =E2=80=98inputs=E2= =80=99 fields. >=20 > The result of this bug is that =E2=80=98ld-wrapper-boot0=E2=80=99 is bogu= s on all arches > except x86_64. However, this is harmless: we don=E2=80=99t need this ld = wrapper > anyway, except for GNU/Hurd. >=20 > So, a short-term hack might be this: >=20 > diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm > index 53ba718..0a8e608 100644 > --- a/gnu/packages/commencement.scm > +++ b/gnu/packages/commencement.scm > @@ -424,8 +424,8 @@ the bootstrap environment." > (define ld-wrapper-boot0 > ;; We need this so binaries on Hurd will have libmachuser and libhurdu= ser > ;; in their RUNPATH, otherwise validate-runpath will fail. > - (make-ld-wrapper (string-append "ld-wrapper-" (boot-triplet)) > - #:target (boot-triplet) > + (make-ld-wrapper (string-append "ld-wrapper-" "x86_64-guix-linux-gnu") > + #:target "x86_64-guix-linux-gnu" > #:binutils binutils-boot0 > #:guile %bootstrap-guile > #:bash (car (assoc-ref %boot0-inputs "bash")))) >=20 > That way, we would not have to rebuild anything (it temporarily breaks > GNU/Hurd though, but that=E2=80=99s the cost we=E2=80=99d have to pay.) >=20 > How does that sound? Ah, nice! Could be avoid breaking GNU/Hurd by delaying evaluation of =E2=80=98ld-wrapper-boot0=E2=80=99 right now, but temporarily rigging it so= that on all _non-Hurd_ platforms, the hard-coded value "x86_64-guix-linux-gnu" is used? Thanks! Mark From unknown Mon Aug 18 15:38:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#24832: Hydra generates faulty derivation for gettext-boot0 Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 31 Oct 2016 15:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24832 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mark H Weaver Cc: 24832@debbugs.gnu.org Received: via spool by 24832-submit@debbugs.gnu.org id=B24832.147792682727458 (code B ref 24832); Mon, 31 Oct 2016 15:14:02 +0000 Received: (at 24832) by debbugs.gnu.org; 31 Oct 2016 15:13:47 +0000 Received: from localhost ([127.0.0.1]:38188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c1EHS-00078n-N0 for submit@debbugs.gnu.org; Mon, 31 Oct 2016 11:13:46 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56392) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c1EHQ-00078X-Cl for 24832@debbugs.gnu.org; Mon, 31 Oct 2016 11:13:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c1EHH-0006Ud-9c for 24832@debbugs.gnu.org; Mon, 31 Oct 2016 11:13:39 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48953) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1EHH-0006UY-5i; Mon, 31 Oct 2016 11:13:35 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:50026 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1c1EHG-0001mR-Ef; Mon, 31 Oct 2016 11:13:34 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <87d1igral2.fsf@gnu.org> <87lgx4d6om.fsf@netris.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 10 Brumaire an 225 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-unknown-linux-gnu Date: Mon, 31 Oct 2016 16:13:32 +0100 In-Reply-To: <87lgx4d6om.fsf@netris.org> (Mark H. Weaver's message of "Mon, 31 Oct 2016 08:49:45 -0400") Message-ID: <87shrcpn4z.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.7 (-------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.7 (-------) Hi Mark, Mark H Weaver skribis: > ludo@gnu.org (Ludovic Court=C3=A8s) writes: >> The bug stems from =E2=80=98ld-wrapper-boot0=E2=80=99 and was introduced= in >> d75acc293dd3e63db8739aa04c021df917aa1b80. The problem is that >> =E2=80=98ld-wrapper-boot0=E2=80=99 uses the value of (%current-system) o= n the machine >> that builds the derivation i.e., hydra.gnu.org. >>=20 >> Instead, it should use the value of the system we=E2=80=99re building fo= r, so >> its evaluation should be delayed, as is the case for =E2=80=98inputs=E2= =80=99 fields. >>=20 >> The result of this bug is that =E2=80=98ld-wrapper-boot0=E2=80=99 is bog= us on all arches >> except x86_64. However, this is harmless: we don=E2=80=99t need this ld= wrapper >> anyway, except for GNU/Hurd. >>=20 >> So, a short-term hack might be this: >>=20 >> diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.s= cm >> index 53ba718..0a8e608 100644 >> --- a/gnu/packages/commencement.scm >> +++ b/gnu/packages/commencement.scm >> @@ -424,8 +424,8 @@ the bootstrap environment." >> (define ld-wrapper-boot0 >> ;; We need this so binaries on Hurd will have libmachuser and libhurd= user >> ;; in their RUNPATH, otherwise validate-runpath will fail. >> - (make-ld-wrapper (string-append "ld-wrapper-" (boot-triplet)) >> - #:target (boot-triplet) >> + (make-ld-wrapper (string-append "ld-wrapper-" "x86_64-guix-linux-gnu") >> + #:target "x86_64-guix-linux-gnu" >> #:binutils binutils-boot0 >> #:guile %bootstrap-guile >> #:bash (car (assoc-ref %boot0-inputs "bash")))) >>=20 >> That way, we would not have to rebuild anything (it temporarily breaks >> GNU/Hurd though, but that=E2=80=99s the cost we=E2=80=99d have to pay.) >>=20 >> How does that sound? > > Ah, nice! Could be avoid breaking GNU/Hurd by delaying evaluation of > =E2=80=98ld-wrapper-boot0=E2=80=99 right now, but temporarily rigging it = so that on all > _non-Hurd_ platforms, the hard-coded value "x86_64-guix-linux-gnu" is > used? Good idea. I committed something along these lines as 5bde4503eeaa1d772744abcf87afc29eb0e9329d. We=E2=80=99ll have to remove the workaround on the next cycle. Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 20 17:17:21 2017 Received: (at control) by debbugs.gnu.org; 20 Jan 2017 22:17:21 +0000 Received: from localhost ([127.0.0.1]:36712 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cUhUn-0005aD-7d for submit@debbugs.gnu.org; Fri, 20 Jan 2017 17:17:21 -0500 Received: from eggs.gnu.org ([208.118.235.92]:41879) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cUhUl-0005Zy-7I for control@debbugs.gnu.org; Fri, 20 Jan 2017 17:17:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cUhUc-00061b-QY for control@debbugs.gnu.org; Fri, 20 Jan 2017 17:17:13 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48911) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cUhUc-00061N-NG for control@debbugs.gnu.org; Fri, 20 Jan 2017 17:17:10 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:60852 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cUhUc-0003lw-1u for control@debbugs.gnu.org; Fri, 20 Jan 2017 17:17:10 -0500 Date: Fri, 20 Jan 2017 23:17:07 +0100 Message-Id: <87k29pml5o.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #24832 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.2 (--------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -8.2 (--------) retitle 24832 ld-wrapper-boot0 captures the evaluation system type From unknown Mon Aug 18 15:38:38 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Mark H Weaver Subject: bug#24832: closed (Re: bug#24832: Hydra generates faulty derivation for gettext-boot0) Message-ID: References: <87fukdml4j.fsf@gnu.org> <8760o9dqvs.fsf@netris.org> X-Gnu-PR-Message: they-closed 24832 X-Gnu-PR-Package: guix Reply-To: 24832@debbugs.gnu.org Date: Fri, 20 Jan 2017 22:18:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1484950683-21542-1" This is a multi-part message in MIME format... ------------=_1484950683-21542-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #24832: ld-wrapper-boot0 captures the evaluation system type which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 24832@debbugs.gnu.org. --=20 24832: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D24832 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1484950683-21542-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 24832-done) by debbugs.gnu.org; 20 Jan 2017 22:18:01 +0000 Received: from localhost ([127.0.0.1]:36715 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cUhVR-0005b8-GW for submit@debbugs.gnu.org; Fri, 20 Jan 2017 17:18:01 -0500 Received: from eggs.gnu.org ([208.118.235.92]:42036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cUhVP-0005av-Gg for 24832-done@debbugs.gnu.org; Fri, 20 Jan 2017 17:17:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cUhVH-0006T6-B9 for 24832-done@debbugs.gnu.org; Fri, 20 Jan 2017 17:17:54 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48916) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cUhVH-0006Sy-7z; Fri, 20 Jan 2017 17:17:51 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:60858 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cUhVG-0003mM-Jr; Fri, 20 Jan 2017 17:17:50 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Mark H Weaver Subject: Re: bug#24832: Hydra generates faulty derivation for gettext-boot0 References: <87d1igral2.fsf@gnu.org> <87lgx4d6om.fsf@netris.org> <87shrcpn4z.fsf@gnu.org> Date: Fri, 20 Jan 2017 23:17:48 +0100 In-Reply-To: <87shrcpn4z.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 31 Oct 2016 16:13:32 +0100") Message-ID: <87fukdml4j.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.2 (--------) X-Debbugs-Envelope-To: 24832-done Cc: 24832-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -8.2 (--------) ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > Hi Mark, > > Mark H Weaver skribis: > >> ludo@gnu.org (Ludovic Court=C3=A8s) writes: >>> The bug stems from =E2=80=98ld-wrapper-boot0=E2=80=99 and was introduce= d in >>> d75acc293dd3e63db8739aa04c021df917aa1b80. The problem is that >>> =E2=80=98ld-wrapper-boot0=E2=80=99 uses the value of (%current-system) = on the machine >>> that builds the derivation i.e., hydra.gnu.org. >>>=20 >>> Instead, it should use the value of the system we=E2=80=99re building f= or, so >>> its evaluation should be delayed, as is the case for =E2=80=98inputs=E2= =80=99 fields. >>>=20 >>> The result of this bug is that =E2=80=98ld-wrapper-boot0=E2=80=99 is bo= gus on all arches >>> except x86_64. However, this is harmless: we don=E2=80=99t need this l= d wrapper >>> anyway, except for GNU/Hurd. >>>=20 >>> So, a short-term hack might be this: >>>=20 >>> diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.= scm >>> index 53ba718..0a8e608 100644 >>> --- a/gnu/packages/commencement.scm >>> +++ b/gnu/packages/commencement.scm >>> @@ -424,8 +424,8 @@ the bootstrap environment." >>> (define ld-wrapper-boot0 >>> ;; We need this so binaries on Hurd will have libmachuser and libhur= duser >>> ;; in their RUNPATH, otherwise validate-runpath will fail. >>> - (make-ld-wrapper (string-append "ld-wrapper-" (boot-triplet)) >>> - #:target (boot-triplet) >>> + (make-ld-wrapper (string-append "ld-wrapper-" "x86_64-guix-linux-gnu= ") >>> + #:target "x86_64-guix-linux-gnu" >>> #:binutils binutils-boot0 >>> #:guile %bootstrap-guile >>> #:bash (car (assoc-ref %boot0-inputs "bash")))) >>>=20 >>> That way, we would not have to rebuild anything (it temporarily breaks >>> GNU/Hurd though, but that=E2=80=99s the cost we=E2=80=99d have to pay.) >>>=20 >>> How does that sound? >> >> Ah, nice! Could be avoid breaking GNU/Hurd by delaying evaluation of >> =E2=80=98ld-wrapper-boot0=E2=80=99 right now, but temporarily rigging it= so that on all >> _non-Hurd_ platforms, the hard-coded value "x86_64-guix-linux-gnu" is >> used? > > Good idea. I committed something along these lines as > 5bde4503eeaa1d772744abcf87afc29eb0e9329d. > > We=E2=80=99ll have to remove the workaround on the next cycle. Done in 168c400045bda767e9921789d93562c737b7b147 in =E2=80=98core-updates= =E2=80=99. Ludo=E2=80=99. ------------=_1484950683-21542-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 31 Oct 2016 05:35:07 +0000 Received: from localhost ([127.0.0.1]:37571 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c15FT-0007Ar-Fo for submit@debbugs.gnu.org; Mon, 31 Oct 2016 01:35:07 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c15FR-0007AJ-SW for submit@debbugs.gnu.org; Mon, 31 Oct 2016 01:35:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c15FL-0004VF-Ne for submit@debbugs.gnu.org; Mon, 31 Oct 2016 01:35:00 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33033) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c15FL-0004V7-Kg for submit@debbugs.gnu.org; Mon, 31 Oct 2016 01:34:59 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38285) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c15FK-0004Fo-LH for bug-guix@gnu.org; Mon, 31 Oct 2016 01:34:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c15FF-0004Tt-OL for bug-guix@gnu.org; Mon, 31 Oct 2016 01:34:58 -0400 Received: from world.peace.net ([50.252.239.5]:42601) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c15FF-0004Tn-KZ for bug-guix@gnu.org; Mon, 31 Oct 2016 01:34:53 -0400 Received: from [10.1.10.31] (helo=yeeloong) by world.peace.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1c15FE-0002ny-TH; Mon, 31 Oct 2016 01:34:52 -0400 From: Mark H Weaver To: bug-guix@gnu.org Subject: Hydra generates faulty derivation for gettext-boot0 on MIPS Date: Mon, 31 Oct 2016 01:33:27 -0400 Message-ID: <8760o9dqvs.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Almost all of the derivations being generated on Hydra for MIPS on the 'core-updates' branch differ from what is generated locally by guix on a mips64el-linux machine. The differences go at least as far back as 'gettext-boot0', where Hydra generates: /gnu/store/yzsx42kva1pgj96n9yir7j6xx0ndp7is-gettext-boot0-0.19.8.1.drv but 'guix' on both my Yeeloong and on hydra-slave0 generates: /gnu/store/2zzkamx4a0wrv2372pxjm5kdd0jvnl76-gettext-boot0-0.19.8.1.drv Comparing those two derivations, I see that the derivation built by Hydra includes as an input: /gnu/store/armz91zr59wzv0v0p3x9kvjxwzi714dx-ld-wrapper-x86_64-guix-linux-gnu-0.drv but the one generated by 'guix' on a mips machine includes: /gnu/store/cc5bm6lhpv6bfny24akih86jsgzx8j82-ld-wrapper-mips64el-guix-linux-gnu-0.drv I guess this means that the entire 'core-updates' branch will need to be rebuilt from scratch for MIPS :-( Mark ------------=_1484950683-21542-1--