Commit graph

150168 commits

Author SHA1 Message Date
Janneke Nieuwenhuizen
e506b078eb
REMOVEME Revert "gnu: gettext: Update to 0.23.1." -- avoid world rebuild.
Avoid a world rebuild at this time.

This reverts commit 75b96a4639.
2025-01-08 18:56:43 +01:00
Janneke Nieuwenhuizen
75b96a4639
gnu: gettext: Update to 0.23.1.
* gnu/packages/gettext.scm (gettext-minimal): Update to 0.23.1.

Change-Id: If40e64e0498e953373eda53ed0bf96a5ed273870
2025-01-08 18:42:53 +01:00
Janneke Nieuwenhuizen
73607b18f1
squash! REMOVEME gnu: libstdc++: Avoid world rebuild.
Change-Id: I47b66cfb4e238a8185c96db3e9c5db925a4be3b6
2025-01-06 20:12:47 +01:00
Janneke Nieuwenhuizen
534a2138d9
REMOVEME gnu: libstdc++: Avoid world rebuild.
* gnu/packages/gcc.scm (make-libstdc++)[arguments]: Restore phases for x86_64.
* gnu/packages/gcc.scm (REMOVEME-make-libstdc++): New procedure.
* gnu/packages/commencement.scm (libstdc++-boot0): Use it.
(make-libstdc++-boot0): Likewise.
(libstdc++): Likewise.

Change-Id: I7ca61e6f5d45bc19db6cc4cb36711f187fd91bf7
2025-01-06 13:44:55 +01:00
Janneke Nieuwenhuizen
b62023ec65
REMOVEME gnu: python2, pytchon2-minimal: Avoid world rebuild.
* gnu/packages/python.scm (python-2.7): Move CFLAGS to original position.
(%original-python2-configure-flags): New variable.
(python-3.10)[arguments]: Use it.
(python2-minimal)[arguments]: Likewise.

Change-Id: Ia616ec7fb3f5bdbbc478e89fcb5e319d962029ba
2025-01-06 13:44:55 +01:00
Janneke Nieuwenhuizen
296974e232
REMOVEME Revert "gexp: Improve support of Unicode characters." -- avoid world rebuild at this time.
Avoid a world rebuild just now.

This reverts commit 1d5863fca8ca1e465bc7979f7606f254aa054c22.

Change-Id: I117f9428a36055dcafcbc081b13f4c835b922503
2025-01-06 13:44:52 +01:00
Janneke Nieuwenhuizen
162d2580e0
gnu: clang-runtime-19: Build with gcc-14.
* gnu/packages/llvm.scm (clang-runtime-from-llvm)[native-inputs]: Leave
unaltered for version >= 19.

