From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id WKDyD6szrmJ7AQEAbAwnHQ (envelope-from ) for ; Sat, 18 Jun 2022 22:20:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id aOzXD6szrmKtswAAauVa8A (envelope-from ) for ; Sat, 18 Jun 2022 22:20:59 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 188D31106B for ; Sat, 18 Jun 2022 22:20:58 +0200 (CEST) Received: from localhost ([::1]:58266 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2ewC-00029J-N7 for larch@yhetil.org; Sat, 18 Jun 2022 16:20:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36728) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2eqV-0003el-10 for guix-patches@gnu.org; Sat, 18 Jun 2022 16:15:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56317) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2eqU-00059p-OD for guix-patches@gnu.org; Sat, 18 Jun 2022 16:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o2eqU-0002VU-K6 for guix-patches@gnu.org; Sat, 18 Jun 2022 16:15:02 -0400 Subject: bug#56051: [PATCH] guix: self: Do not record reference to gcc-toolchain. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Sat, 18 Jun 2022 20:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 56051 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Maxime Devos Cc: 56051-done@debbugs.gnu.org Mail-Followup-To: 56051@debbugs.gnu.org, julien@lepiller.eu, julien@lepiller.eu Received: via spool by 56051-done@debbugs.gnu.org id=D56051.16555832509556 (code D ref 56051); Sat, 18 Jun 2022 20:15:02 +0000 Received: (at 56051-done) by debbugs.gnu.org; 18 Jun 2022 20:14:10 +0000 Received: from localhost ([127.0.0.1]:50212 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2epd-0002U4-UO for submit@debbugs.gnu.org; Sat, 18 Jun 2022 16:14:10 -0400 Received: from lepiller.eu ([89.234.186.109]:40904) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2epZ-0002Tr-6P for 56051-done@debbugs.gnu.org; Sat, 18 Jun 2022 16:14:08 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 798219f9; Sat, 18 Jun 2022 20:14:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type; s=dkim; bh=WcriMPpRvy8HsA/S+6TNCCM6Ojj2DcoKbfbtBc Bl9Wg=; b=Nz4gh+u7N4HNIW4H5hD9ELCo7/9mUntnePHpr0IW0SA2JTGBzffGRH Mgfo/p8l+aKxXO0OTiy3BxvbJs5dTqleMyoYZJQt8SF6RT+ylWsQU1J9Q6awufFw VIwKXmxNT2dVHlBWNYZu8/JcmJbTEXWDGfrYy2Y1AzFlk9I50pfTC/NSkttLUfHc VRzNzYz4elzcfnshaCyUMuBOVTYoLUFq7qHMdfI0837Ot7P3pCTGd9sqBzd2dhtx qvTIAMIpYw/9YORfTrYZ3nshesLZA9h0+cuRqVEuGpxpOz6ynvcz0k4i5be2HTAh fy9aL7l+X+vRCTRvLDE3A8ot6RdO4l3Q== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 6c6629f8 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sat, 18 Jun 2022 20:14:03 +0000 (UTC) Date: Sat, 18 Jun 2022 22:14:01 +0200 From: Julien Lepiller Message-ID: <20220618221401.681618e0@sybil.lepiller.eu> In-Reply-To: References: <20220618064632.29319-1-julien@lepiller.eu> <20220618065810.30767-1-julien@lepiller.eu> <98e47fb9762158d9198b54c0dfcf237a9f5a7482.camel@telenet.be> <20220618195319.3b9af9b9@sybil.lepiller.eu> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/iAOfXmfNBbX_xCZpB4aP9mB"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655583659; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-to:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=JYDyG+G1mz2z4H4YSfK2/OfXApnHjFbX9Qb2nfD9tpw=; b=huXNWk6eUUbyd5Su7QvUgbYAasIu1zPhpBwJImWLgyGoLU4wTpwBhS8NDc7jW7tbf+YYH9 r5lENNkmcFPpr59vhhBKAr718l1Lri2BSgBrrXx/6agMT73147uncizNPAtcQo4iWv/cy2 DG/UIz8YuQ4vE9CZh6RfHeScovACxu9eYgf6Z2pU2g6aFTO2sQ5JvqyMat8ypmb0tuPGqm IZsiviusS8Kt2ELw29SQ8dF0ohOC+uBpaSPlz+1/VqHiMjagGLESnyDR/tpXNwCY8M7O5O 0C4bAhiYkbyEZC7dFn9ujrVkYk1Jn8waVYEiNk0u7yZHuKVS/l5oCx2YtRhjTg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655583659; a=rsa-sha256; cv=none; b=Lh3+vUmij7/b3B6iElcFV1uLhq5ZReVbKSpFzxUM5a5h799EycUhQn1RtcrdobfVcZXXyy wiGYc5pcFXBDMndY7zXvUZhyBfOy9Ig395UO95URRKdSgAkEM7exrn62ZVH97hI+9wXFlJ nHi/euEYFdg2cHufoh6f2YNJYgWGE42qmf3QwqQ4aW0SB0qcyNNwxE56lVmGx8Hmlbzqd/ /sY6Ma9uv/uLFJojg88Ng9XLloS0iHiyJ87htvWT+QuT/CiNzX/jgSsUGodREbaXuAwenv gCQWCTf5cv+9b7mfLc0eD0S8uwbQCE1PJIOMTlctmViuXdApn+x9mH8/3d6vAA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=Nz4gh+u7; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 2.81 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=Nz4gh+u7; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 188D31106B X-Spam-Score: 2.81 X-Migadu-Scanner: scn0.migadu.com X-TUID: Wuhzdy1qz7/8 --Sig_/iAOfXmfNBbX_xCZpB4aP9mB Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Le Sat, 18 Jun 2022 21:08:18 +0200, Maxime Devos a =C3=A9crit : > Julien Lepiller schreef op za 18-06-2022 om 19:53 [+0200]: > > crt1.o and friends, from glibc. I tried using glibc explicitely and > > setting LIBRARY_PATH to (file-append glibc "/lib") and it worked. > > =20 > > > =20 > > > > Another possibility is to explicitely use gcc, binutils, glibc > > > > and ld-wrapper. Thought this would be better?=C2=A0 =20 > > >=20 > > > FWIW, the infrastructure in (guix scripts pack) does > > > that, and the code in guix/self.scm has a comment: > > >=20 > > > =C2=A0=C2=A0=C2=A0=C2=A0 ;; XXX: Reuse from (guix script= s pack) instead? > > >=20 > > > though maybe (guix scripts pack) has the same reference-keeping > > > problem ... > > >=20 > > > Greetings, > > > Maxime. =20 > >=20 > > Mh, I'm not sure how to do that. Do you mind if I push this patch, > > and leave using to future work? =20 >=20 > Sure, but keep in mind this adds 'glibc' to the closure (IIUC, > packages like 'hello' use a different glibc, from %final-inputs in > (gnu packages commencement)), so maybe best use (canonical-package > glibc) instead? (*) >=20 > (*) IIUC, (guix self) isn't used from any package module, so no cycle > problems, can be imported directly. >=20 > Greetings, > Maxime I didn't notice a different glibc. I think gcc-toolchain already uses that glibc from commencement.scm. It's also defined in commencement.scm. Pushed to master as 319b8331b2357e12ec9edb9665513c32bef56622. --Sig_/iAOfXmfNBbX_xCZpB4aP9mB Content-Type: application/pgp-signature Content-Description: Signature digitale OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEHvsJCR8X0ozL+bE6U9RXstY27oIFAmKuMgkACgkQU9RXstY2 7oLP4A//Uh5rywbbfl21XUBJW+ib+mEjH7EjqD3QhdXIsygc94bMei0oovcC9fAY RD3UURcXZA+bePOBx2SP5rz0qJ0TZH1YAyxOcbUnMNbMTP30I0/n40Ue7FJCYJaN QH+VXX0LMG86kHgJHbYSOkRulofHhLr5Ikl/WGaLakClg2dQB5GCVG1K/N8x6B2d S7MuGhab6Eu0WBvW7IZVS+GqtcX6L2iroty1T5r6BI7r9DBB2XoXvHgY0xVYsaiQ Aj0dnS3JJqj4XNRRegVGamhVi/4YwbyFc8rgtlxfvVhy0AYQzgNPlOUK4eEaD2kQ sQNtTHjT0UcsER1lvRUh9RFL8Yl7ISPcyU2ok2lHbHSRoXwqlIG1MnSO8Z8BrESy NYiV9wKVjKyyTdIWt2MAeph7/TbPYGoro/VWZLbMuFnUDuKl17WXBe77U40y3R72 WWLwAwWHF+Yjjkp19/Rw5NkQXwtppzika7Tj/v9yyzAU1JrGMLCjlyVuldqdVjwv 86LMxO/qSPpzpHlTFqf5tzukJ5JVsj/+SPChkc3xlVk9ZAjtIKzNGA5sgmZ7NFNK 24vS4vZ9V9Qd1FOzJCUViJdtLkCUhr+J8k8kM/tCQlC9JC+pEQvGaEmAFpdUrDwZ jhOqONmr020JfMIP6vua0LveePMEj5M1ioX6A/AjjZAA9flPaLU= =Zjz8 -----END PGP SIGNATURE----- --Sig_/iAOfXmfNBbX_xCZpB4aP9mB--