From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qO7MI/cHdGOYoAAAbAwnHQ (envelope-from ) for ; Tue, 15 Nov 2022 22:43:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id kMjZIvcHdGM8+gAAG6o9tA (envelope-from ) for ; Tue, 15 Nov 2022 22:43:19 +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 4A7D786B4 for ; Tue, 15 Nov 2022 22:43:19 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ov3hw-00077G-O1; Tue, 15 Nov 2022 16:43:04 -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 1ov3hv-00076g-EC for bug-guix@gnu.org; Tue, 15 Nov 2022 16:43:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ov3hu-0004LC-QG for bug-guix@gnu.org; Tue, 15 Nov 2022 16:43:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ov3hu-00038I-CP for bug-guix@gnu.org; Tue, 15 Nov 2022 16:43:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#59278: how gcc-toolchain can depends a package who doesn't exists? Resent-From: bbb ee Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 15 Nov 2022 21:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59278 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: zimoun Cc: 59278@debbugs.gnu.org Received: via spool by 59278-submit@debbugs.gnu.org id=B59278.166854854711992 (code B ref 59278); Tue, 15 Nov 2022 21:43:02 +0000 Received: (at 59278) by debbugs.gnu.org; 15 Nov 2022 21:42:27 +0000 Received: from localhost ([127.0.0.1]:55420 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ov3hK-00037L-PX for submit@debbugs.gnu.org; Tue, 15 Nov 2022 16:42:27 -0500 Received: from mail-lj1-f175.google.com ([209.85.208.175]:44873) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ov3hF-000375-7p for 59278@debbugs.gnu.org; Tue, 15 Nov 2022 16:42:24 -0500 Received: by mail-lj1-f175.google.com with SMTP id s24so19346041ljs.11 for <59278@debbugs.gnu.org>; Tue, 15 Nov 2022 13:42:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=brE2TfRuQOUk/bF43s8Wdkv9n5V04+HBVn83DISw3wM=; b=FECktvUcGTdjq0Fr8yjk0KFnP0tONqzLuPTesg8jmijXyi9z2a2KRR0LjbKaMwDLXi 7ywqz9CAhUpbORQhdrrz1T0HJjQec7ZdjVqQyDdXb0N4TAQjnyw+uwlm9QYIV3qBpuoR ZkOJHaUGFhcORg8JGkKXVhtAmoUc98Xlw7p7K81FHha8AnVAqoX369HfJ6qqN+yYS7ed P1DPCEqGmqbnCi0Q/zQo9QEJ9TH2WX5xxgFn17295WhQusfjGK42QeLfNs2GKuaHzxlJ BTXGesgC132fyLVGbmDCghq560fshKtHBt0ada61uwD0/X86qrGCemXdblqhXX7VBN4r bvIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=brE2TfRuQOUk/bF43s8Wdkv9n5V04+HBVn83DISw3wM=; b=X6qTqn+mrBeq/nABi+V2O9rBli1QJpXaIYDfAvQZNnd3kQKVJ+eOAsI4f6DmHkiRvl 2F0S1u7tbqGQLUHofs4O7HhXwmBy7p0secBDg0PfcEXOA0+NbSMOxA8EcBbYvCnMejcu Nm1PKwUAH4s7CDhDjA7HFr28O0Pzr1LGIypeqOj89OBJzUgZ7ie+c8EczBuRJY+1oEuh WMDZpZEwAgzFuUd5zK4PKoWW/92LzxNTp6lQSEKc4yk5bcCntGsO+fU8/deh4upm9lno G7+ZuyFVoV++2VFtKaxf00EWO1uOO0A4tgfGMo1vAesRkpVQGEMdVDuZ3BCUXWc/mhSM 472A== X-Gm-Message-State: ANoB5pnMJngDCgMH9BYbCXL8aIBPJl/PhcyGtJS+k7Lwko2X8uy381Nr ZzRhsRKtGBYO59IbwAhDk3JPwGjmaseP2p8WqaU= X-Google-Smtp-Source: AA0mqf674CkNnCsoP40sFUZhNw2TJb14VSzhDsj4mbltSbYlAU1yFVZG9kGLD5R+uwV4s4B/H4t2v2TpDD8XnKdGQk4= X-Received: by 2002:a05:651c:1584:b0:26f:b146:6226 with SMTP id h4-20020a05651c158400b0026fb1466226mr6334718ljq.345.1668548533861; Tue, 15 Nov 2022 13:42:13 -0800 (PST) MIME-Version: 1.0 References: <864jv0k3r9.fsf@gmail.com> In-Reply-To: <864jv0k3r9.fsf@gmail.com> From: bbb ee Date: Tue, 15 Nov 2022 22:42:02 +0100 Message-ID: Content-Type: multipart/alternative; boundary="000000000000a6c9e305ed893afd" 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668548599; 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=brE2TfRuQOUk/bF43s8Wdkv9n5V04+HBVn83DISw3wM=; b=KA9HaV55rU12va8phDE3WgjkswzdC3+7R70817bc24rRmGdjaSChraVU4ryumMdgqct22B eG+Z91ElafSBL3LlGeYnllKVL6f+2dN84HGkW3vKm/NDMP8uxPy26G0RgcsJHZCGDs9Fl5 BrCc2acdmIOLKvER2zDGg2APqgFsr893U0Aoewkbq44c0A72VUTfR+WRECUDeMq1O73bxk jHt7aziU3O+bnZViJTjEpf8jqX9/YSW8N+si8ddzwbxYFLDGkM5umDiGThORgIMeUokV1x 2aYCj6qwGFSoDCqkc31EeJHxqlPnTrSimb45upFHITOSzDEOLu6YJgcfUC4FpQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668548599; a=rsa-sha256; cv=none; b=NcgpmkMSI2RHv8Th8cRVaHEcXc9MeMxOjaIrv9CJsbwP2Rr4lcZA3ZJ0udA0YzdhqiONm8 WuR7auL8QwA0D7xOQVoNlu5R1BT2hYtpug3KJo6KD1Xbgdkch2ZvGCUsMn1am2i7mmh0Iw SjR0DZsYRuhgKT9+IR/jzXsr8xkP2SMIZx9MXI/rebqaCmkiL+qkNcj0aT70lgPQYyKP76 KFPmBVf8ZevLdG+TPpS2sLDE70OUJqqyjmfwxg/ECzobx+ARN4ruTGqhr672kducL/DzCh 1fgPmp3Nlb2LDEgFGtmOesHH48VjVHjTIA9t1G+5aJ9Fq6DbIVvSpu4CgnhSuA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=FECktvUc; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Spam-Score: 6.86 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=FECktvUc; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Queue-Id: 4A7D786B4 X-Spam-Score: 6.86 X-Migadu-Scanner: scn0.migadu.com X-TUID: jf4MeljTKgzj --000000000000a6c9e305ed893afd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable It is just a little confusing for newcomers to guix. If we really want to improve something, I think that could be to give a more rigorous specification of the guix command: in `guix search --help`, the documentation could be "Search for no hidden packages matching REGEXPS." in https://guix.gnu.org/manual/en/html_node/Invoking-guix-package.html#Invokin= g-guix-package, in the specification of the option -s : "-s regexp List the available packages whose name, synopsis, or description matches regexp " What exactly means "available" ? For example, available means no hidden guix package. And in Le mar. 15 nov. 2022 =C3=A0 15:54, zimoun a =C3= =A9crit : > Hi, > > On Tue, 15 Nov 2022 at 00:53, bbb ee wrote: > > > in commit c81457, how gcc-toolchain can depends a package who doesn't > > exists? > > The package exists, it is =E2=80=99hidden=E2=80=99 =E2=80=93 it means not= accessible at the CLI > level. The =E2=80=99inherit=E2=80=99 copies, so gcc-11 is also hidden, f= or instance. > > --8<---------------cut here---------------start------------->8--- > (define-public gcc-4.7 > [...] > (hidden-package > (package > (name "gcc") > (version "4.7.4") > > (define-public gcc-4.8 > (package (inherit gcc-4.7) > (version "4.8.5") > > [...] > > (define-public gcc-11 > (package > (inherit gcc-8) > (version "11.3.0") > --8<---------------cut here---------------end--------------->8--- > > The package =E2=80=99gcc=E2=80=99 by itself is not barely useful because = you also need > linker etc. Well, you usually need a complete toolchain, named > gcc-toolchain. ;-) > > See manual: < > https://guix.gnu.org/manual/devel/en/guix.html#The-GCC-toolchain> > > > So this is not a bug and I miss how what could be improved. Closing? > > Cheers, > simon > --000000000000a6c9e305ed893afd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
It is just a little confusing for ne= wcomers to guix. If we really want to improve something, I think that could= be to give a more rigorous specification of the guix command:

