unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Felix Lechner via Guix-patches via <guix-patches@gnu.org>
To: 67963@debbugs.gnu.org
Cc: Felix Lechner <felix.lechner@lease-up.com>
Subject: [bug#67963] [PATCH v2 03/37] Fix broken test in Perl's DBIx::Class.
Date: Tue, 16 Jan 2024 14:12:41 -0800	[thread overview]
Message-ID: <2d1f6a29a8cd2de5c3194bc1e2904d503721f875.1705443194.git.felix.lechner@lease-up.com> (raw)
In-Reply-To: <a6492643b9e32409b8420e7d54ba290d0937b838.1705443194.git.felix.lechner@lease-up.com>

Fixes this test:

  ;; #   Failed test 'Unexpected require of 'MRO::Compat' by
  ;; DBIx::Class::Componentised
  ;; (/tmp/guix-build-perl-dbix-class-0.082842.drv-0/DBIx-Class-0.082842/blib/li
  ;; b/DBIx/Class/Componentised.pm line 7)'
  ;; #   at t/53lean_startup.t line 58.
  ;; # Looks like you failed 1 test of 7.
  ;; t/53lean_startup.t ..................................
  ;; Dubious, test returned 1 (wstat 256, 0x100)
  ;; Failed 1/7 subtests

Change-Id: Ifdcb33a247bd5f57e18ee83650d9918d8b45c321
---
 gnu/packages/databases.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index b5077583c3..1f4e6be631 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -1946,6 +1946,24 @@ (define-public perl-dbix-class
        (sha256
         (base32 "1rh7idjjbibc1zmiaaarask434lh0lx7f2xyfwmy37k9fa0xcpmh"))))
     (build-system perl-build-system)
