guix_mirror_bot pushed a commit to branch master
in repository guix.

commit e3cbe143852f40e005d43e9816200ec6cab62257
Author: John Kehayias <john.kehay...@protonmail.com>
AuthorDate: Mon Jul 21 18:39:04 2025 -0400

    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
---
 gnu/packages/photo.scm | 7 +++++--
 1 file 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.leg...@gmail.com>
 ;;; Copyright © 2020, 2024. 2021, 2022, 2024 Vinicius Monego 
<mon...@posteo.net>
 ;;; Copyright © 2021 Maxime Devos <maximede...@telenet.be>
-;;; Copyright © 2022, 2023 John Kehayias <john.kehay...@protonmail.com>
+;;; Copyright © 2022, 2023, 2025 John Kehayias <john.kehay...@protonmail.com>
 ;;; Copyright © 2022 Sharlatan Hellseher <sharlata...@gmail.com>
 ;;; Copyright © 2023 Bruno Victal <mi...@makinata.eu>
 ;;; Copyright © 2024 Zheng Junjie <873216...@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

Reply via email to