Janneke Nieuwenhuizen
8e8339a20a
Revert "gnu: gcc-4.7: Fix build with gcc-14."
...
Touching gcc-4.7 is best avoided as it causes a gcc-mesboot world build.
Also, gcc-4.7 didnt' build with gcc-11 either.
This reverts commit adea36d41ef106633cc74a5b054d8b7e323a8432.
2025-01-12 16:18:50 +01:00
Janneke Nieuwenhuizen
b23e55912e
gnu: gcc-4.7: Fix build with gcc-14.
...
This gets us past the ucontext_t problem, next up:
In file included from /tmp/guix-build-gcc-fixed-4.7.4.drv-0/build/x86_64-unknown-linux-gnu/libstdc++-v3/include/cstdlib:66:0,
from ../../../../gcc-4.7.4/libstdc++-v3/libsupc++/eh_catch.cc:25:
/gnu/store/d0x6p8327didrav23b1xq9gdawn0b906-gcc-14.2.0/include/c++/stdlib.h:38:12: error: ‘std::abort’ has not been declared
* gnu/packages/patches/gcc-4.7-ucontext-type-confusion.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/gcc.scm (gcc-4.7): Use it.
[arguments]: Use CXX="g++ c++03" in #:configure-flags.
Change-Id: I9c43d5371aa491bb47eaba26f2d21e8500dc1955
2025-01-12 16:18:50 +01:00
Janneke Nieuwenhuizen
4f7d8022f7
gnu: gcc-11: Update to 11.5.0; fixes build with gcc-14.
...
* gnu/packages/gcc.scm (gcc-11): Update to 11.5.0.
Change-Id: I57b0ab94e733ab9eb2ad226b5fcbc951860a48c3
2025-01-12 16:18:50 +01:00
Janneke Nieuwenhuizen
e3d5caa547
bash-minimal: Use gcc-14 hurd/x86-linux build fix for all platforms.
...
* gnu/packages/bash.scm (bash-minimal)[arguments]: Unconditionally add CFLAGS
to #:configure-flags to relax gcc-14's strictness.
Change-Id: Ifd502adf8c53aa960c02a50bc5bd498bfb9858f6
2025-01-12 16:18:50 +01:00
Janneke Nieuwenhuizen
f88111cbf1
gnu: gcc-4.7: Add gcc-wrapper from gcc-final.
...
* gnu/packages/commencement.scm (gcc-boot0)[arguments]: Remove CC_FOR_BUILD strictness
relaxing from #:make-flags.
(gcc-final)[arguments]: Move stage "create-stage-wrapper" and related settings
in #:configure-flags and #:make-flags to...
* gnu/packages/gcc.scm (gcc-4.7)[arguments]: ...new "relax-gcc-14s-strictness
stage here.
Change-Id: I0c372a4f372281b54e44dd446b6e5ddac5841c5a
2025-01-12 16:18:50 +01:00
Efraim Flashner
b0c6ca831a
gnu: bootstrap: %bootstrap-glibc: Fix linking on armhf-linux.
...
* gnu/packages/bootstrap.scm (%bootstrap-glibc)[arguments]: When
building for armhf-linux remove a reference to a non-existent library.
Change-Id: I587ba7a40eb05b354e4a11d07e9f4313108e43d1
2025-01-12 16:18:50 +01:00
Efraim Flashner
74311f7268
gnu: bootstrap: %bootstrap-glibc: Patch more files.
...
* gnu/packages/bootstrap.scm (%bootstrap-glibc)[arguments]: When
building for x86* or arm* architectures also patch libpthread.so.
Change-Id: Ief0c78444bbde5c4a1849daa53e13dc3b154b1ed
2025-01-12 16:18:50 +01:00
Janneke Nieuwenhuizen
2463d999d7
gnu: git: Use -Wno-error= for Hurd cross-build.
...
* gnu/packages/version-control.scm (git-minimal)[arguments]: Insert "error="
in #:configure-flags.
Change-Id: I8d2197b7eb5a1275aebe4d817ff0db77dee55134
2025-01-12 16:18:50 +01:00
Janneke Nieuwenhuizen
006d5b4b7c
gnu: texinfo-4: Use -Wno-error= for Hurd cross-build.
...
* gnu/packages/texinfo.scm (texinfo-4)[arguments]: Insert "error=" in #:configure-flags.
Change-Id: Iff63cbfbfe39807d2279354732b34b5755b65b3b
2025-01-12 16:18:50 +01:00
Janneke Nieuwenhuizen
7f185527b5
gnu: libssh: Use -Wno-error= for Hurd cross-build.
...
* gnu/packages/ssh.scm (libssh)[arguments]: Insert "error=" in #:configure-flags.
Change-Id: Iaad6931cbd99c5224fc799f9f8b2c39ee8e4ae12
2025-01-12 16:18:50 +01:00
Janneke Nieuwenhuizen
17ce2a6298
gnu: m4: Use -Wno-error= for Hurd cross-build.
...
* gnu/packages/m4.scm (m4)[arguments]: Insert "error=" in #:configure-flags.
Change-Id: I344be6610462e363395badae7cb510b8468350d8
2025-01-12 16:18:50 +01:00
Janneke Nieuwenhuizen
baf56d33c4
gnu: libedit: Use -Wno-error= for cross-build.
...
* gnu/packages/libedit.scm (libedit)[arguments]: Insert "error=" in #:configure-flags.
Change-Id: If7130a6a08b617a5e69819d55b9235e8c79b86f0
2025-01-12 16:18:49 +01:00
Janneke Nieuwenhuizen
ab248b40e1
gnu: netdde: Use -Wno-error=.
...
* gnu/packages/hurd.scm (netdde)[arguments]: Insert "error=" in WARNINGS.
Change-Id: I2f00dc590aa8dfef2c0b29f0f7aca4c4753b97cc
2025-01-12 16:18:49 +01:00
Janneke Nieuwenhuizen
6cca4488b3
gnu: hurd: Use -Wno-error=.
...
* gnu/packages/hurd.scm (hurd)[arguments]: Insert "error=" in WARNINGS.
Change-Id: I13f071edfce2b66e8fb0ead85403052a09fb0411
2025-01-12 16:18:49 +01:00
Janneke Nieuwenhuizen
1b57237c51
gnu: flex: Use -Wno-error= for cross-build.
...
* gnu/packages/flex.scm (flex)[arguments]: Insert "error=" in #:configure-flags.
Change-Id: If564a1fd50ae754ad499b7985e2166c352e32e1a
2025-01-12 16:18:49 +01:00
Janneke Nieuwenhuizen
fb9f0abe0a
gnu: ldb: Update to 2.9.2; fixes build with gcc-14.
...
* gnu/packages/samba.scm (ldb): Update to 2.9.2.
Change-Id: I43f6b831e2603d106aefbc9e9a5718d35efe23f2
2025-01-12 16:18:49 +01:00
Janneke Nieuwenhuizen
5533876c48
gnu: tevent: Update to 0.16.1; fixes build with gcc-14.
...
* gnu/packages/samba.scm (tevent): Update to 0.16.1.
Change-Id: I1ea6d75b49eaa243d5e895c2699757ccf9e7bd2c
2025-01-12 16:18:49 +01:00
Janneke Nieuwenhuizen
ab8a364342
gnu: slim: Fix build with gcc-14.
...
* gnu/packages/patches/slim-gcc-14.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/display-managers.scm (slim)[source]: Use it.
Change-Id: Ie5bd02ad047f5b6d1c185a53c2c0b1456ef941a0
2025-01-12 16:18:49 +01:00
Janneke Nieuwenhuizen
5fe0fe4888
gnu: talloc: Update to 2.4.2; fixes build with gcc-14.
...
* gnu/packages/samba.scm (talloc): Update to 2.4.2.
Change-Id: I63d3f1668c5b7a75161c1dc189c26635092c0b64
2025-01-12 16:18:49 +01:00
Janneke Nieuwenhuizen
b1be4d014f
gnu: python-numpy: Update to 1.26.4 and fix build with gcc-14.
...
* gnu/packages/patches/python-numpy-gcc-14.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/python-xyz.scm (python-numpy): Update to 1.26.4 and use it.
[arguments]: Add phase "relax-gcc-14-strictness". In phase "check", disable
more tests.
[native-inputs]: Add gcc-14 before gfortran so that gfortran's fenv.h include
doesn't win and break the build.
Change-Id: I9c8053c66f21521371a85107ef1864a1c0d19ad4
2025-01-12 16:18:49 +01:00
Janneke Nieuwenhuizen
4696dd748d
gnu: openblas: Update to 0.3.28; fixes build with gcc-14.
...
* gnu/packages/maths.scm (openblas): Update to 0.3.28.
Change-Id: I63d3f1668c5b7a75161c1dc189c26635092c0b64
2025-01-12 16:18:49 +01:00
Janneke Nieuwenhuizen
be51e8f3ad
gnu: Use cryptsetup-minimal instead of cryptsetup.
...
* gnu/packages/admin.scm (pam-mount)[inputs]: Use cryptsetup-minimal instead
of cryptsetup.
* gnu/packages/crypto.scm (tomb)[inputs]: Likewise.
* gnu/packages/linux.scm (ecryptfs-utils)[inputs]: Likewise.
* gnu/packages/password-utils.scm (bruteforce-luks)[inputs]: Likewise.
* gnu/packages/storage.scm (ceph)[inputs]: Likewise.
* gnu/packages/virtualization.scm (ganeti-instance-guix)[inputs]: Likewise.
* gnu/packages/disk.scm (volume-key)[inputs]: Likewise.
(libblockdev)[inputs]: Likewise.
* gnu/packages/freedesktop.scm (udisks)[inputs]: Likewise.
* gnu/system/install.scm (%installer-disk-utilities)[inputs]: Likewise.
Change-Id: Ib48ae1b45f6c63edd620a932241f2aa57567a350
2025-01-12 16:18:49 +01:00
Janneke Nieuwenhuizen
35af8b0444
gnu: Add cryptsetup-minimal.
...
The ruby-asciidoctor dependency pulls-in pandoc, 316 ghc packages, and 204
ruby packages, for documentation only.
* gnu/packages/cryptsetup.scm (cryptsetup): Rename to...
(cryptsetup-minimal): ...this.
[native-inputs]: Remove optional ruby-asciidoctor.
(cryptsetup): New variable. Inherit from cryptsetup-minimal.
[native-inputs]: Add ruby-asciidoctor if available.
Change-Id: I1d4d2160e1fd64057a188afa3c9cbf037610727a
2025-01-12 16:18:49 +01:00
Janneke Nieuwenhuizen
bde6a60d57
gnu: tdb: Update to 1.4.12; fixes build with gcc-14.
...
* gnu/packages/databases.scm (tdb): Update to 2.6.9.
Change-Id: I63d3f1668c5b7a75161c1dc189c26635092c0b64
2025-01-12 16:18:49 +01:00
Janneke Nieuwenhuizen
30354d4e48
gnu: pth: Fix build with gcc-14.
...
* gnu/packages/pth.scm (pth)[arguments]: Add #:configure-flags to relax
gcc-14's strictness.
Change-Id: Ifb215f3ae393a268b15dc0316b34c5bb8607b46f
2025-01-12 16:18:49 +01:00
Janneke Nieuwenhuizen
2e094a88d7
gnu: openldap: Update to 2.6.9; fixes build with gcc-14.
...
* gnu/packages/openldap.scm (openldap): Update to 2.6.9.
Change-Id: Ie9967139a7346c8fccc96ab88d3e6399aab6bdfe
2025-01-12 16:18:49 +01:00
Janneke Nieuwenhuizen
5717448be3
gnu: ntp: Fix build with gcc-14.
...
* gnu/packages/ntp.scm (ntp)[arguments]: Add CFLAGS to #:configure-flags to
relax gcc-14's strictness.
Change-Id: I757155a64abdabc119a4579b74b9a64d61df2320
2025-01-12 16:18:48 +01:00
Janneke Nieuwenhuizen
630f3a2180
gnu: gn: Fix build with gcc-14.
...
* gnu/packages/gnome.scm (gamin)[arguments]: In phase `set-build-environment'
set CXXFLAGS to relax gcc-14's strictness.
Change-Id: I1e8a91aa036b1f9d0f8297eead0872f313f72146
2025-01-12 16:18:48 +01:00
Janneke Nieuwenhuizen
140a746f04
gnu: gamin: Fix build with gcc-14.
...
* gnu/packages/gnome.scm (gamin)[arguments]: Add #:configure-flags to relax
gcc-14's strictness.
Change-Id: I1e8a91aa036b1f9d0f8297eead0872f313f72146
2025-01-12 16:18:48 +01:00
Janneke Nieuwenhuizen
bd467adb96
gnu: bdb-4.8: Fix build with gcc-14.
...
* gnu/packages/dbm.scm (bdb-4.8)[arguments]: Add CFLAGS to #:configure-flags
to relax gcc-14's strictness.
Change-Id: If016d18710acd525462f7f108939180650c73587
2025-01-12 16:18:48 +01:00
Janneke Nieuwenhuizen
fffbed406d
gnu: jack-1: Fix build with gcc-14.
...
* gnu/packages/audio.scm (jack-1)[arguments]: Add CFLAGS to #:configure-flags
to relax gcc-14's strictness.
Change-Id: Id4506b072e7651991be54f119645d7842757ed0b
2025-01-12 16:18:48 +01:00
Janneke Nieuwenhuizen
891e0d225e
gnu: cyrus-sasl: Fix build mwith gcc-14.
...
* gnu/packages/cyrus-sasl.scm (cyrus-sasl)[arguments]: Add CFLAGS to #:configure-flags
to relax gcc-14's strictness.
Change-Id: Ib6afe50a3913ed38aad3eb673786b424307fc4a7
2025-01-12 16:18:48 +01:00
Janneke Nieuwenhuizen
19e840924e
gnu: epson-inkjet-printer-escpr: Fix build with gcc-14.
...
* gnu/packages/cups.scm (epson-inkjet-printer-escpr)[arguments]: Add CFLAGS
to #:configure-flags to relax gcc-14's strictness.
Change-Id: I2333252701bc47adfef3da9f40b14c4dbda36abe
2025-01-12 16:18:48 +01:00
Janneke Nieuwenhuizen
4d57eb2342
gnu: fontforge: Update to 20230101 and fix build with gettext-0.23.
...
* gnu/packages/fontutils.scm (fontforge): Update to 20230101.
[arguments]: Add stage "do-not-use-msgfmt--check".
Change-Id: I2e4e347e86a32963ac7b927be3bc9235dc326fd6
2025-01-12 16:18:48 +01:00
Janneke Nieuwenhuizen
5592968e19
gnu: texlive-xdvi-bin: Fix build with gcc-14.
...
* gnu/packages/tex.scm (texlive-xdvi-bin): Add CFLAGS to #:configure-flags to
relax gcc-14's strictness.
Change-Id: Ia4f50c46911c4c4f97b8d9ba554db6f194a2c96e
2025-01-12 16:18:48 +01:00
Janneke Nieuwenhuizen
81ad306875
gnu: zziplib: Update to 0.13.78; fixes build with gcc-14.
...
* gnu/packages/compression.scm (zziplib): Update to 0.13.78.
Change-Id: I5ea5999fe36696791543b11c2649ac06d07e7f26
2025-01-12 16:18:48 +01:00
Efraim Flashner
279be18af5
gnu: gcc-boot0: Fix building for aarch64-linux.
...
* gnu/packages/commencement.scm (gcc-boot0)[inputs]: When building for
aarch64-linux use libstdc++-boot0 from gcc-5.
Change-Id: I647694e70e461e100052801874f50c5c20b49398
2025-01-12 16:18:48 +01:00
Janneke Nieuwenhuizen
b79d0cd4f8
gnu: localed: Fix build with gcc-14.
...
* gnu/packages/freedesktop.scm (localed)[arguments]: Add c_args to #:configure-flags
to relax gcc-14's strictness.
Change-Id: I2cb4d9bc7e22ab0bedacbd79b98d33a1b6a27bd0
2025-01-12 16:18:48 +01:00
Janneke Nieuwenhuizen
00a0dc2d0f
gnu: serf: Update to 1.3.10 and fix build with gcc-14.
...
* gnu/packages/patches/serf-python3.patch: Remove file.N
* gnu/local.mk (dist_patch_DATA): Unregister it.
* gnu/packages/web.scm (serf): Update to 1.3.10 and remove it.
[arguments]: Add CFLAGS to #:scons-flags to relax gcc-14's strictness.
Change-Id: I2cb4d9bc7e22ab0bedacbd79b98d33a1b6a27bd0
2025-01-12 16:18:48 +01:00
Janneke Nieuwenhuizen
316cff52c9
gnu: libxaw3d: Update to 1.6.6, fixes build with gcc-14.
...
* gnu/packages/xorg.scm (libxaw3d): Update to 1.6.6. Fixes build withg gcc-14.
Change-Id: Iaca9089f3d88e32086d013e799db48469d4374ab
2025-01-12 16:18:47 +01:00
Janneke Nieuwenhuizen
9a47b318fa
gnu: hplip: Update to 3.24.4 and fix build with gcc-14.
...
* gnu/packages/cups.scm (hplip): Update to 3.24.4.
[arguments]: Add "set-gcc-14-cflags" phase to relax gcc-14's strictness.
Change-Id: Ie753c9ebb51f08c4683e9a9762e9c269eceb5e22
2025-01-12 16:18:47 +01:00
Janneke Nieuwenhuizen
ee21382230
gnu: llvm-13: Fix build with gcc-14.
...
* gnu/packages/patches/llvm-13-gcc-14.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/llvm.scm (llvm-13): Use it.
Change-Id: I3b9d3b894b0ae6ffe375d3e22f4f4a07d81a77c5
2025-01-12 16:18:47 +01:00
Janneke Nieuwenhuizen
e9d2cc2d4c
gnu: nlohmann-json: Update to 3.11.3; fixes build with gcc-14.
...
* gnu/packages/cpp.scm (nlohmann-json): Up.date to 3.11.33. This fixes the
build with gcc-14.
Change-Id: I49248356cddd3ed750e0768f9c5cd5abbe184121
2025-01-12 16:18:47 +01:00
Janneke Nieuwenhuizen
f1dc52bb24
gnu: cmake-bootstrap: Fix build with gcc-14.
...
Apparently cmake-minimal cannot be updated because of the introducion of a
circular cppdap dependency.
* gnu/packages/cmake.scm (%common-disabled-tests): Add failing "LoadCommand"
and "LoadedCommandOneConfig" tests.
Change-Id: Ic71aa92c327f7853248748d6eab4db9309c90408
2025-01-12 16:18:47 +01:00
Janneke Nieuwenhuizen
2bbb3ec712
gnu: xmlto: Fix build with gcc-14.
...
* gnu/packages/xml.scm (xmlto)[arguments]: Add CFLAGS to #:configure-flags
to relax gcc-14's strictness.
Change-Id: I4eb5c18dede03f197aebb6d99c61e1cee307b471
2025-01-12 16:18:47 +01:00
Janneke Nieuwenhuizen
8b589143ac
gnu: python-lxml: Update to 5.2.2; fixes build with gcc-14.
...
* gnu/packages/xml.scm (python-lxml): Update to 5.2.2. This fixes the build
with gcc-14.
Change-Id: Ia14c5266f157ed373d4d0129cc4623a09f22bb75
2025-01-12 16:18:47 +01:00
Janneke Nieuwenhuizen
700094f4d9
gnu: go-1.21.5: Skip test failing with gcc-14.
...
* gnu/packages/golang.scm (go-1.21)[arguments]: Add "remove-failing-test" phase.
Change-Id: Ie12c23c41f82e752cad8b4f7f2689628f05670af
2025-01-12 16:18:47 +01:00
Janneke Nieuwenhuizen
29f5d71b97
gnu: guile-lzlib: Fix build with gcc-14.
...
* gnu/packages/patches/guile-lzlib-gcc-14.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/guile.scm (guile-lzlib)["source"]: Use it, together with
"guile-lzlib-hurd64.patch".
[arguments]: Remove "apply-hurd64-patch" phase.
Change-Id: Iecc42bfd192c21b08b56c144e4dc95bb5ebc875c
2025-01-12 16:18:47 +01:00
Janneke Nieuwenhuizen
923ada750a
gnu: expect: Fix build with gcc-14.
...
* gnu/packages/tcl.scm (expect)[arguments]: Add CFLAGS to #:configure-flags to
relax gcc-14's strictness.
Change-Id: Ic371619c87cac9a047fdee6eded21611bc23bd1b
2025-01-12 16:18:47 +01:00
Janneke Nieuwenhuizen
ed0f4fbefe
gnu: torsocks: Fix build with gcc-14.
...
* gnu/packages/tor.scm (torsocks)[arguments]: Use G-Expressions. Add
CFLAGS to #:configure-flags to relax gcc-14's strictness.
Change-Id: I57a955a49665cd37208d5760a8d4c745d15c866b
2025-01-12 16:18:47 +01:00