Commit graph

142315 commits

Author SHA1 Message Date
Ludovic Courtès
02e43504b3
gnu: grep: Use gexps.
* gnu/packages/base.scm (grep)[arguments]: Use gexps.

Change-Id: I7311667b8b929161d1e7290ddfe37c0e875364b2
2024-08-31 10:45:46 +02:00
Ludovic Courtès
391ce2ea75
gnu: grep: Skip Gnulib’s ‘test-year2038’ on i586-gnu.
* gnu/packages/base.scm (grep)[arguments]: Add #:make-flags.

Change-Id: I262b6e677a40c37c14807a6189bd18c792099cae
2024-08-31 10:45:46 +02:00
Ludovic Courtès
461df5574f
gnu: gsl: Use gexps.
* gnu/packages/maths.scm (gsl)[arguments]: Use gexps.

Change-Id: Ic81576c61a237ff41d6ed767dcf58e38ca96e9ca
2024-08-31 10:45:46 +02:00
Ludovic Courtès
4d8382ab84
gnu: gsl: Fix test failures on i686-linux by building with -O2.
* gnu/packages/maths.scm (gsl)[arguments]: Pass #:make-flags '() on
i686-linux.  Remove modification of ‘linalg/test.c’ in
‘disable-failing-tests’ phase for i686-linux.

Change-Id: I615d4e0d71253ca294bc5c5c7a278e3046c186cc
2024-08-31 10:45:46 +02:00
Ludovic Courtès
4f55c361f4
gnu: commencement: Build ‘perl-boot0’ without stack protector on the Hurd.
* gnu/packages/commencement.scm (perl-boot0)[arguments]: Pass “-A
ccflags=-fno-stack-protector” on GNU/Hurd.

Change-Id: I04d4e276cdcc1bbf589273791a3f64e5a17c4152
2024-08-31 10:45:46 +02:00
Ludovic Courtès
1fce094bfb
gnu: perl-boot0: Use gexps.
* gnu/packages/commencement.scm (perl-boot0)[arguments]: Use gexps.

Change-Id: I5c6358ce09a42bfb702d91325efa3ca81fe5494a
2024-08-31 10:45:46 +02:00
Ludovic Courtès
bd2406d9d5
gnu: glibc-bootstrap: Update i586-gnu variant.
‘glibc-stripped-2.39-i586-pc-gnu.tar.xz’ was built from x86_64-linux
from the previous commit with:

  ./pre-inst-env guix build --target=i586-pc-gnu \
     -e '((@@ (gnu packages make-bootstrap) %glibc-bootstrap-tarball))'

This updated variant is necessary to match newer GNU Mach headers, which
are themselves necessary for the newer Hurd.

Fixes <https://issues.guix.gnu.org/72315>.

* gnu/packages/bootstrap.scm (%bootstrap-glibc): Update i586-gnu
variant.

Change-Id: I2d770e8001896059e1f27e50f7a4ddf15e4b5812
2024-08-31 10:45:45 +02:00
Ludovic Courtès
df38aacc02
gnu: make-bootstrap: Include libdl.a and libutil.a in ‘glibc-stripped’.
As of glibc 2.39, libdl.so and libutil.so are gone (they are part of
libc proper since 2.34), but empty .a files are provided for backward
compatibility with code using -ldl and -lutil.  Keep them.

* guix/build/make-bootstrap.scm (make-stripped-libc)[%libc-object-files-rx]:
Mach libdl.a and libutil.a.

Change-Id: I967c6f34a443366224293362b8a2302fe86fd5a0
2024-08-31 10:45:45 +02:00
Ludovic Courtès
8b6f33a4d9
gnu: make-bootstrap: Adjust ‘%glibc-stripped’ for glibc@2.39 on the Hurd.
Previously the second ‘copy-recursively’ call would fail with EEXIST
since glibc@2.39 already provides $includedir/include/mach.

* guix/build/make-bootstrap.scm (make-stripped-libc)[copy-mach-headers]:
Pass #:select? to ‘copy-recursively’ to exclude files already present
under INCDIR.

Change-Id: I7e5a93e46eefa18299c231468c720072468fdb10
2024-08-31 10:45:45 +02:00
Ludovic Courtès
e8a1b10c27
gnu: make-bootstrap: Fix cross-compilation of ‘%glibc-stripped’.
Previously, ‘guix build bootstrap-tarballs --target=aarch64-linux-gnu’
or similar would construct a cross-libc where ‘%current-target-system’
is set.  This would lead to a failure in the
‘add-cross-binutils-to-PATH’ phase, which assumes that
‘%current-target-system’ is #f; indeed, ‘cross-libc’ already returns a
cross libc and so ‘%current-target-system’ must be set to #f.

