1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-07 05:30:38 +02:00
Commit Graph

164262 Commits

Author SHA1 Message Date
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
Efraim Flashner
635da6eb69 gnu: gettext-minimal: Remove gnulib patch for armhf-linux.
* gnu/packages/gettext.scm (gettext-minimal)[arguments]: Remove phase
adding a patch for gnulib when building for armhf-linux.

Change-Id: Ifd7f73dffa259c731f1cb8a5bdb36b78abcbb1b4
2025-07-18 20:17:33 +02:00
Efraim Flashner
6f4a5edb19 gnu: diffutils-boot0: Add back inherited package arguments.
This was reported by yelninei on IRC.

* gnu/packages/commencement.scm (diffutils-boot0)[arguments]: Inherit
package arguments from diffutils.

Change-Id: Ie438ad47c7262a6df62f6d26c31f78f1338f4bdd
2025-07-18 20:17:33 +02:00
Efraim Flashner
b42427961a gnu: file-boot0: Remove custom configure-flags on aarch64-linux.
* gnu/packages/commencement.scm (file)[arguments]: Don't disable
dependency-tracking when building on aarch64-linux.

Change-Id: I14c4b3f60af63427153dfd381400709f09f247ec
2025-07-18 20:17:33 +02:00
Efraim Flashner
1e644e0b52 gnu: findutils-boot0: Remove custom configure-flags on aarch64-linux.
* gnu/packages/commencement.scm (findutils-boot0)[arguments]: Don't
disable dependency-tracking when building on aarch64-linux.

Change-Id: Ib6338d8adab7dcfffeb7b0aabfb4f74ee3819119
2025-07-18 20:17:33 +02:00
Efraim Flashner
1558811c31 gnu: diffutils-boot0: Remove custom configure-flags on aarch64-linux.
* gnu/packages/commencement.scm (diffutils-boot0)[arguments]: Don't
disable dependency-tracking when building on aarch64-linux.

Change-Id: I98a445411d472eb78abb55a28733c2f77ac5fd3e
2025-07-18 20:17:33 +02:00
Yelninei
f4ba6f2280 gnu: rumpkernel: Fix build with gcc-14.
* gnu/packages/hurd.scm (rumpkernel): Add -Wno-error=implicit-function-declaration
for the HOST_CC

Change-Id: I4e86cd9900b56a904190e217c21bcfa279c12a5a
2025-07-18 20:17:33 +02:00
Zheng Junjie
5f756ac866 gnu: expat: Update to 2.7.1.
* gnu/packages/xml.scm (expat): Update to 2.7.1.
(expat/fixed): Remove it.
* gnu/packages/patches/expat-CVE-2024-45490.patch: Remove it.
* gnu/packages/patches/expat-CVE-2024-45491.patch: Remove it.
* gnu/packages/patches/expat-CVE-2024-45492.patch: Remove it.
* gnu/local.mk (dist_patch_DATA): Unregister them.

Change-Id: Ia0bc5da202afba0636032e4f4e10051778214944
2025-07-18 20:17:33 +02:00
Zheng Junjie
d8fb8e4bf9 gnu: libarchive: Update to 3.7.7.
* gnu/packages/backup.scm (libarchive): Update to 3.7.7.
* gnu/packages/backup.scm (libarchive/fixed): Delete variable.
* gnu/packages/patches/libarchive-remove-potential-backdoor.patch: Remove it
* gnu/local.mk (dist_patch_DATA): Unregister it.

Change-Id: Ia6474f9dae9a3d1a707d94fcace9bd50b2e3ac4c
2025-07-18 20:17:32 +02:00
Zheng Junjie
03a7e8c362 gnu: cups-minimal: Ungraft.
* gnu/packages/cups.scm (cups-minimal)[replacement]: Remove it.
[source]: Add cups-minimal-Address-PPD-injection-issues.patch.
* gnu/packages/cups.scm (cups-minimal/fixed): Remove it.

Change-Id: Icb5295af42b5a84741a73ed4b662bc8736ab6b2b
2025-07-18 20:17:32 +02:00
Zheng Junjie
3d0160354d gnu: curl: Ungraft.
* gnu/packages/curl.scm (curl)[replacement]: Remove it.
[source]: Add curl-CVE-2024-8096.patch.
* gnu/packages/curl.scm (curl/fixed): Remove it.

