Zheng Junjie
2a8aa84846
gnu: classpath-bootstrap: Fix build with gcc-14.
...
* gnu/packages/java-bootstrap.scm (classpath-bootstrap)[arguments]
<#:configure-flags>: Add CFLAGS.
Change-Id: Icdec1e39dbbaba5e91c5ac5767f30ee1205043eb
2025-01-12 16:18:51 +01:00
Janneke Nieuwenhuizen
409784ab27
gnu: libshout: Fix build with gcc-14.
...
* gnu/packages/xiph.scm (libshout)[arguments]: New field to relax gcc-14's strictness.
Change-Id: Ic8e687db3ead45309ce2aeac5e6cd5f06d77b1a7
2025-01-12 16:18:51 +01:00
Janneke Nieuwenhuizen
865e997114
gnu: libcddb: Fix build with gcc-14.
...
* gnu/packages/cdrom.scm (libcddb)[arguments]: Add #:configure-flags to relax
gcc-14's strictness.
Change-Id: I463872e31d6f8c42136e6e04cf4013c2261d43cc
2025-01-12 16:18:51 +01:00
Janneke Nieuwenhuizen
2c2cea52f5
gnu: gavl: Fix build by using gcc-13.
...
Even using -fpermissive doesn't fix the build with gcc-14.
* gnu/packages/video.scm (gavl)[native-inputs]: Add gcc-13.
Change-Id: Ie22688d7c265b994715e346520cd9a045351eb16
2025-01-12 16:18:51 +01:00
Janneke Nieuwenhuizen
54a05a28f7
gnu: aalib: Fix build with gcc-14.
...
* gnu/packages/video.scm (aalib)[arguments]: Add CFLAGS to #:configure-flags
to relax gcc-14's strictness.
Change-Id: I609eea29875fc3eaf0dcfbd8b860e9d6f7f461a7
2025-01-12 16:18:51 +01:00
Janneke Nieuwenhuizen
6f7d1eeca9
gnu: accountsservice: Fix build with gcc-14.
...
* gnu/packages/freedesktop.scm (accountsservice)[arguments]: Add phase
"relax-gcc-14-strictness".
Change-Id: I19ceb499479911041d88e375d8989861713133d2
2025-01-12 16:18:51 +01:00
Janneke Nieuwenhuizen
571a6e012f
gnu: upower: Disable failing test.
...
* gnu/packages/gnome.scm (upower)[arguments]: In phase "adjust-tests-suite",
disable failing "test_daemon_restart" test.
Change-Id: I2f4083cd46eb089d7dabfa41a6b1b3b35888ec72
2025-01-12 16:18:51 +01:00
Janneke Nieuwenhuizen
613993d3c6
gnu: xf86-video-nouveau: Fix build with gcc-14.
...
* gnu/packages/xorg.scm (xf86-video-nouveau)[arguments]: New field to relax
gcc-14's strictness.
Change-Id: I782c112c28841bf2b3b277cfda05bf2a1871b8a1
2025-01-12 16:18:51 +01:00
Janneke Nieuwenhuizen
2ea37c8f96
gnu: xf86-video-nv: Update to 2.1.23; fixes build with gcc-14.
...
* gnu/packages/xorg.scm (xf86-video-nv): Update to 2.1.23.
Change-Id: I782c112c28841bf2b3b277cfda05bf2a1871b8a1
2025-01-12 16:18:51 +01:00
Janneke Nieuwenhuizen
aede2b5791
gnu: emacs: Fix build with gcc-14.
...
* gnu/packages/emacs.scm (emacs-minimal)[arguments]: Add CFLAGS to #:configure-flags
to relax gcc-14's strictness.
Change-Id: I782c112c28841bf2b3b277cfda05bf2a1871b8a1
2025-01-12 16:18:51 +01:00
Janneke Nieuwenhuizen
153176a565
gnu: gdl-minimal: Fix build with gcc-14.
...
* gnu/packages/gnome.scm (gdl-minimal)[arguments]: Modify gdl's arguments.
Change-Id: I782c112c28841bf2b3b277cfda05bf2a1871b8a1
2025-01-12 16:18:51 +01:00
Janneke Nieuwenhuizen
f0f778a669
gnu: gdl: Fix build with gcc-14.
...
* gnu/packages/gnome.scm (gdl)[arguments]: New field to relax gcc-14's strictness.
Change-Id: I782c112c28841bf2b3b277cfda05bf2a1871b8a1
2025-01-12 16:18:51 +01:00
Janneke Nieuwenhuizen
41c8effdf8
gnu: samba/pinned: Update to 4.18.1; fixes build with gcc-14.
...
* gnu/packages/samba.scm (samba/pinned): Update to 4.18.1
(samba)[version,source]: Remove fields.
Change-Id: I912f1bd1280f6422b0c167c3227a4c477e21b040
2025-01-12 16:18:51 +01:00
Janneke Nieuwenhuizen
e9d53ee64f
gnu: vala-0.52: Fix build with gcc-14.
...
* gnu/packages/gnome.scm (vala-0.52)[argumens]: New field.
Change-Id: I9fbc643df7571405f4b36aa44de9d76596e2aece
2025-01-12 16:18:51 +01:00
Janneke Nieuwenhuizen
0f16cf0365
gnu: gtk+-2: Fix build with gcc-14.
...
* gnu/packages/gtk.scm (gtk+-2)[arguments]: Add CFLAGS to #:configure-flags to
relax gcc-14's strictness.
Change-Id: If2433b1f905a9a01d31f439e77ee302840c92755
2025-01-12 16:18:51 +01:00
Janneke Nieuwenhuizen
2fcc44b274
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-01-12 16:18:51 +01:00
Janneke Nieuwenhuizen
5a51b53af9
gnu: xorg-server: Update to 21.1.15; fixes build with gcc-14.
...
* gnu/packages/xorg.scm (xorg-server): Update to 21.1.15.
Change-Id: I760472b093c33b6d799384588405b576957ed5c0
2025-01-12 16:18:50 +01:00
Janneke Nieuwenhuizen
3772926aa0
gnu: xfsprogs: Update to 6.12.0; fixes build with gcc-14.
...
* gnu/packages/linux.scm (xfsprogs): Update to 6.12.0.
Change-Id: I6a79737083f36d80a2a3765cb4f1d357da35ece5
2025-01-12 16:18:50 +01:00
Janneke Nieuwenhuizen
04c99199fd
gnu: vala: Update to 0.56.17; fixes build with gcc-14.
...
Change-Id: Ie5657a03fb80b2b82c309a3b1f1edd88026442df
* gnu/packages/gnome.scm (vala): Update to 0.56.17.
Change-Id: Ib750bb4f9d8d4bf5b836053d7eb3994939b7475c
2025-01-12 16:18:50 +01:00
Janneke Nieuwenhuizen
f4e9452c60
gnu: polkit: Fix build with gcc-14.
...
* gnu/packages/polkit.scm (polkit)[arguments]: Add phase
"relax-gcc-14-strictness".
Change-Id: I56f100f416d17a73fe8daae4775251800e713820
2025-01-12 16:18:50 +01:00
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