* gnu/packages/make-bootstrap.scm (%glibc-stripped)[inputs]: Move libc to…
[native-inputs]: … here.

Change-Id: Ifbf5e519ba3198940f4de4a36075d5302e923172
2024-08-31 10:45:45 +02:00
Ludovic Courtès
cfd67d36b5
gnu: make-bootstrap: Fix statically-linked ‘grep’ compilation.
The ‘%static-inputs’ list is used by ‘bootstrap-tarballs’ for systems
other than x86_64-linux and i686-linux.

* gnu/packages/make-bootstrap.scm (%static-inputs): Pass
‘--disable-perl-regexp’ and remove ‘--enable-perl-regexp’ for grep.

Change-Id: Id9cc8c026eee5031b00c1824624fe6da205d55eb
2024-08-31 10:45:45 +02:00
Ludovic Courtès
9fe0e5b353
gnu: make-bootstrap: Build with GCC 11 instead of GCC 7.
This fixes a glibc-for-bootstrap build issue on aarch64-linux.

* gnu/packages/make-bootstrap.scm (glibc-for-bootstrap)[native-inputs]:
Remove.
(gcc-for-bootstrap, package-with-relocatable-glibc)
(%gcc-static, %gcc-stripped): Depend on ‘gcc’ instead of ‘gcc-7’.

Reported-by: Ricardo Wurmus <rekado@elephly.net>
Change-Id: Ia7f62f9674873087aa20a9d7da8d25d94b215e5c
2024-08-31 10:45:45 +02:00
Nicolas Goaziou
c1fbcc7489
gnu: texlive-bbold: Fix build.
* gnu/packages/tex.scm (texlive-bbold)[arguments]<#:phases>: Add a phase to
skip building documentation, which fails.
[native-inputs]: Add TEXLIVE-ETOOLBOX.

Change-Id: I32526808c121b6d5ab1eb167fecbde38d40d0979
2024-08-31 10:45:45 +02:00
Nicolas Goaziou
b5e9be788f
gnu: texlive-revtex4-1: Fix build.
* gnu/packages/tex.scm (texlive-revtex4-1)[arguments]<#:phases>: Fix regexp
matching TEXLIVE-REVTEX source name.

Change-Id: Ideea61ed97d4ea544554faa02152fea6d0bd1947
2024-08-31 10:45:44 +02:00
Nicolas Goaziou
db082a527e
gnu: texlive-thucoursework: Fix build.
* gnu/packages/tex.scm (texlive-thucoursework)[native-inputs]: Add
TEXLIVE-XPATCH.

Change-Id: I578c27078e4692051d82596cb1692f21a8d979f6
2024-08-31 10:45:44 +02:00
Nicolas Goaziou
13fd321a49
gnu: texlive-suftesi: Fix build.
* gnu/packages/tex.scm (texlive-suftesi)[native-inputs]: Add
TEXLIVE-MANFNT-FONT and TEXLIVE-REALSCRIPTS.

Change-Id: I43505a5b4c0c6b78886be0c7fa8abb719bbe8b7a
2024-08-31 10:45:44 +02:00
Leo Famulari
0618dda2ab
gnu: python-urwid: Update to 2.6.15.
* gnu/packages/python-xyz.scm (python-urwid): Update to 2.6.15.
[build-system]: Use PYPROJECT-BUILD-SYSTEM.
[arguments]: Skip the test suite.
[propagated-inputs]: Add PYTHON-TYPING-EXTENSIONS and PYTHON-WCWIDTH.
[native-inputs]: Add PYTHON-SETUPTOOLS-SCM.

Change-Id: I13e242c4a1ec8a1ba6fad759e261468eb831eeb3
2024-08-31 10:45:44 +02:00
Ludovic Courtès
dd3b79e7a1
gnu: nss: Use ‘datefudge’ to run tests on 32-bit platforms.
Fixes <https://issues.guix.gnu.org/72239>.

* gnu/packages/nss.scm (nss)[arguments]: In ‘check’ phase, on 32-bit
platforms, modify ‘SOURCE_DIR’ in ‘gtests.sh’ and use ‘datefudge’ rather
than ‘faketime’.
[native-inputs]: On 32-bit platforms, use ‘datefudge’ rather than ‘libfaketime’.

