1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

714 Commits

Author SHA1 Message Date
John Kehayias
dceb57d6d9 gnu: glibc: Merge with glibc/hurd.
* gnu/packages/base.scm (%glibc-patches): Merge with patches from glibc/hurd.
(glibc/hurd): Set to glibc.
* gnu/local.mk (dist_patch_DATA): Remove a patch.

Change-Id: I68d9d58a9974368b85d05eb1a30bf812524d5af4
2026-03-30 10:36:24 +03:00
John Kehayias
f571658b70 gnu: glibc: Ungraft.
* gnu/packages/base.scm (%glibc-patches): Add patch.
(glibc)[replacement]: Remove.
(glibc/fixed): Remove variable.

Change-Id: Idb2e194ddc5a777eed913a25a2f59114da26cea2
2026-03-30 10:36:24 +03:00
Ludovic Courtès
d940f695e4 gnu: glibc@2.33: Fix build.
This fixes a regression introduced in 2a50c9598b.

* gnu/packages/base.scm (glibc-2.33): Inherit from ‘glibc’, not ‘glibc-2.35’.

Change-Id: I8ff44043c232ebefa900ace8cead4481882115c2
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #7354
2026-03-25 23:51:25 +01:00
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
Andy Tai
11812b6dcb gnu: hello: Update to 2.12.3.
* gnu/packages/base.scm (hello): Update to 2.12.3.

Change-Id: Ia510c8c299b77d10ba949da03e68fd2be731b296
Signed-off-by: Andreas Enge <andreas@enge.fr>
2026-03-19 11:01:20 +01:00
Yelninei
66aaff3336 gnu: diffutils: Reenable tests on the 64bit Hurd.
* gnu/packages/base.scm (diffutils): Reenable test-c-stack and test-c-stack2 gnulib test.

Change-Id: I6bac2582053c5180fe8c3a803b6e8218c0df653b
2026-03-06 19:16:39 +01:00
Yelninei
1ef02c25ed gnu: coreutils: Reenable tests on the 64bit Hurd.
* gnu/packages/base.scm (coreutils): Don't skip
tests/misc/sort-NaN-infloop.sh.
gnulib-tests no longer hang but XFAIL instead.

Change-Id: I9ea21d9522a16058b59f35ea7aae81c5ee1cee24
2026-03-06 19:16:39 +01:00
Yelninei
c7f7cdd321 gnu: make-glibc-locales: Fix build on the Hurd.
* gnu/packages/base.scm (make-glibc-locales): Remove inherited phases from glibc.

