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
* 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>
* gnu/packages/base.scm (sed): Update to 4.9.
* gnu/packages/commencement.scm (sed-mesboot): Keep version on 4.8.
Change-Id: I9a279e67c88cbc549d4964af012b50a2b25c04e9
* 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
* gnu/packages/base.scm (sed)[native-inputs]: When target is loongarch64, add
config.
[arguments]: When target is loongarch64, Add update-config-scripts phase.
Change-Id: I056d5004ec326f8c5b30853d5ea401ea12a949b7
* gnu/packages/base.scm (%glibc-patches): New variable.
(glibc) [source]: Use it.
[properties]: Mark CVE-2024-2961 as hidden (resolved).
[replacement]: Add field to graft with...
(glibc/fixed): ... this new package.
Fixes: <https://issues.guix.gnu.org/70581>
Change-Id: I6dd70b0e157283925824348f180c466c2f6387c9
* gnu/packages/base.scm (grep)[arguments]: When building on the 64bit
Hurd, skip the "stack-overflow" test.
Change-Id: Iab16194f4cd2911b4610dddd855064ddc4958dd9
This fixes findutil's gnulib-tests's test-sigaction's raise call, by working
around an alleged gcc-14.2 optimization bug. See
<https://lists.gnu.org/archive/html/bug-hurd/2024-11/msg00143.html>.
* gnu/packages/patches/glibc-hurd64-gcc-14.2-tls-bug.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/base.scm (glibc/hurd): Use it.
Change-Id: I11e683f521f34dedeb7f739a2545f5d1d866922a
These patches fix:
* Statically linked tar to hang/segfault upon issuing the "--mtime=@1"
warning; this is also applicable for the 32bit Hurd using glibc-2.39!
See <https://lists.gnu.org/archive/html/bug-hurd/2024-11/msg00115.html>.
* Shell replacement problems for the 64bit Hurd.
See <https://lists.debian.org/debian-hurd/2024/07/msg00063.html>.
* Findutil's gnulib-tests/test-sigaction failure.
* gnu/packages/patches/glibc-hurd-pthread_setcancelstate.patch,
gnu/packages/patches/glibc-hurd64-fault.patch,
gnu/packages/patches/glibc-hurd64-intr-msg-clobber.patch,
gnu/packages/patches/glibc-hurd64-sgms-context.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register them.
* gnu/packages/base.scm (glibc/hurd): Use them.
Change-Id: I9ee65983876cd22ad1dc01aabb41a34074631599
* gnu/packages/base.scm (patch)[arguments]: When building for the 64bit Hurd,
set #:configure-flags.
Change-Id: I795a591ef8282ee5b760fec43bd4ad849007f602
* gnu/packages/base.scm (grep)[arguments]: When building for the 64bit Hurd,
add patch-sigsegv.h stage.
Change-Id: I795a591ef8282ee5b760fec43bd4ad849007f602
* gnu/packages/base.scm (glibc)[arguments]: When building for the Hurd, in
phase "create-machine-symlink", do not assume CPU is i386, also cater for
x86_64.
* gnu/packages/cross-base.scm (cross-libc*)[arguments]: Likewise.
Change-Id: Ib009b7bd301b543b8629382330cca9d963b7a812
* gnu/packages/base.scm (glibc)[arguments]: When building for the Hurd, in
phase "create-machine-symlink", only create symlink if it is missing.
* gnu/packages/cross-base.scm (cross-libc*)[arguments]: Likewise.
Change-Id: Ib009b7bd301b543b8629382330cca9d963b7a812
This is a followup to 391ce2ea75.
* gnu/packages/base.scm (diffutils)[arguments]: Add #:make-flags.
Change-Id: Ia760cf9a86a2ae60206e42498a07517552d0c9f2
* gnu/packages/base.scm (glibc-2.33): Move disabling the compiler from here...
(glibc-2.35): to here, and update the comment.
Change-Id: Ie2511486f0e5791929f1f48529be7cc88c9553c2
* gnu/packages/base.scm (glibc-2.35): Use glibc-2.35-CVE-2023-4911.patch which
was forgotten when ungrafting.
Change-Id: I7774f67b50ba3be1246325ea9f40ac31e3dbc74f
* gnu/packages/patches/glibc-2.39-git-updates.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/base.scm (glibc): Use it.
Change-Id: I13ff3fa2eddd8296d138f87c9069487e9543b3bd
This is a followup to 901b3c2a9db1935149d6ee366bf6f2a325391740.
* gnu/packages/base.scm (glibc/hurd-headers): Remove reference to
‘%glibc/hurd-configure-flags’.
* gnu/packages/cross-base.scm (cross-libc*): Likewise.
Change-Id: Iac43d84e3407c16a0f3f926d795b55c7b7ac73fd
* gnu/packages/base.scm (glibc): Update it. Remove --enable-crypt as it is no
longer included in 2.39. Remove upstreamed patch for hurd.
* gnu/packages/patches/glibc-2.38-hurd-ucontext.patch: Remove patch.
* gnu/local.mk (dist_patch_DATA): Unregister it.
Change-Id: Idf9ae3ff6cbbe45f1c9bfbc2c78a331f118e0129