Change-Id: I6b35f4d979897dd2215e189c4375aa0d792530d0
2024-08-31 10:45:44 +02:00
Ludovic Courtès
7aabf2daf2
gnu: commencement: ‘git-fetch-from-tarball’ can use ‘git-download’.
This works around the fact that hash mismatches for the tarball
download would lead to a build failure.

* gnu/packages/commencement.scm (built-in-builders*): New variable.
(git-fetch-from-tarball): Adjust to use the ‘git-download’ builder when
it’s available.  Add comments.

Change-Id: I63502da6c942f85bf012f7c6bf3aa3617f818183
2024-08-31 10:45:44 +02:00
Ricardo Wurmus
540f1c8bfe
gnu: inkscape: Conditionally disable precision tests.
* gnu/packages/inkscape.scm (inkscape/stable)[arguments]: Disable tests on
aarch64, ppc64le, and riscv64 that fail due to precision errors.

Change-Id: Ie40100ed4adc4d007211c695b34eb4d648345304
2024-08-31 10:45:44 +02:00
Leo Famulari
fc91a71c77
gnu: LibreOffice: Build with libxcrypt.
Glibc 2.38 no longer includes libcrypt by default, so we provide this
functionality via libxcrypt.

https://sourceware.org/glibc/wiki/Release/2.38#Building_libcrypt_is_disabled_by_default

* gnu/packages/libreoffice.scm (libreoffice)[inputs]: Add libxcrypt.

Change-Id: I3c9e02abb420a710d3a71bf137187dd989eb0398
2024-08-31 10:45:43 +02:00
Leo Famulari
8a20f58420
gnu: Boost: Fix a bug that breaks libetonyek.
This fixes <https://issues.guix.gnu.org/72040>.

* gnu/packages/patches/boost-fix-duplicate-definitions-bug.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/boost.scm (boost)[source]: Use it.
(boost-for-source-highlight): New variable, not using the patch.
* gnu/packages/pretty-print.scm (source-highlight)[inputs]: Replace BOOST with
BOOST-FOR-SOURCE-HIGHLIGHT.

Change-Id: I5fbc9eb5000aefd7d3a14cc7a0482741032b5400
2024-08-31 10:45:43 +02:00
Ricardo Wurmus
1c322552dd
gnu: inkscape: Update conditional patch.
* gnu/packages/inkscape.scm (inkscape)[arguments]: Fix substitution expression
to avoid syntax error.

Change-Id: I00a65848d2b95795a7a59c4c5164b14faefcf2b7
2024-08-31 10:45:43 +02:00
Ricardo Wurmus
f9f49a70f2
gnu: lib2geom: Disable broken test on aarch64.
* gnu/packages/graphics.scm (lib2geom)[arguments]: Conditionally disable
"elliptical-arc-test".

Change-Id: Id6bbcb9c94831daa65c9596f080c194392d08b42
2024-08-31 10:45:43 +02:00
Ricardo Wurmus
95db62d87d
gnu: yt-dlp: Add certificates.
* gnu/packages/video.scm (yt-dlp)[native-inputs]: Add nss-certs-for-test.

Change-Id: I767d7f6fa5ee038cb58c69abfc5f79a681dda308
2024-08-31 10:45:43 +02:00
Zheng Junjie
38e27332d6
gnu: Add nss-certs-for-test.
* gnu/packages/certs.scm (nss-certs-for-test): New variable.
* gnu/packages/python-web.scm (python-requests-next)[native-inputs]: Add it.

Change-Id: Id808e058835556717a6585ecd86dd14d0d2a5039
2024-08-31 10:45:43 +02:00
Ricardo Wurmus
4f13ad4aa4
gnu: epiphany: Fix dbus startup failure.
* gnu/packages/gnome.scm (epiphany)[arguments]: Create a union of all
directories in XDG_DATA_DIRS to avoid overwhelming dbus-daemon.

Change-Id: Iac1084832d0fe82c9d41a409a450bd9f2f0f7b93
2024-08-31 10:45:43 +02:00
Efraim Flashner
e885edc0df
gnu: libclc: Update to 18.1.8.
* gnu/packages/llvm.scm (libclc): Update to 18.1.8.
[native-inputs]: Replace clang-15, llvm-15 with clang-18, llvm-18.