Change-Id: I43e6c1c0c97bc86ce0e4801559eead53a1a07d12
2025-07-18 20:17:32 +02:00
Christopher Baines
4c5848b661 gnu: bootstrap: %bootstrap-glibc: Fix linking on armhf-linux.
* gnu/packages/bootstrap.scm (%bootstrap-glibc)[arguments]<#:builder>:
Correct parentheses.

Change-Id: Ie0f55cff88ebc8ab1fba72e5a8abfa711f94731f
2025-07-18 20:17:32 +02:00
Yelninei
77ac889584 gnu: hurd: Update to 0.9.git20250420.
* gnu/packages/commencement.scm (hurd-headers-boot0): Update to
0.9.git20250420.
* gnu/packages/hurd.scm (hurd-headers): Same.
(hurd): Remove hurd-64bit.patch.
[native-inputs]: Use texinfo instead of texinfo@4.
* gnu/packages/patches/hurd-64bit.patch: Remove patch.
gnu/local.mk: Deregister patch.

Change-Id: Id62664983b2b5e2d6f2791f3290a9129fbf5f1c5
2025-07-18 20:17:32 +02:00
Yelninei
bed285b473 gnu: gnumach: Update to 1.8+git20250304.
* gnu/packages/commencement.scm (gnumach-headers-boot0): Update to 1.8+git20250304.
* gnu/packages/hurd.scm (gnumach-headers): Same.
[native-inputs]: Use automake@1.17.
(gnumach)[native-inputs]: Use automake@1.17.

Change-Id: I74d1a7caf69d2c2d74208eb54c18e3e025e367d7
2025-07-18 20:17:32 +02:00
Ludovic Courtès
b41738654b gnu: gash: Update to 0.3.1.
Fixes <https://issues.guix.gnu.org/75658>.

Fixes a bug whereby Gash sub-shells would randomly crash, typically when
running ‘configure’ scripts, with:

  ERROR: In procedure fdopen:
  ERROR: In procedure scm_fdes_to_port: Bad file descriptor

The effect is that ‘configure’ would sometimes make wrong guesses,
eventually leading to build failures.

* gnu/packages/shells.scm (gash): Update to 0.3.1.

Change-Id: I5fd48a651601b3c28fbed88dbffaefdef987f1cd
2025-07-18 20:17:32 +02:00
Andy Tai
a358889d80 gnu: gdbm: Update to 1.25.
* gnu/packages/dbm.scm (gdbm): Update to 1.25.

Change-Id: I94771e420cf5752d45d1c3a98f688b9f45ab4be2
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-07-18 20:17:32 +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
Leo Nikkilä
c4a100f3c6 gnu: gcc-6: Use libstdc++ headers appropriate for each GCC.
After the "hack" introduced for <https://issues.guix.gnu.org/42392>, all GCCs
are built with the current GCC's libstdc++ headers.  This results in subtly
broken C++ headers in older versions, which aren't necessarily compatible with
libstdc++s from other versions.

For example, this test case works with GCC 11:

    $ guix shell --container --emulate-fhs --pure -e '(@ (gnu packages gcc) gcc)' binutils -- sh -c 'echo -e "#include <cmath>\nint main() { return std::isnan(0); }" | g++ -x c++ -; echo $?'
    0

but fails with GCC 9:

    $ guix shell --container --emulate-fhs --pure -e '(@ (gnu packages gcc) gcc-9)' binutils -- sh -c 'echo -e "#include <cmath>\nint main() { return std::isnan(0); }" | g++ -x c++ -; echo $?'

    In file included from /gnu/store/gkh2rljdrnj24q1q7baa6bhb119251w4-profile/include/c++/cmath:45,
                     from <stdin>:1:
    <stdin>: In function 'int main()':
    <stdin>:2:26: error: '__builtin_isnan' is not a member of 'std'; did you mean '__builtin_isnan'?
    <built-in>: note: '__builtin_isnan' declared here
    1

