janneke pushed a commit to branch core-packages-team-old in repository guix.
commit f689a7170b5044c8489a185d36f2642a42c31f8f Author: Janneke Nieuwenhuizen <[email protected]> AuthorDate: Sun Jan 5 18:00:44 2025 +0100 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 --- gnu/packages/python-xyz.scm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 68ac815f9e..77d9097eff 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3526,7 +3526,14 @@ library.") (add-after 'unpack 'fix-hdf5-paths (lambda* (#:key inputs #:allow-other-keys) (setenv "HDF5_DIR" - (assoc-ref inputs "hdf5"))))))) + (assoc-ref inputs "hdf5")))) + (add-before 'build 'relax-gcc-14-strictness + (lambda _ + (setenv + "CFLAGS" + (string-append + "-g -O2" + `" -Wno-error=incompatible-pointer-types"))))))) (propagated-inputs (list python-six python-numpy)) (inputs (list hdf5-1.10)) (native-inputs (list pkg-config python-cython python-ipython