Change-Id: I85e7aa39918b545eca43478cffa626e533183238
2025-01-06 13:43:29 +01:00
Janneke Nieuwenhuizen
1198e662af
gnu: clang-runtime-17: Build with gcc-13.
Avoid

    /tmp/guix-build-clang-runtime-17.0.6.drv-0/source/build/lib/fuzzer/libcxx_fuzzer_x86_64/include/c++/v1/__filesystem/path.h:623:30: error: use of built-in trait '__remove_pointer(typename std::__Fuzzer::decay<_Tp>::type)' in function signature; use library traits instead
      623 |   _EnableIfPathable<_Source> append(const _Source& __src) {
          |                              ^~~~~~

by using gcc-13.

* gnu/packages/llvm.scm (clang-runtime-from-llvm)[native-inputs]: Use gcc-13
for version 17.

Change-Id: I0f815e178ea2f936e680075b1153285cf920b26e
2025-01-06 13:43:29 +01:00
Janneke Nieuwenhuizen
eef34a6748
gnu: clang-runtime-18: Build with gcc-13.
Avoid

    In file included from /tmp/guix-build-clang-runtime-18.1.8.drv-0/source/build/lib/fuzzer/libcxx_fuzzer_x86_64/include/c++/v1/__exception/nested_exception.h:18,
                     from /tmp/guix-build-clang-runtime-18.1.8.drv-0/source/build/lib/fuzzer/libcxx_fuzzer_x86_64/include/c++/v1/exception:83,
                     from /tmp/guix-build-clang-runtime-18.1.8.drv-0/source/libcxxabi/src/cxa_aux_runtime.cpp:13:
    /tmp/guix-build-clang-runtime-18.1.8.drv-0/source/build/lib/fuzzer/libcxx_fuzzer_x86_64/include/c++/v1/__type_traits/is_convertible.h:28:77: error: there are no arguments to ‘__is_convertible’ that depend on a template parameter, so a declaration of ‘__is_convertible’ must be available [-fpermissive]
       28 | struct _LIBCPP_TEMPLATE_VIS is_convertible : public integral_constant<bool, __is_convertible(_T1, _T2)> {};

by using gcc-13.

* gnu/packages/llvm.scm (clang-runtime-from-llvm)[native-inputs]: Use gcc-13
for version 18.

Change-Id: Ib01403665af7a8014e6da612bc6f31257e498d88
2025-01-06 13:43:29 +01:00
Janneke Nieuwenhuizen
4e5f322f08
gnu: clang-runtime-18: Build with gcc-12.
Avoid

    source/build/lib/fuzzer/libcxx_fuzzer_x86_64/include/c++/v1/__filesystem/path.h:534:52: error: use of built-in trait ‘__remove_pointer(typename std::__Fuzzer::decay<_Tp>::type)’ in function signature; use library traits instead

by reverting back to gcc-12.

* gnu/packages/llvm.scm (clang-runtime-from-llvm)[native-inputs]: Use gcc-12
for version 18.

Change-Id: Ib01403665af7a8014e6da612bc6f31257e498d88
2025-01-06 13:43:29 +01:00
Janneke Nieuwenhuizen
ab9630c8dc
gnu: clang-runtime: Remove gcc-12,13,14 from native-ipnuts.
* gnu/packages/llvm.scm (clang-runtime-from-llvm)[native-inputs]: Use
llvm's native inputs unmodified.

Change-Id: Ib01403665af7a8014e6da612bc6f31257e498d88
2025-01-06 13:43:28 +01:00
Janneke Nieuwenhuizen
28e19f6f9a
DRAFT gnu: gcc: Update gcc, gcc-toolchain, libgccjit to 14.
We probably want to keep this patch "bubbling" up on top of the gcc-14 patches
until the gcc-14 transition is done, keeping every commit buildable.

* gnu/packages/gcc.scm (gcc): Define as gcc-14 for all.
(libgccjit): Define as libgccjit-14.
* gnu/packages/commencement.scm (gcc-toolchain): Define as gcc-toolchain-14
for all.
* gnu/packages/gcc.scm

Change-Id: Iaac983da8acbbb2fd1088a0469d6115b7d424dbb
2025-01-06 13:43:28 +01:00
Tomas Volf
ed4c3760fc
gexp: Improve support of Unicode characters.
Support for non-ASCII characters was mixed.  Some gexp forms did support them,
while others did not.  Combined with current value for
%default-port-conversion-strategy, that sometimes led to unpleasant surprises.
For example:

    (scheme-file "utf8" #~(with-output-to-file #$output
                            (λ _ (display "猫"))))

Was written to the store as:

    ((? _ (display "\u732b")))

No, that is not font issue on your part, that is an actual #\? instead of the
lambda character.  Which, surprisingly, does not do what it should when
executed.

The solution is to switch to C.UTF-8 locale where possible, since it is now
always available.  Or to explicitly set the port encoding.

No tests are provided, since majority of tests/gexp.scm use guile in version
2, and it tends to work under it.  The issues occur mostly with guile 3.

