Commit graph

142013 commits

Author SHA1 Message Date
Janneke Nieuwenhuizen
7f2b754b33
gnu: netdde: Fix building libdde_linux26.
* gnu/packages/hurd.scm (netdde)[arguments]: Set "ARCH=x86" in make-flags.

Change-Id: I24760f55fd0ae231f4a73bda158c70c2ac880723
2024-08-31 10:44:28 +02:00
Janneke Nieuwenhuizen
cc2e13baec
gnu: hurd: Fix building libdde_linux26.
* gnu/packages/hurd.scm (hurd)[arguments]: In phases `build-libdde-linux' and
`install-goodies', also set ARCH=x86.

Change-Id: I2e7f14afda03c9e21ba9c3b24e195a00ae141701
2024-08-31 10:44:28 +02:00
Janneke Nieuwenhuizen
41e01a1224
Revert "gnu: hurd: Add gnumach-headers as native input."
gnumach-headers[-cross] are contained in the toolchain; it was only the
`include/mach/machine' symlink that was missing.

This reverts commit 2dd16f46766997c0b3e4ee973ce6e792a4d84fcb.
2024-08-31 10:44:28 +02:00
Janneke Nieuwenhuizen
0ff267cdf2
gnu: glibc/hurd: Install include/mach/machine symlink.
* gnu/packages/base.scm (glibc): When building for the Hurd, add phase
`create-machine-symlink'.
* gnu/packages/cross-base.scm (cross-libc*): Likewise.

Change-Id: I61fa081ce081f05bed918a438fd9d4eec94ef4bf
2024-08-31 10:44:28 +02:00
Janneke Nieuwenhuizen
feae33359f
gnu: hurd: Add gnumach-headers as native input.
This provides the include/mach/machine/mach_i386.h.

* gnu/packages/hurd.scm (hurd)[native-inputs]: Add gnumach-headers, or
gnumach-headers-cross when cross-building.
[arguments]: Remove #t from phases.