This specific error can be traced back to the GCC build, where GCC 10 and 11
are configured with:

    checking for ISO C99 support in <math.h> for C++11... yes

but GCC 9 is configured with:

    checking for ISO C99 support in <math.h> for C++11... no

The configure check fails due to errors like these due to the mismatched
libstdc++:

    configure:17817: checking for ISO C99 support in <math.h> for C++11
    […]
    In file included from /gnu/store/y3kk0ybf7hqwndl8xpm61r4a5b3lhwix-libstdc++-11.4.0/include/cmath:41,
                     from /gnu/store/y3kk0ybf7hqwndl8xpm61r4a5b3lhwix-libstdc++-11.4.0/include/math.h:36,
                     from conftest.cpp:41:
    /gnu/store/y3kk0ybf7hqwndl8xpm61r4a5b3lhwix-libstdc++-11.4.0/include/bits/c++config.h:491:18: error: missing binary operator before token "("
      491 | #if __has_builtin(__builtin_is_constant_evaluated)
          |                  ^

Updating libstdc++ to reference each GCC works around this.

* gnu/packages/gcc.scm (libstdc++, libstdc++-headers): Remove variables.
(make-libstdc++-headers): New procedure.
(gcc-6)[native-inputs]: Use it with `this-package'.

Change-Id: Ie05878c83860c4ccc29d66b916d11613e367e142
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Modified-by: Ludovic Courtès <ludo@gnu.org>
2025-07-18 20:17:32 +02:00
Andy Tai
c6e3584e8d gnu: gzip: Update to 1.14.
* gnu/packages/compression.scm (gzip): Update to 1.14.

Change-Id: Iabb0a315b6123666dd803fc1c15ec10949184f99
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-07-18 20:17:32 +02:00
Greg Hogan
b2a20e5fd9 build-system/gnu: Limit load average.
A nice feature of offload builds is that Guix will throttle the start of
new jobs based on the overload-threshold.  There is no equivalent for
local builds, so one must either run builds in serial (--max-jobs=1) and
endure single-threaded builds or run concurrent builds and watch the
system overload as it runs multiple multi-threaded builds.

From a benchmark comparing the compilation of concurrent Folly builds,
the "max-load" option reduced the overall time by 8.3%. Memory use also
drops considerably since we are only running 1/4 of the processes at any
time.

* guix/build/gnu-build-system.scm (build, check): Set max load.

Change-Id: I97f1e3e59880b6ed23faed2038eb5279415e9c95
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-07-18 20:17:32 +02:00
Andreas Enge
e239958b8b gnu: mpfr: Update to 4.2.2.
* gnu/packages/multiprecision.scm (mpfr): Update to 4.2.2.

Change-Id: I07df931b5e8be7f4d90cb3b30685f026ac6c6276
2025-07-18 20:17:32 +02:00
Ludovic Courtès
1dff4c2e1f gnu: gash-utils-boot: Use a gexp.
* gnu/packages/commencement.scm (gash-utils-boot)[arguments]: Use #:modules
instead of a non-top-level ‘use-modules’.  Turn #:phases into a gexp.
Use ‘search-input-file’ in ‘make-echo’ phase.
[inputs, native-inputs]: Remove labels.

Change-Id: Ib0eaa8a9ba4272b423fdb34a0eaf56b3a93ac7d4
2025-07-18 20:17:31 +02:00
Ludovic Courtès
cf46fefb0b gnu: gash-boot: Shorten symlinks.
* gnu/packages/commencement.scm (gash-boot)[arguments]: Shorten
symlinks created in ‘install-symlinks’.

Change-Id: I1300b31db615ab5fd9674c5a2d2aca1b7f600fcd
2025-07-18 20:17:31 +02:00
Ludovic Courtès
6610c6cbfc gnu: gash-boot: Remove input labels.
* gnu/packages/commencement.scm (gash-boot)[arguments]: Use #:modules
instead of a non-top-level ‘use-modules’.  Turn #:phases into a gexp.
[inputs, native-inputs]: Remove labels.

Change-Id: I1e18b3ef76bb681494f76dded0dbd3b88cb9c462
2025-07-18 20:17:31 +02:00
Ludovic Courtès
87f0ad602b gnu: bootar: Remove input label.
* gnu/packages/commencement.scm (bootar)[arguments]: Use
‘search-input-file’ and use gexps.  Remove non-top-level ‘use-modules’
from #:phases and pass #:modules instead.
[inputs]: Remove label.

Change-Id: Idb962dc5f886ec13ef10b90ea6b4d1292b412312
2025-07-18 20:17:31 +02:00
Ludovic Courtès
4ead533379 gnu-bootstrap: Use ‘search-input-file’.
* guix/build/gnu-bootstrap.scm (bootstrap-configure)
(bootstrap-install): Use ‘search-input-file’ instead of ‘assoc-ref’.

Change-Id: I8cd876d099a346b55b5e06b3a220f712dd504791
2025-07-18 20:17:31 +02:00
Ludovic Courtès
c57975b0e7 build-system/gnu: Use ‘search-input-file’ instead of input labels.
* guix/build/gnu-build-system.scm (configure): Use ‘search-input-file’
instead of ‘assoc-ref’ when looking for bash.
* gnu/packages/commencement.scm (%boot-gash-inputs): Update comment.

Change-Id: Ie95e95cfeb9f004fd304ff2af471ea5840af2b2e
2025-07-18 20:17:31 +02:00
Maxim Cournoyer
df94888eca utils: Set $0 to basename of command in `wrap-program'.
* guix/build/utils.scm (wrap-program): Set the value of the -a option of
`exec' in the wrapper to ${0##*/} instead of $0, to use its base name instead
of the complete file name.

Fixes: https://issues.guix.gnu.org/73405
Change-Id: Iec5984d4d934c8df88a90ff653947f7d07413ae4
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-07-18 20:17:31 +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
Nicolas Graves
e6d83b1607 gnu: minizip: Remove phase 'remove-crypt-h.
During the update of glibc from 2.35 to 2.39, the crypt.h header has
been removed from glibc's include path.  Packages depending on this
header from minizip have no access to it anymore.  Remove this phase.

* gnu/packages/compression.scm (minizip)[arguments]{phases}:
Delete 'remove-crypt-h phase.

Change-Id: I645f3f2e2aac821faa02dd4642071a983185cabf
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-07-18 20:17:31 +02:00
Greg Hogan
2e27e70936 gnu: perl-io-socket-ssl: Update to 2.089.
* gnu/packages/web.scm (perl-io-socket-ssl): Update to 2.089.

Change-Id: I6c9331a509607f87ef07bc272b375ce133d59075
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-07-18 20:17:31 +02:00
Greg Hogan
514d5fbca9 gnu: perl-net-ssleay: Update to 1.94.
* gnu/packages/patches/perl-net-ssleay-colon-parsing.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/base.scm (perl-net-ssleay): Update to 1.94.
[source](origin): Add patch.

Change-Id: Ie4b8bc713618fb72e86c07860fab30e47b96dc76
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-07-18 20:17:31 +02:00
Tomas Volf
87af165a9e gnu: guile: Add GUILE_EXTENSIONS_PATH to native-search-paths.
* gnu/packages/guile.scm (guile-3.0)[native-search-paths]: Add
GUILE_EXTENSIONS_PATH.

Change-Id: Ia80f6b8467cdc4ba76b4c3e58451c78d5a55cb15
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-07-18 20:17:31 +02:00
Zheng Junjie
2f8c2eebdf gnu: c-ares: Update to 1.34.4.
* gnu/packages/adns.scm (c-ares): Update to 1.34.4.
[source]: Update url.
(c-ares-for-node-lts): Simplifies it.

Change-Id: I4af1ea6d76e7efcfcfc772408f63f92cce7c28df
2025-07-18 20:17:31 +02:00
Zheng Junjie
eec2135808 gnu: pciutils: Use new style.
* gnu/packages/pciutils.scm (pciutils)[arguments]: Use G-expressions.
Simplify the use of cc-for-target.
[inputs]: Remove labels.

Change-Id: I1d19d2a8c4c01a2ea9a7b75a1fa224734710b43f
2025-07-18 20:17:30 +02:00
Zheng Junjie
2dbaceca82 gnu: pciutils: Update to 3.13.0.
* gnu/packages/pciutils.scm (pciutils): Update to 3.13.0.
[source]: Add pciutils-hurd64.patch.
[arguments]<#:phase>: Remove apply-hurd64-patch phase.

Change-Id: I58c4af801a748d982aac54a2b6f6d78d4efa5378
2025-07-18 20:17:30 +02:00
Zheng Junjie
fe00fe8f81 gnu: hwdata: Update to 0.392.
* gnu/packages/pciutils.scm (hwdata): Update to 0.392.

Change-Id: I5d1142912b35b7e75bdbb265537d71b6b209eda5
2025-07-18 20:17:30 +02:00
Zheng Junjie
93d9cd7c22 gnu: linux-libre-headers: Update to 6.12.17.
* gnu/packages/linux.scm (linux-libre-headers-5.15.49):
Update to 6.12.17 and rename to linux-libre-headers-6.12.17.
(linux-libre-headers-5.19.17): Remove it.
* gnu/packages/cross-base.scm (cross-kernel-headers/deprecated): Remove
loongarch64 case.
(cross-kernel-headers*): Remove loongarch64 case.
* gnu/packages/make-bootstrap.scm (%glibc-stripped): Remove loongarch64 case.
* gnu/packages/commencement.scm (linux-libre-headers-boot0)[arguments]: Adjust
lower-version-requirements phase.

Change-Id: I56a5f6173379f0c4ec305e7db86cccd940e62304
2025-07-18 20:17:30 +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
f94edace04 gnu: util-linux: Update to 2.40.4.
* gnu/packages/linux.scm (util-linux)[source]<snippet>: Remove tailing #t.
[arguments]<#:phases>: Adjust pre-check phase.
[inputs]: Add sqlite.
[native-inputs]: Add pkg-config.
* gnu/packages/patches/util-linux-tests.patch: Adjust it.

Change-Id: I3c22d0b5b02a6dd0fee440f32e87279d7d4b1554
2025-07-18 20:17:30 +02:00
Janneke Nieuwenhuizen
52d06d2fb4 gnu: commencement: gcc-boot0: Fix building on the 32bit Hurd.
* gnu/packages/commencement.scm (gcc-boot0): Use gcc-5 for libstdc++-boot0
when building on i586-gnu.

Change-Id: I17b29192d0496ecefa1e0c0342ace7961bbd67fd
2025-07-18 20:17:30 +02:00
Janneke Nieuwenhuizen
c3ca0f3f31 gnu: xorg-server-for-test: Update to 21.1.15; fixes build with gcc-14.
* gnu/packages/xorg.scm (xorg-server-for-tests): Just inherit from xorg-server
again.

Change-Id: I922eb37183e8c0fa2ea8991c68fe08dfc08a7594
2025-07-18 20:17:30 +02:00
Zheng Junjie
a756426696 gnu: gnumach: Fix build.
* gnu/packages/hurd.scm (gnumach)[native-inputs]: Replace automake and
texinfo-4 with automake-1.16.5 and texinfo.

Change-Id: I16453207eb45019c0af01f8ef073960651ba6958
2025-07-18 20:17:30 +02:00
Zheng Junjie
479a0dd579 gnu: flex: Fix cross-compiling.
* gnu/packages/flex.scm (flex)[arguments]<#:configure-flags>: When
cross-compiling, add ac_cv_func_malloc_0_nonnull=yes and
ac_cv_func_realloc_0_nonnull=yes.

Change-Id: I89718a19e2b3c5a5f5732049f3b0bcd7621e9f1b
2025-07-18 20:17:30 +02:00
Zheng Junjie
ff6ae006b6 gnu: gnumach-headers: Fix build.
* gnu/packages/hurd.scm (gnumach-headers)[native-inputs]: Replace automake and
texinfo-4 with automake-1.16.5 and texinfo.

Change-Id: Id7f0eeb6799e1b34eecb0f7b562507ecdb0632bc
2025-07-18 20:17:29 +02:00
Zheng Junjie
25d0c7f533 Revert "gnu: elfutils: Fix build to loongarch64."
This reverts commit 8f219ec01a.
2025-07-18 20:17:29 +02:00