I did test it locally using:

      #!/bin/sh
      set -eu
      set -x

      [ -f guix.scm ] || { echo >&2 Run from root of Guix repo.; exit 1; }
      [ -f gnu.scm  ] || { echo >&2 Run from root of Guix repo.; exit 1; }

      cat >猫.scm <<'EOF'
      (define-module (猫)
        #:export (say))

      (define (say)
        "nyaaaa~~~~!")
      EOF

      mkdir -p dir-with-utf8-file
      cp 猫.scm dir-with-utf8-file/

      cat >repro.scm <<'EOF'
      (use-modules (guix build utils)
                   (guix derivations)
                   (guix gexp)
                   (guix store)
                   (ice-9 ftw)
                   (ice-9 textual-ports))

      (define cat "猫")

      (define (drv-content drv)
        (call-with-input-file (derivation->output-path drv)
          get-string-all))

      (define (out-content out)
        (call-with-input-file out
          get-string-all))

      (define (drv-listing drv)
        (scandir (derivation->output-path drv)))

      (define (dir-listing dir)
        (scandir dir))

      (define-macro (test exp lower? report)
        (let ((type (car exp)))
          `(false-if-exception
            (let ((drv (with-store %store
                         (run-with-store %store
                           (,(if lower? lower-object identity) ,exp)))))
              (format #t "~%~a:~%" ',type)
              (when (with-store %store
                      (build-derivations %store (list drv)))
                (format #t "~a~%" (,report drv)))))))

      (test (computed-file "utf8"
                           #~(with-output-to-file #$output
                               (λ _ (display #$cat))))
            #t drv-content)

      (test (program-file "utf8"
                          #~((λ _ (display #$cat))))
            #t drv-content)

      (test (scheme-file "utf8"
                         #~((λ _ (display #$cat))))
            #t drv-content)

      (test (text-file* "utf8" cat cat cat)
            #f drv-content)

      (test (compiled-modules '((猫)))
            #f drv-listing)

      (test (file-union "utf8" `((,cat ,(plain-file "utf8" cat))))
            #t drv-listing)

      ;;; No fix needed:
      (test (imported-modules '((猫)))
            #f dir-listing)

      (test (local-file "dir-with-utf8-file" #:recursive? #t)
            #t dir-listing)

      (test (plain-file "utf8" cat)
            #t out-content)

      (test (mixed-text-file "utf8" cat cat cat)
            #t drv-content)

      (test (directory-union "utf8" (list (local-file "dir-with-utf8-file"
                                                      #:recursive? #t)))
            #t dir-listing)
      EOF

      guix shell -CWN -D guix glibc-locales -- \
           env LANG=C.UTF-8 ./pre-inst-env guix repl -- ./repro.scm

Before this commit, the output is:

      + '[' -f guix.scm ']'
      + '[' -f gnu.scm ']'
      + cat
      + mkdir -p dir-with-utf8-file
      + cp 猫.scm dir-with-utf8-file/
      + cat
      + guix shell -CWN -D guix glibc-locales -- env LANG=C.UTF-8 ./pre-inst-env guix repl -- ./repro.scm

      computed-file:
      ?

      program-file:
      #!/gnu/store/mfkz7fvlfpv3ppwbkv0imb19nrf95akf-guile-3.0.9/bin/guile --no-auto-compile
      !#
      ((? _ (display "\u732b")))

      scheme-file:
      ((? _ (display "\u732b")))

      text-file*:
      ???

      compiled-modules:
      building path(s) `/gnu/store/ay3jifyvliigfgnz67jf0kgngzpya5a5-module-import-compiled'
      Backtrace:
                 5 (primitive-load "/gnu/store/rn7b0dq6iqfmmqyqzamix2mjmfy?")
      In ice-9/eval.scm:
          619:8  4 (_ #f)
      In srfi/srfi-1.scm:
         460:18  3 (fold #<procedure 7ffff79245e0 at ice-9/eval.scm:336:1?> ?)
      In ice-9/eval.scm:
         245:16  2 (_ #(#(#<directory (guix build utils) 7ffff779f320>) # ?))
      In ice-9/boot-9.scm:
        1982:24  1 (_ _)
      In unknown file:
                 0 (stat "./???.scm" #<undefined>)

      ERROR: In procedure stat:
      In procedure stat: No such file or directory: "./???.scm"
      builder for `/gnu/store/dxg87135zcd6a1c92dlrkyvxlbhfwfld-module-import-compiled.drv' failed with exit code 1

      file-union:
      (. .. ?)

      imported-modules:
      (. .. 猫.scm)

      local-file:
      (. .. 猫.scm)

      plain-file:
      猫

      mixed-text-file:
      猫猫猫

      directory-union:
      (. .. 猫.scm)

Which I think you will agree is far from optimal.  After my fix the output
changes to:

      + '[' -f guix.scm ']'
      + '[' -f gnu.scm ']'
      + cat
      + mkdir -p dir-with-utf8-file
      + cp 猫.scm dir-with-utf8-file/
      + cat
      + guix shell -CWN -D guix glibc-locales -- env LANG=C.UTF-8 ./pre-inst-env guix repl -- ./repro.scm

      computed-file:
      猫

      program-file:
      #!/gnu/store/8kbmn359jqkgsbqgqxnmiryvd9ynz8w7-guile-3.0.9/bin/guile --no-auto-compile
      !#
      ((λ _ (display "猫")))

      scheme-file:
      ((λ _ (display "猫")))

      text-file*:
      猫猫猫

      compiled-modules:
      (. .. 猫.go)

      file-union:
      (. .. 猫)

      imported-modules:
      (. .. 猫.scm)

      local-file:
      (. .. 猫.scm)

      plain-file:
      猫

      mixed-text-file:
      猫猫猫

      directory-union:
      (. .. 猫.scm)

Which is actually what the user would expect.

I also added missing arguments to the documentation.

* guix/gexp.scm (computed-file):  Set LANG to C.UTF-8 by default.
(compiled-modules): Try to `setlocale'.
(gexp->script), (gexp->file): New `locale' argument defaulting to C.UTF-8.
(text-file*): Set output port encoding to UTF-8.
* doc/guix.texi (G-Expressions)[computed-file]: Document the changes.  Use
@var.  Document #:guile.
[gexp->script]: Document #:locale.  Fix default value for #:target.
[gexp->file]: Document #:locale, #:system and #:target.

Change-Id: Ib323b51af88a588b780ff48ddd04db8be7c729fb
2025-01-06 13:43:28 +01:00
Dariqq
56cd47e4d6
gnu: ath9k-firmware: Remove CMAKE_SYSTEM_NAME override.
* gnu/packages/firmware.scm (ath9k-htc-ar7010-firmware)[arguments]: Remove
CMAKE_SYSTEM_NAME from #:configure-flag.
(ath9k-htc-ar9271-firmware)[arguments]: Same.

Signed-off-by: Janneke Nieuwenhuizen <janneke@gnu.org>

Change-Id: I87acb0aa781d104be511b1f368d9332c61d71627
2025-01-06 13:43:28 +01:00
Dariqq
30f7202fa8
guix: build-system: cmake: Rework cross compilation.
Move the extra configure flags for cross building out from the build side code
and instead prepend them to the configure-flags.

Use new procedure cmake-system-name-for-target to add support for the Hurd and
bare-metal targets.

* guix/build/cmake-build-system.scm (configure): Move cross build flags from
here ...
* guix/build-system/cmake.scm (cmake-cross-build): ... to here.
(cmake-system-name-for-target): New procedure.

Signed-off-by: Janneke Nieuwenhuizen <janneke@gnu.org>

Change-Id: Ic68acc246e543491ed147e53d47cec5de46b82cb
2025-01-06 13:43:28 +01:00
Ricardo Wurmus
041c266b3c
gnu: python-jose: Fix build.
* gnu/packages/python-web.scm (python-jose)[build-system]: Use
pyproject-build-system.
[arguments]: Disable some failing tests; remove custom 'check phase.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I39831da68beb6e7e80cd97df04310676e2cdf92a
2025-01-06 13:43:28 +01:00
Ricardo Wurmus
37dac4be77
gnu: python-socks: Update to 2.6.1.
* gnu/packages/python-web.scm (python-socks): Update to 2.6.1.
[arguments]: Enable tests; remove custom 'check phase.
[build-system]: Use pyproject-build-system.
[propagated-inputs]: Remove python-async-timeout and python-curio.
[native-inputs]: Add python-anyio, python-async-timeout, python-flask,
python-pytest-asyncio, python-setuptools, python-tiny-proxy, python-trustme,
python-wheel, and python-yarl.

Change-Id: If1b10ed7a2a6ab7358c7e440224b5c406977ad68
2025-01-06 13:43:28 +01:00
Ricardo Wurmus
ee3a3e5a98
gnu: Add python-tiny-proxy.
* gnu/packages/python-web.scm (python-tiny-proxy): New variable.

Change-Id: Ia0493c910ea30922298350dd9f4145b4d1efe8f2
2025-01-06 13:43:28 +01:00
Ricardo Wurmus
aa51ad350a
gnu: python-tables: Fix reference to library.
* gnu/packages/python-xyz.scm (python-tables)[arguments]: Add phase
'fix-reference-to-blosc2.

Change-Id: If1e5f9ccf8e6e6c37f9c6521a98b208e0fc1fd01
2025-01-06 13:43:28 +01:00
Ricardo Wurmus
03a9ee6f88
gnu: python-traittypes: Fix tests.
* gnu/packages/python-science.scm (python-traittypes)[arguments]: Add phase
'numpy-compatibility.

Change-Id: I41d55d65d0dafd44029de38b3044d9fad378db50
2025-01-06 13:43:28 +01:00
Sergey Trofimov
a887e55978
gnu: beancount: Fix build.
* gnu/packages/finance.scm (beancount)
[native-inputs]: Add python-wheel and python-setuptools.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-01-06 13:43:28 +01:00
Sharlatan Hellseher
64824a7d49
gnu: python-pydantic: Fix build.
As pyproject-build system now reads pytest config from pyproject.toml or
pytest.ini files it starts highlighting enabled "fail on warnings" which
were ignored before, this change silent it again.

* gnu/packages/python-xyz.scm (python-pydantic) [arguments]<test-flags>:
Skip 5 tests.
[phases]{pre-check}: Ignore all pytest warnings set in pyproject.toml.

Change-Id: I8551ba672d095b56f90955e4203c8a2aac270a4b
2025-01-06 13:43:28 +01:00
Ricardo Wurmus
fdf46326f4
gnu: python-bokeh: Fix build.
* gnu/packages/python-xyz.scm (python-bokeh)[build-system]: Use
pyproject-build-system.
[arguments]: Use #:test-flags instead of a custom 'check phase; disable one
more test.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I2aaa56ed578490de38685b10430535a819c2f5c5
2025-01-06 13:43:28 +01:00
Janneke Nieuwenhuizen
702315db30
gnu: netcdf: Fix build with gcc-14.
* gnu/packages/maths.scm (netcdf): Add CFLAGS to #:configure-flags to relax
gcc-14's strictness.

Change-Id: Ic5059519414aeb644dd0bde084f569b954c17904
2025-01-06 13:43:27 +01:00
Janneke Nieuwenhuizen
9b72bd2940
gnu: python-h5py: Fix build with gcc-14.
* gnu/packages/python-xyz.scm (python-h5py)[arguments]: Add phase
"relax-gcc-14-strictness".

Change-Id: Ib68eb41305d075069926323727fe35ca65fd2873
2025-01-06 13:43:27 +01:00
Janneke Nieuwenhuizen
e332d1a976
gnu: openmpi-4: Fix build with gcc-14.
* gnu/packages/mpi.scm (openmpi-4)[arguments]: Add CFLAGS to #:configure-flags
to relax gcc-14's strictness.

Change-Id: I4a19a473a729ce054d855ec2c4d6ea94dc94b849
2025-01-06 13:43:27 +01:00
Janneke Nieuwenhuizen
bd1e39c155
gnu: freeipmi: Fix build with gcc-14.
* gnu/packages/freeipmi.scm (freeipmi)[arguments]: Add CFLAGS to #:configure-flags
to relax gcc-14's strictness.

Change-Id: Ie22de7f0a344bbc709878be3175fdd07cfde92bc
2025-01-06 13:43:27 +01:00
Janneke Nieuwenhuizen
8bfbfb0fda
gnu: freerdp: Fix build with gcc-14.
* gnu/packages/rdesktop.scm (freerdp)[arguments]: Add -DCMAKE_C_FLAGS to
relax gcc-14's strictness.

Change-Id: I7a655245820ab97aeafa21c6a8591b9a5a05fabc
2025-01-06 13:43:27 +01:00
Janneke Nieuwenhuizen
19c307a04e
gnu: libunwind: Fix build with gcc-14 for i686-linux.
* gnu/packages/libunwind.scm (libunwind)[arguments]: Extend CFLAGS to relax
gcc-14's strictness even further.

Change-Id: Idafb16976442b3452b16cd993fbaec0655a61af5
2025-01-06 13:43:27 +01:00
Janneke Nieuwenhuizen
372e608b3b
gnu: icedtea-8: Fix build with gcc-14.
* gnu/packages/java.scm (icedtea-8)[arguments]: Extend CFLAGS to relax
gcc-14's strictness.

Change-Id: Ia7a53bfd1649c54505d7d2d033f9e984c531da90
2025-01-06 13:43:27 +01:00
Janneke Nieuwenhuizen
c6b793a043
gnu: cheese: Fix build with gcc-14.
* gnu/packages/gnome.scm (cheese)[arguments]: Add stage
"relax-gcc-14-strictness".

Change-Id: Idaf34cfe9f91f055a1ab570c003bc15394f7021f
2025-01-06 13:43:27 +01:00
Janneke Nieuwenhuizen
73941dd2b7
gnu: icedtea-7: Fix build with gcc-14.
* gnu/packages/java.scm (icedtea-7)[arguments]: Extend CFLAGS_COMMON in
"fix-openjdk" to relax gcc-14's strictness.

Change-Id: Icc2fec77390dfd052339184633c1c30915ebded2
2025-01-06 13:43:27 +01:00
Janneke Nieuwenhuizen
bf3c920199
gnu: gnome-boxes: Fix buildi with gcc-14.
* gnu/packages/gnome.scm (gnome-boxes)[arguments]: Add phase
"relax-gcc-14-strictness".

Change-Id: I0d29ddcc368d56c572caea0fb55fa15618193bc1
2025-01-06 13:43:27 +01:00
Janneke Nieuwenhuizen
e8780cf3ff
guile-gi: Fix buildi with gcc-14.
* gnu/packages/guile-xyz.scm (guile-gi)[arguments]: Add CFLAGS
to #:configure-flags to relax gcc-14's strictness.

Change-Id: I1aa6b2118f09e12e3ce06833e56d624fd047a9ae
2025-01-06 13:43:27 +01:00
Janneke Nieuwenhuizen
550b0b5f5d
gnu: midori: Fix build with gcc-14.
* gnu/packages/web-browsers.scm (midori)[arguments]: Add #:configure-flags to
relax gcc-14's strictness.

Change-Id: I5495e04836fb469db9d5c418cf53ef2e653c8751
2025-01-06 13:43:27 +01:00
Janneke Nieuwenhuizen
8f34c56778
gnu: gnome-recipes: Fix build with gcc-14.
* gnu/packages/gnome.scm (gnome-recipes)[arguments]: Add phase
"relax-gcc-14-strictness".

Change-Id: I1d9bc4ee914a0b6ffdabced3fa8febee5feacc30
2025-01-06 13:43:27 +01:00
Janneke Nieuwenhuizen
fa18ec718a
gnu: folks: Fix build with gcc-14.
* gnu/packages/gnome.scm (folks)[arguments]: Add phase "relax-gcc-14-strictness".

Change-Id: I1d9bc4ee914a0b6ffdabced3fa8febee5feacc30
2025-01-06 13:43:27 +01:00
Janneke Nieuwenhuizen
5ca468b358
gnu: gsequencer: Update to 7.4.12; fixes build with gcc-14.
* gnu/packages/music.scm (gsequencer): Update to 7.4.12.

Change-Id: I29530c18518787a0ac9922ebc23f255a5671186d
2025-01-06 13:43:27 +01:00
Janneke Nieuwenhuizen
afdb4a7aab
gnu: pidgin: Fix build with gcc-14.
* gnu/packages/messaging.scm (pidgin)[arguments]: Extend CFLAGS to relax
gcc-14's strictness.

Change-Id: Ic36a32d02d3051ea7639c2d47933b0293b72fb89
2025-01-06 13:43:26 +01:00
Janneke Nieuwenhuizen
e8541a4f1a
gnu: libbraille: Fix build with gcc-14.
* gnu/packages/accessibility.scm (libbraille)[arguments]: Add CFLAGS to #:configure-flags
to relax gcc-14's strictness.

Change-Id: Id16c1f46d2f613a2cc878c9be6b88b3e613091e1
2025-01-06 13:43:26 +01:00
Janneke Nieuwenhuizen
f03f08ac15
gnu: caribou: Fix build with gcc-14.
* gnu/packages/gnome.scm (caribou)[arguments]: Use G-Expressions.  Add CFLAGS
to #:configure-flags to relax gcc-14's strictness.

Change-Id: I78bf5b03029112aa17977b2947e5446e90150f11
2025-01-06 13:43:26 +01:00
Janneke Nieuwenhuizen
7919910ff5
gnu: gucharmap: Fix build with gcc-14.
* gnu/packages/gnome.scm (gucharmap)[argument]: Add CFLAGS to #:configure-flags
to relax gcc-14's strictness.

Change-Id: I234d21da13a688029e306a793d5348e17c6c9042
2025-01-06 13:42:50 +01:00
Janneke Nieuwenhuizen
4a2304efd3
gnu: telepathy-logger: Fix build with gcc-14.
* gnu/packages/freedesktop.scm (telepathy-logger)[arguments]: Use
G-Expressions.  Add #:configure-flags to relax gcc-14's strictness.

Change-Id: I72e7a045cc29f704777f599933f9fceb25f3f6bb
2025-01-06 13:42:50 +01:00
Janneke Nieuwenhuizen
add87d62b5
Revert "gnu: openexr: Update to 3.3.2; fixes build with gcc-14."
Apparently 3.2.4 also builds with gcc-14, and 3.3.2 breaks for example libjxl.

This reverts commit d2fa9754c4542ea5cb2d4b261ad30de0ba65a303.

Change-Id: I1d0c2c6e1385e5d0311dcd416082d5f5b640e78f
2025-01-06 13:42:49 +01:00
Janneke Nieuwenhuizen
65fa41217d
gnu: libcdio: Fix build with gcc-14.
* gnu/packages/cdrom.scm (libcdio)[arguments]: New field to relax gcc-14's
strictness.

Change-Id: I7ae22b1017060015e980331f9943b33459926193
2025-01-06 13:42:49 +01:00
Janneke Nieuwenhuizen
8a98d4d845
gnu: cogl: Fix build with gcc-14.
* gnu/packages/gnome.scm (cogl)[arguments]: Add CFLAGS to #:configure-flags to
relax gcc-14's strictness.

Change-Id: I05c4923c6e2ed60b892d3beef2967fff18cdeb56
2025-01-06 13:42:49 +01:00
Janneke Nieuwenhuizen
bf33f0022e
gnu: python-cython-next: Build with gcc-13.
Using gcc-14 produces

    Compiler output for module e_switch_transform:
    e_switch_transform.c: In function ‘__pyx_pf_18e_switch_transform_is_not_one’:
    e_switch_transform.c:2283:5: error: duplicate case value
     2283 |     case 1+0:
          |     ^~~~
    e_switch_transform.c:2282:5: note: previously used here
     2282 |     case 1:
          |     ^~~~

* gnu/packages/python-xyz.scm (python-cython-3)[native-inputs]: Add gcc-13.

Change-Id: Iaed502e4c105bb1229345288ec2f203453f65acc
2025-01-06 13:42:49 +01:00
Janneke Nieuwenhuizen
09fa695e42
gnu: sdl-image-1.2.12: Fix build with gcc-14.
* gnu/packages/sdl.scm (sdl-image): Add CFLAGS to #:configure-flags to relax
gcc-14's strictness.

Change-Id: Ib589af2325488cc9e96333fd3046983714357508
2025-01-06 13:42:49 +01:00
Janneke Nieuwenhuizen
b35d3aab11
gnu: ffmpeg-3.4.13: Fix build with gcc-14.
* gnu/packages/video.scm (ffmpeg-3.4)[arguments]: Add stage
"relax-gcc-14-strictness".

Change-Id: Icdd483a459bfbf58b93e2cc22d5b1047120da7ad
2025-01-06 13:42:49 +01:00
Janneke Nieuwenhuizen
e33bc081cf
gnu: mplayer: Fix build with gcc-14.
* gnu/packages/video.scm (mplayer)[arguments]: In stage "configure", fixup
"CFLAGS" in "config.mak" to relax gcc-14's strictness.

Change-Id: I21e66222770182bfdb09092ef04b372d12690710
2025-01-06 13:42:49 +01:00