+    (arguments
+     (list
+      #:phases
+      ;; #   Failed test 'Unexpected require of 'MRO::Compat' by
+      ;; DBIx::Class::Componentised
+      ;; (/tmp/guix-build-perl-dbix-class-0.082842.drv-0/DBIx-Class-0.082842/blib/li
+      ;; b/DBIx/Class/Componentised.pm line 7)'
+      ;; #   at t/53lean_startup.t line 58.
+      ;; # Looks like you failed 1 test of 7.
+      ;; t/53lean_startup.t ..................................
+      ;; Dubious, test returned 1 (wstat 256, 0x100)
+      ;; Failed 1/7 subtests
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'fix-test
+            (lambda _
+              (substitute* "t/53lean_startup.t"
+                (("    mro\n")
+                 "    mro\n    MRO::Compat\n")))))))
     (native-inputs
      (list perl-dbd-sqlite
            perl-file-temp
-- 
2.41.0





  parent reply	other threads:[~2024-01-16 22:16 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-22  4:12 [bug#67963] [PATCH 0/4] Add Perl modules for debbugs.gnu.org Felix Lechner via Guix-patches via
2023-12-22  4:18 ` [bug#67963] [PATCH 1/4] gnu: perl.scm: Fix indentation (no functional changes) Felix Lechner via Guix-patches via
2023-12-22  4:18 ` [bug#67963] [PATCH 2/4] gnu: Add perl-devel-confess Felix Lechner via Guix-patches via
2023-12-22  4:18 ` [bug#67963] [PATCH 3/4] gnu: Add perl-mldbm Felix Lechner via Guix-patches via
2023-12-22  4:18 ` [bug#67963] [PATCH 4/4] gnu: Add perl-safe-hole Felix Lechner via Guix-patches via
2024-01-16 22:12 ` [bug#67963] [PATCH v2 01/37] gnu: perl.scm: Fix indentation (no functional changes) Felix Lechner via Guix-patches via
2024-01-16 22:12   ` [bug#67963] [PATCH v2 02/37] Use only version 2 of Perl's Strictures Felix Lechner via Guix-patches via
2024-01-16 22:12   ` Felix Lechner via Guix-patches via [this message]
2024-01-16 22:12   ` [bug#67963] [PATCH v2 04/37] gnu: Add perl-devel-confess Felix Lechner via Guix-patches via
2024-01-16 22:12   ` [bug#67963] [PATCH v2 05/37] gnu: Add perl-mldbm Felix Lechner via Guix-patches via
2024-01-16 22:12   ` [bug#67963] [PATCH v2 06/37] gnu: Add perl-safe-hole Felix Lechner via Guix-patches via
2024-01-16 22:12   ` [bug#67963] [PATCH v2 07/37] gnu: Add perl-class-hash Felix Lechner via Guix-patches via
2024-01-16 22:12   ` [bug#67963] [PATCH v2 08/37] gnu: Add perl-data-messagepack Felix Lechner via Guix-patches via
2024-01-16 22:12   ` [bug#67963] [PATCH v2 09/37] gnu: Add perl-datetime-format-mysql Felix Lechner via Guix-patches via
2024-01-16 22:12   ` [bug#67963] [PATCH v2 10/37] gnu: Add perl-datetime-format-pg Felix Lechner via Guix-patches via
2024-01-16 22:12   ` [bug#67963] [PATCH v2 11/37] gnu: Add perl-datetime-format-sqlite Felix Lechner via Guix-patches via
2024-01-16 22:12   ` [bug#67963] [PATCH v2 12/37] gnu: Add perl-dime-tools Felix Lechner via Guix-patches via
2024-01-16 22:12   ` [bug#67963] [PATCH v2 13/37] gnu: Add perl-fcgi-client Felix Lechner via Guix-patches via
2024-01-16 22:12   ` [bug#67963] [PATCH v2 14/37] gnu: Add perl-fcgi Felix Lechner via Guix-patches via
2024-01-16 22:12   ` [bug#67963] [PATCH v2 15/37] gnu: Add perl-graphviz Felix Lechner via Guix-patches via
2024-01-16 22:12   ` [bug#67963] [PATCH v2 16/37] gnu: Add perl-hash-ordered Felix Lechner via Guix-patches via
2024-01-16 22:12   ` [bug#67963] [PATCH v2 17/37] gnu: Add perl-package-variant Felix Lechner via Guix-patches via
2024-01-16 22:12   ` [bug#67963] [PATCH v2 18/37] gnu: Add perl-spreadsheet-parseexcel Felix Lechner via Guix-patches via
2024-01-16 22:12   ` [bug#67963] [PATCH v2 19/37] gnu: Add perl-xml-parser-lite Felix Lechner via Guix-patches via
2024-01-16 22:12   ` [bug#67963] [PATCH v2 20/37] gnu: Add perl-xml-semanticdiff Felix Lechner via Guix-patches via
2024-01-16 22:12   ` [bug#67963] [PATCH v2 21/37] gnu: Add perl-test-xml Felix Lechner via Guix-patches via
2024-01-16 22:13   ` [bug#67963] [PATCH v2 22/37] gnu: Add perl-time-warp Felix Lechner via Guix-patches via
2024-01-16 22:13   ` [bug#67963] [PATCH v2 23/37] gnu: Add perl-user-identity Felix Lechner via Guix-patches via
2024-01-16 22:13   ` [bug#67963] [PATCH v2 24/37] gnu: Add perl-text-tabulardisplay Felix Lechner via Guix-patches via
2024-01-16 22:13   ` [bug#67963] [PATCH v2 25/37] gnu: Add perl-text-xslate Felix Lechner via Guix-patches via
2024-01-16 22:13   ` [bug#67963] [PATCH v2 26/37] gnu: Add perl-text-reform Felix Lechner via Guix-patches via
2024-01-16 22:13   ` [bug#67963] [PATCH v2 27/37] gnu: Add perl-text-iconv Felix Lechner via Guix-patches via
2024-01-16 22:13   ` [bug#67963] [PATCH v2 28/37] gnu: Add perl-text-autoformat Felix Lechner via Guix-patches via
2024-01-16 22:13   ` [bug#67963] [PATCH v2 29/37] gnu: Add perl-text-recordparser Felix Lechner via Guix-patches via
2024-01-16 22:13   ` [bug#67963] [PATCH v2 30/37] gnu: Add perl-mail-message Felix Lechner via Guix-patches via
2024-01-16 22:13   ` [bug#67963] [PATCH v2 31/37] gnu: Add perl-sql-translator Felix Lechner via Guix-patches via
2024-01-16 22:13   ` [bug#67963] [PATCH v2 32/37] gnu: Add perl-dbicx-testdatabase Felix Lechner via Guix-patches via
2024-01-16 22:13   ` [bug#67963] [PATCH v2 33/37] gnu: Add perl-dbix-class-dynamicdefault Felix Lechner via Guix-patches via
2024-01-16 22:13   ` [bug#67963] [PATCH v2 34/37] gnu: Add perl-dbix-class-timestamp Felix Lechner via Guix-patches via
2024-01-16 22:13   ` [bug#67963] [PATCH v2 35/37] gnu: Add perl-io-sessiondata Felix Lechner via Guix-patches via
2024-01-16 22:13   ` [bug#67963] [PATCH v2 36/37] gnu: Add perl-soap-lite Felix Lechner via Guix-patches via
2024-01-16 22:13   ` [bug#67963] [PATCH v2 37/37] gnu: Add perl-search-estraier Felix Lechner via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2d1f6a29a8cd2de5c3194bc1e2904d503721f875.1705443194.git.felix.lechner@lease-up.com \
    --to=guix-patches@gnu.org \
    --cc=67963@debbugs.gnu.org \
    --cc=felix.lechner@lease-up.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).