From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 0JLlEX5qc2OWtwAAbAwnHQ (envelope-from ) for ; Tue, 15 Nov 2022 11:31:26 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yC7oEX5qc2OqgQEA9RJhRA (envelope-from ) for ; Tue, 15 Nov 2022 11:31:26 +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 1C124E067 for ; Tue, 15 Nov 2022 11:31:25 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1outDc-0006ad-M4; Tue, 15 Nov 2022 05:31: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 1outDa-0006Ye-G9 for bug-guix@gnu.org; Tue, 15 Nov 2022 05:31: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 1outDa-0001bY-6i for bug-guix@gnu.org; Tue, 15 Nov 2022 05:31:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1outDa-0003Mi-0f for bug-guix@gnu.org; Tue, 15 Nov 2022 05:31: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 10:31: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: Julien Lepiller Cc: 59278@debbugs.gnu.org Received: via spool by 59278-submit@debbugs.gnu.org id=B59278.166850821512852 (code B ref 59278); Tue, 15 Nov 2022 10:31:01 +0000 Received: (at 59278) by debbugs.gnu.org; 15 Nov 2022 10:30:15 +0000 Received: from localhost ([127.0.0.1]:53053 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1outCo-0003LC-Bl for submit@debbugs.gnu.org; Tue, 15 Nov 2022 05:30:14 -0500 Received: from mail-lj1-f179.google.com ([209.85.208.179]:44986) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1outCm-0003Ky-VW for 59278@debbugs.gnu.org; Tue, 15 Nov 2022 05:30:13 -0500 Received: by mail-lj1-f179.google.com with SMTP id s24so16909192ljs.11 for <59278@debbugs.gnu.org>; Tue, 15 Nov 2022 02:30:12 -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=Hz0l4Qd40vcAx2qFprt0JypcW5yIM3iRUsMAwe/GNqY=; b=bTCcU8ZTa12H24EPQZDpSMwSTZyfMdlvf2GXwTMZ95ZzUbZDvCzjYKiPbbGNDe9DXa Twrp9PwlktSwNgBZ4huU1+7h22buArOY8peCuwKnmG6u/N23iDnVgirquTraSbt2nXZR WPl6pKRVtM7W2vD88vDpW9PMYUwW2MO1f0oL6umv8RZJGv2Q3pAdwAWXUPHI0lqADIWB hekI3xknpQWSo9gN5ijdT2K8Wd5Tf/sNJo3EpjEWSWtBgMWZPZVFL0oi0JIE9d7530P1 5TuQPq0oUxhXbKiKj7woTk0kpGHigC3qZfgG3DwGoeA698Kt1lndebD9l/Iyq1V0jS3N Dm0w== 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=Hz0l4Qd40vcAx2qFprt0JypcW5yIM3iRUsMAwe/GNqY=; b=l2JM0PJkSBpGEFjyk7ByF8OUemVRvKB20rkAQUw6FYVtfycMeIZYekNaPTTCQ1BoE1 +yyA3kSSjOmKId015l0wmaJeON0yF5CUWl6moX+mcvnV4U4WJDQ2LlxSproPmWKaZXQB pJh8/6u69V9ccOy22FsdeEsmjNWbZldkIw6LpxnR5y6MxoHaKIf6ILpcvilBvWKItorq MwJbwpfeYMFacxEDMAami0iT1LktvlPWvhx4tj2/fPlztWVgfe6HflN2siUsnz2/UvmN HcQ1UyGlKRBTeP3nFYR7Sg5fyINS0ILOP7jtCmDJ5b0IVeDjKV49zN94tTyJsEpd5Ebq N1zg== X-Gm-Message-State: ANoB5pm6fKUMIIsby9qkaHCB1BHvkbgsIdSKw0vLr/9Ec2h49MdV8/Xx 92QTnn5yXr88iVwCIlUmMe++iUJHIG7iraSrdYE= X-Google-Smtp-Source: AA0mqf5j5glHSgzQtq7CSHlThUioqZlse9vrGQBAol+iCO4T7OoUFxfMfOhsx9d4S4qn2906H/4LcOdVUxkdGQ3hrqI= X-Received: by 2002:a05:651c:2106:b0:267:9d30:5ba with SMTP id a6-20020a05651c210600b002679d3005bamr5529272ljq.284.1668508205765; Tue, 15 Nov 2022 02:30:05 -0800 (PST) MIME-Version: 1.0 References: <83ED95D5-441E-43FB-9BBD-93338342E07A@lepiller.eu> In-Reply-To: <83ED95D5-441E-43FB-9BBD-93338342E07A@lepiller.eu> From: bbb ee Date: Tue, 15 Nov 2022 11:29:54 +0100 Message-ID: Content-Type: multipart/alternative; boundary="000000000000e8d86c05ed7fd60a" 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=1668508285; 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=Hz0l4Qd40vcAx2qFprt0JypcW5yIM3iRUsMAwe/GNqY=; b=DbUrlOO39tSl6JtoJdU85h2FjI/nIoWklN2vxx/8s2mjEzFpwAnA8AT8S1CrZHB2MtjnyG RjOC7R6wgTVcuoXP5DeArPvB/D62KXOFIKzysogS+y2kyEJRqMDGFaO4CxHsZrag9cZCZY 8/CXCcIMgExSMZcZQJnSU0BvszYXm9gmmKGq/W/cwCvSVyjxeIOLTHxi1HUn3vzxu4RwbL RwO0NTFPO/qpJKp9kYXtsjLZODSXVJH6sbDEDYKQIzPYSaH/KvljayeUQCII/+3XvQp9W1 ZtalCTq75C94l3MxJQIzxk+HJhg+AUX42kR1if9KBJJjciclBWmVvxQqh+7pvg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668508285; a=rsa-sha256; cv=none; b=dcIjkNB2WoWgnXaiCiliXkCYve/85s/FA+S9ZKL3xGUwxYy1N0kl1I6H95A0Eamg/ngO1l Ae8N8IoA0Y6fDtJeGz+lDWov5+n4YJqAiOH32xxRUvjMEENXgA9scYjgFS0cPmYo3fJ3Rg bejugkzNGGKauWnlMP7l0EDtREwpiW0rL2ae6aNOKDAq6E4GNUx8mf//2W3YVJ5/V0JQL4 tOVXMTBs5Z6MDnpAjaQ8sH+zVjPzgFaNLgh1Ff26B43r26EB4dafLrY4P+p3O9pD8JyoHU S6Yi+p0orsQxS+1bZR5eIoEKUVK/X4FeAjkxM41Qd7+o6ktWZ6q8o8faDeY7OQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=bTCcU8ZT; 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.16 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=bTCcU8ZT; 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: 1C124E067 X-Spam-Score: 6.16 X-Migadu-Scanner: scn0.migadu.com X-TUID: yy3Equz7D1zr --000000000000e8d86c05ed7fd60a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks, I close the issue Le mar. 15 nov. 2022 =C3=A0 07:27, Julien Lepiller a = =C3=A9crit : > Hi, > > This is not a bug. The gcc package exists, but is hidden from CLI on > purpose because you shouldn't install it and use it directly. You should > use gcc-toolchain instead. > > Le 15 novembre 2022 00:53:32 GMT+01:00, bbb ee a > =C3=A9crit : >> >> in version c81457a5883ea43950eb2ecdcbb58a5b144bcd11 of guix, >> gcc-toolchain depends gcc: >> ``` >> $ DEFAULT_CHANNELS=3D/tmp/default_channels.scm >> $ echo "%default-channels" > $DEFAULT_CHANNELS >> # I force guix to use only %default-channels here >> $ guix time-machine --commit=3Dc81457a5883ea43950eb2ecdcbb58a5b144bcd11 = -C >> $DEFAULT_CHANNELS -- search gcc-toolchain >> guile: warning: failed to install locale >> name: gcc-toolchain >> version: 9.3.0 >> outputs: out debug static >> systems: x86_64-linux i686-linux >> dependencies: binutils@2.32 gcc@9.3.0 glibc@2.29 ld-wrapper@0 >> ``` >> >> >> However, I can't find gcc package in this version of guix >> ``` >> $ guix time-machine --commit=3Dc81457a5883ea43950eb2ecdcbb58a5b144bcd11 = -C >> $DEFAULT_CHANNELS -- search gcc >> # no found gcc >> >> # guix install failure message confirm that gcc doesn't exist in commit >> c81457 >> $ guix time-machine --commit=3Dc81457a5883ea43950eb2ecdcbb58a5b144bcd11 = -C >> $DEFAULT_CHANNELS -- install gcc -p ~/opt/python-dev_3_7 >> guile: warning: failed to install locale >> guix install: error: gcc: unknown package >> ``` >> >> in commit c81457, how gcc-toolchain can depends a package who doesn't >> exists? >> > --000000000000e8d86c05ed7fd60a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks, I close the issue

Le=C2=A0mar. 15 nov. 2022 =C3= =A0=C2=A007:27, Julien Lepiller <j= ulien@lepiller.eu> a =C3=A9crit=C2=A0:
Hi,

This is not a bug. The gcc pa= ckage exists, but is hidden from CLI on purpose because you shouldn't i= nstall it and use it directly. You should use gcc-toolchain instead.
Le 15 novembre 2022 00:53:32 GMT+01:00, bbb ee = <blasforr@gmail.= com> a =C3=A9crit=C2=A0:
in version c81457a5883ea43950eb2ecdcbb58a5b144bcd11 of gui= x, gcc-toolchain depends gcc:
```
$ DEFAULT_CHANNELS=3D/tmp/default_c= hannels.scm
$ echo "%default-channels" > $DEFAULT_CHANNELS<= br># I force guix to use only %default-channels here
$ guix time-machine= --commit=3Dc81457a5883ea43950eb2ecdcbb58a5b144bcd11 =C2=A0-C $DEFAULT_CHAN= NELS -- search gcc-toolchain
guile: warning: failed to install localename: gcc-toolchain
version: 9.3.0
outputs: out debug static
syst= ems: x86_64-linux i686-linux
dependencies: binutils@2.32 gcc@9.3.0 glibc= @2.29 ld-wrapper@0
```


However, I can't find gcc package = in this version of guix
```
$ guix time-machine --commit=3Dc81457a588= 3ea43950eb2ecdcbb58a5b144bcd11 =C2=A0-C $DEFAULT_CHANNELS -- search gcc
= # no found gcc

# guix install failure message confirm that gcc doesn= 't exist in commit c81457
$ guix time-machine --commit=3Dc81457a5883= ea43950eb2ecdcbb58a5b144bcd11 -C $DEFAULT_CHANNELS -- install gcc -p ~/opt/= python-dev_3_7
guile: warning: failed to install locale
guix install:= error: gcc: unknown package
```

in commit c81457, how gcc-toolch= ain can depends a package who doesn't exists?
--000000000000e8d86c05ed7fd60a--