Change-Id: I2f676eb2db9c3a8c808e1c26e3f93b9ed085b675
2024-08-31 10:45:42 +02:00
Efraim Flashner
a69b63cc73
gnu: python-lit: Update to 18.1.8.
* gnu/packages/check.scm (python-lit): Update to 18.1.8.

Change-Id: I7f77079c83c0caa42b3ddfc8e1f12373c13aaca6
2024-08-31 10:45:42 +02:00
Efraim Flashner
d10ab3d397
gnu: mesa: Fix building on aarch64-linux.
* gnu/packages/gl.scm (mesa)[inputs]: When building for aarch64-linux
use clang-18 and llvm-18 instead of llvm-for-mesa.
[native-inputs]: When building for aarch64-linux add libclc.
[arguments]: Adjust the 'disable-failing-test phase when building for
aarch64-linux to skip a test.
(mesa-opencl)[native-inputs]: When building for aarch64-linux don't add
clang-15.
* gnu/packages/check.scm (python-lit),
* gnu/packages/llvm.scm (libclc),
* gnu/packages/vulkan.scm (spirv-llvm-translator): Add a note about it
being a dependency for mesa.

Change-Id: I0bf5ab019ffd0626ad2d0c38bafceec401e3c886
2024-08-31 10:45:42 +02:00
Zheng Junjie
8a2a088f29
gnu: chez-scheme-for-racket: Add dependency on ‘texlive-etoolbox’.
* gnu/packages/chez.scm (chez-scheme-for-racket)[native-inputs]: Add
TEXLIVE-ETOOLBOX.

Change-Id: I2ab849443dbad11a8a867b543c5548b3f266f655
2024-08-31 10:45:42 +02:00
Zheng Junjie
134969ab63
gnu: plasma-workspace: Add libxcrypt dependency.
* gnu/packages/kde-plasma.scm (plasma-workspace)[inputs]: Add libxcrypt.

Change-Id: I9c5522367dc98cbec42aa869530bb2bb448eb808
2024-08-31 10:45:42 +02:00
Zheng Junjie
a4858b3194
gnu: fakeroot: Update to 1.35.1.
* gnu/packages/linux.scm (fakeroot): Update to 1.35.1.

Change-Id: I26d743f4394a840b56e07df7e43f5d598cfb98ea
2024-08-31 10:45:42 +02:00
Zheng Junjie
548af6589f
gnu: zeal: Fix build.
* gnu/packages/documentation.scm (zeal)[arguments]: Remove phases.

Change-Id: I93b766d66862115c1cc92789ad3587606fa2b631
2024-08-31 10:45:42 +02:00
Zheng Junjie
65de6fc659
gnu: opencolorio: Fix cmake file.
* gnu/packages/image-processing.scm (opencolorio)[arguments]: Add
fix-OpenColorIOConfig phase.

Change-Id: I317870801f77dc59bcd07b0d11a750bbbb63b327
2024-08-31 10:45:42 +02:00
Zheng Junjie
dc625762d5
gnu: openimageio: Fix cmake file.
* gnu/packages/graphics.scm (openimageio)[arguments]: Add
fix-OpenImageIOConfig phase.

Change-Id: I0a923c8513069dde5cd3e42fde9279cbd177a10a
2024-08-31 10:45:41 +02:00
Ricardo Wurmus
975ed37e5d
gnu: lilypond: Add missing input.
* gnu/packages/music.scm (lilypond)[native-inputs]: Add texlive-t1utils.

Change-Id: I3f913613bce861f8def4b040d2f0894a024156e5
2024-08-31 10:45:41 +02:00
Zheng Junjie
319ce074fa
gnu: openimageio: Fix build.
This fixes <https://issues.guix.gnu.org/72046>.

* gnu/packages/graphics.scm (openimageio)[arguments]<#:phases>: Add
fix-zlib-version phase.

Change-Id: I7ea6e7b7da675bf11a85381cbe26c6992f2bd299
2024-08-31 10:45:41 +02:00
Ludovic Courtès
c289311336
gnu: gd: Skip failing test on i686-linux.
* gnu/packages/gd.scm (gd)[arguments]: Add “XFAIL_TESTS” to #:make-flags
on i686-linux.

Change-Id: I52a9cfeb352b0ec3fce4ff1f82f43c5f7bef6ef0
2024-08-31 10:45:41 +02:00
Ludovic Courtès
43e6dc3cda
gnu: libfaketime: Support compilation with glibc 2.39 on i686-linux.
* gnu/packages/check.scm (libfaketime)[arguments]: Add
‘switch-libc-call’ phase when not ‘target-64bit?’.
In ‘pre-check’ phase, delete ‘test_exclude_mono.sh’ on 32-bit platforms.

