From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id +LlECfNyYmQZfAEASxT56A (envelope-from ) for ; Mon, 15 May 2023 19:59:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id KBoKCfNyYmQS5AAAauVa8A (envelope-from ) for ; Mon, 15 May 2023 19:59:15 +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 B801C17A4D for ; Mon, 15 May 2023 19:59:14 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pycTT-0002xG-L5; Mon, 15 May 2023 13:59: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 1pycTQ-0002oM-HE for bug-guix@gnu.org; Mon, 15 May 2023 13:59:05 -0400 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 1pycTN-0002kK-RN for bug-guix@gnu.org; Mon, 15 May 2023 13:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pycTN-0007Pm-Mh for bug-guix@gnu.org; Mon, 15 May 2023 13:59:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#59278: gcc@7 and higher are not hidden packages Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 15 May 2023 17:59: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: bbb ee Cc: 59278@debbugs.gnu.org Received: via spool by 59278-submit@debbugs.gnu.org id=B59278.168417352628475 (code B ref 59278); Mon, 15 May 2023 17:59:01 +0000 Received: (at 59278) by debbugs.gnu.org; 15 May 2023 17:58:46 +0000 Received: from localhost ([127.0.0.1]:44320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pycT7-0007PB-Ta for submit@debbugs.gnu.org; Mon, 15 May 2023 13:58:46 -0400 Received: from mail-wm1-f41.google.com ([209.85.128.41]:40048) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pycT5-0007Os-AT for 59278@debbugs.gnu.org; Mon, 15 May 2023 13:58:44 -0400 Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-3f4289f7c1cso14236345e9.0 for <59278@debbugs.gnu.org>; Mon, 15 May 2023 10:58:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684173517; x=1686765517; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=xQ+867zBrSxBR0uJ03NAIhIRQje18QZp7Oihp5bNdts=; b=CV+SDplz73hQH2UhVryyosP+wXoZqbXiJvZkIMn3nz797ayGWrFciBzBIUfjlMFUbG H1PJDEMy3QhcUu9e0CMjabDfKjNi0owEa2pVcWj+X7mIWxM/PyGLW4OqXAOsjKqlZENo laqW+wZjFureJFaw6thBKT9rTYcYGEMBV3yQvGtMvTD9Gr9y8exREk+bYjkm69+G17wW duUS5NdONf854p3zVjnAflsxiq/5vTS1/uQsXc/OoIskhQrYhLjmeN5EjGqVsHuuuPs6 uVAdLO0LzyEJXtPd5Uy6fZbrq+WF8Tlhy0M/mM0E/CkJv+T+FfZE8PNshZDUelyr2Z66 LeOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684173517; x=1686765517; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=xQ+867zBrSxBR0uJ03NAIhIRQje18QZp7Oihp5bNdts=; b=To5fBTPYvGZ0K7HOs3RxveFkagHtwEnQeSGu2Q7dsN9NBtTeBFk5miz0a6CHPYXYLT aRteQKUGY5hTSrt58rPUyBC81rEkxct4I1VMmTDE1AHZgOauyRK2fDpUfQevPdCzhoFO fuyc4P8dDZFdkFnS7Nv9y/BtQSVyPEpyTZ8OATeg79tWp7U1aiQmbs51dsGO5wcMKvOJ fSYrDvlD6gL5Oj7SdY2lvVSwvV+T6yaA0mn27jQtICQGqqbkzfPvdMek3S5fvlyNbWRa /jxHK/uvICeR46deKZLQDxoWD0E1D8eAB2uArnYiMkqlo4q3tCpP3v/RBbrY0T7TDMnS 8iLw== X-Gm-Message-State: AC+VfDxq2xn71HJekni1I/3z+aPrNL1lcToQ9BS3aOI/4T0q0A6LhPzT QPepV55DcjZsaFiZhjSOwGTEe+X/l1w= X-Google-Smtp-Source: ACHHUZ666YM5EVhxhi9TLmMxc8E43Bczh6hgvgfq28iDYBc7OAx2E1Mqc9lCEMz9i0i5e6PvNusHVQ== X-Received: by 2002:a05:600c:c10:b0:3f0:a845:f215 with SMTP id fm16-20020a05600c0c1000b003f0a845f215mr152918wmb.3.1684173517377; Mon, 15 May 2023 10:58:37 -0700 (PDT) Received: from lili (roam-nat-fw-prg-194-254-61-46.net.univ-paris-diderot.fr. [194.254.61.46]) by smtp.gmail.com with ESMTPSA id u10-20020a7bc04a000000b003f508777e33sm190572wmc.3.2023.05.15.10.58.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 May 2023 10:58:37 -0700 (PDT) From: zimoun References: Date: Mon, 15 May 2023 19:55:27 +0200 In-Reply-To: (bbb ee's message of "Tue, 15 Nov 2022 00:53:32 +0100") Message-ID: <86pm7132eo.fsf@gmail.com> 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684173554; a=rsa-sha256; cv=none; b=WuJMhiYM5kOOU2QqlnecXvL5Bm1IKH7uWLAjSEpXzoEvlXax8U0fzcPtIwu2mX4RY3602q t23WF5e9En1M5Z4Y5/vEGrFrVW3qAAldNclyYe3TE8mwDWv5UhCcckXpfx7jMIqlAkLDuR FYKYa4tis+rLuq8+ZQ3eRU4RsT4qnR2MHR5xWOU27bgmcXcYZEMnsDxzpiUi6UgZqYQqVw tAiow5cyamARLfx3LsuYOviPMv79uNExMZVN101LUCrcW0i1pWu7Ik6a+tIZUAVLt5S1l6 HOS6rj6yz/UEqLNa5uRTzHfXc0oakWXsyDoNemuXHUlbfEMB5hU/tCOaBmPOPQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=CV+SDplz; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1684173554; 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=xQ+867zBrSxBR0uJ03NAIhIRQje18QZp7Oihp5bNdts=; b=gFiwKYUjpMEb5nHiw7RLJuJPuKNDB/pfzUN92qqcwm+qIeqtJi2Vy/F9fpdorJeQMAtxWf l9uk8yN1G2CjCnhIc8M2yONqFg69PKlwMtyUBv7xwtmSbC/Wf+w0lPKQwNgZoEAxZ8mhGA dTVlayJgMAXEBHIe/KQY/xKkiHMLZXmCdk7VX19/1xyRK8Ik9MsLvZJL78Z7fj0wvN0jSZ AuAMw/kPsBgIJWwoJg7vk26+QGABq51vPjcnyHk5D0fOJKyYbfQB65WkpCekQVfLMmf1ef cj1h9r3o/dxYfz2eUz4Pu8VsJ2CY/dJ096fUaeJjF6R7mJgvlx7T0Tt4PAV4aQ== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=CV+SDplz; 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.31 X-Spam-Score: 7.31 X-Migadu-Queue-Id: B801C17A4D X-TUID: m6AC7IZyvN5a Hi, On Tue, 15 Nov 2022 at 00:53, bbb ee wrote: > in version c81457a5883ea43950eb2ecdcbb58a5b144bcd11 of guix, gcc-toolchai= n 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 c= 81457 > $ 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 exi= sts? Aside a minor point about documenting =E2=80=99hidden-packages=E2=80=99 alt= hough =E2=80=99hidden?=E2=80=99 is mentioned in section =E2=80=9C9.3 Defining Pac= kage Variants=E2=80=9C [1], the main issue is fixed by e1bf3c6b5a06b6dbbe4f5a8692ea638a0ce43511. Moreover, please note the section =E2=80=9C8.4 The GCC toolchain=E2=80=9D [= 2] in the manual explaining the confusion. Closing? 1: https://guix.gnu.org/manual/devel/en/guix.html#Defining-Package-Variants 2: https://guix.gnu.org/manual/devel/en/guix.html#The-GCC-toolchain Cheers, simon