From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 6IEAOws8E2SDLgAASxT56A (envelope-from ) for ; Thu, 16 Mar 2023 16:55:56 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 4HwIOws8E2TfywAAauVa8A (envelope-from ) for ; Thu, 16 Mar 2023 16:55:55 +0100 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 C4EB228DBA for ; Thu, 16 Mar 2023 16:55:55 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=fbfmrEKx; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678982155; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=ziKLk6m7OucWr5SoVcQPm/okB+hCCzzzdydCvMMmaMA=; b=BC0R8OAgnAo/vGeJCn7afcOxcYNIm5WkctNmXKk/r5bUCp8+iD6hJuJxFB+aiWkXe1Jh+J am4KroZKRYfNAcuyEo84vKDaHcUdNZgnhcOb/vj51SxxXb68L5yt2mmqzLq3ZIpL7w0Tc4 nqk+ojgiLrk/dH7agzt/ZjXrNaX1A/xw4WiwAE1c/Vg9VzCgxKtB2GW83VEJXIgZMvtxEo Xr4m9Z+hweKLNFKgtEeyafTXBcbCHiOtTpVSwR4w+uSVdpP5TBSyJrUpM3dlykOCMaPz2O MudpSRNxAlTbwUDbZbWLGhqfa/+1w2+rWdKtdjzXzWJZQszaITKqjpArsEJ8vg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=fbfmrEKx; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678982155; a=rsa-sha256; cv=none; b=pA3GE/iJ9yWOVW0cSNMFvoWGBMNNrHoT2iMNR5AynZU7/SWhkyg+2tarjPXqKgtmTyCWi8 3c/mZV/WZ0ccJHN9/o1K+sq9amJf4HSO4x4gtiOcjD2zhkViIm2PbzfsACQdjG1hn0FH2k NjFz1nQ0gpvkXvFdOuJpdKg+YEq2Rfq1U1ULOf2V0hs9uEuDZYpgeF1RVWss+ru3FfnXUw RZG+Fkd0RGR8baeelORy3wEhcw7E8L9nSnv0bdFAt5Qki99+FpAFVaWbNmSX/+7zrpqf5d Q+/sB8RiXfxF685l4gdfBzqH8KO+KF2xUydtbIDNhZ45m4uvx6YT9VJwCQ8Duw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pcpwk-000603-Cd; Thu, 16 Mar 2023 11:55:18 -0400 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 1pcpwi-0005zT-2P for help-guix@gnu.org; Thu, 16 Mar 2023 11:55:16 -0400 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 1pcpwh-0002hc-Q7; Thu, 16 Mar 2023 11:55:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=ziKLk6m7OucWr5SoVcQPm/okB+hCCzzzdydCvMMmaMA=; b=fbfmrEKxrw5mXA11Fz/2 ITYOQhj3q7fCqVgf/TIpfN2QimIIjRsTlhlynr+cTd8AfihNFX+DHVxLLADhkubw6Xuk+cBOaPbQG PuNi+4202w29rTWJz1xCjYGClREJf6TSgH2vDoNIp7x+WV7NJJWEhCHbAwwBOHIH0USVzNSAi7ZG2 Fk5XO5MiUeVquUaw+QWT19qx9dj7QxPLenFlF7jRdzX4J+hFioZ6vr4yTTOFR2P7SbAtpavPb4WS6 ARUnKzwRYUUkv2xq6dMFTeEFw9Wik1jcWFhD3tcOsQwLBZQPWUAvJWS/z8Vsd3ASiMIlSD3xCGU/n IzGa9hngJjnRXg==; Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pcpwf-0001q4-JM; Thu, 16 Mar 2023 11:55:14 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "Thompson, David" Cc: help-guix Subject: Re: Issue with 'guix shell' for Guile projects on non-Guix distros References: X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Sextidi 26 =?utf-8?Q?Vent=C3=B4se?= an 231 de la =?utf-8?Q?R=C3=A9volution=2C?= jour du Pissenlit 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: Thu, 16 Mar 2023 16:55:12 +0100 In-Reply-To: (David Thompson's message of "Thu, 16 Mar 2023 10:15:52 -0400") Message-ID: <87cz58d733.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Queue-Id: C4EB228DBA X-Spam-Score: -6.26 X-Migadu-Spam-Score: -6.26 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-TUID: 42AkPi3+y5P8 Hello, "Thompson, David" skribis: > Here's the context: Someone wants to build guile-goblins from a Git > checkout using their non-Guix, FHS distro. However, they happen to > have Guile 3 installed to /usr via the host distro's package manager. I was going to suggest running =E2=80=98guix shell --check =E2=80=A6=E2=80= =99, which can detect a class of problems on non-Guix distros, but that=E2=80=99s not the problem here. > They install Guix, run 'guix shell', then './bootstrap.sh' and that > all works fine. Then they run './configure' and this happens: [...] > The most important line above is: > > checking for guile-3.0... /usr/bin/guile-3.0 > > Guile's guile.m4 code checks for a 'guile-3.0' executable *before* > checking for a 'guile' executable. Guix's Guile package only provides > 'guile', but the host distro provides 'guile-3.0'. Unfortunately, the > build environment ends up as a mix of host distro and Guix things > which eventually proves fatal to the build. I=E2=80=99ve not encountered this before. My suggestion would be to recommend running =E2=80=98guix shell -CP=E2=80= =99 as this addresses problems of that sort once and for all. I do that, even on Guix System: it=E2=80=99s pretty reassuring to know that your dev environme= nt is isolated from the rest. Alternatively, =E2=80=98guix shell --pure=E2=80=99 would also address that = because then =E2=80=98configure=E2=80=99 wouldn=E2=80=99t look for programs under /usr/b= in. It=E2=80=99s less robust though. HTH, Ludo=E2=80=99.