From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 0EvQEwoV42QWAAAASxT56A (envelope-from ) for ; Mon, 21 Aug 2023 09:40:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id UPGqEwoV42QOdQEA9RJhRA (envelope-from ) for ; Mon, 21 Aug 2023 09:40:58 +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 74E2D4523A for ; Mon, 21 Aug 2023 09:40:57 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="UaCYFYl/"; 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=1692603658; 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=vAeTJzJ+RVmTjExtCflQoc4HQv6wLip21ApuIOBMTOM=; b=ew7Yup8RkWathl9mQ87LfK6AvB3SWkDjQVrzr9vlW2gD+xLTb1dwVv6Dw/gzjkgTzDHnhY W/+qzOpdSUOXVl/j6cavF3B7yaoRevkoqpCuvODoualqPtW7bR2sTysuXl7ZrpLubgny7N xewvpviyaVAimtxTIqikoOOVE3vtLWHjBuw9mNV80oSndI3Jvz1vd8idwiDw3EACtLzrL2 3t7Y2Z6KJfYVZw0Ldafa/RIXNHywEJk5bDrMb6MJGIn6XUfO/x8fnN8/X+C4UOhnLlBeFo a5nRoDD//fnktIBXffCOjZcHJLJwb/6edu50YVqEL8WtowTawQKj5B3jn9y+XQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692603658; a=rsa-sha256; cv=none; b=XWs/SrSiWDh/3LgACEkAnHm55EN/CdvO1kYLrgzTFud20hk8hF8ZqIveYBsVJE/axubWzE H8eW8TjhKusmWWiVIMT/lK7smKO7gvSLG7LvX1+RKDpeo/6MUfoO8kWOAIlGsPgznS3WrM RrioNmYhhU2lkXvbS3dnpc/xQu7EtKiVEg33+UCYJcIVH/MQgNhxarcE+oNBsf0Usar/Oc dDz3S8KYX6z/KVj0nvW4T0leM6vlmEdWG7wxEAtSfjYp700NOiZeR1GZG0n7xmsaXRcgtD qXpYBpfZt+1Ao+Sx3bTsKmAqOkepyRNiWkBeuaTn3o+KA0yxl+8V8ZxXHBpIDw== 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="UaCYFYl/"; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qXzVD-0003W2-Eh; Mon, 21 Aug 2023 03:39:07 -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 1qXzV6-0003FC-IW for bug-guix@gnu.org; Mon, 21 Aug 2023 03:39:01 -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 1qXzV6-0006dJ-9w for bug-guix@gnu.org; Mon, 21 Aug 2023 03:39:00 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qXzV8-0001ik-BZ for bug-guix@gnu.org; Mon, 21 Aug 2023 03:39: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: Janneke Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 21 Aug 2023 07:39: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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 64509@debbugs.gnu.org, Zack Weinberg Received: via spool by 64509-submit@debbugs.gnu.org id=B64509.16926034876547 (code B ref 64509); Mon, 21 Aug 2023 07:39:02 +0000 Received: (at 64509) by debbugs.gnu.org; 21 Aug 2023 07:38:07 +0000 Received: from localhost ([127.0.0.1]:55401 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXzUE-0001hW-Sb for submit@debbugs.gnu.org; Mon, 21 Aug 2023 03:38:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56252) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXzUC-0001h2-LC for 64509@debbugs.gnu.org; Mon, 21 Aug 2023 03:38:05 -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 1qXzU2-0006Rq-MM; Mon, 21 Aug 2023 03:37:55 -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=vAeTJzJ+RVmTjExtCflQoc4HQv6wLip21ApuIOBMTOM=; b=UaCYFYl/pRmhcuIuiw3d 2gb+PFqd600WdU80225CLbzmWogbBHxN9GsE807d920bI3acDVNiVLNLkrcN2034F2z3wSnwPh/Hy U8MHfRjZ/1XRxjseC+1ayXXmM+A97uDQ2M5N1a0bB3iblTaM5WuY/mOow0pkoYYegGdPaUS17IkXr YqXtLlRFpJNYBJVMQlUq26mas1jYCIQpler+S62bfCTLshUftKP1oTD1c4xLygU125cQWBjDNadYS iUjF42xfymN16e8viFif/M+I0W3pTW0/jUho0QbXNAszMIncuASOmA3I3ASRlu3uJvq5pX6PkpTvk fRcT1rEJTCCH4Q==; From: Janneke Nieuwenhuizen References: <87o7j86ldw.fsf@gnu.org> Date: Mon, 21 Aug 2023 09:37:49 +0200 In-Reply-To: <87o7j86ldw.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Tue, 15 Aug 2023 23:33:47 +0200") Message-ID: <87zg2kj16a.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-Spam-Score: -6.89 X-Spam-Score: -6.89 X-Migadu-Queue-Id: 74E2D4523A X-Migadu-Scanner: mx1.migadu.com X-TUID: WcX4fQG3mwXW Ludovic Court=C3=A8s writes: Hello! > "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 buildin= g 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 no= t the other >> four programs: It's an interesting idea. It's a common source of problems for non-guix system users. It's terrible that guile.m4 has this feature of preferring numbered binaries (even if they're later in PATH, and even if that binary doesn't match GUILE_LOAD_*PATHs), and that Guix doesn't provide them. What about a wrapper package that provides these? > I think the solution is to use =E2=80=98guix shell -D guix -CP=E2=80=99: = that=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.) Hmm, yeah -- that sounds like the proper way of doing things. Maybe my pracice and advise should go into that direction instead. Greetings, Janneke --=20 Janneke Nieuwenhuizen | GNU LilyPond https://LilyPond.org Freelance IT https://www.JoyOfSource.com | Avatar=C2=AE https://AvatarAcade= my.com