This is an automated email from the git hooks/post-receive script.

efraim pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new bff32e20e7 gnu: glib: Fix build on powerpc-linux.
bff32e20e7 is described below

commit bff32e20e72cd4d74f294e2f6d87512921554d3d
Author: Efraim Flashner <[email protected]>
AuthorDate: Wed Dec 18 10:32:04 2024 +0200

    gnu: glib: Fix build on powerpc-linux.
    
    * gnu/packages/glib.scm (glib)[arguments]: When building for
    powerpc-linux skip another test.
    
    Change-Id: Ibc3d166ce8d60119ae7c0a1874ab0bdfada44921
---
 gnu/packages/glib.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index a15a7ce58a..0effc87f45 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -3,7 +3,7 @@
 ;;; Copyright © 2013, 2015 Andreas Enge <[email protected]>
 ;;; Copyright © 2013 Nikita Karetnikov <[email protected]>
 ;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2021 Mark H Weaver 
<[email protected]>
-;;; Copyright © 2016, 2020, 2021, 2023 Efraim Flashner <[email protected]>
+;;; Copyright © 2016, 2020, 2021, 2023, 2024 Efraim Flashner 
<[email protected]>
 ;;; Copyright © 2016 Lukas Gradl <[email protected]>
 ;;; Copyright © 2017, 2018, 2019 Ricardo Wurmus <[email protected]>
 ;;; Copyright © 2017 Petter <[email protected]>
@@ -328,6 +328,12 @@ information, refer to the @samp{dbus-daemon(1)} man 
page.")))
                          (("^  g_assert_cmpfloat \\(elapsed, ==.*" all)
                           (string-append "//" all "\n"))))
                      '())
+              #$@(if (target-ppc32?)
+                     ;; assertion failed (last_thread_id <= thread_id): (3 <= 
2)
+                     #~((substitute* "glib/tests/thread-pool-slow.c"
+                          (("^   g_assert_cmpint \\(last_thread_id.*" all)
+                          (string-append "//" all "\n"))))
+                     #~())
               #$@(if (system-hurd?)
                      '((with-directory-excursion "gio/tests"
                          ;; TIMEOUT after 600s

Reply via email to