--- Begin Message ---
Subject: |
[PATCH 0/2] Add GHC 8.6.5 |
Date: |
Tue, 16 Jul 2019 17:47:32 +0200 |
Seemed like a good idea to have current GHC packaged. This almost works,
except for two real test failures (not sure if these are just on my system),
and some more "stat failures". It would be neat if someone could run the
build and see if they get the same failures.
Unexpected results from:
TEST="T5631 T8108 T9203 T9630 haddock.Cabal haddock.base parsing001 posix010"
SUMMARY for test run started at Tue Jul 16 12:47:07 2019 UTC
2:44:36 spent to go through
6525 total tests, which gave rise to
25446 test cases, of which
18529 were skipped
41 had missing libraries
6782 expected passes
86 expected failures
0 caused framework failures
0 caused framework warnings
0 unexpected passes
2 unexpected failures
6 unexpected stat failures
Unexpected failures:
../../libraries/unix/tests/T8108.run T8108 [bad stderr] (normal)
../../libraries/unix/tests/libposix/posix010.run posix010 [bad exit code]
(normal)
Unexpected stat failures:
perf/compiler/T5631.run T5631 [stat too good] (normal)
perf/compiler/parsing001.run parsing001 [stat too good] (normal)
perf/compiler/T9630.run T9630 [stat not good enough] (normal)
perf/haddock/haddock.base.run haddock.base [stat too good] (normal)
perf/haddock/haddock.Cabal.run haddock.Cabal [stat too good] (normal)
perf/should_run/T9203.run T9203 [stat too good] (normal)
First failure:
cd "../../libraries/unix/tests/T8108.run" &&
"/tmp/guix-build-ghc-8.6.5.drv-0/ghc-8.6.5/inplace/bin/ghc-stage2" -o T8108
T8108.hs -dcore-lint -dcmm-lint -no-user-package-db -rtso
pts -fno-warn-missed-specialisations -fshow-warning-groups
-fdiagnostics-color=never -fno-diagnostics-show-caret -dno-debug-output
-package unix
cd "../../libraries/unix/tests/T8108.run" && ./T8108
Actual stderr output differs from expected:
diff -uw "/dev/null"
"../../libraries/unix/tests/T8108.run/T8108.run.stderr.normalised"
*** unexpected failure for T8108(normal)
Second failure:
cd "../../libraries/unix/tests/libposix/posix010.run" && ./posix010
Wrong exit code for posix010(normal)(expected 0 , actual 1 )
Stderr ( posix010 ):
posix010: getUserEntryForName: does not exist (no such user)
*** unexpected failure for posix010(normal)
Dmesg output, possibly related:
[250906.659949] derefnull[32322]: segfault at 0 ip 0000000000405bd1 sp
00007fffffff90e8 error 4 in derefnull[402000+88000]
[250906.659980] Code: 00 00 00 e9 99 4a 07 00 90 00 00 00 00 00 00 00 00 1e 00
00 00 00 00 00 00 49 83 c4 10 4d 3b a5 58 03 00 00 77 d2 48 8b 43 07 <48> 8b 00
4
9 c7 44 24 f8 98 3c 46 00 49 89 04 24 49 8d 5c 24 f9 48
[250908.941498] traps: divbyzero[32344] trap divide error ip:46308f
sp:7fffffff90e8 error:0 in divbyzero[402000+88000]
Robert Vollmert (2):
gnu: Rename ghc-8 to ghc-8.4
gnu: Add GHC 8.6.5
gnu/packages/haskell.scm | 31 +++++++++++++++++++++++++++++--
1 file changed, 29 insertions(+), 2 deletions(-)
--
2.20.1 (Apple Git-117)
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#36692] [PATCH (unified, replaces previous patches)] gnu: Add GHC 8.6.5 |
Date: |
Thu, 08 Aug 2019 00:26:39 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
Hi Robert,
Robert Vollmert <address@hidden> writes:
> This is exactly like GHC 8.4, except for:
> - the sources
> - depends on ghc-8.4 as ghc-bootstrap, since it has a
> minimum requirement of GHC 8.2 as a bootstrap compiler
> - explicitly skip two failing tests
I simplified the package by reusing the inputs and arguments from
“ghc-8.4”. I also made changing “ghc-8” its own commit.
Pushed as a62ddb748f–cce84c34cd. Thanks!
> (Apparently, those tests also fail on older versions, but
> for unclear reasons the packages still build successfully.)
It would be nice if we could make the old versions fail and fix or
disable the failing tests.
-- Tim
--- End Message ---