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
This commit is contained in:
John Kehayias 2025-07-21 18:39:04 -04:00
parent 66e28d9db1
commit e3cbe14385
No known key found for this signature in database
GPG key ID: 499097AE5EA815D9

View file

@ -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