Commit graph

703 commits

Author SHA1 Message Date
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
Zheng Junjie
498490721c
gnu: diffutils: Update to 3.11.
* gnu/packages/base.scm (diffutils): Update to 3.11.

Change-Id: I20db26c77119cb7b73051e61aa8f4648eaaabf65
2025-07-18 20:17:30 +02:00
Zheng Junjie
fcee9eddda
gnu: tar: Update to 1.35.
* gnu/packages/base.scm (tar): Update to 1.35.
* gnu/packages/commencement.scm (tar-mesboot)[native-inputs]: Add sed-mesboot.
[arguments]<#:configure-flags>: Add --disable-year2038.
(tar-boot0)[arguments]<#:configure-flags>: Add --disable-year2038.

Change-Id: I76f2bb55ad3736aea319ec1a55a17c5a44908c67
2025-07-18 20:17:30 +02:00
Zheng Junjie
f85e6a8076
gnu: findutils: Update to 4.10.0.
* gnu/packages/base.scm (findutils): Update to 4.10.0.
* gnu/packages/commencement.scm (findutils-boot0)
[arguments]<#:configure-flags>: Add --disable-year2038.

Change-Id: I1b4373038e296818ef537dfa069a29f7bac481dc
2025-07-18 20:17:30 +02:00
Zheng Junjie
6e9815a84f
gnu: sed: Update to 4.9.
* gnu/packages/base.scm (sed): Update to 4.9.
* gnu/packages/commencement.scm (sed-mesboot): Keep version on 4.8.

Change-Id: I9a279e67c88cbc549d4964af012b50a2b25c04e9
2025-07-18 20:17:29 +02:00
Zheng Junjie
06a8d2a0c5
gnu: binutils: Update to 2.44.
* gnu/packages/patches/binutils-2.41-fix-cross.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/base.scm (binutils): Update to 2.44 and use it.

Change-Id: Ia54b0e7a076b1fe162524bf76a1ab4031792bc32
2025-07-18 20:17:29 +02:00
Zheng Junjie
b82f5b3731
gnu: tzdata: Update to 2025a.
* gnu/packages/base.scm (tzdata): Update to 2025a.
[inputs]: update tzcode; Remove label.

Change-Id: I327cbcc52a04217d83edac3ebcf20bc70dcf4c12
2025-07-18 20:17:28 +02:00
Zheng Junjie
3ac9be2a5c
gnu: glibc: update to 2.41.
* gnu/packages/base.scm (glibc): Update to 2.41.
(%glibc-patches): update it.
(glibc/hurd)[sources]<patches>: Adjust it.
* gnu/packages/patches/glibc-2.37-hurd-local-clock_gettime_MONOTONIC.patch:
Rename to...
glibc-2.41-hurd-local-clock_gettime_MONOTONIC.patch: ...this, and update.
* gnu/packages/patches/glibc-2.28-ldd-x86_64.patch: Rename to ...
* glibc-2.41-ldd-x86_64.patch: ...this, and update.
* gnu/packages/patches/glibc-2.40-CVE-2025-0.patch,
gnu/packages/patches/glibc-hurd64-fault.patch,
gnu/packages/patches/glibc-hurd64-sgms-context.patch: Remove.
* gnu/local.mk (dist_patch_DATA): Update accordingly.
* gnu/packages/patches/glibc-2.41-hurd-local-clock_gettime_MONOTONIC.patch:
Update for glibc-2.41.
* gnu/packages/make-bootstrap.scm (glibc-for-bootstrap): Update it.
* gnu/packages/patches/glibc-2.39-bootstrap-system.patch: Rename to...
* glibc-2.41-bootstrap-system.patch: ...this, and update.
* gnu/local.mk (dist_patch_DATA): Update accordingly.

Change-Id: I51c12e3e8fa91dac340571e07a90d6220e0dc6ae
2025-07-18 20:17:28 +02:00
Ludovic Courtès
2194d6e99f
gnu: glibc: Update to 2.40.
* gnu/packages/base.scm (glibc): Update to 2.40.
[replacement]: Remove.
(%glibc-patches): Update.
(glibc/fixed): Remove.
(glibc-for-fhs): Update patch name.
* gnu/packages/patches/glibc-hurd64-intr-msg-clobber.patch: Update for 2.40.
* gnu/packages/patches/glibc-hurd64-sgms-context.patch: Remove.
* gnu/local.mk (dist_patch_DATA): Unregister.
* gnu/packages/base.scm (glibc/hurd-headers): Remove it.
* gnu/packages/patches/glibc-2.40-dl-cache.patch,
gnu/packages/patches/glibc-2.40-CVE-2025-0.patch: New files.
* gnu/local.mk (dist_patch_DATA): Register them.

Change-Id: I7f041a6ff9ea11e4b05a75ca704007deb405653b
2025-07-18 20:17:27 +02:00
Janneke Nieuwenhuizen
497811b66f
gnu; glibc-2.33: Fix build with gcc-14.
* gnu/packages/base.scm (glibc-2.33)[arguments]: New field to further relax
gcc-14.'s strictness.

Change-Id: Ib6ac5bc44608a56bb7dd584c21beadee280fe519
2025-07-18 20:17:19 +02:00
Janneke Nieuwenhuizen
b61cd3fe40
gnu: glibc-2.35: Fix build with gcc-14.
* gnu/packages/base.scm (glibc-2.35)[arguments]: Add CFLAGS to #:configure-flags
to relax gcc-14's strictness.

Change-Id: Ib731ac64e70f1b29655d26dead8b4b970e90f063
2025-07-18 20:17:18 +02:00
Luca Cirrottola
258284a93e
gnu: Add libbfd.
* gnu/packages/base.scm (libbfd): New variable.

Change-Id: I82d246e822876841dc64adfab9e13b27941d028a
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-07-17 16:41:28 +02:00