~ruther/guix-local

e3cbe143852f40e005d43e9816200ec6cab62257 — John Kehayias 9 months ago 66e28d9
gnu: darktable: Fix build.

Darktable fails to build with "sorry, unimplemented: Graphite loop
optimizations cannot be used (isl is not available)" when not specifying
gcc-14 explicitly in native-inputs and just using the implicit default gcc-14.
It is unclear why.  (With older gcc the build fails due to an ABI
incompatibility as openexr is now built with gcc-14.)

* gnu/packages/photo.scm (darktable)[native-inputs]: Change gcc-13 to gcc-14.

Change-Id: I97dd1a2aaeaaf065dc2a22d20487405c8223cdc0
1 files changed, 5 insertions(+), 2 deletions(-)

M gnu/packages/photo.scm
M gnu/packages/photo.scm => gnu/packages/photo.scm +5 -2
@@ 10,7 10,7 @@
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
;;; Copyright © 2020, 2024. 2021, 2022, 2024 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
;;; Copyright © 2022, 2023 John Kehayias <john.kehayias@protonmail.com>
;;; Copyright © 2022, 2023, 2025 John Kehayias <john.kehayias@protonmail.com>
;;; Copyright © 2022 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2023 Bruno Victal <mirai@makinata.eu>
;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>


@@ 581,7 581,10 @@ photographic equipment.")
    (native-inputs
     (list cmocka
           desktop-file-utils
           gcc-13             ; gcc-11 too old for darktable, 12+ required
           ;; XXX: Need to explicitly specify gcc-14 here or else the build
           ;; fails with missing Graphite/isl support in gcc for unknown
           ;; reasons.
           gcc-14
           `(,glib "bin")
           gobject-introspection
           intltool