summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Kehayias <john.kehayias@protonmail.com>2025-07-21 18:39:04 -0400
committerJohn Kehayias <john.kehayias@protonmail.com>2025-07-22 01:47:57 -0400
commite3cbe143852f40e005d43e9816200ec6cab62257 (patch)
treea1d7df4db36178508fbdd8e9a50d91265b572f11
parent66e28d9db1f5176cf3b8c00d451909c5902d52e8 (diff)
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
-rw-r--r--gnu/packages/photo.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/packages/photo.scm b/gnu/packages/photo.scm
index c0a341b1a6..3b671455bd 100644
--- a/gnu/packages/photo.scm
+++ b/gnu/packages/photo.scm
@@ -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