1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-07 13:40:36 +02:00
Commit Graph

115 Commits

Author SHA1 Message Date
Ludovic Courtès
1ae20f03f4 gnu: Reference the inherited inputs values.
This commit was made by running this command:

  sed -e's/modify-inputs (package-\([a-z-]*\)inputs [a-zA-Z0-9-]\+)/modify-inputs \1inputs/g' -i gnu/packages/*.scm

… and then reverting individual hunks where the change would trigger unbound
variable warnings or other issues (such as ‘native-inputs’ is bound in the
body of the ‘inputs’ field, but it refers to the ‘native-inputs’ thunk defined
just above).

Change-Id: I6d94819f2809313fa1fbefc61897502ee7d66fab
2026-03-20 13:27:16 +01:00
Ludovic Courtès
2a50c9598b gnu: Reference the inherited ‘arguments’ value.
This commit was made by running this command:

  sed -e's/substitute-keyword-arguments (package-arguments [a-zA-Z0-9-]\+)/substitute-keyword-arguments arguments/g' -i gnu/packages/*.scm

… and then:

  1. reverting changes from ‘gnu/packages/rust.scm’ and
     ‘gnu/packages/java.scm’ since they would incur derivation changes and/or
     breakage;
  2. reverting the change for ‘gcc-final’ in ‘gnu/packages/commencement.scm’;
  3. reverting the change for ‘onnx-optimizer’, ‘openquest’, and ‘certbot’,
     which use ‘substitute-keyword-arguments’ for arguments that are not
     inherited (and thus ‘arguments’ would be unbound);
  4. reverting the change for ‘insight-toolkit-legacy’ and ‘wine64-staging’
     which make bogus assumptions about inherited arguments.

Change-Id: I122a7cf517b6b63cae38944b5d33ade4b1f5a89c
2026-03-20 13:27:15 +01:00
Efraim Flashner
8f0c4c348b gnu: gdb/pinned: Update to 17.1.
* gnu/packages/gdb.scm (gdb/pinned): Update to 17.1.
[arguments]: Remove the phase as requested in the TODO.

Change-Id: I3b479fc15c716b2f2e182184bddc035799d35bbf
2026-02-21 10:14:48 +01:00
Efraim Flashner
6196d926ef gnu: gdb: Update to 17.1.
* gnu/packages/gdb.scm (gdb): Refer to gdb-17.
(gdb-multiarch, gdb-minimal): Inherit from gdb.

Change-Id: I86504650834d06f193756891367366c8c76d4323
2026-02-21 10:14:48 +01:00
Efraim Flashner
8bb821e9da gnu: gdb: Reverse order of inheritance.
* gnu/packages/gdb.scm (gdb-14, gdb-15, gdb-16, gdb/pinned): Inherit
from gdb-17.

Change-Id: I3a5b52d0117361c9292b846ba1ef943c7b6ea19e
2026-02-21 10:14:48 +01:00
David Elsing
ee1614f4ae gnu: Add rocrand.
Adapted from the Guix-HPC channel (https://gitlab.inria.fr/guix-hpc/guix-hpc).

* gnu/packages/rocm-libs.scm: New file.
(%rocm-version): New variable.
(%rocm-libraries-url): New variable.
(rocm-libraries-monorepo): New variable.
(rocm-library-source): New procedure.
(rocrand): New variable.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2026-02-10 23:46:34 +01:00
David Elsing
a1180bdd43 gnu: Add rocgdb.
* gnu/packages/gdb.scm (rocgdb): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2026-02-10 23:46:33 +01:00
David Elsing
be11ca5316 gnu: Add rocdbgapi.
* gnu/packages/gdb.scm (%rocm-gdb-version): New variable.
(rocdbgapi): New variable.
(gdb-14): Prefix license with license:.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2026-02-10 23:46:33 +01:00
Yelninei
20810ace0e Reapply "gnu: gdb: Enable scripting when cross compiling."
This reverts commit 64429ac586.

* gnu/packages/gdb.scm (gdb-14)[native-inputs]: Only add guile when
cross-compiling.
(gdb/pinned): Keep old configure-flags to prevent rebuild.

Change-Id: I9c207f1071bbe97b9ca4a86abd77a86f46f84757
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2026-01-29 11:49:23 +02:00
Efraim Flashner
64429ac586 Revert "gnu: gdb: Enable scripting when cross compiling."
This reverts commit 1d9cf8758e.

This commit inadvertently caused many rebuilds.
2026-01-26 13:57:11 +02:00
Yelninei
1d9cf8758e gnu: gdb: Enable scripting when cross compiling.
Python detection failed because gdb was not able to find the flags for linking
with python.
Follow https://www.sourceware.org/gdb/wiki/CrossCompilingWithPythonSupport but
dispatch to pkg-config.

Guile detection was failing because gdb only tried the unprefixed pkg-config.
Also a native guile is needed to compile the scheme files.

Fixes guix/guix#5634.

* gnu/packages/gdb.scm (gdb-python-config): New procedure.
(gdb-14)[configure-flags]: Add --with-python
[#:phases]: Add a phase for guile detection.
[native-inputs]: Add guile-3.0.

Change-Id: I4a151ac292eba1472725a1535b72b9168bc10742
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #5645
2026-01-26 10:28:45 +01:00
Zheng Junjie
63e2092793 gnu: Add gdb-17.
* gnu/packages/gdb.scm (gdb-17): New variable.

Change-Id: Ie7fb65c2f0bee89b81cb2c7726e34bbf1c651492
Signed-off-by: Greg Hogan <code@greghogan.com>
2025-12-29 17:46:50 +00:00
Maxim Cournoyer
10482f731e Reapply "Update Maxim's email address."
This reverts commit a7db92d9b3, this time with
the more careful command, to avoid a world rebuild:

grep -rl --exclude-dir=build --exclude-dir=patches --exclude=ld-wrapper.in \
  --exclude=sitecustomize.py --exclude=guix-emacs.el maxim.cournoyer@gmail.com |
  xargs sed -i 's/maxim.cournoyer@gmail.com/maxim@guixotic.coop/g'

Change-Id: I0871f5cf9ace79e34e78e24154d0da6ea95a3a91
2025-09-18 13:44:12 +09:00
Maxim Cournoyer
a7db92d9b3 Revert "Update Maxim's email address."
This reverts commit d0d87a744d. Oops! This
caused a world rebuild.

Change-Id: I25fff644b2b61d0ee93d69b457b04c72b5b74d15
2025-09-18 12:07:31 +09:00
Maxim Cournoyer
d0d87a744d Update Maxim's email address.
The change was automated via:

  git grep -l maxim.cournoyer@gmail.com |
    xargs sed -i 's/maxim.cournoyer@gmail.com/maxim@guixotic.coop/g'

* .mailmap: New entry.

Change-Id: Iaa88b1e51c94159c49138fb43910badb990eb169
2025-09-18 08:05:19 +09:00
Andreas Enge
bc3ffbb512 gnu: gdb-multiarch: Update to 16.3.
* gnu/packages/gdb.scm (gdb-multiarch): Inherit from gdb-16 instead
of gdb-14.

Change-Id: I1c989e56ae5e8e359de77ebe02264ae4e64878b0
2025-07-30 14:31:56 +02:00
Andreas Enge
78775d179b gnu: gdb@12: Fix build on aarch64.
* gnu/packages/gdb.scm (gdb/pinned)[arguments]<#:phases>: Add
'patch-aarch64 only on aarch64.

Change-Id: I9715dfe53140bfc2adf56e7a165ea0a2c74e96a3
2025-07-18 20:17:53 +02:00
Andreas Enge
722bbc11f1 gnu: gdb: Swap inheritance between gdb@12 and gdb@14.
This does not change the derivations, but will make it easier to drop
the older version.

* gnu/packages/gdb.scm (gdb/pinned): Inherit from...
(gdb-14): ...this instead of vice versa.

Change-Id: I3e55e92edeba5710ba45e1d846eab6860e8c9436
2025-07-18 20:17:53 +02:00
Greg Hogan
e6cedf898e gnu: gdb: Update to 16.3.
* gnu/packages/gdb.scm (gdb-16): Update to 16.3.

Change-Id: Iee28cdcbb54d94f92424372ead633df9c3177a37
Signed-off-by: Zheng Junjie <z572@z572.online>
2025-04-21 22:36:54 +08:00
Zheng Junjie
16328e1052 gnu: Add gdb-16.
* gnu/packages/gdb.scm (gdb-16): New variable.
* gnu/packages/patches/gdb-16-hurd64.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.

Change-Id: I15fb50be38258ce99ddf260ada0b3f6304c8ed4a
2025-03-22 10:04:18 +08:00
Rutherther via Guix-patches via
98908e0777 gnu: gdb: Fix build of target-specific versions.
Since recently there has been a change to gdb package that introduced
configure-flags, three gdb packages broke, since they assumed there are no
configure-flags in gdb.  That means they produced the same gdb as gdb-14.

This patche fixes that by ensuring configure-flags are appended to original package.

* gnu/packages/embedded.scm (make-gdb-arm-none-eabi)[arguments]: Append
configure-flags to original flags.
* gnu/packages/gdb.scm (gdb-multiarch)[arguments]: Likewise.
* gnu/packages/gdb.scm (avr-gdb)[arguments]: Likewise.

Signed-off-by: Janneke Nieuwenhuizen <janneke@gnu.org>

Change-Id: Ia8748b86dc72197bd4eef307d091b6af44fc5611
2024-12-11 20:49:03 +01:00
Janneke Nieuwenhuizen
baf4a33307 gnu: Add gdb-15.2, with support for the 64bit Hurd.
* gnu/packages/patches/gdb-hurd64.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/gdb.scm (gdb-15): Use it in new variable.
(gdb-minmal-15): New variable.
(gdb/pinned): When building for the 64bit Hurd, set #:configure-flags to
"--enable-targets=i586-pc-gnu,x86_64-pc-gnu".

Change-Id: I52d28092be6c415b8668bb5a77d41c87df841351
2024-12-03 08:39:01 +01:00
Janneke Nieuwenhuizen
773aa7a60b gnu: gdb: Use G-expressions.
* gnu/packages/gdb.scm (gdb/pinned): Use G-expressions.
(gdb-minimal gdb-multiarch, avr-gdb): ): Update acordingly.

Change-Id: Ifcdc6a337ec9c4d5c4303082d207b657cbc34765
2024-11-15 11:43:54 +01:00
Maxim Cournoyer
bcc7655998 gnu: gdb: Import the correct set of modules.
* gnu/packages/gdb.scm (gdb) [arguments]
<modules>: Replace %default-gnu-imported-modules with %default-gnu-modules.

Change-Id: I0bf897af81c09ab7d00c1d06fb527633ed4c9bd8
2024-08-31 10:42:19 +02:00
Maxim Cournoyer
f59df1aa3c build-systems: gnu: Export %default-gnu-imported-modules and %default-gnu-modules.
Until now users would have to cargo cult or inspect the private
%default-modules variable of (guix build-systems gnu) to discover which
modules to include when extending the used modules via the #:modules argument.

The renaming was automated via the command:

  $ git grep -l %gnu-build-system-modules
    | xargs sed 's/%gnu-build-system-modules/%default-gnu-imported-modules/' -i

* guix/build-system/gnu.scm (%gnu-build-system-modules): Rename to...
(%default-gnu-imported-modules): ... this.
(%default-modules): Rename to...
(%default-gnu-modules): ... this.  Export.
(dist-package, gnu-build, gnu-cross-build): Adjust accordingly.

Change-Id: Idef307fff13cb76f3182d782b26e1cd3a5c757ee
2024-08-31 10:42:16 +02:00
Ludovic Courtès
f4dcf3018e gnu: gdb: Update to 14.2.
* gnu/packages/gdb.scm (gdb-14): Update to 14.2.

Change-Id: Iddf941655fe5550f6cd01978fd7998f193957ee1
2024-04-11 12:24:21 +02:00
Greg Hogan
75bad75367 gnu: gdb: Update to 14.1.
* gnu/packages/gdb.scm (gdb-12): Rename to ...
(gdb-14): ... and update to 14.1.
(avr-gdb, gdb-minimal, gdb-multiarch): Inherit from GDB-14.

Change-Id: I1396ba885fc97a8b0387a4b8e4c04ff018eba23f
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-02-27 11:51:07 +01:00
宋文武
ceff14b7cd gnu: Add gdb-multiarch.
* gnu/packages/gdb.scm (gdb-multiarch): New variable.
2023-08-28 18:01:07 +08:00
Janneke Nieuwenhuizen
ff690faf66 gnu: Use target-hurd?, system-hurd? instead of hurd-target?, hurd-system?.
* gnu/packages/hurd.scm (hurd-target?): Remove.
(hurd-system?): Move to...
* guix/utils.scm (system-hurd?): ...here.
* gnu/packages/*: Update all users, removing (gnu packages hurd) include where
now unused.
2023-06-17 14:38:32 +02:00
Efraim Flashner
f88591857e 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.
2023-05-07 19:29:42 +03:00
Ludovic Courtès
dd9b1a1c25 gnu: gdb: Change default to 12.x.
* gnu/packages/gdb.scm (gdb): Change to GDB-12.
2023-04-18 17:51:38 +02:00
Ludovic Courtès
6b5c21e043 gnu: gdb: Distinguish between the "pinned" and the "default" version.
* gnu/packages/gdb.scm (gdb/pinned): New variable.
* gnu/packages/rust.scm (rust)[native-inputs]: Use it instead of GDB.
2023-04-18 17:51:22 +02:00
Ludovic Courtès
664a222cac gnu: gdb: Remove Hurd patch.
The patch was useful for GDB 11 on the previous Hurd version that was
used; it's unnecessary on GDB 12 and GDB 11 has other build issues on
the current GNU/Hurd.

This change fixes "guix build gdb-minimal --target=i586-pc-gnu".

* gnu/packages/patches/gdb-fix-gnu-nat-build.patch: Remove.
* gnu/local.mk (dist_patch_DATA): Remove it.
* gnu/packages/gdb.scm (gdb-11)[arguments]: Remove 'patch-gdb/hurd' phase.
[inputs]: Remove "hurd-build.patch" input.
[supported-systems]: New field.
(gdb-12)[supported-systems]: New field.
2023-04-18 15:52:02 +02:00
Ludovic Courtès
b49fd5daab gnu: gdb-minimal: Update to 12.x.
* gnu/packages/gdb.scm (gdb-minimal): Rebase on GDB-12.
2023-04-18 15:52:01 +02:00
Ludovic Courtès
2842b383dd gnu: gdb: Use 'cross-mig' when targeting GNU/Hurd.
This is a followup to 2756d662aa.

* gnu/packages/gdb.scm (gdb-11)[native-inputs]: Use 'cross-mig' instead
of 'mig/32-bit'.
2023-04-18 15:52:01 +02:00
Kristian Lein-Mathisen
d60c9fbf95 gnu: Add avr-gdb.
* gnu/packages/gdb.scm (avr-gdb): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-11-07 20:32:32 +01:00
Greg Hogan
2eb2501d66 gnu: Add gdb-12.
* gnu/packages/gdb.scm (gdb-12): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-03 17:43:29 +02:00
Jan (janneke) Nieuwenhuizen
b1fd953114 gnu: gdb: Build fix for the Hurd.
This allows (cross-)building gdb-minimal for the Hurd.

* gnu/packages/patches/gdb-fix-gnu-nat-build.patch: New file, taken from
upstream.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/web.scm (gdb)[inputs]: When building for the Hurd, add it.
[arguments]: When building for the Hurd, apply it.
2021-11-21 22:27:14 +01:00
Maxim Cournoyer
2fc08ccde4 gnu: gdb: Update to 11.1 and remove gdb-9.2.
* gnu/packages/gdb.scm (gdb-10): Rename to...
(gdb-11): ... and update.  Update comment about disabled tests.
[origin]: Delete patch, integrated  upstream.
(gdb-9.2): Delete variable, no longer used.
(gdb): Set alias to gdb-11.
* gnu/packages/patches/gdb-hurd.patch: Delete file.
* gnu/packages/patches/gdb-9.2-sim-ppc-fno-common.patch: Likewise.
* gnu/local.mk (dist_patch_DATA): De-register them.
2021-11-11 12:18:24 -05:00
Maxim Cournoyer
8a613f9d4e gnu: gdb: Normalize indentation.
* gnu/packages/gdb.scm (gdb-10): Fix indentation and remove extraneous
newlines.  Remove trailing #t.
(gdb-minimal): Fix indentation.
2021-11-11 10:31:32 -05:00
Maxim Cournoyer
41f058d10d gnu: gdb: Patch references to /bin/sh and add debug output.
* gnu/packages/gdb.scm (gdb-10)[outputs]: Add a debug output.
[phases]{patch-paths}: New phase.
[inputs]: Add bash.
(gdb-9.2)[phases]{patch-paths}: Override phase.
2021-11-11 10:31:32 -05:00
Mathieu Othacehe
f4d3e7b82b gnu: gdb: Fix cross-compilation for Hurd.
* gnu/packages/patches/gdb-hurd.patch: Update it.
* gnu/packages/gdb.scm (gdb)[source]: Add it.
2021-10-05 19:20:25 +00:00
Thiago Jung Bauermann
ed756b4709 gnu: gdb-9.2: Fix build with GCC 10 on powerpc64le-linux.
* gnu/packages/patches/gdb-9.2-sim-ppc-fno-common.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/gdb.scm (gdb-9.2)[source]: Use it.
2021-10-01 09:42:54 +00:00
Marius Bakke
f034264204 Merge branch 'master' into core-updates
Conflicts:
	gnu/local.mk
	gnu/packages/bioinformatics.scm
	gnu/packages/django.scm
	gnu/packages/gtk.scm
	gnu/packages/llvm.scm
	gnu/packages/python-web.scm
	gnu/packages/python.scm
	gnu/packages/tex.scm
	guix/build-system/asdf.scm
	guix/build/emacs-build-system.scm
	guix/profiles.scm
2021-05-09 21:29:46 +02:00
Efraim Flashner
accb9fe6ac gnu: gdb-10: Update to 10.2.
* gnu/packages/gdb.scm (gdb-10): Update to 10.2.
2021-04-26 14:51:14 +03:00
Maxim Cournoyer
aa548d2469 gnu: gdb-8.2.1: Update to 9.2.
* gnu/packages/gdb.scm (gdb-8.2): Replace by...
(gdb-9.2): ... this.
2021-02-05 09:40:38 -05:00
Maxim Cournoyer
01f0707207 Merge branch 'staging' into 'core-updates'.
Conflicts:

	gnu/local.mk
	gnu/packages/cmake.scm
	gnu/packages/curl.scm
	gnu/packages/gl.scm
	gnu/packages/glib.scm
	gnu/packages/guile.scm
	gnu/packages/node.scm
	gnu/packages/openldap.scm
	gnu/packages/package-management.scm
	gnu/packages/python-xyz.scm
	gnu/packages/python.scm
	gnu/packages/tls.scm
	gnu/packages/vpn.scm
	gnu/packages/xorg.scm
2021-01-13 23:45:53 -05:00
Marius Bakke
5b6b1608b2 gnu: Remove gdb@9.
* gnu/packages/gdb.scm (gdb-9): Rename to ...
(gdb-10): ... this.  Update to 10.1.
[inputs]: Change from GUILE-2.0 to GUILE-3.0.
(gdb-8.2): Inherit from GDB-10.
[inputs]: Stick with GUILE-2.0.
(gdb-10): Remove variable.
(gdb): Point to GDB-10.
(gdb-minimal): Inherit from GDB.
2020-12-13 21:44:10 +01:00
Christopher Baines
ff01206345 Merge remote-tracking branch 'origin/master' into core-updates 2020-11-29 17:34:18 +00:00
Marius Bakke
32787d6524 Merge branch 'master' into staging
Conflicts:
	gnu/local.mk
	gnu/packages/gdb.scm
	gnu/packages/lisp-xyz.scm
	gnu/packages/web-browsers.scm
2020-11-07 21:33:32 +01:00