GNU bug report logs - #62923
[PATCH core-updates] gnu: gcc-7, gcc-10, gcc-11: Hide packages.

Previous Next

Package: guix-patches;

Reported by: Simon Tournier <zimon.toutoune <at> gmail.com>

Date: Tue, 18 Apr 2023 10:16:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 62923 in the body.
You can then email your comments to 62923 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to ludo <at> gnu.org, guix-patches <at> gnu.org:
bug#62923; Package guix-patches. (Tue, 18 Apr 2023 10:16:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Simon Tournier <zimon.toutoune <at> gmail.com>:
New bug report received and forwarded. Copy sent to ludo <at> gnu.org, guix-patches <at> gnu.org. (Tue, 18 Apr 2023 10:16:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Simon Tournier <zimon.toutoune <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Simon Tournier <zimon.toutoune <at> gmail.com>
Subject: [PATCH core-updates] gnu: gcc-7, gcc-10, gcc-11: Hide packages.
Date: Tue, 18 Apr 2023 12:14:56 +0200
* 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





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Tue, 18 Apr 2023 11:28:02 GMT) Full text and rfc822 format available.

Notification sent to Simon Tournier <zimon.toutoune <at> gmail.com>:
bug acknowledged by developer. (Tue, 18 Apr 2023 11:28:02 GMT) Full text and rfc822 format available.

Message #10 received at 62923-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Simon Tournier <zimon.toutoune <at> gmail.com>
Cc: 62923-done <at> debbugs.gnu.org
Subject: Re: bug#62923: [PATCH core-updates] gnu: gcc-7, gcc-10, gcc-11:
 Hide packages.
Date: Tue, 18 Apr 2023 13:27:38 +0200
Hi,

Simon Tournier <zimon.toutoune <at> gmail.com> skribis:

> * gnu/packages/gcc.scm (gcc-7, gcc-10, gcc-11): Also inherit 'hidden?'
> properties.

Good catch.  Applied, thanks!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 17 May 2023 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 117 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.