From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id UNa2MVjv22SkOgEASxT56A (envelope-from ) for ; Tue, 15 Aug 2023 23:34:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uBfSMFjv22TYWQAAG6o9tA (envelope-from ) for ; Tue, 15 Aug 2023 23:34:16 +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 703C839053 for ; Tue, 15 Aug 2023 23:34:16 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=liGfFoYu; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-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=1692135256; 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=KTS1f27DOx0l0UvdNz20FrWkV4dzzKE96fUNaGv1X/0=; b=lv+pF3ynJxK1NGmzmjc13sBWpFywuJE2lgpoZui76rSjoLRdZ2xdQ8tLSystts3H4mXv4m NArgewoQW7btkqoLGH/6ceNI9APY1szQbisQ71L6Gm0Z6u964tGqbgYBkoadUyT4OsbUtc H3GLnRrdBHtKe9xa4bsR3lkMiVGTJW4a8NgfUWWxAe1LMsfPABfhoP32sW/9RbEmhM1T8w 3qBfD3r6hnW+a4qMPVbG4b/thVwu2fL4pbgVJab9q/gLXwb8BcRkLVdfxLI1rQOkZXOeyI jC+IpkzM9Dqlvkb9CgiDHDfqF0lOnfbOtPc6izOXQkbjktUq5VgYP/a4vz3D2w== 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=liGfFoYu; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692135256; a=rsa-sha256; cv=none; b=BkrCxXYuyuHreB23Q7GDVplrpTsVQsXznuMTyfYCbN3rdth6t3fHcOQ69LVC7eikMhZysz ovELI5+IutKnObyEvtZvYJZAukPPMGgvBfbZo9R6Bqh+WAWmNUZYmWo+u7AlabIvAJQTrB YImvMMUStu8xcHlIf/kXjr7oY9CD9zzug8o3gu7LWNQ3RbSlnuslZPoDTNHOwZ21bzyz1f v8XJGJlas3Z/re//G+M2ctD9LeK9kwVc3xaeU4+9Nllftlx8FraHq30klnm1q0L/ULT/NB ydBOsjZMtPIX4ZHKuIrbhFcENIYKZCUJ8jyR+oHeFTCvFS0sskzI5ArevpJpgQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qW1fy-0007T7-H7; Tue, 15 Aug 2023 17:34:06 -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 1qW1fu-0007Sz-Ta for bug-guix@gnu.org; Tue, 15 Aug 2023 17:34:02 -0400 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 1qW1fu-00052W-Ke for bug-guix@gnu.org; Tue, 15 Aug 2023 17:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qW1fu-0001St-Dm for bug-guix@gnu.org; Tue, 15 Aug 2023 17:34:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#64509: Guile packages should install versioned aliases for binaries (guile-X.Y, guild-X.Y, etc.) Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 15 Aug 2023 21:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64509 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "Zack Weinberg" Cc: 64509@debbugs.gnu.org Received: via spool by 64509-submit@debbugs.gnu.org id=B64509.16921352375619 (code B ref 64509); Tue, 15 Aug 2023 21:34:02 +0000 Received: (at 64509) by debbugs.gnu.org; 15 Aug 2023 21:33:57 +0000 Received: from localhost ([127.0.0.1]:36961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qW1fp-0001SZ-AF for submit@debbugs.gnu.org; Tue, 15 Aug 2023 17:33:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51914) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qW1fm-0001SJ-LS for 64509@debbugs.gnu.org; Tue, 15 Aug 2023 17:33:55 -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 1qW1fg-00051i-Ps; Tue, 15 Aug 2023 17:33:48 -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=KTS1f27DOx0l0UvdNz20FrWkV4dzzKE96fUNaGv1X/0=; b=liGfFoYusJ5gsmgyoxz8 6f9yAn2v0QNoDFEunLhmi9nvECJnMhVq9L9lE9W1S9vQvbt2+zKcG7ku/LgBb9y3aL/HAA3LZmRJC QDdsNJyMziQ6PaPH1Y2filpvI0xNtp19Z992hEz2ziexN+dD3YRfJp6DR51JQjPZypPbFnB8TDDMg boCB2ySk7yUaEhpoR+ynZ2m3JzwrOKlYKIa7BaVzqFfU2CzE2kilYqkAQzQ6LesqYyIldIy+fq3zb trgh1rk9pSEc3weU6DycuYWkAf7L4/Ky1UMyoWi7sGuwPLLgRNI3RHhSH1h+Fjj3WBZzftN0y8us4 yzc8SCu1NRP+Cg==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: Date: Tue, 15 Aug 2023 23:33:47 +0200 In-Reply-To: (Zack Weinberg's message of "Fri, 07 Jul 2023 08:59:10 -0400") Message-ID: <87o7j86ldw.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: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 703C839053 X-Migadu-Scanner: mx1.migadu.com X-Spam-Score: -6.89 X-Migadu-Spam-Score: -6.89 X-TUID: 8kD5rWxdirqk Hi Zack, "Zack Weinberg" skribis: > The Guile packages currently install all their binaries under their > basic name only, e.g. > > $ ls /gnu/store/4gvgcfdiz67wv04ihqfa8pqwzsb0qpv5-guile-3.0.9/bin > /gnu/store/4gvgcfdiz67wv04ihqfa8pqwzsb0qpv5-guile-3.0.9/bin: > guild guile guile-config guile-snarf guile-tools > > However, the Autoconf macro GUILE_PROGS (from guile.m4) looks first > for a guile binary with a version number suffix (e.g. =E2=80=98guile-3.0= =E2=80=99). > If it finds one, then it looks *only* for a matching guild-X.Y and > errors out if it can=E2=80=99t find that. This is a problem for building= Guix > itself from source in a non-pure =E2=80=98guix shell -D guix=E2=80=99 on = top of a > foreign distro that provides a =E2=80=98guile-3.0=E2=80=99 binary but not= the other > four programs: I think the solution is to use =E2=80=98guix shell -D guix -CP=E2=80=99: th= at=E2=80=99ll give you a container, where /usr/bin/guile-3.0 isn=E2=80=99t accessible, which ensures there=E2=80=99s no interference. (FWIW this is what I do, even on Guix System, for my development environments.) Does that work for you? If your distro doesn=E2=80=99t support unprivileged user namespaces, which = =E2=80=98-C=E2=80=99 relies on, you can fall back to =E2=80=98--pure=E2=80=99. Ludo=E2=80=99.