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 ms9.migadu.com with LMTPS id SLRoE/ZtPmS6fQEASxT56A (envelope-from ) for ; Tue, 18 Apr 2023 12:16:22 +0200 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 SMV6E/ZtPmSEhQEA9RJhRA (envelope-from ) for ; Tue, 18 Apr 2023 12:16:22 +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 B971D3A16C for ; Tue, 18 Apr 2023 12:16:21 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1poiNf-0006xR-19; Tue, 18 Apr 2023 06:16:11 -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 1poiNX-0006wW-NU for guix-patches@gnu.org; Tue, 18 Apr 2023 06:16: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 1poiNW-0001YP-ME; Tue, 18 Apr 2023 06:16:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1poiNW-00052Q-7o; Tue, 18 Apr 2023 06:16:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62923] [PATCH core-updates] gnu: gcc-7, gcc-10, gcc-11: Hide packages. Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: ludo@gnu.org, guix-patches@gnu.org Resent-Date: Tue, 18 Apr 2023 10:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62923 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62923@debbugs.gnu.org Cc: Simon Tournier , ludo@gnu.org X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: ludo@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168181291919285 (code B ref -1); Tue, 18 Apr 2023 10:16:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Apr 2023 10:15:19 +0000 Received: from localhost ([127.0.0.1]:57867 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1poiMo-00050z-Kw for submit@debbugs.gnu.org; Tue, 18 Apr 2023 06:15:18 -0400 Received: from lists.gnu.org ([209.51.188.17]:49438) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1poiMn-00050r-FS for submit@debbugs.gnu.org; Tue, 18 Apr 2023 06:15:17 -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 1poiMc-0006ms-1b for guix-patches@gnu.org; Tue, 18 Apr 2023 06:15:11 -0400 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1poiMX-0001GF-GS for guix-patches@gnu.org; Tue, 18 Apr 2023 06:15:02 -0400 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-3f17b5552e9so385815e9.1 for ; Tue, 18 Apr 2023 03:15:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681812899; x=1684404899; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=T01tdOsJAvIWkFmoGhAKQBNoH5CY5XKdWY7FZ7Avss8=; b=B8BDfupzvAMnXn8s2mKuramw8vA3VXf3wV+blQ5ZquEfTxgjd20hJVzXeQTLZksaAh SdPFb5Mzjv9F6WQ1XKSIZ1eRhzOhDzWyM2U8eGRojSFQcBLs1v+lu1VQ353vMfp5FvZ7 m7HbwPMpA5IAijKyD/Xhzge9TMqRK6+KX6OIguZmlro2LpXDcnCHir6XdruY/uvH7a4c m2T+FyYiCouCoBePE/+hNe+1qNw9aYdRopaMJCgIHxe52Si57yvHJjX6ypH3nGAkTObK wkGES0V0dztZV4rrNgJRGXkB9hA08uji5O1Nn5PXmwnbE7eww4rxQaFXgSWiM0AxZgys 38Kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681812899; x=1684404899; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=T01tdOsJAvIWkFmoGhAKQBNoH5CY5XKdWY7FZ7Avss8=; b=UDd2CuZ2aVmaP1OAVV1+AiLy0uKfAfU2RFNbCJY58zH/1hC7/AVVmNQrtdQYK1mBab 7xBYf5XpAtrO3sT3ds7Pr/Zngiryg60baAi7A6CqtJ5bk74wx4vx5tcc8zGD/+bBKFfY lfklAuEzHZA0OACghlR0OpP7MvWiz91Y2nKPUpn2lBxMDPVJQxIPMaVsaXTr2U7+VqDF OqwRJ7xiAUpVXPMxrADvyCNbTf4d/ZxE1yMawy+0cbuo/XjL4IbgCwyko4XqD98YfPI6 sw4on8yXZoL0BonVdebIqTQxS95ys/mMiD88PXHQfaZOvR4EvFSHgR9o2dPNLQ91xC38 zuZg== X-Gm-Message-State: AAQBX9f6sq/sc8F+s9HPbLIH+z56KXp+fM2HItKFiU/Q18FyhTX3aVsJ uTxZckd2hS7gaKNCadKQj+K8kEU3CAE= X-Google-Smtp-Source: AKy350bAHmCbG8Lnc8fncXVRvg0QTL91AIeC2otILrVoPStp00QXTL6sDu5a9qlBmEfXlmwON2aPsg== X-Received: by 2002:a05:600c:1d11:b0:3f1:7138:91ee with SMTP id l17-20020a05600c1d1100b003f1713891eemr6018370wms.2.1681812899575; Tue, 18 Apr 2023 03:14:59 -0700 (PDT) Received: from localhost.localdomain ([193.48.40.117]) by smtp.gmail.com with ESMTPSA id a7-20020adfed07000000b002fb2782219esm3551415wro.3.2023.04.18.03.14.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Apr 2023 03:14:59 -0700 (PDT) From: Simon Tournier Date: Tue, 18 Apr 2023 12:14:56 +0200 Message-Id: <20230418101456.1479034-1-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x331.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1681812982; a=rsa-sha256; cv=none; b=eMzhpyRykGnFUW2rP9lXJuzWFrVB8M9Lc1a5H/NjbC9BV1idqDx1fmtnBkwGHWRG53F3fb 3kpIWszug2Ew9w2ZPQxYV5mOxNEiRh71ofPFj+BdH/DIpJpwEgxPUJJfE44TK17AzU2XuC 8V+h5SRFd+TZDFsufnOFGrGmWt6d+kbLS2qwnyZy4tpB5/Q5Mev/AEc4hvdCsGt84RhJDx RU42Fne39IvyvX6TVjeB+nCIAbwUpBWz6oLyv2ZWLFN+SjhV7XVuNM6DQLGOmjkyhlnCAy 4VUgyOVB4WE+36KNAvcA/LYWYFNH0Xybnaac6epufkqLZuuUmkRpIXteB1oLkA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=B8BDfupz; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1681812982; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=T01tdOsJAvIWkFmoGhAKQBNoH5CY5XKdWY7FZ7Avss8=; b=SXpXrWmmT4NTn4qNP51H9GApcgEqV+TGm1GwTzS+TcPoH/hHzuKEGrgwr/itI4/bQQqTNx OQiXHiy6dEGJTtG3mFRH/+cHvkQyHd9zwgqP7pohFTQCxjyREVf6bu02Y/sTMO2RmqZA1G ujISeRLz12+itbtriIfPebMCM2TE/DUke4CU8y2jBAVqfQNHA9MAz8kXMH2FvFBWf9FW7L bGqzCr9VQDGVAyq5P+JR3OYWnxPljCM9frAXq/uqSe1lXfaU0AlMSATEaEis9tWM1rFqZ2 XyxqxYTxqftj9kh9dg6F1CVDWpgBgJvlo7PXbSINlxn4sFJ6fItc3yE6igXdhA== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -0.32 X-Spam-Score: -0.32 X-Migadu-Queue-Id: B971D3A16C Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=B8BDfupz; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-TUID: X3Z5B++OoXRv * gnu/packages/gcc.scm (gcc-7, gcc-10, gcc-11): Also inherit 'hidden?' properties. --- gnu/packages/gcc.scm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) Hi, This fixes annoyance and does not trigger any rebuild. The package 'gcc' whatever its version should be visisble from the command line. The initial, (hidden-package (package (name "gcc") (version "4.7.4") had been lost when inheriting, introduced by commit 2576e2019d2f5049ad3dc51404c7e991af45d1d6: gnu: gcc: Add 'compiler-cpu-architectures' property. * gnu/packages/gcc.scm (%gcc-7.5-x86_64-micro-architectures) (%gcc-10-x86_64-micro-architectures): New variables. (gcc-7, gcc-10): Add 'properties' field. * gnu/packages/commencement.scm (make-gcc-toolchain): Likewise. Cheers, simon diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm index 5b1ef83ce6..b7d15d0730 100644 --- a/gnu/packages/gcc.scm +++ b/gnu/packages/gcc.scm @@ -632,7 +632,8 @@ (define-public gcc-7 `((compiler-cpu-architectures ("aarch64" ,@%gcc-7.5-aarch64-micro-architectures) ("armhf" ,@%gcc-7.5-armhf-micro-architectures) - ("x86_64" ,@%gcc-7.5-x86_64-micro-architectures)))))) + ("x86_64" ,@%gcc-7.5-x86_64-micro-architectures)) + ,@(package-properties gcc-6))))) (define-public gcc-8 (package @@ -688,7 +689,8 @@ (define-public gcc-10 `((compiler-cpu-architectures ("aarch64" ,@%gcc-10-aarch64-micro-architectures) ("armhf" ,@%gcc-10-armhf-micro-architectures) - ("x86_64" ,@%gcc-10-x86_64-micro-architectures)))))) + ("x86_64" ,@%gcc-10-x86_64-micro-architectures)) + ,@(package-properties gcc-8))))) (define-public gcc-11 (package @@ -722,7 +724,8 @@ (define patch `((compiler-cpu-architectures ("aarch64" ,@%gcc-11-aarch64-micro-architectures) ("armhf" ,@%gcc-11-armhf-micro-architectures) - ("x86_64" ,@%gcc-11-x86_64-micro-architectures)))))) + ("x86_64" ,@%gcc-11-x86_64-micro-architectures)) + ,@(package-properties gcc-8))))) (define-public gcc-12 (package base-commit: 39ec7b86c0730f07da01f008f85287c05efde1bc -- 2.38.1