in `guix search --help`, the documentation could be "= ;Search for no hidden packages matching REGEXPS."

=
"
-s regexp

List the available packages whose name, synopsis, or description matches regexp

"
What exactly means=C2=A0 "available" ?=C2=A0= For example, available means no hidden guix package.

<= div>And in

Le=C2=A0mar. 15 nov. 2022 =C3=A0=C2=A015:54, zimoun &l= t;zimon.toutoune@gmail.com&= gt; a =C3=A9crit=C2=A0:
Hi,

On Tue, 15 Nov 2022 at 00:53, bbb ee <blasforr@gmail.com> wrote:

> in commit c81457, how gcc-toolchain can depends a package who doesn= 9;t
> exists?

The package exists, it is =E2=80=99hidden=E2=80=99 =E2=80=93 it means not a= ccessible at the CLI
level.=C2=A0 The =E2=80=99inherit=E2=80=99 copies, so gcc-11 is also hidden= , for instance.

--8<---------------cut here---------------start------------->8---
(define-public gcc-4.7
[...]
=C2=A0 =C2=A0 (hidden-package
=C2=A0 =C2=A0 =C2=A0(package
=C2=A0 =C2=A0 =C2=A0 =C2=A0(name "gcc")
=C2=A0 =C2=A0 =C2=A0 =C2=A0(version "4.7.4")

(define-public gcc-4.8
=C2=A0 (package (inherit gcc-4.7)
=C2=A0 =C2=A0 (version "4.8.5")

[...]

(define-public gcc-11
=C2=A0 (package
=C2=A0 =C2=A0(inherit gcc-8)
=C2=A0 =C2=A0(version "11.3.0")
--8<---------------cut here---------------end--------------->8---

The package =E2=80=99gcc=E2=80=99 by itself is not barely useful because yo= u also need
linker etc. Well, you usually need a complete toolchain, named
gcc-toolchain. ;-)

See manual: <https://guix.gnu.org= /manual/devel/en/guix.html#The-GCC-toolchain>


So this is not a bug and I miss how what could be improved.=C2=A0 Closing?<= br>
Cheers,
simon
--000000000000a6c9e305ed893afd--