On 22/07/2009 10:35, Christian Maeder wrote:
(Maybe someone can explain the bad testsuite results.)
My comments begin with "SDM:" below:
=====> 2469(ghci)
cd ./ffi/should_run &&
'/export/local1/home/maeder/haskell/ghc-6.10.4/ghc/stage2-inplace/ghc'
-fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output 2469.hs
--interactive -v0 -ignore-dot-ghci -optc-std=gnu99 -fglasgow-exts
<2469.genscript 1>2469.interp.stdout 2>2469.interp.stderr
Wrong exit code (expected 0 , actual 1 )
Stdout:
Stderr:
GHCi runtime linker: fatal error: I found a duplicate definition for symbol
__gmpz_get_ui
whilst processing object file
2469_stub.o
This could be caused by:
* Loading two different object files which export the same symbol
* Specifying the same object file twice on the GHCi command line
* An incorrect `package.conf' entry, causing some object to be
loaded twice.
GHCi cannot safely continue in this situation. Exiting now. Sorry.
SDM: I'd guess your gmp.h is dropping definitions for some inline
functions into the code.
=====> ghci024(normal)
cd ./ghci/scripts && $MAKE -s --no-print-directory ghci024 </dev/null
>ghci024.run.stdout 2>ghci024.run.stderr
Wrong exit code (expected 0 , actual 2 )
Stdout:
~~~~~~~~~~ Testing :set
Stderr:
grep: Unzulässige Option -- E
Syntax: grep -hblcnsviw pattern file . . .
gmake[1]: *** [ghci024] Fehler 2
SDM: this test needs fixing for non-GNU grep.
=====> ghci028(ghci)
cd ./ghci/scripts &&
HC='/export/local1/home/maeder/haskell/ghc-6.10.4/ghc/stage2-inplace/ghc' HC_OPTS='-dcore-lint
-dcmm-lint -dno-debug-output '
'/export/local1/home/maeder/haskell/ghc-6.10.4/ghc/stage2-inplace/ghc'
--interactive -v0 -ignore-dot-ghci -dcore-lint -dcmm-lint
-dno-debug-output <ghci028.script >ghci028.run.stdout
2>ghci028.run.stderr
Actual stderr output differs from expected:
--- /dev/null Fr Jul 17 19:28:04 2009
+++ ./ghci/scripts/ghci028.run.stderr.normalised Fr Jul 17 19:28:06 2009
@@ -1,0 +1,4 @@
+
+<interactive>:1:6: lexical error at character '\136'
+
+<interactive>:1:9: lexical error at character '\136'
*** unexpected failure for ghci028(ghci)
SDM: this (and 2816) can be fixed by setting your locale to UTF-8.
=====> derefnull(profc)
cd ./rts &&
'/export/local1/home/maeder/haskell/ghc-6.10.4/ghc/stage2-inplace/ghc'
-fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -o derefnull
derefnull.hs -O -prof -auto-all -fvia-C >derefnull.comp.stderr 2>&1
cd ./rts && ./derefnull +RTS -p -RTS </dev/null >derefnull.run.stdout
2>derefnull.run.stderr
Segmentierungsfehler
./rts/derefnull.prof is empty
*** unexpected failure for derefnull(profc)
SDM: don't know why this works for us, or why we're expecting to find
a .prof file at all. Looks like the tests need fixing.
=====> tcfail126(normal)
cd ./typecheck/should_fail &&
'/export/local1/home/maeder/haskell/ghc-6.10.4/ghc/stage2-inplace/ghc'
-fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -c tcfail126.hs
>tcfail126.comp.stderr 2>&1
Actual stderr output differs from expected:
--- ./typecheck/should_fail/tcfail126.stderr.normalised Fr Jul 17
19:34:07 2009
+++ ./typecheck/should_fail/tcfail126.comp.stderr.normalised Fr Jul 17
19:34:07 2009
@@ -1,10 +1,4 @@
-tcfail126.hs:20:14:
- Couldn't match expected type `forall (m :: * -> *).
- (Monad m) =>
- Bar m'
- against inferred type `Bar m'
- In the pattern: Bar run op
- In the pattern: Foo (Bar run op)
- In the definition of `runProg':
- runProg (Foo (Bar run op)) = run (prog op)
+tcfail126.hs:11:0:
+ Failed to load interface for `Control.Monad.Trans':
+ it was found in multiple packages: mtl-1.1.0.2 ghc-mtl-1.1.0.2
SDM: I don't have a ghc-mtl library. Where does that come from?
(There are lots of these)
=====> conc034(threaded2)
cd ./concurrent/should_run &&
'/export/local1/home/maeder/haskell/ghc-6.10.4/ghc/stage2-inplace/ghc'
-fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -o conc034
conc034.hs -O -threaded -fglasgow-exts >conc034.comp.stderr 2>&1
cd ./concurrent/should_run && ./conc034 +RTS -C0 -RTS +RTS -N2 -RTS
</dev/null >conc034.run.stdout 2>conc034.run.stderr
Wrong exit code (expected 0 , actual 1 )
Stdout:
Stderr:
conc034: <<loop>>
SDM: probably not a serious problem, but I should investigate this
result. If you could make a ticket, that would be great.
=====> num009(normal)
cd ./lib/Numeric &&
'/export/local1/home/maeder/haskell/ghc-6.10.4/ghc/stage2-inplace/ghc'
-fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -o num009
num009.hs >num009.comp.stderr 2>&1
cd ./lib/Numeric && ./num009 </dev/null >num009.run.stdout
2>num009.run.stderr
Actual stdout output differs from expected:
--- ./lib/Numeric/num009.stdout.normalised Fr Jul 17 20:28:56 2009
+++ ./lib/Numeric/num009.run.stdout.normalised Fr Jul 17 20:28:56 2009
@@ -1,1 +1,31 @@
+sind
+-0.6452512852657808
+-0.7469218912594929
+(-5811906895766608,-53)
+(-6727674302302237,-53)
+sinf
+0.6565767
+-0.7710884
+(11015529,-24)
+(-12936717,-24)
+cosd
+0.7639704044417283
+-0.6649117899070088
+(6881233657531709,-53)
+(-5988992978518909,-53)
+cosf
+0.7542593
+0.63672805
+(12654371,-24)
+(10682524,-24)
+tand
+-0.8446024630198843
+1.123339821307656
+(-7607502675465108,-53)
+(5059072800651599,-52)
+tanf
+0.870492
+-1.2110169
+(14604432,-24)
+(-10158746,-23)
Done
*** unexpected failure for num009(normal)
SDM: I don't have a clue about this one.
=====> list001(ghci)
cd ./lib/should_run &&
'/export/local1/home/maeder/haskell/ghc-6.10.4/ghc/stage2-inplace/ghc'
-fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output list001.hs
--interactive -v0 -ignore-dot-ghci <list001.genscript
1>list001.interp.stdout 2>list001.interp.stderr
Segmentierungsfehler
Wrong exit code (expected 0 , actual 139 )
Stdout:
Stderr:
SDM: ouch! Please make a ticket for this one.
=====> hClose002(normal)
cd ./lib/IO &&
'/export/local1/home/maeder/haskell/ghc-6.10.4/ghc/stage2-inplace/ghc'
-fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -o hClose002
hClose002.hs >hClose002.comp.stderr 2>&1
cd ./lib/IO && ./hClose002 </dev/null >hClose002.run.stdout
2>hClose002.run.stderr
Actual stdout output differs from expected:
--- ./lib/IO/hClose002.stdout.normalised Fr Jul 17 20:39:15 2009
+++ ./lib/IO/hClose002.run.stdout.normalised Fr Jul 17 20:39:15 2009
@@ -1,4 +1,4 @@
-Left hClose: invalid argument (Bad file descriptor)
+Left hClose: invalid argument (Bad file number)
Right ()
Right ()
Right ()
*** unexpected failure for hClose002(normal)
SDM: we need test output for this platform added to the test suite.
Please make a ticket or submit a patch.
=====> concio002(threaded2)
cd ./lib/IO &&
'/export/local1/home/maeder/haskell/ghc-6.10.4/ghc/stage2-inplace/ghc'
-fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -o concio002
concio002.hs -O -threaded >concio002.comp.stderr 2>&1
cd ./lib/IO && ./concio002 +RTS -N2 -RTS </dev/null
>concio002.run.stdout 2>concio002.run.stderr
Timeout happened...killing process...
Beendet
Wrong exit code (expected 0 , actual 99 )
Stdout:
Stderr:
SDM: This looks bad. Another ticket!
=====> 1861(optc)
cd ./codeGen/should_run &&
'/export/local1/home/maeder/haskell/ghc-6.10.4/ghc/stage2-inplace/ghc'
-fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -o 1861 1861.hs
-O -fvia-C >1861.comp.stderr 2>&1
Compile failed (status 256) errors were:
/tmp/ghc10001_0/ghc10001_0.hc: In Funktion »s1ua_ret«:
/tmp/ghc10001_0/ghc10001_0.hc:100:0:
Fehler: »INFINITY« nicht deklariert (erste Benutzung in dieser
Funktion)
/tmp/ghc10001_0/ghc10001_0.hc:100:0:
Fehler: (Jeder nicht deklarierte Bezeichner wird nur einmal aufgeführt
/tmp/ghc10001_0/ghc10001_0.hc:100:0:
Fehler: für jede Funktion in der er auftritt.)
/tmp/ghc10001_0/ghc10001_0.hc: In Funktion »s1ug_ret«:
/tmp/ghc10001_0/ghc10001_0.hc:145:0:
Fehler: »INFINITY« nicht deklariert (erste Benutzung in dieser
Funktion)
*** unexpected failure for 1861(optc)
SDM: we have a ticket for this already: #2929
=====> user001(normal)
cd ./libraries/unix &&
'/export/local1/home/maeder/haskell/ghc-6.10.4/ghc/stage2-inplace/ghc'
-fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -o user001
user001.hs -package unix >user001.comp.stderr 2>&1
cd ./libraries/unix && ./user001 </dev/null >user001.run.stdout
2>user001.run.stderr
Actual stdout output differs from expected:
--- ./libraries/unix/user001.stdout.normalised Fr Jul 17 21:09:45 2009
+++ ./libraries/unix/user001.run.stdout.normalised Fr Jul 17 21:09:45 2009
@@ -3,9 +3,9 @@
getEffectiveUserID: OK
getEffectiveGroupID: OK
getGroups: OK
-getEffectiveUserName: OK
-getGroupEntryForID: OK
-getGroupEntryForName: OK
+getEffectiveUserName: ERROR: getUserEntryForID: failed (Unknown error)
+getGroupEntryForID: ERROR: getGroupEntryForID: failed (Unknown error)
+getGroupEntryForName: ERROR: getGroupEntryForID: failed (Unknown error)
getAllGroupEntries: OK
-getUserEntryForID: OK
+getUserEntryForID: ERROR: getUserEntryForID: failed (Unknown error)
getAllUserEntries: OK
*** unexpected failure for user001(normal)
SDM: I have a machine that does this too. I don't remember why, but
AFAIR it's not serious.
=====> signals004(ghci)
cd ./libraries/unix &&
'/export/local1/home/maeder/haskell/ghc-6.10.4/ghc/stage2-inplace/ghc'
-fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output signals004.hs
--interactive -v0 -ignore-dot-ghci -package unix <signals004.genscript
1>signals004.interp.stdout 2>signals004.interp.stderr
Timeout happened...killing process...
Beendet
Wrong exit code (expected 0 , actual 99 )
Stdout:
Stderr:
signals004: lost signal due to full pipe: 16
SDM: Probably not a bug as such, but interesting that it happens to
you. Something to investigate one day.
=====> process006(threaded2)
cd ./libraries/process &&
'/export/local1/home/maeder/haskell/ghc-6.10.4/ghc/stage2-inplace/ghc'
-fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -o process006
process006.hs -O -threaded >process006.comp.stderr 2>&1
cd ./libraries/process && ./process006 +RTS -N2 -RTS </dev/null
>process006.run.stdout 2>process006.run.stderr
Timeout happened...killing process...
Beendet
Wrong exit code (expected 0 , actual 99 )
Stdout:
Stderr:
SDM: looks bad. Tickets please.
=====> process007(normal)
cd ./libraries/process &&
'/export/local1/home/maeder/haskell/ghc-6.10.4/ghc/stage2-inplace/ghc'
-fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -o process007
process007.hs >process007.comp.stderr 2>&1
cd ./libraries/process && ./process007 </dev/null
>process007.run.stdout 2>process007.run.stderr
Actual stdout output differs from expected:
--- ./libraries/process/process007.stdout.normalised Fr Jul 17 21:42:20 2009
+++ ./libraries/process/process007.run.stdout.normalised Fr Jul 17
21:42:20 2009
@@ -1,2 +1,2 @@
You bad pie-rats!
-failed, as expected
+eek!
*** unexpected failure for process007(normal)
SDM: looks bad. Tickets please.
=====> num012(normal)
cd ./numeric/should_run &&
'/export/local1/home/maeder/haskell/ghc-6.10.4/ghc/stage2-inplace/ghc'
-fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -o num012
num012.hs >num012.comp.stderr 2>&1
cd ./numeric/should_run && ./num012 </dev/null >num012.run.stdout
2>num012.run.stderr
Actual stdout output differs from expected:
--- ./numeric/should_run/num012.stdout.normalised Fr Jul 17 21:47:56 2009
+++ ./numeric/should_run/num012.run.stdout.normalised Fr Jul 17 21:47:56
2009
@@ -1,4 +1,4 @@
-[0,1,5,9,10,14,31,31,32,32,32,32,33]
+[0,1,5,9,10,14,31,31,31,32,32,32,33]
-2.147483648e9
-2.1474837e9
-2.147483648e9
*** unexpected failure for num012(normal)
SDM: no idea about this one.
=====> cabal01(normal)
cd ./cabal/cabal01 && $MAKE -s --no-print-directory cabal01
PROF=--enable-library-profiling </dev/null >cabal01.run.stdout
2>cabal01.run.stderr
Wrong exit code (expected 0 , actual 2 )
Stdout:
install1:
bin
lib
Reading package info from "dist/installed-pkg-config" ... done.
Writing new package config file... done.
install2:
bin
lib
Stderr:
tar: C: unbekannter Funktionsmodifizierer
Syntax: tar {c|r|t|u|x}[bdeefhilmnoppq...@[0-7]][bfk][x...] [Blockgröße]
[tar-Datei] [Größe] [Ausschlussdatei...] {Datei | -I Einschlussdatei |
-C Verzeichnis Datei}...
gmake[1]: *** [cabal01] Fehler 1
*** unexpected failure for cabal01(normal)
SDM: looks like the test needs to be fixed to work with non-GNU tar?
Or is it a Cabal issue?
=====> ghcpkg05(normal)
cd ./cabal && $MAKE -s --no-print-directory ghcpkg05 </dev/null
>ghcpkg05.run.stdout 2>ghcpkg05.run.stderr
Actual stderr output differs from expected:
--- ./cabal/ghcpkg05.stderr.normalised Fr Jul 17 21:49:05 2009
+++ ./cabal/ghcpkg05.run.stderr.normalised Fr Jul 17 21:49:05 2009
@@ -8,9 +8,15 @@
file C/D.hi is missing
file C/E.hi is missing
cannot find libtestpkg-2.0.a on library path
+There are problems in package HAIFA-0.12:
+ dependency HTTP-3001.1.5 doesn't exist
+ dependency dataenc-0.13.0.0 doesn't exist
+ dependency hxt-8.2.0 doesn't exist
+ dependency hxt-filter-8.2.0 doesn't exist
The following packages are broken, either because they have a problem
listed above, or because they depend on a broken package.
testpkg-2.0
+HAIFA-0.12
testpkg-3.0
ghc-pkg: unregistering testpkg-2.0 would break the following packages:
testpkg-3.0 (use --force to override)
*** unexpected failure for ghcpkg05(normal)
SDM: What is HAIFA?
=====> driver063(normal)
cd ./driver && $MAKE -s --no-print-directory test063 </dev/null
>driver063.run.stdout 2>driver063.run.stderr
Actual stderr output differs from expected:
--- ./driver/driver063.stderr.normalised Fr Jul 17 21:50:02 2009
+++ ./driver/driver063.run.stderr.normalised Fr Jul 17 21:50:02 2009
@@ -1,4 +1,0 @@
-
-D.hs:2:7:
- Could not find module `A':
- it is not a module in the current program, or in any known package.
*** unexpected failure for driver063(normal)
SDM: looks wrong, but might be benign if you have a module A floating
about somewhere.
=====> 3231(normal)
cd ../../../libraries/process/tests &&
'/export/local1/home/maeder/haskell/ghc-6.10.4/ghc/stage2-inplace/ghc'
-fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -o 3231 3231.hs
>3231.comp.stderr 2>&1
cd ../../../libraries/process/tests && ./3231 </dev/null
>3231.run.stdout 2>3231.run.stderr
Actual stderr output differs from expected:
--- /dev/null Fr Jul 17 21:52:05 2009
+++ ../../../libraries/process/tests/3231.run.stderr.normalised Fr Jul
17 21:58:29 2009
@@ -1,0 +1,457 @@
+sleep: Falsches Zeichen im Argument
SDM: test needs fixing to work with your sleep, I imagine.
=====> conc068(normal)
cd ../../../libraries/parallel/tests && $MAKE -s --no-print-directory
test068 </dev/null >conc068.run.stdout 2>conc068.run.stderr
Wrong exit code (expected 0 , actual 2 )
Stdout:
Stderr:
Makefile:6: ../../../testsuite/mk/boilerplate.mk: Datei oder Verzeichnis
nicht gefunden
Makefile:7: ../../../testsuite/mk/test.mk: Datei oder Verzeichnis nicht
gefunden
gmake[1]: *** Keine Regel, um »../../../testsuite/mk/test.mk« zu
erstellen. Schluss.
SDM: ?
=====> conc049(hpc)
cd ../../../libraries/stm/tests &&
'/export/local1/home/maeder/haskell/ghc-6.10.4/ghc/stage2-inplace/ghc'
-fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -o conc049
conc049.hs -O -fhpc -package stm >conc049.comp.stderr 2>&1
cd ../../../libraries/stm/tests && ./conc049 </dev/null
>conc049.run.stdout 2>conc049.run.stderr
Timeout happened...killing process...
Wrong exit code (expected 0 , actual 99 )
Stdout:
Stderr:
SDM: I see this from time to time. AFAIK it's not serious.
Cheers,
Simon
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users