Change-Id: Ia4c0d1d13cdfa6028f3e11c63e76122a99a84e4d
2024-08-31 10:45:41 +02:00
Leo Famulari
5d08c05d22
gnu: ki18n: Disable a broken test.
This test is acknowledged to be broken upstream:

https://bugs.kde.org/show_bug.cgi?id=444614
241e0cfa96

* gnu/packages/kde-frameworks.scm (ki18n)[arguments]: Disable the
'kcatalogtest' in the custom 'check' phase.

Change-Id: I8eed809deb31a891bb62b7d5bb30a9de2c0141c1
2024-08-31 10:45:41 +02:00
Ludovic Courtès
9b4a07e58d
gnu: r-minimal: Add dependency on ‘texlive-etoolbox’.
* gnu/packages/statistics.scm (r-with-tests)[native-inputs]: Add
TEXLIVE-ETOOLBOX.

Change-Id: I1ea48e5afa013d8c36054f423e57252dbc02f12a
2024-08-31 10:45:41 +02:00
Nicolas Goaziou
450ab2250c
gnu: texlive-scripts: Remove no longer necessary fix.
* gnu/packages/tex.scm (texlive-scripts)[arguments]<#:phases>: Remove
FIX-FMTUTIL.

Change-Id: I12813178461d09a278b1f445ab962af281ebf6c8
2024-08-31 10:45:40 +02:00
Nicolas Goaziou
60c6ebb41d
gnu: texlive-xpinyin: Skip build.
* gnu/packages/tex.scm (texlive-xpinyin)[arguments]: Simply it.  Skip build as
this introduces too many issues.
[native-inputs]: Remove them.

Change-Id: Ie7f9c4adc15724fef8f084b2d3c13d5789039e5a
2024-08-31 10:45:40 +02:00
Nicolas Goaziou
78ed0f9cf9
gnu: texlive-autopdf: Fix build.
* gnu/packages/tex.scm (texlive-autopdf)[native-inputs]: Add TEXLIVE-ETOOLBOX,
TEXLIVE-CM-SUPER.

Change-Id: I7de8e56d5fd8001b5e5e8f45972726d646da7f65
2024-08-31 10:45:40 +02:00
Nicolas Goaziou
7bfc8cf966
gnu: texlive-extract: Skip build.
* gnu/packages/tex.scm (texlive-extract)[arguments]<#:phases>: Remove BUILD
phase.
[native-inputs]: Add TEXLIVE-ETOOLBOX.

Change-Id: Iaf1fb8368a85619aa00c0241f6098c9bef4a8fea
2024-08-31 10:45:40 +02:00
Nicolas Goaziou
61233e0134
gnu: texlive-luatex: Generate "luatex.fmt" and "dviluatex.fmt".
* gnu/packages/tex.scm (texlive-luatex)[native-inputs]: Add TEXLIVE-KPATHSEA.
[properties]: Preserve TEXLIVE-KPATHSEA from the updater.

Change-Id: I1ef7ca3f637c519ce3b7e93e0bb25478635486c4
2024-08-31 10:45:40 +02:00
Nicolas Goaziou
3005fd4c36
gnu: tex: Add comments about TeX Live updating process.
* gnu/packages/tex.scm: Document TeX Live updating process.

Change-Id: I953afc423376eeeb943d38684f93fa26c555833d
2024-08-31 10:45:40 +02:00
Nicolas Goaziou
3d304c23f0
gnu: texlive-luajittex-bin: Skip build on ppc64le and riscv64 architectures.
* gnu/packages/tex.scm (texlive-luajittex-bin)[arguments]<#:phases>: Skip
build on ppc64le and riscv64 architectures.

Change-Id: Ifb70cbb2637c64bb8f2cc31598e7059647210789
2024-08-31 10:45:40 +02:00
Nicolas Goaziou
ef12c00f44
gnu: texlive-context: Fix context executable.
* gnu/packages/tex.scm (texlive-context)[arguments]<#:link-scripts>:
"mtxrun.lua" is not meant to be symlinked to "/bin"
<#:phases>: Find another way to force using "texmfcnf.lua" from TEXLIVE-LUATEX
input.  Install "context" and "mtxrun" scripts in "/bin".

Change-Id: Ifc62772d6cc4dff1636f0e8c9470a91d8be69229
2024-08-31 10:45:39 +02:00