unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#64643] [PATCH] gnu: ghc-8.10: Fix build on i686-linux.
@ 2023-07-15  9:39 Christopher Baines
  2023-07-16  8:29 ` Lars-Dominik Braun
  0 siblings, 1 reply; 5+ messages in thread
From: Christopher Baines @ 2023-07-15  9:39 UTC (permalink / raw)
  To: 64643; +Cc: Lars-Dominik Braun

As one profiling test fails very repeatedly on the bordeaux build farm, but
ghc did seem to build successfully on other machines.

* gnu/packages/haskell.scm (ghc-8.10)[arguments]: Don't run the T11627a
profiling test on i686-linux.
---
 gnu/packages/haskell.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 6b2c86fec4..62815efbb1 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1271,8 +1271,11 @@ (define-public ghc-8.10
            ;; next rebuild. Note that they are required for GHC 8.10 and 9.2.
            #$@(if (string-prefix? "i686" (or (%current-target-system)
                                              (%current-system)))
-               #~((add-after 'skip-failing-tests-i686 'skip-failing-tests-i686-cuirass
+               #~((add-after 'skip-failing-tests-i686 'skip-more-failing-tests-i686
                     (lambda _
+                      (substitute* '("testsuite/tests/profiling/should_run/all.T")
+                        (("test\\('T11627a', \\[ ")
+                         "test('T11627a', [ when(arch('i386'), skip), "))
                       (substitute* '("testsuite/driver/testlib.py")
                         ((".*changes being made to the file will invalidate the code signature.*")
                          "")

base-commit: b5a5e4d712d0a1998995be62bb41b03955b7dcf1
prerequisite-patch-id: 3297b62c093009d94f43908e88dfc50a53ccbeac
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#64643] [PATCH] gnu: ghc-8.10: Fix build on i686-linux.
  2023-07-15  9:39 [bug#64643] [PATCH] gnu: ghc-8.10: Fix build on i686-linux Christopher Baines
@ 2023-07-16  8:29 ` Lars-Dominik Braun
  2023-07-16  8:41   ` Christopher Baines
  0 siblings, 1 reply; 5+ messages in thread
From: Lars-Dominik Braun @ 2023-07-16  8:29 UTC (permalink / raw)
  To: Christopher Baines; +Cc: 64643

Hi Christopher,

> As one profiling test fails very repeatedly on the bordeaux build farm, but
> ghc did seem to build successfully on other machines.

do you have a log file showing the failure? It’s also a pretty big
rebuild (almost 1800 packages), so maybe we can apply this change on
i386 only for now?

Cheers,
Lars





^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#64643] [PATCH] gnu: ghc-8.10: Fix build on i686-linux.
  2023-07-16  8:29 ` Lars-Dominik Braun
@ 2023-07-16  8:41   ` Christopher Baines
  2023-07-16  9:03     ` Lars-Dominik Braun
  0 siblings, 1 reply; 5+ messages in thread
From: Christopher Baines @ 2023-07-16  8:41 UTC (permalink / raw)
  To: Lars-Dominik Braun; +Cc: 64643

[-- Attachment #1: Type: text/plain, Size: 729 bytes --]


Lars-Dominik Braun <lars@6xq.net> writes:

> Hi Christopher,
>
>> As one profiling test fails very repeatedly on the bordeaux build farm, but
>> ghc did seem to build successfully on other machines.
>
> do you have a log file showing the failure? It’s also a pretty big
> rebuild (almost 1800 packages), so maybe we can apply this change on
> i386 only for now?

Yep, you can click the "View build on https://bordeaux.guix.gnu.org"
links from this page [1] to find the build logs for all the failing
builds.

1: https://data.qa.guix.gnu.org/gnu/store/sp4csvzxjzzjhmyp7sfdxg3ypqpysh2a-ghc-8.10.7.drv

And yes, this patch only affects i686-linux as confirmed by [2].

2: https://qa.guix.gnu.org/issue/64643

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#64643] [PATCH] gnu: ghc-8.10: Fix build on i686-linux.
  2023-07-16  8:41   ` Christopher Baines
@ 2023-07-16  9:03     ` Lars-Dominik Braun
  2023-07-17 12:58       ` bug#64643: " Christopher Baines
  0 siblings, 1 reply; 5+ messages in thread
From: Lars-Dominik Braun @ 2023-07-16  9:03 UTC (permalink / raw)
  To: Christopher Baines; +Cc: 64643

Hi,

> Yep, you can click the "View build on https://bordeaux.guix.gnu.org"
> links from this page [1] to find the build logs for all the failing
> builds.
> 
> 1: https://data.qa.guix.gnu.org/gnu/store/sp4csvzxjzzjhmyp7sfdxg3ypqpysh2a-ghc-8.10.7.drv

huh, a segfault. Weird. Perhaps it’s running out of address space.

> And yes, this patch only affects i686-linux as confirmed by [2].

Ah, you’re right. I missed this patch context:

>           #$@(if (string-prefix? "i686" (or (%current-target-system)
>                                             (%current-system)))

Looks good to me then!

Cheers,
Lars





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#64643: [PATCH] gnu: ghc-8.10: Fix build on i686-linux.
  2023-07-16  9:03     ` Lars-Dominik Braun
@ 2023-07-17 12:58       ` Christopher Baines
  0 siblings, 0 replies; 5+ messages in thread
From: Christopher Baines @ 2023-07-17 12:58 UTC (permalink / raw)
  To: Lars-Dominik Braun; +Cc: 64643-done

[-- Attachment #1: Type: text/plain, Size: 982 bytes --]


Lars-Dominik Braun <lars@6xq.net> writes:

> Hi,
>
>> Yep, you can click the "View build on https://bordeaux.guix.gnu.org"
>> links from this page [1] to find the build logs for all the failing
>> builds.
>>
>> 1: https://data.qa.guix.gnu.org/gnu/store/sp4csvzxjzzjhmyp7sfdxg3ypqpysh2a-ghc-8.10.7.drv
>
> huh, a segfault. Weird. Perhaps it’s running out of address space.
>
>> And yes, this patch only affects i686-linux as confirmed by [2].
>
> Ah, you’re right. I missed this patch context:
>
>>           #$@(if (string-prefix? "i686" (or (%current-target-system)
>>                                             (%current-system)))
>
> Looks good to me then!

Great, I've pushed this to master as
ad08f9331fee7a8e71e94b02f86f54ab3e1001a8.

There's ~2000 affected packages, but I think this is OK since at least
for the bordeaux build farm, these packages are being unblocked rather
than rebuilt, and for ci, it'll take no time at all to catch up.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-07-17 13:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-15  9:39 [bug#64643] [PATCH] gnu: ghc-8.10: Fix build on i686-linux Christopher Baines
2023-07-16  8:29 ` Lars-Dominik Braun
2023-07-16  8:41   ` Christopher Baines
2023-07-16  9:03     ` Lars-Dominik Braun
2023-07-17 12:58       ` bug#64643: " Christopher Baines

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).