From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kDHHAyANdGOp9AAAbAwnHQ (envelope-from ) for ; Tue, 15 Nov 2022 23:05:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sKPBAyANdGPGMwEA9RJhRA (envelope-from ) for ; Tue, 15 Nov 2022 23:05:20 +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 B35FB1F717 for ; Tue, 15 Nov 2022 23:05:19 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ov43D-00079P-UV; Tue, 15 Nov 2022 17:05:03 -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 1ov43C-000781-QN for bug-guix@gnu.org; Tue, 15 Nov 2022 17:05:02 -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 1ov43C-0001hr-Al for bug-guix@gnu.org; Tue, 15 Nov 2022 17:05:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ov43B-0003jK-SN for bug-guix@gnu.org; Tue, 15 Nov 2022 17:05:01 -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 22:05:01 +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.166854989814324 (code B ref 59278); Tue, 15 Nov 2022 22:05:01 +0000 Received: (at 59278) by debbugs.gnu.org; 15 Nov 2022 22:04:58 +0000 Received: from localhost ([127.0.0.1]:55446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ov438-0003iy-1a for submit@debbugs.gnu.org; Tue, 15 Nov 2022 17:04:58 -0500 Received: from mail-ot1-f45.google.com ([209.85.210.45]:38503) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ov434-0003ik-7Z for 59278@debbugs.gnu.org; Tue, 15 Nov 2022 17:04:56 -0500 Received: by mail-ot1-f45.google.com with SMTP id w26-20020a056830061a00b0066c320f5b49so9359738oti.5 for <59278@debbugs.gnu.org>; Tue, 15 Nov 2022 14:04:54 -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=/vxu1TMdMgZPULlqgvt0R4BWVQTqAjGtM3BpOZNaQyE=; b=kHjy1QLuozNIgt8Tq2gRrYd8Ys33pZ0dba+GGJLr4pfZPPWZydYG1ykRp8NhbGWz9p Qjky5pvgBGJ0Tcu0kX6yE3MKSPgDBqtT+QPKouqrYzgN5MpnC5m7fqa98Z1LKtqQ3j9b PLvsiKpPFNHzccw+XJ1TTbxvRIeUyo/oHhStji3dx/HqxJTb59p3MJ2BsHWHzqF7Qzlh cRyYbRfn++5iF9p/wyNynZs74dQfZohvXE9EV32NcvkSvPGhN75wx811Msdz8DF4e4SH xwP6lj0REvCwFaSuhoR6cd5kkwbkQaK1OSdPUA6zCYzamp4+PDg60W1zAlhHCNDLsOcr dgTQ== 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=/vxu1TMdMgZPULlqgvt0R4BWVQTqAjGtM3BpOZNaQyE=; b=ttGikkPpeTBjmTT8W7mFVGcPcgD2EomGCTi+L1wQ5aVo9iOgTc7TC+v75dpjUO+6q+ jgUiNmFKXNaRkOBRF43tFzoKdjBdAf/Vt8gR1A3riyn85vy/GXP3nSOjFNqAJvSfO/u6 Mq9vHUShdJ/tBpxb7+VP1u8ER5GL11/W7lAoFvAcJwLGA2q0aiuZtcd+51nzBXfhx0wa Tmdir/ltELaofcmPVh1wZXwwoeyp4uUL0MuYZ3SRe4PuLyjW2yiq+9+6V+tCaffamYgk RWBEeLesVffdqNm+Gsvi2NSPb5djlMze/LljhWVUtt+6C358686z7XNsO8qZ0D8GIYLH Vykg== X-Gm-Message-State: ANoB5pnFqsPR0bqiHSyPNk4rQoz/oH4RMzokYm8JUsoVgN410wtyxUOD dL2eZaJm45YXRuk7V2UPKnEft7v0JnEgGs93EbU= X-Google-Smtp-Source: AA0mqf7PuGrIXORCDHErmhmfumeBoV0zywm2wkXHYZpRvl92aLV4JwpjsCKio0CdmAUfq+oH/nbhSKJxXZ/gBxFYiVA= X-Received: by 2002:a05:6830:d13:b0:661:abab:aa4d with SMTP id bu19-20020a0568300d1300b00661ababaa4dmr9536688otb.382.1668549888590; Tue, 15 Nov 2022 14:04:48 -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 23:04:36 +0100 Message-ID: Content-Type: multipart/alternative; boundary="0000000000006648c105ed898b4e" 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=1668549919; 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=/vxu1TMdMgZPULlqgvt0R4BWVQTqAjGtM3BpOZNaQyE=; b=D3UvkW5/Q2aclMTvh2DxBuqRzKdlulTB+tBkmS7F2SDaEwIJtcWFIPn47zBLawMO9yKCPH /hyGHvR0cr1eBdLITK5Qi+CTCnlGy56eF/3F2oJEANhmQv71478Pqf/+Da7P025iVh37wg dqDS9S5mJW846/yVGMVWM1OHfklyKRSWNEumkIMLu2x3QUWeqZmB7qwCAczWgzoQLhIg5F 20yaWYSfCleuZ0//378CocDK5MFqqVbVkV2oZu0qk6thXc/XLXiIFmZn9i9vgClMgvoNui Im0yARNas7Y1kQJ7gen6ui6IHEOlpql7MpGTuMcRmtcCWTO61rfL2ZgF82yCNA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668549919; a=rsa-sha256; cv=none; b=MYyeCHkx0sLiWc4M/PmSl1D+c//ie4UG4PB5hGQni6aPt9cP2xOXCRLv0EIovjceH2OhRa F319Gp331g9sUQKIZahYyWBf+9r1viMGn0Ig8OywO861Y/O8lR5551pr2aTavjnrSq/o9y jO4vawHprK0fcu+DaldHt6JDpcUhMkiZ/1GYW+/x+EZGX6OZSWH/FICYYtkHZax1GcqHgy jD0b97JhnGPDCrFb/CK1MBbDRTUU4vkUHekaZN9zW+eFdfGtDD+cPLrjGAnKTvGMrauSDi E48bn72JYI+r7hb/swdMgoWkTPWOI19mZqSM+Tp2DseWuTWpBumXneu8WCAZ1Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=kHjy1QLu; 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: 7.36 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=kHjy1QLu; 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: B35FB1F717 X-Spam-Score: 7.36 X-Migadu-Scanner: scn0.migadu.com X-TUID: KlzIwa/fIajh --0000000000006648c105ed898b4e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable In the documentation, when it says "guix search" search matching package, if users don't find a package defined in .scm (hidden or no), users can consider it is a bug, because that doesn't match the behavior described in the specification (here, the manual and "guix search --help"). 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 > --0000000000006648c105ed898b4e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
In the documentation, when it says "guix search"= search matching package, if users don't find a package defined in .scm= (hidden or no), users can consider it is a bug, because that doesn't m= atch the behavior described in the specification (here, the manual and &quo= t;guix search --help").

Le=C2=A0mar. 15 nov. 2022 =C3=A0=C2=A015:54= , zimoun <zimon.toutoune@gma= il.com> 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
--0000000000006648c105ed898b4e--