From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id wE7rNyqq3WWLKgAA62LTzQ:P1 (envelope-from ) for ; Tue, 27 Feb 2024 10:23:55 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id wE7rNyqq3WWLKgAA62LTzQ (envelope-from ) for ; Tue, 27 Feb 2024 10:23:55 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=BCv8hDW3; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1709025834; 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: content-transfer-encoding:content-transfer-encoding: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=UF8A8Ifwoh0Ondcb2iymZZ6mum5BShbyVJNv7V3j6fU=; b=KUDYCu9zKYN2fJMCTwzF+zXsn5X6+14q+4FmP76G1xxgEPfEODaT5k6SVGOGPo6SX7jK3q 4A5eX2L5qs2hstFg3rujx7BJN29e1oZ9bE15rNQYeugS+9hrmD/tKu28yBXnZmrReICz5O YgKz7RHy3uz9Or8OSx0brtu0EZRY5t5RglzrBsBJZMmeL+UdvHK4j1WxhIHgsGip/VyIsI vd6GPIIGnKO1hx9S3JWVJs2UjN8KpHy4+HTUCSYEnSyCYC8r3Mf1Smi8MMYOEh/hlnUmP+ 9aw0aN951zDHXHOjU/Cw4rGu3wWaKftNZ1orFn33OxdxdC2jAkkh9L+tchyOzg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=BCv8hDW3; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709025834; a=rsa-sha256; cv=none; b=VPykT9XBd+yDu+TRROsoy1O+gTCYyfwEZNdSycDH4ig3PYCL/eAckv0/10wF66fYJys8+m VAOTW8uxq3FkcZb0gAzeR75Xgx5ha0tgNOlOmBpJmp7FGhhswMCuqADqlL/ZmZ2Huua5kH vrMrmLmZ/Ai7ItO5ptrJWbUNKl9NeEZbWyo+rM8s3O9WH1Amz0dFvcX7cFKFHsHZmM8s7X foZ0goqZLdZZXKeXHzdejMJ/6jtJxf/ADnKnZJNWR7HjJ0a3YHImUDnudWd4mdhpAoRaQV snXhjtURtA0oNi7YxpSrkvf69W7bXBxdZ0GeDXxmZcwt1wgf+zpY9Jjeh2BbnA== 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 1F7E13F112 for ; Tue, 27 Feb 2024 10:23:54 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1retge-0006A0-6d; Tue, 27 Feb 2024 04:23:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1retgb-00069i-MK for guix-patches@gnu.org; Tue, 27 Feb 2024 04:23:41 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1retgW-0004Ni-DG for guix-patches@gnu.org; Tue, 27 Feb 2024 04:23:41 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1retgv-0005Rs-UF for guix-patches@gnu.org; Tue, 27 Feb 2024 04:24:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69396] [PATCH core-updates v2] gnu: ld-wrapper: Also unset GUILE_LOAD_PATH. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 27 Feb 2024 09:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69396 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxim Cournoyer Cc: 69396@debbugs.gnu.org Received: via spool by 69396-submit@debbugs.gnu.org id=B69396.170902581720885 (code B ref 69396); Tue, 27 Feb 2024 09:24:01 +0000 Received: (at 69396) by debbugs.gnu.org; 27 Feb 2024 09:23:37 +0000 Received: from localhost ([127.0.0.1]:37338 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1retgW-0005Qk-Jo for submit@debbugs.gnu.org; Tue, 27 Feb 2024 04:23:36 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58834) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1retgU-0005QT-1S for 69396@debbugs.gnu.org; Tue, 27 Feb 2024 04:23:34 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1retfy-0004HP-Nn; Tue, 27 Feb 2024 04:23:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=UF8A8Ifwoh0Ondcb2iymZZ6mum5BShbyVJNv7V3j6fU=; b=BCv8hDW3x+0aEx6oYswj +PWb2q0O6DDMhjMDfxUMwRKveoS6L6yiZ++i7GbmzdAb6FoVTlFI7BgxNZzAfaNUj1f/0alrrppqZ NGzqnWjL4fLrS/r7S1PLnFVhAggDLWdgfkcZn8EHNpEHmo4C9szkNQquPUk6jZ+qV+eFxJNowzVyh P3g/KbuCgC6Nw+L7D9k1DNSBk5JJdJOteBJXX49vDPw3Ix9leiViXKHoJPPYHhRq8wzHzrxo4fRza 8v9Aj9nvGoo5O4KGdp/O30z6V53pug7D1bOeKkElLFDSdDvKTu5KsWRUPy6KmZEuZpoqsCrY0YAEU 2jHAlBm++zC8zg==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <094b2d80c6524440e9b86ec9a3181e28d31f3957.1708919827.git.maxim.cournoyer@gmail.com> (Maxim Cournoyer's message of "Sun, 25 Feb 2024 22:57:07 -0500") References: <094b2d80c6524440e9b86ec9a3181e28d31f3957.1708919827.git.maxim.cournoyer@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Nonidi 9 =?UTF-8?Q?Vent=C3=B4se?= an 232 de la =?UTF-8?Q?R=C3=A9volution,?= jour du Marsault 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: Tue, 27 Feb 2024 10:23:00 +0100 Message-ID: <875xyal0qz.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -7.17 X-Spam-Score: -7.17 X-Migadu-Queue-Id: 1F7E13F112 X-Migadu-Scanner: mx11.migadu.com X-TUID: PDKpeHSZ851X Hi, Maxim Cournoyer skribis: > The following problem was discovered while attempting to configure Guix t= o use > a locally built Guile tree, via its meta/uninstalled-env script, which wo= uld > attempt to use the newer Guile source files and fail with: > > Pre-boot error; key: unbound-variable, args: (#f "Unbound variable: > ~S" (error) #f)collect2: fatal error: ld terminated with signal 6 [Abor= ted] > > With the following change, a Guix user may now configure their build to u= se a > locally built Guile with e.g.: > > ~/src/guile/meta/uninstalled-env ./configure --localstatedir=3D/var \ > --sysconfdir=3D/etc > > * gnu/packages/ld-wrapper.in: Unset GUILE_LOAD_PATH. Also unset > GUILE_SYSTEM_PATH, for symmetry. Streamline exec call, using the now fix= ed > '-l' option. > (ld-wrapper): Fix args being a nested list, and strip its arg0. > > Change-Id: Iaaa721019f3646d851202bb018214ec9fcc04fd4 > --- > > Changes in v2: > - Revert to load-compiled scheme to load ld.go > - Refine comment LGTM! I=E2=80=99ll let you check with Josselin et al. whether to merge it now in =E2=80=98core-updates=E2=80=99 (my gut feeling is that we=E2=80=99d rather = wait for the next cycle, but I=E2=80=99ve haven=E2=80=99t been following lately.) Thanks, Ludo=E2=80=99.