Change-Id: Id57e0cf184c7793be52192bdc5587c6e6ef2a312
2024-08-31 10:44:28 +02:00
Janneke Nieuwenhuizen
61f07911f7
gnu: gnumach-headers: Also build and install new `machine' symlink.
This is a follow-up to commit

    fe83aaf28369dd0548be6ced8a1f007eede01ded
    gnu: glibc/hurd: Update to 2.38.

and fixes

    No rule to make target 'mach/machine/mach_i386.h', needed by
    'trivfs_server.o'.  Stop.

* gnu/packages/hurd.scm (gnumach-headers)[arguments]: In phase `install' also
build `install-data-hook'.

Change-Id: I1985a17fa4a3fb789fe75791c2f9f4c8fd225d9a
2024-08-31 10:44:28 +02:00
Janneke Nieuwenhuizen
a5be456960
gnu: dde-sources: Update to 066797b576.
This fixes the build with reinforced build options:

    condvar.c: In function ‘ddekit_condvar_init’:
    condvar.c:16:19: error: old-style function definition [-Werror=old-style-definition]
       16 | ddekit_condvar_t *ddekit_condvar_init() {
          |                   ^~~~~~~~~~~~~~~~~~~

* gnu/packages/hurd.scm (dde-sources): Update to
066797b576ebf8364ad157f50bef2a655597deeb.

Change-Id: Icf6f97897852e21dfcf9b77629fde4ce6a7d1469
2024-08-31 10:44:28 +02:00
Josselin Poiret
9ed23d9a7c
gnu: evolution-data-server: Use C.UTF-8 locale in test.
* gnu/packages/gnome.scm (evolution-data-server): Use C.UTF-8 locale in test.

Change-Id: I8e35a9c96cc89bcd19d8e00472c2ccadf2bd5875
2024-08-31 10:44:27 +02:00
Josselin Poiret
afda4d87af
gnu: python-matplotlib: Fix flaky Legend loc test.
* gnu/packages/patches/python-matplotlib-fix-legend-loc-best-test.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/python-xyz.scm (python-matplotlib): Use it.

Change-Id: I0b488844d7b34a718b7294134b8c954492c9b697
2024-08-31 10:44:27 +02:00
Josselin Poiret
ce21952f81
gnu: ffmpeg-4: Fix build with binutils ≥ 2.41.
* gnu/packages/patches/ffmpeg-4-binutils-2.41.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/video.scm (ffmpeg-4): Use it.

Change-Id: I07ec3525edb220d85e086e145b9561ea3d084b6c
2024-08-31 10:44:27 +02:00
Josselin Poiret
2b9c730833
gnu: ibus-minimal: Fix wrapping phase name.
* gnu/packages/ibus.scm (ibus-minimal): Use actual name 'glib-or-gtk-wrap
instead of bogus 'wrap-program.

Change-Id: Ia0088260e9005ce25e6147b58a82a94f4b73f70b
2024-08-31 10:44:27 +02:00
Josselin Poiret
7763a6d7bd
gnu: parted: Use C.UTF-8 for Unicode tests.
* gnu/packages/disk.scm (parted): Switch back from en_US.utf8 to the initially
upstream-intended C.UTF-8.

Change-Id: I96352abeecd0f63d64fdaa826a24c9564ef16616
2024-08-31 10:44:27 +02:00
Josselin Poiret
13b5b5d10f
gnu: ghc: Fix build with binutils ≥ 2.39.
ld warns about exec stack now, making some tests fail.  Fix them (and also
remove an unwarranted exec stack from libHSrts along with it).

* gnu/packages/patches/ghc-9-StgCRunAsm-only-when-needed.patch
* gnu/packages/patches/ghc-testsuite-recomp015-execstack.patch: New patches.
* gnu/local.mk (dist_patch_DATA): Register them.
* gnu/packages/haskell.scm (ghc-8.6, ghc-8.8, ghc-8.10, ghc-9.0, ghc-9.2,
ghc-9.4): Use them.

Change-Id: I8e5fc71d7394527d44ff37b1f9bd59d4971ec010
2024-08-31 10:44:27 +02:00
Josselin Poiret
4840707013
gnu: ghc-9.2: Remove unneeded glibc 2.33 patch.
* gnu/packages/patches/ghc-9.2-glibc-2.33-link-order.patch: Remove.
* gnu/local.mk (dist_patch_DATA): Unregister.
* gnu/packages/haskell.scm (ghc-9.2): Remove patch use.

Change-Id: I7d305dadb627f6af55e4a5faabfc835e4a78a05b
2024-08-31 10:44:26 +02:00
Josselin Poiret
a0c1787816
gnu: glibc-locales: Fix build.
Change-Id: I34112114b76e75cb2e517d0965286ba8c11a5d6c

* gnu/packages/base.scm (make-glibc-locales): Delete the new glibc
'install-utf8-c-locale phase.

Change-Id: I843ea0a4fb34dba42e3a2e5ceafb85db7060089f
2024-08-31 10:44:26 +02:00
Josselin Poiret
dc26246ef6
gnu: python-pillow: Fix build with zlib 1.3.
* gnu/packages/patches/python-pillow-use-zlib-1.3.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/python-xyz.scm (python-pillow): Use it.

Change-Id: I97e706c11f616c42fb604cb616a94663f389a376
2024-08-31 10:44:26 +02:00
Josselin Poiret
ef3bac711b
gnu: liboauth: Use C unicode locale in tests.
* gnu/packages/web.scm (liboauth): Use C unicode locale in tests.

Change-Id: I1ff7da64912fbba5ae427f77b912dd9dff4e239a
2024-08-31 10:44:26 +02:00
Josselin Poiret
c71cd18ea2
gnu: flite: Disable parallel build.
* gnu/packages/speech.scm (flite): Disable parallel build.

Change-Id: I86caba27b925eb9105a5543ba5e4e87af6cffd5a
2024-08-31 10:44:26 +02:00
Josselin Poiret
c4f9895bfe
gnu: docbook2x: Fix build.
* gnu/packages/docbook.scm (docbook2x): Build from source and fix build.

Change-Id: Iefc3e068217875b5de5e79369b24a55b573df042
2024-08-31 10:44:26 +02:00
Josselin Poiret
609acbbc29
gnu: gpgme: Hardcode gpg binaries' location.
* gnu/packages/gnupg.scm (gpgme): Pass the gpg binaries' location to configure.

Change-Id: I13d8e4d97cd93fffa6e3d1a6e39972e08ed69376
2024-08-31 10:44:26 +02:00
Josselin Poiret
828daf0ab0
gnu: zig: Remove unneeded librt patch.
* gnu/packages/patches/zig-do-not-link-against-librt.patch: Delete patch.
* gnu/local.mk (dist_patch_DATA): Unregister.
* gnu/packages/zig.scm (zig-0.9, zig-0.10): Remove patch.

Change-Id: Ifc6c811671827aeb8ae4c191020ef724847abebe
2024-08-31 10:44:25 +02:00
Ludovic Courtès
e87060ff6d
gnu: ruby@2.7: Ungraft.
* gnu/packages/ruby.scm (ruby-2.7): Update to 2.7.8.
[replacement]: Remove.
(ruby-2.7-fixed): Remove.

Change-Id: I96c8542f606dddda75fcf897dac8a38d6d4d7051
2024-08-31 10:44:25 +02:00
Ludovic Courtès
96f602b88c
gnu: libvpx: Ungraft.
* gnu/packages/video.scm (libvpx)[replacement]: Remove.
[source](patches): Add “libvpx-CVE-2023-5217.patch”.
(libvpx/fixed): Remove.

Change-Id: I6de247a0fe7e8e09772513386cd0696bebe34afd
2024-08-31 10:44:25 +02:00
Ludovic Courtès
4748d947f7
gnu: inetutils: Update to 2.5.
* gnu/packages/admin.scm (inetutils): Update to 2.5.

Change-Id: I345c27f45a1d00c27c0acda82dee96077002acef
2024-08-31 10:44:25 +02:00
Ludovic Courtès
ebf95b5a77
gnu: shadow: Remove input labels.
* gnu/packages/admin.scm (shadow)[arguments]: In ‘set-runtime-shell’,
use ‘search-input-file’.
[inputs]: Remove labels.

Change-Id: I1ce9d93f425c77f901d8e21b37d1a069824cab45
2024-08-31 10:44:25 +02:00
Ludovic Courtès
bb5a447992
gnu: meson: Update to 1.1.1 and ungraft.
* gnu/packages/build-tools.scm (meson): Update to 1.1.1.
[replacement]: Remove.
(meson/newer): Remove.
(meson-python/newer): Remove.
* gnu/packages/pdf.scm (capypdf)[arguments]: Remove #:meson.

Change-Id: I77dd9203461e8dd635753ec742bd8046dd63e3f9
* gnu/packages/python-science.scm (python-pandas-2): Use regular meson-python.
* gnu/packages/python-xyz.scm (python-contourpy): Same
2024-08-31 10:44:25 +02:00
Ludovic Courtès
c89d2bcceb
gnu: dfc: Remove input labels.
* gnu/packages/admin.scm (dfc)[native-inputs]: Remove label.

Change-Id: I2f67a109a9ebada64457241adffd1d57e9cba3b6
2024-08-31 10:44:24 +02:00
Ludovic Courtès
550a8fdb06
gnu: daemonize: Fix typo in description.
* gnu/packages/admin.scm (daemonize)[description]: Fix trpo.

Change-Id: I60023e7c6d3a6422bb6d44cb0633b6bbdc76938e
2024-08-31 10:44:24 +02:00
Ludovic Courtès
69663cdfa4
gnu: hurd: Prettify origin file names.
* gnu/packages/hurd.scm (hurd-headers): Drop “v” from ‘version’ string.
(dde-sources): Strip COMMIT in ‘file-name’ field.
(rumpkernel)[source]: Pass VERSION rather than COMMIT to ‘git-file-name’.

Change-Id: I403048d5ba79ef410383c567157aca416843a529
2024-08-31 10:44:24 +02:00
Janneke Nieuwenhuizen
3ed5c6d943
gnu: guix: Fix for cross build.
This is a follow-up to commit
    7f917fefab
    gnu: guix: Add guile-semver.

It fixes

    [ 10%] LOAD     guix/import/crate.scm
    Failed to autoload semver-range-contains? in (semver ranges):
    ;;; no code for module (semver ranges)
    ;;; Failed to autoload semver-range-contains? in (semver ranges):
    ;;; no code for module (semver ranges)
    [..]
    make[2]: Leaving directory '/tmp/guix-build-guix-1.4.0-16.aeb4943.drv-0/source'
    make[1]: *** [Makefile:6146: all-recursive] Error 1

* gnu/packages/package-management.scm (guix)[native-inputs]: Add guile-semver.

Change-Id: I5cce0f1912e4d9810fcffb3e549c57d5ba68e31b
2024-08-31 10:44:24 +02:00
Janneke Nieuwenhuizen
febb860511
gnu: hurd-headers: Update to v0.9.git20231217.
* gnu/packages/hurd.scm (hurd-headers): Update to v0.9.git20231217.

Change-Id: I1d9739ba912e425e66accfcb56a91ac8efc4fe7c
2024-08-31 10:44:24 +02:00
Janneke Nieuwenhuizen
a036102c18
gnu: gnumach-headers: Update to v1.8+git20230410.
* gnu/packages/hurd.scm (gnumach-headers): Update to v1.8+git20230410.

Change-Id: I2ca1efb8610bbd2fa85b44c60ae065f0323b552c
2024-08-31 10:44:24 +02:00
Janneke Nieuwenhuizen
69581a541a
gnu: glibc/hurd: Update to 2.38.
* gnu/packages/base.scm (glibc/hurd): Define to glibc.

Change-Id: I4c07ba3971dfe6bfba07e943648420b603c40e29
2024-08-31 10:44:24 +02:00
Ludovic Courtès
a84b5f9230
gnu: cross-base: Build cross-compilers with ‘--enable-languages=c,c++’.
This fixes a regression introduced in
d21d596f72ad491937123980e65d3efedc903bd6 where the cross-compiler would
fail to build with:

  checking dynamic linker characteristics... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
  make[1]: *** [Makefile:13129: configure-target-libobjc] Error 1

* gnu/packages/cross-base.scm (cross-gcc-arguments): Clear
‘--enable-languages’ flag unconditionally.

Change-Id: I2bb38bac42e0791cad617893343c0d3dfc963450
2024-08-31 10:44:24 +02:00
Ludovic Courtès
c24db4693f
gnu: binutils-gold: Fix typo.
Fixes a regression introduced in
8e9573784f06ec2af96f9298c6dd4346688888fb.

* gnu/packages/base.scm (binutils-gold): Use ‘unquote-splicing’ for the
optional ‘skip-gold-testsuite’ phase.

Change-Id: Ia08dfe66496aaf2c05df6d3832557f9856ad84a8
2024-08-31 10:44:23 +02:00
Janneke Nieuwenhuizen
0570c7e7d7
gnu: git-minimal: Fix cross build.
This is a follow-up to

    aae7b00d52275619e7676e948bf286d2a1ffbdb2
    gnu: git: Remove labels and use gexps.

* gnu/packages/version-control.scm (git-minimal)[arguments]: Use #+ to access
native-inputs for bash-minimal and bash.

Change-Id: I6b4cb18123d6f98bda84726b99531c88542be12d
2024-08-31 10:44:23 +02:00
Ekaitz Zarraga
3d8a838d91
gnu: tcc-boot0: Update to 0.9.26-1149-g46a75d0c.
* gnu/packages/commencement.scm (tcc-boot0): Update to
0.9.26-1149-g46a75d0c.
[supported-systems]: Add riscv64-linux.

Change-Id: I5de3e0a36366d57722e380edeedd389f3cf36f98
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2024-08-31 10:44:23 +02:00
Ekaitz Zarraga
8df35ea55c
gnu: mes-boot: Update to 0.25.1.
* gnu/packages/commencement.scm(mes-boot): Update to 0.25.1.
[arguments]: Adjust the 'configure phase to allow for other systems.
Adjust the 'build phase.
[supported-systems]: Add riscv64-linux.

Change-Id: I262a8b6855e8c6528969d0c4b69a42cd2f477f2d
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2024-08-31 10:44:23 +02:00
Ekaitz Zarraga
129b07dbf3
gnu: stage0-posix: Update to 1.6.0
In 1.6.0 we have all the inputs merged in the tarball so we don't need
to add extra inputs in separate tarballs.

* gnu/packages/commencement (bootstrap-seeds): Remove it.
(stage0-posix): Update to 1.6.0 and use the sub-packages from the
tarball.  Simplify the build phase.

Change-Id: Ic025335ecc66acecbc0a928995a07e521aeb7742
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2024-08-31 10:44:23 +02:00
Ludovic Courtès
77ee97628a
gnu: binutils: Use gexps.
This is the result of applying ‘guix style -S arguments’ and making
small adjustments.

* gnu/packages/base.scm (binutils)[arguments]: Use gexps.
(binutils-2.33, binutils-gold): Likewise.
* gnu/packages/commencement.scm (binutils-mesboot0, binutils-mesboot1)
(binutils-boot0, binutils-final): Likewise.
* gnu/packages/cross-base.scm (cross-binutils*): Adjust accordingly.
* gnu/packages/embedded.scm (make-propeller-binutils): Use gexps.
* gnu/packages/make-bootstrap.scm (%binutils-static): Use gexps.

Change-Id: I59cbe29760784b09e6d4e80beca9153cb9b495a7
2024-08-31 10:44:23 +02:00
Ludovic Courtès
f9f2198d82
gnu: cross-base: ‘cross’ helper uses gexps.
This is required in cases where P uses gexps.

* gnu/packages/cross-base.scm (cross): Use gexps.

Change-Id: Ie038cbec67a53700f31791ee2d171918788111d2
2024-08-31 10:44:23 +02:00
Ludovic Courtès
724c1a120a
build-system/gnu: ‘package-with-extra-configure-variable’ uses gexps.
This is required in cases where P uses gexps.

* guix/build-system/gnu.scm (package-with-extra-configure-variable): Use
gexps.

Change-Id: If5cbabc946cfcaf39c040a79f9495760639d44e2
2024-08-31 10:44:22 +02:00
Ludovic Courtès
745177cea5
gnu: gcc@7: Allow compilation with glibc 2.38.
* gnu/packages/patches/gcc-7-libsanitizer-fsconfig-command.patch: New
file.
* gnu/packages/gcc.scm (gcc-7)[source]: Use it.
* gnu/local.mk (dist_patch_DATA): Add it.

Change-Id: Ifa273b92573281c34d83e5fb8cd68734ef02c7fd
2024-08-31 10:44:22 +02:00
Ludovic Courtès
e7fdcffc73
gnu: binutils: Update to 2.41.
* gnu/packages/base.scm (binutils): Update to 2.41.
[properties]: Remove.
[native-inputs]: New field.
(binutils+documentation): Remove.
(binutils-2.33)[native-inputs]: New field.
(binutils-gold): Inherit from BINUTILS.
[native-inputs]: Use ‘modify-inputs’ to preserve BISON.
* gnu/packages/commencement.scm (binutils-boot0)[arguments]: Pass
‘--disable-gprofng’.
[native-inputs]: New field.
(binutils-final): Move below ‘libstdc++’.
[native-inputs]: New field.
[arguments]: Add libstdc++ to #:allowed-references.
Extend #:configure-flags to libstdc++ is found.

Change-Id: I72750ca46ffd484d26608c4cec2931edb06b19a5
2024-08-31 10:44:22 +02:00
Maxim Cournoyer
8224555802
man-db: Add support for zstd compressed man pages.
* guix/man-db.scm: Autoload zlib and zstd modules.
(<mandb-entry>): Adjust comment.
(abbreviate-file-name): Adjust regexp.
(gz-compressed?, zstd-compressed?): New predicates.
(entry->string): Use them.
(man-page->entry): Adjust doc.  Use input port reader appropriate to the
compression type, if any.
(man-files): Adjust regexp.
(mandb-entries): Adjust link resolving predicate.
* guix/profiles.scm (manual-database): Add guile-zlib extension.

Change-Id: I6336e46e2d324c520a7d15d6cafd12bbf43c5b09
Reviewed-by: Ludovic Courtès <ludo@gnu.org>
2024-08-31 10:44:22 +02:00
Maxim Cournoyer
dfd18d0d75
build: gnu-build-system: Compress man pages with zstd.
The aim is to improve the efficiency of computing the man pages database,
which must decompress the man pages.  Zstd is faster than gzip, especially for
decompression, and has a similar compression ratio.

* gnu/packages/commencement.scm (%final-inputs): Add zstd.
* guix/build/gnu-build-system.scm
(compress-documentation) Update doc.
<info-compressor, info-compressor-flags, man-compressor, man-compressor-flags>
<man-compressor-file-extension>: New arguments.
<compressed-documentation-extension>: Rename argument to...
<info-compressor-file-extension>: ... this.  Add an 'extension' argument to
the retarget-symlink nested procedure.  Use new arguments in nested
'maybe-compress' procedure.

Reviewed-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: Ibaad4658f8e5151633714d263d9198f56d255020
2024-08-31 10:44:22 +02:00
Maxim Cournoyer
c9666c120b
packages: Repack patched source archives via zstd by default.
* guix/build/utils.scm (compressor): Register zst file name extension.
* guix/packages.scm (%standard-patch-inputs): Add zstd.
(patch-and-repack): Rename tarxz-name nested procedure to tar-file-name, and
accept a new 'ext' argument; adjust accordingly.  Add zstd binding, and
replace the XZ_DEFAULTS environment variable with ZSTD_NBTHREADS.  Fallback to
xz when zstd is not available.

Reviewed-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: I614a6be8c87a4a0858eadce616c51d8e9b9fc020
2024-08-31 10:44:22 +02:00
Maxim Cournoyer
8e57c5d1f3
compression: Enable zstd parallel compression.
* gnu/compression.scm (%compressors) [zstd]: Provide the --threads argument.

Reviewed-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: I4e8dfe725d1b0721c0016c3013b9e609fee94367
2024-08-31 10:44:22 +02:00
Maxim Cournoyer
e91478e911
utils: Lower xz compression memory usage limit to 20%.
There were sometimes out of memory errors on the Berlin build farm, especially
for i686 or arm machines having less memory.

* guix/build/utils.scm (%xz-parallel-args): Reduce --memlimit value from 50%
to 20%.

Reviewed-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: If848bed92ef4c42d11a96057e59ee51a019d0573
2024-08-31 10:44:21 +02:00
Ludovic Courtès
c48f446444
gnu: rust: Run linker under C.UTF-8 instead of en_US.UTF-8.
This is a followup to 02d21712be1eb31a917313662b924763e81affb3.

* gnu/packages/rust.scm (rust-1.55)[arguments]: In
‘set-linker-locale-to-utf8’, change to C.UTF-8.

Change-Id: I94f27123ca8ac4761fd9bae6267c3a9d122b3a1d
2024-08-31 10:44:21 +02:00