Change-Id: I1400bd8396944780bf273148d0aaed909585fcb1
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #5842
2026-02-27 23:53:59 +01:00
Dariqq
3e9338b923 gnu: Use (target-32bit?) to test for 32bit targets.
* gnu/packages/*.scm: Replace usage of target-64bit? when actually testing for
32bit targets.
* guix/utils.scm (target-hurd32?). Same.

Change-Id: If3ed2b82a1229b72b07fafc694eedc14080e5a04
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #5710
2026-02-20 22:34:56 +01:00
John Kehayias
d659fe8666 gnu: glibc: Graft with fix for unsafe env variable [security-fixes].
Before this change, the environment variable GUIX_LOCPATH is not in the unsafe
variable list, meaning that it is not unset in a privileged environment.  This
could lead to potential security issues.  A CVE number is pending for this
issue.  A similar upstream glibc issue was CVE-2023-4911.

* gnu/packages/base.scm (glibc)[replacement]: Add field to graft with ...
(glibc/fixed): ... this new package.
* gnu/packages/patches/glibc-guix-locpath.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Change-Id: I74d87ce543bfba7d5f424efb2b87926ca336c725
Reported-by: "Stefan" <stefan-guix@vodafonemail.de>
2026-02-20 01:08:07 -05:00
Efraim Flashner
e5b9f51519 gnu: tar: Skip another test on powerpc-linux.
* gnu/packages/base.scm (tar)[arguments]: Adjust the make-flags to skip
another test on powerpc-linux.

Change-Id: I2916375ba035bae7a6809b033b6b391079aa6f87
2025-11-24 19:09:39 +02:00
Yelninei
04ad78093a gnu: grep: Don't override XFAIL_TESTS on 32bit Hurd.
Some tests in grep are marked as XFAIL.
Setting XFAIL_TESTS will cause these to fail.

Fixes guix/guix#4083.

* gnu/packages/base.scm (grep)[arguments]: Move skipping of test-year2038 on
32bit hurd from make-flags to a phase.

Change-Id: I4e42fe64f7ff8213bf43147c9e444891d3bedb91
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-11-06 23:29:46 +01:00
Yelninei
7d488fec76 gnu: glibc/hurd: Add patches from glibc 2.42.
* gnu/packages/base.scm (glibc/hurd): Remove intr-msg-clobber.patch, add
signal-fpe-exception.patch and xstate.patch.
gnu/packages/patches/glibc-hurd-signal-fpe-exception.patch, gnu/packages/patches/glibc-hurd-xstate.patch : New patches
* gnu/local.mk (dist_patch_DATA): Register them.

Change-Id: Ib5b38f1fb8b43d76ec236232be8ff7552dad7422
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-11-03 17:18:38 +01:00
Yelninei
e639447fc1 gnu: Use target-hurd32? to check for 32bit hurd targets.
* gnu/packages/base.scm (grep, tar, patch, diffutils, findutils): Use target-hurd32?.
* gnu/packages/linux.scm (util-linux): Same.

Change-Id: I65c4df3483530ee395a39dd3b7462980321383dd
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-11-03 17:18:38 +01:00
Yelninei
1eafd8c00e gnu: coreutils: Skip another test on the Hurd.
This test fails after 9051aa1bd1.
Previously it got skipped because the mtab file was not found.

* gnu/packages/base.scm (coreutils): Skip 'cp/parent-perm-race' test on Hurd systems.

Change-Id: I5c33cf585878b802a66bb763d5e94eca6a82a6ca
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-11-03 17:18:38 +01:00
Maxim Cournoyer
267c864822 Revert "gnu: binutils: Fix indentation."
This reverts commit afe80d2a63.
2025-10-30 16:20:03 +09:00
Maxim Cournoyer
b6323d3f1a Revert "gnu: binutils: Do not compress debug sections."
This reverts commit 3410d8bdc8.
2025-10-30 16:20:02 +09:00
Maxim Cournoyer
95b64bbaee Revert "gnu: binutils: Enable zstd compression."
This reverts commit 16f0f497cd.
2025-10-30 16:20:01 +09:00
Maxim Cournoyer
63d395cf61 Revert "gnu: binutils: Use zstd compression level 19."
This reverts commit 87a23070f2.
2025-10-30 16:20:00 +09:00
Maxim Cournoyer
87a23070f2 gnu: binutils: Use zstd compression level 19.
* gnu/packages/base.scm (binutils) [#:phases]
{use-zstd-compression-level-19}: New phase.
(binutils-gold) [#:phases]
{use-zstd-compression-level-19-for-gold}: New phase.

Change-Id: I0e75329bb231dba39db61a880eb306c58c0acc11
2025-10-30 16:13:01 +09:00
Maxim Cournoyer
16f0f497cd gnu: binutils: Enable zstd compression.
* gnu/packages/base.scm (binutils) [native-inputs]: Add pkg-config.
[inputs]: Add zstd:lib.
(binutils-gold) [#:phases] {set-LD_LIBRARY_PATH}: New phase.

Change-Id: I344242724b5978c98dd20d8309de02702e78cf9a
2025-10-30 16:13:01 +09:00
Maxim Cournoyer
3410d8bdc8 gnu: binutils: Do not compress debug sections.
This is in preparation to a new phase which will deduplicate debug symbols
with dwz (and compress them after via objcopy).

* gnu/packages/base.scm (binutils) [#:configure-flags]: Remove
--enable-compressed-debug-sections=all.

Change-Id: I992bc680f3e5f7bb6b7aae81e9311352745402cf
2025-10-30 16:13:01 +09:00
Maxim Cournoyer
afe80d2a63 gnu: binutils: Fix indentation.
* gnu/packages/base.scm (binutils): Fix indentation.

Change-Id: Icd8d298e00ae6c826aaef5f4e59688b6d8374b9e
2025-10-30 16:13:01 +09:00
Andreas Enge
5d3db67cf6 gnu: Remove glibc-2.32.
* gnu/packages/base.scm (glibc-2.32): Delete variable.
* gnu/packages/patches/glibc-2.31-hurd-clock_gettime_monotonic.patch,
gnu/packages/patches/glibc-skip-c++.patch: Remove files.
* gnu/local.mk (dist_patch_DATA): Unregister files. Order glibc patches.

Fixes: guix/guix#3572
Change-Id: I8df841580c64ce0964817700a1f66da41fd5aab4
2025-10-23 18:59:22 +02:00
Andreas Enge
45d15c65bc gnu: Remove glibc-locales-2.32.
* gnu/packages/base.scm (glibc-locales-2.32): Delete variable.

Change-Id: Ib8721e7a49e2374167b56a54d9bd8f6db982d22e
2025-10-23 18:51:22 +02:00
Andreas Enge
b06addad37 gnu: Remove glibc-2.31.
* gnu/packages/base.scm (glibc-2.31): Delete variable.

Change-Id: I60a58cb4acef54b01e287036b47a54308d1f54fe
2025-10-23 18:50:55 +02:00
Andreas Enge
8ec88643fd gnu: Remove glibc-locales-2.31.
* gnu/packages/base.scm (glibc-locales-2.31): Delete variable.

Change-Id: Ifa8f0f3471b065bbd1be27c169a43de48f2d6201
2025-10-23 18:48:30 +02:00
Andreas Enge
892fa358ac gnu: Remove glibc-2.30.
* gnu/packages/base.scm (glibc-2.30): Delete variable.
* gnu/packages/patches/glibc-2.29-supported-locales.patch,
gnu/packages/patches/glibc-CVE-2019-19126.patch,
gnu/packages/patches/glibc-CVE-2019-7309.patch,
gnu/packages/patches/glibc-CVE-2019-9169.patch: Remove files.
* gnu/local.mk (dist_patch_DATA): Unregister files.

Change-Id: Iaf2ad2ccd938780f6f90ad846d81635b07e485f5
2025-10-23 18:47:23 +02:00
Andreas Enge
c0d1fd9168 gnu: Remove glibc-locales-2.30.
* gnu/packages/base.scm (glibc-locales-2.30): Delete variable.

Change-Id: I7369eb63a46e3462fd990392b6da12f8c15e6db6
2025-10-23 18:43:25 +02:00
Andreas Enge
463fb92452 gnu: glibc-locales: Remove unused patch.
* gnu/packages/patches/glibc-locales-2.28.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Unregister file.
* gnu/packages/base.scm (make-glibc-locales): Remove unused branch of
conditional.

Change-Id: I853cbd0f8724a57d15af3fbb1aed3bdf1ef78e0e
2025-10-23 18:40:47 +02:00
Andreas Enge
4356d6fb1a gnu: Remove glibc-2.29.
* gnu/packages/base.scm (glibc-2.29): Delete variable.
* gnu/packages/patches/glibc-2.29-git-updates.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Unregister file.

Change-Id: Ib56f26e3f172c255a37e95d96c79f95243ad75ea
2025-10-21 19:09:27 +02:00
Andreas Enge
cf91afff75 gnu: Remove glibc-locales-2.29.
* gnu/packages/base.scm (glibc-locales-2.29): Delete variable.

Change-Id: Iff11b0f256230d35fe5d9718edd06e5f8de5b368
2025-10-21 19:07:06 +02:00
Andreas Enge
c58a53fe88 gnu: Remove glibc-utf8-locales-2.29.
* gnu/packages/base.scm (glibc-utf8-locales-2.29): Delete variable.

Change-Id: I85d9259854d207d028fa596ee69518d85bd8ead4
2025-10-21 19:06:54 +02:00
John Kehayias
8b13385637 gnu: coreutils: Skip a test.
This test fails on btrfs more generally, not only on hurd.

* gnu/packages/base.scm (coreutils)[arguments]<#:phases>: Skip the
reflink-auto test unconditionally.

Change-Id: I27c4750f848a6b4c3c251614d95aefe41efe5d81
2025-09-30 16:48:20 +09: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
Lilah Tascheter
f219acdb3a gnu: base: Add tzdata with leap-seconds.list.
tzdata itself doesn't provide this file, which is needed for hare.

* gnu/packages/base.scm (tzdata/leap-seconds): New variable.

Change-Id: Ie13de687241ed0b05a04080381d3ab31c3e7f3b2
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2025-09-02 10:46:11 +02:00
Efraim Flashner
368bea2615 gnu: diffutils: Skip some tests on all powerpc architectures.
This is a follow-up to e3fbaeee13.

* gnu/packages/base.scm (diffutils)[arguments]: When building for any
powerpc architecture add make-flags to mark 2 tests as failed.

Change-Id: Iceea5bbb045b10f704da4783abd8bf244941e793
2025-08-19 19:48:36 +03:00
Efraim Flashner
e3fbaeee13 gnu: diffutils: Skip some tests on powerpc64le-linux.
Fixes #1681.

* gnu/packages/base.scm (diffutils)[arguments]: When building for
powerpc64le-linux add make-flags to mark 2 tests as failed.

Change-Id: Ia26950d0ec9d5631f556d7dc2c36ceff03916dbb
2025-08-03 14:34:50 +03:00
Zheng Junjie
5fe79897cd gnu: binutils-gold: Fix build.
* gnu/packages/base.scm (binutils-gold): Use package, not package/inherit.
[source]: Update url.

Change-Id: Iab2e69815968f29f91cd781662fd16f205d2978a
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-07-18 20:17:52 +02:00
Ludovic Courtès
80171c505f gnu: glibc: Reintroduce 2.39.
* gnu/packages/base.scm (glibc-2.39): New variable.

Change-Id: I0de073168eb9854f04b04bca73c8f166b0fcb8ba
2025-07-18 20:17:51 +02:00
Yelninei
72dbcff937 gnu: glibc: Merge with glibc/hurd.
* gnu/packages/base.scm (%glibc-patches): Add patches from glibc/hurd.
(glibc/hurd): Define to glibc.

Change-Id: I6acc83bafeafadc0e257575fd8b9641e4cbf1f92
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-07-18 20:17:34 +02:00
Yelninei
be5070df29 gnu: tar: Disable 64bit time_t on the 32bit Hurd.
* gnu/packages/base.scm (tar): Add --disable-year2038 configure-flag for
32bit hurd.
Change-Id: I8573dca7fa848afb968365977c49edbd01e97756

Change-Id: Ie3ab2f7275c9d7163557a8874f7b004dae3c6a17
2025-07-18 20:17:33 +02:00
Yelninei
efb6047bda gnu: findutils: Disable 64bit time_t on the 32bit Hurd.
* gnu/packages/base.scm (findutils): Add --disable-year2038 configure-flag for
32bit hurd.

Change-Id: I724f9e2807830d4b028a385e5e7c1f0d2e47e707
2025-07-18 20:17:33 +02:00
Yelninei
6cebf0e1d5 gnu: glibc/hurd: Fix gnulib tests.
With glibc-2.41 several gnulib tests are failing on the Hurd in multiple core packages
- test-once1
- test-pthread_sigmask1
- test-symlink/test-symlinkat

This adds the relevant patches from glibc upstream or the version from the
debian glibc adapted for glibc 2.41.

* gnu/packages/patches/glibc-hurd-2.41-pthread-once.patch: New patch.
* gnu/packages/patches/glibc-hurd-2.41-pthread-sigmask.patch: New patch.
* gnu/packages/patches/glibc-hurd-2.41-symlink.patch: New patch.
* gnu/packages/base.scm (glibc/hurd): Add them.
* gnu/local.mk : Register them.

Change-Id: I90ec984757da54ebbc7cb7817de00f2876f4a81a
2025-07-18 20:17:33 +02:00
Andy Tai
2a248d73ce gnu: diffutils: Update to 3.12.
* gnu/packages/base.scm (diffutils): Update to 3.12.
[arguments]<#:configure-flags>: When cross-compiling,
add "ac_cv_func_strcasecmp=yes"
"gl_cv_func_strcasecmp_works=yes".

Change-Id: Icf49303e794479a0561e894ab88427c826d56cf3
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-07-18 20:17:32 +02:00
Collin J. Doering
84a7b73515 gnu: coreutils: Skip ‘cp/reflink-auto.sh’ as it can fail on Btrfs.
* gnu/packages/base.scm (coreutils): Similarly to
Nix (https://github.com/NixOS/nixpkgs/pull/190211), disable
tests/cp/reflink-auto.sh test as it can fail on Btrfs.  This was
discovered by the cuirass.genenetwork.org build farm.

Change-Id: If1cc3d516c5807e580ec64ab93670e30090581a7
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-07-18 20:17:31 +02:00
Zheng Junjie
891942f2c5 gnu: libiconv: Update to 1.18.
* gnu/packages/base.scm (libiconv): Update to 1.18.

Change-Id: I2b13a4a72976990f10b9600a69377b40f550bc55
2025-07-18 20:17:30 +02:00