GNU bug report logs - #52357
8 ghc-* test suite failures for i686-linux

Previous Next

Package: guix;

Reported by: zimoun <zimon.toutoune <at> gmail.com>

Date: Tue, 7 Dec 2021 19:07:02 UTC

Severity: normal

To reply to this bug, email your comments to 52357 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#52357; Package guix. (Tue, 07 Dec 2021 19:07:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to zimoun <zimon.toutoune <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 07 Dec 2021 19:07:02 GMT) Full text and rfc822 format available.

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

From: zimoun <zimon.toutoune <at> gmail.com>
To: Bug Guix <bug-guix <at> gnu.org>
Subject: 8 ghc-* test suite failures for i686-linux
Date: Tue, 7 Dec 2021 20:06:43 +0100
Hi,

Well, it appears to me worth to track all in the bug tracker.

Initially from <https://lists.gnu.org/archive/html/guix-devel/2021-12/msg00052.html>.

---------- Forwarded message ---------
From: Timothy Sample <samplet <at> ngyro.com>
Date: Sun, 5 Dec 2021 at 17:47
Subject: Re: [core-updates-frozen] Haskell for i686-linux: report

> After some Cuirass monitoring and restarted some unexpected failures,
> the situation for ghc-* on i686-linux is the same as the one from
> current master.

I took a few minutes to triage these.  Most of them are fixable.

> Two packages are broken in core-updates-frozen and not in master:
>
>  1. ghc-ncurses
>     https://ci.guix.gnu.org/build/1858160/details

Looks like this is due to an ncurses API update:

    https://lists.gnu.org/archive/html/bug-ncurses/2020-08/msg00017.html

AFAICS, both scroll and ghc-ncurses are abandoned.  In the case of
scroll, you could say that it’s “finished” I guess, since it’s a game.
I bet it would work fine if we drop the “KEY_EVENT” line in
“lib/UI/NCurses/Enums.chs”.  Otherwise, we could consider dropping these
two packages.

>  2. ghc-lukko
>     https://ci.guix.gnu.org/build/1858215/details

Upstream bug: https://github.com/haskellari/lukko/issues/15

The consensus so far is disable OFD locking on 32-bit platforms using
the “-ofd-locking” configure flag.

> These test suite failures require some investigations.  Many other ghc-*
> packages too:
>
>  - ghc-sha

This one is an out of memory error.  Not sure what to do.

>  - ghc-validty

Upstream bug: https://github.com/NorfairKing/validity/issues/84

There’s a patch there to fix the tests for 32-bit machines.

>  - ghc-bloomfilter

Upstream bug: https://github.com/bos/bloomfilter/issues/7

The tests are bounds checking using an overflowed literal: 0xffffffff.
Other distros get rid of the check, but the literal could be fixed, too,
as explained in the bug report.

>  - ghc-tar

Upstream bug: https://github.com/haskell/tar/issues/21 (from rekado!)

There’s no patch from upstream.  It looks like a simple word size
mistake in the tests like ghc-validity or ghc-bloomfilter.

>  - ghc-llvm-hs

Not sure about this one.

>  - ghc-lucid

This one I’ve seen before!  Upstream has trouble with nondeterministic
ordering of output HTML attributes.  I guess running the tests on a
32-bit machine exposes some more of these problems.  Patching the tests
to allow different orders would fix it.

[---]

It would be good to fix these, but it would be better to update our
whole Haskell stack.  That’ll have to be something to attempt once c-u-f
is merged.


-- Tim




This bug report was last modified 2 years and 140 days ago.

Previous Next


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