GNU bug report logs - #75943
[PATCH] gnu: perl-sdl: Fix build.

Previous Next

Package: guix-patches;

Reported by: iyzsong <at> envs.net

Date: Thu, 30 Jan 2025 11:53:02 UTC

Severity: normal

Tags: patch

Done: 宋文武 <iyzsong <at> envs.net>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: iyzsong <at> envs.net
To: guix-patches <at> gnu.org
Cc: 宋文武 <iyzsong <at> member.fsf.org>
Subject: [PATCH] gnu: perl-sdl: Fix build.
Date: Thu, 30 Jan 2025 19:55:54 +0800
From: 宋文武 <iyzsong <at> member.fsf.org>

* gnu/packages/perl.scm (perl-sdl)[arguments]: Add 'skip-failing-test phase.

Change-Id: I44627e1d19a4a4d37f7b2663738cde2f0dc598ee
---
 gnu/packages/perl.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 773c8f8813..13d9db9959 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -13096,6 +13096,16 @@ (define-public perl-sdl
        (sha256
         (base32 "1dagpmcpjnwvd4g6mmnc312rqpd4qcwx21rpi2j7084wz8mijai5"))))
     (build-system perl-build-system)
+    (arguments
+     (list #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'skip-failing-test
+                 (lambda _
+                   ;; XXX: This test fails with:
+                   ;;   Can't use an undefined value as a subroutine reference
+                   ;;   during global destruction.
+                   (substitute* "t/core_events.t"
+                     (("^SDL::Events::set_event_filter") "#")))))))
     (native-inputs
      (list perl-alien-sdl
            perl-capture-tiny

base-commit: c994e9262f9dbe4d688f688c92aedb3ee7ba4dfc
-- 
2.47.1





This bug report was last modified 112 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.