From f88591857e68fd9df4acbb7d9addc07dc242f417 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 26 Apr 2023 11:32:38 +0300 Subject: gnu: gdb/pinned: Move to gdb-12.1. * gnu/packages/gdb.scm (gdb/pinned): Refer to gdb-12.1. [properties]: Hide the package. (gdb-12): Inherit from gdb/pinned. --- gnu/packages/gdb.scm | 28 ++++++++++------------------ 1 file changed, 10 insertions(+), 18 deletions(-) (limited to 'gnu/packages/gdb.scm') diff --git a/gnu/packages/gdb.scm b/gnu/packages/gdb.scm index 82050d9ac5..a8d8a86ea8 100644 --- a/gnu/packages/gdb.scm +++ b/gnu/packages/gdb.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013, 2014, 2015, 2019, 2020, 2023 Ludovic Courtès ;;; Copyright © 2015 Mark H Weaver -;;; Copyright © 2015, 2016, 2019, 2021 Efraim Flashner +;;; Copyright © 2015, 2016, 2019, 2021, 2023 Efraim Flashner ;;; Copyright © 2020 Marius Bakke ;;; Copyright © 2020 Vincent Legoll ;;; Copyright © 2020, 2021 Jan (janneke) Nieuwenhuizen @@ -45,17 +45,19 @@ #:use-module ((guix build utils) #:select (alist-replace)) #:use-module (srfi srfi-1)) -(define-public gdb-11 +(define-public gdb/pinned + ;; This is the fixed version that packages depend on. Update it rarely + ;; enough to avoid massive rebuilds. (package (name "gdb") - (version "11.1") + (version "12.1") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/gdb/gdb-" version ".tar.xz")) (sha256 (base32 - "151z6d0265hv9cgx9zqqa4bd6vbp20hrljhd6bxl7lr0gd0crkyc")))) + "1vczsqcbh5y0gx7qrclpna0qzx26sk7lra6y8qzxam1biyzr65qf")))) (build-system gnu-build-system) (outputs '("out" "debug")) (arguments @@ -140,15 +142,12 @@ doing while it runs or what it was doing just before a crash. It allows you to specify the runtime conditions, to define breakpoints, and to change how the program is running to try to fix bugs. It can be used to debug programs written in C, C++, Ada, Objective-C, Pascal and more.") - (license gpl3+) - - ;; GDB 11 now fails to build on GNU/Hurd (undefined references to process - ;; RPC stubs). - (supported-systems (fold delete %supported-systems %hurd-systems)))) + (properties `((hidden? . #t))) + (license gpl3+))) (define-public gdb-12 (package - (inherit gdb-11) + (inherit gdb/pinned) (version "12.1") (source (origin (method url-fetch) @@ -157,14 +156,7 @@ written in C, C++, Ada, Objective-C, Pascal and more.") (sha256 (base32 "1vczsqcbh5y0gx7qrclpna0qzx26sk7lra6y8qzxam1biyzr65qf")))) - - ;; GDB 12 builds fine on GNU/Hurd. - (supported-systems %supported-systems))) - -(define-public gdb/pinned - ;; This is the fixed version that packages depend on. Update it rarely - ;; enough to avoid massive rebuilds. - gdb-11) + (properties '()))) (define-public gdb ;; The "default" version. -- cgit v1.2.3