guix_mirror_bot pushed a commit to branch master
in repository guix.

commit aa23ca6be744dbc36072a9475a82a61a78cdd6f7
Author: Efraim Flashner <efr...@flashner.co.il>
AuthorDate: Mon Jun 16 11:46:54 2025 +0300

    gnu: gtk: Fix building on riscv64-linux.
    
    * gnu/packages/gtk.scm (gtk)[arguments]: When building for riscv64-linux
    adjust the 'patch phase to skip some tests.
    
    Change-Id: Ie5e590b042a96fee44c6fb0d0874175274c3e30a
---
 gnu/packages/gtk.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 9ee0b417d4..528ffbc062 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1279,6 +1279,28 @@ application suites.")
                      #~())
               ;; libEGL warning: DRI3 error: Could not get DRI3 device
               ;; libEGL warning: Activate DRI3 at Xorg or build mesa with DRI2
+              ;; JIT session error: No HI20 PCREL relocation type be found for
+              ;; LO12 PCREL relocation type
+              #$@(if (target-riscv64?)
+                     #~((substitute* "testsuite/gsk/meson.build"
+                          (("'border-colorstates',") "")
+                          (("'glyph-cache-overflow-slices',") "")
+                          (("'huge-height-nogl',") "")
+                          (("'huge-width-nogl',") "")
+                          (("'mipmap-generation-later',") "")
+                          (("'shadow-texture-formats',") "")
+                          (("'texture-offscreen-mipmap-nogl',") "")
+                          (("'texture-scale-filters-nocairo',") ""))
+                        (substitute* "testsuite/reftests/meson.build"
+                          ((".*center-center-300.*00.ui.*") "")
+                          ((".*center-center-300.*00-overlay.ui.*") "")
+                          ((".*icon-shadow-no-transform.ui.*") "")
+                          ((".*image-load-from-file.ui.*") ""))
+                        (substitute* "testsuite/css/parser/meson.build"
+                          ((".*color-mix.*") "")))
+                     #~())
+              ;; libEGL warning: DRI3 error: Could not get DRI3 device
+              ;; libEGL warning: Activate DRI3 at Xorg or build mesa with DRI2
               #$@(if (target-ppc64le?)
                      #~((substitute* "testsuite/gsk/meson.build"
                           (("'border-zero-width-color',") ""))

Reply via email to