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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: iyzsong <at> envs.net
Subject: bug#75943: closed (Re: [bug#75943] [PATCH] gnu: perl-sdl: Fix build.)
Date: Sun, 02 Feb 2025 06:55:04 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#75943: [PATCH] gnu: perl-sdl: Fix build.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 75943 <at> debbugs.gnu.org.

-- 
75943: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=75943
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: 宋文武 <iyzsong <at> envs.net>
To: 75943-done <at> debbugs.gnu.org
Cc: 宋文武 <iyzsong <at> member.fsf.org>
Subject: Re: [bug#75943] [PATCH] gnu: perl-sdl: Fix build.
Date: Sun, 02 Feb 2025 14:58:23 +0800
Pushed to master, close.

[Message part 3 (message/rfc822, inline)]
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.