From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4Fk8G9UirmK5sAAAbAwnHQ (envelope-from ) for ; Sat, 18 Jun 2022 21:09:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 8AQnG9UirmJDtgAA9RJhRA (envelope-from ) for ; Sat, 18 Jun 2022 21:09:09 +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 EA3423B08 for ; Sat, 18 Jun 2022 21:09:08 +0200 (CEST) Received: from localhost ([::1]:57420 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2doh-00033B-Mx for larch@yhetil.org; Sat, 18 Jun 2022 15:09:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55736) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2doc-00032y-Qe for guix-patches@gnu.org; Sat, 18 Jun 2022 15:09:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56133) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2doc-00056w-Ic for guix-patches@gnu.org; Sat, 18 Jun 2022 15:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o2doc-0000jn-8Q for guix-patches@gnu.org; Sat, 18 Jun 2022 15:09:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56051] [PATCH] guix: self: Do not record reference to gcc-toolchain. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 18 Jun 2022 19:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56051 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Julien Lepiller Cc: 56051@debbugs.gnu.org Received: via spool by 56051-submit@debbugs.gnu.org id=B56051.16555793092794 (code B ref 56051); Sat, 18 Jun 2022 19:09:02 +0000 Received: (at 56051) by debbugs.gnu.org; 18 Jun 2022 19:08:29 +0000 Received: from localhost ([127.0.0.1]:50030 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2do5-0000j0-0C for submit@debbugs.gnu.org; Sat, 18 Jun 2022 15:08:29 -0400 Received: from xavier.telenet-ops.be ([195.130.132.52]:56006) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2do1-0000ip-Gg for 56051@debbugs.gnu.org; Sat, 18 Jun 2022 15:08:28 -0400 Received: from [172.20.10.9] ([188.188.170.162]) by xavier.telenet-ops.be with bizsmtp id kj8N2700b3Waito01j8PKV; Sat, 18 Jun 2022 21:08:23 +0200 Message-ID: From: Maxime Devos Date: Sat, 18 Jun 2022 21:08:18 +0200 In-Reply-To: <20220618195319.3b9af9b9@sybil.lepiller.eu> References: <20220618064632.29319-1-julien@lepiller.eu> <20220618065810.30767-1-julien@lepiller.eu> <98e47fb9762158d9198b54c0dfcf237a9f5a7482.camel@telenet.be> <20220618195319.3b9af9b9@sybil.lepiller.eu> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-cJ4LBCKTwTba72tfJ+v2" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1655579303; bh=qylOAbK8FLqXagUUodN/+D+siCUNC17FpDJZ9cpmatM=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=QbAyJaJK+9Z3gzV/v7bJPsZi/4AZcdqfYZHfd/VvVX69SHMyUxFl6AcpCguVi+ipF i0cv9F+7M98rur5mYEfc4d7sO8j0AfzBkZocAXUCzmW47EBX2jtEg6GLy6wZ6Nvfxg uY4cjyp3xiuBVHKGBxOu3em5zq3cqQhTmBcs1CMbKDR3Ry+jqL4drG5BKCFMuygyPL 6Ud/gcSexG2IOeGUd3Ne02TMadph1306QuLlMiC5RzB/PERo5PQXmPvlFd5lY+ofap cd8cL+7LePxvoTa+HSBMTScBteX8iJ/jQ+Ygd+p2bcuhWPv2zKlKYg7h5oLnbqneJ7 4QY8JjoIJx5bg== 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=1655579349; 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-cc: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=qylOAbK8FLqXagUUodN/+D+siCUNC17FpDJZ9cpmatM=; b=cWaqT6+xZRQpuOA7gLibPYKUpASiyq+wfiMowdKQWPxBG2XSaxOv8EqP8VkyC2K/uhbffK GwSvlU5GPRASolHrNT+lO7uad6W2HB9JKYYyvd+ifFCzAbeF9xKgxBsKvMyKaZvbkfO91P G7xml+CuKdQaXddwZLWyT37cXJibzayxy7fE/5318GzAiwnzT5zm+lAAdZ8rGyxfvb5Zqq Jq5FcdkFQP5edsr5BVv81Y0vJ52/rOOlclBiHE3wEuODwZ5ndgR7JVGAwH0W/x6vCbISV0 IYIhLM6gJEVNJ+MGJdNGIirq/GVkaVnjS7qRLEUC5OAgabLqlsBk743CHA7bFQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655579349; a=rsa-sha256; cv=none; b=Q5o2LcCjGlNmiw3WhffoYZfLhfa10sGjUB3DW5axAfUweTuPeFsLhiH9OoFF/EPSa3VCRx /pkGz08EJC/g9yyLQK+Soh6f+PvBfC3zZvwroymEYLPoRel5EUw0bdkv4MFsR0c7T+dVD7 ohOZhk/zoOorNPg6K5esPZfgQIoevNxlfOL5MM89rq1/CeYEsSjN2ySbAWl/BI4QkyDa4r bDiAjJKSYSN7KTtK8sRbbuqwPKmEt/aRtFFzIYhiM31RUzPZPCXslsP7KNQROxuxCi7h/H ioMJ27XozXIjRAB3TkpOEm1hotLudCdaBFSU1zKWx2n25K/1/lPP9c70Wjg3yw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=QbAyJaJK; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (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.61 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=QbAyJaJK; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (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: EA3423B08 X-Spam-Score: 2.61 X-Migadu-Scanner: scn0.migadu.com X-TUID: XZ5D4WlEMBA/ --=-cJ4LBCKTwTba72tfJ+v2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 scripts = pack) instead? > >=20 > > though maybe (guix scripts pack) has the same reference-keeping > > problem ... > >=20 > > Greetings, > > Maxime. >=20 > Mh, I'm not sure how to do that. Do you mind if I push this patch, and > leave using to future work? 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? (*) (*) IIUC, (guix self) isn't used from any package module, so no cycle problems, can be imported directly. Greetings, Maxime --=-cJ4LBCKTwTba72tfJ+v2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYq4iohccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7vcXAP9aMpIX19gmbAK0AIOcYNEWyUSe LCoYyPmifM97taSEEgD+I6HVSqSXG3k31cUK+NxH8D+RAiALth1rHfPkTQ6v0As= =JAaF -----END PGP SIGNATURE----- --=-cJ4LBCKTwTba72tfJ+v2--