[cvs-nhc98] Darwin i386 build nhc98/hat

Malcolm Wallace malcolm at abbess.demon.co.uk
Thu Jun 25 23:33:40 EDT 2009


build/archivist.local /Users/malcolm/Haskell/autorun started at Fri Jun 26 04:00:20 BST 2009


Warning: The module DIOError is called Prelude in its interface file (/Users/malcolm/Haskell/nhc98/include/packages/base/DIOError.hi)
Warning: The module DIOError is called Prelude in its interface file (/Users/malcolm/Haskell/nhc98/include/packages/base/DIOError.hi)
Warning: The module DIOError is called Prelude in its interface file (/Users/malcolm/Haskell/nhc98/include/packages/base/DIOError.hi)

Time for build with gcc
ar: creating archive /Volumes/leopard/Haskell/nhc98-test-gcc/targets/ix86-Darwin9/obj/runtime/Kernel/Runtime.a
./Bounded_Int.hc:32: warning: this decimal constant is unsigned only in ISO C90
./Int.hc:1182: warning: this decimal constant is unsigned only in ISO C90
./Int.hc:2153: warning: this decimal constant is unsigned only in ISO C90
hmake-config: Starting new config file in
  /Volumes/leopard/Haskell/nhc98-test-gcc/lib/ix86-Darwin9/hmakerc
./Internals.hc:5291: error: conflicting types for 'write'
/usr/include/unistd.h:509: error: previous declaration of 'write' was here
./Internals.hc:5367: error: conflicting types for '__hscore_stat'
../libraries/base/include/HsBase.h:491: error: previous definition of '__hscore_stat' was here
./Internals.hc:5410: error: conflicting types for 'read'
/usr/include/unistd.h:473: error: previous declaration of 'read' was here
./Internals.hc:5510: error: conflicting types for '__hscore_open'
../libraries/base/include/HsBase.h:678: error: previous definition of '__hscore_open' was here
ld: duplicate symbol ___hscore_get_errno in ./Internals.o and ../libraries/base/cbits/dirUtils.o

collect2: ld returned 1 exit status
strip: can't open file: /Volumes/leopard/Haskell/nhc98-test-gcc/lib/ix86-Darwin9/hsc2hs (No such file or directory)
make[1]: *** [fromC] Error 1
make: *** [targets/ix86-Darwin9/hsc2hs-gcc] Error 2

real	2m4.545s
user	1m8.191s
sys	0m48.334s

Time for build with ghc-6.8.3
ar: creating archive /Volumes/leopard/Haskell/nhc98-test-ghc68/targets/ix86-Darwin9/obj/runtime/Kernel/Runtime.a
hmake-config: Starting new config file in
  /Volumes/leopard/Haskell/nhc98-test-ghc68/lib/ix86-Darwin9/hmakerc
/tmp/Bounded_Int.87033.hc:32: warning: this decimal constant is unsigned only in ISO C90
/tmp/Int.5213.hc:1182: warning: this decimal constant is unsigned only in ISO C90
/tmp/Int.5213.hc:2153: warning: this decimal constant is unsigned only in ISO C90
Warning: IOError is both imported and defined
Warning: IOError is both imported and defined
Warning: EOFError is both imported and defined
Warning: PatternError is both imported and defined
Warning: UserError is both imported and defined
Warning: The module DIOError is called Prelude in its interface file (/Volumes/leopard/Haskell/nhc98-test-ghc68/include/packages/base/DIOError.hi)
Warning: The module DIOError is called Prelude in its interface file (/Volumes/leopard/Haskell/nhc98-test-ghc68/include/packages/base/DIOError.hi)
/tmp/Internals.14508.hc:5291: error: conflicting types for 'write'
/usr/include/unistd.h:509: error: previous declaration of 'write' was here
/tmp/Internals.14508.hc:5367: error: conflicting types for '__hscore_stat'
include/HsBase.h:491: error: previous definition of '__hscore_stat' was here
/tmp/Internals.14508.hc:5410: error: conflicting types for 'read'
/usr/include/unistd.h:473: error: previous declaration of 'read' was here
/tmp/Internals.14508.hc:5510: error: conflicting types for '__hscore_open'
include/HsBase.h:678: error: previous definition of '__hscore_open' was here
ranlib: file: /Volumes/leopard/Haskell/nhc98-test-ghc68/lib/ix86-Darwin9/libHSold-time.a(timeUtils.o) has no symbols
======	In file: /tmp/Directory.19226.hs:
Error: /tmp/Directory.19226.hs(809:36-809:37) Found {-end-of-group-} but expected one of <string> <char> <rational> <integer> ( [ <varid> <conid> _case_ _if_ _do_ _let_ \ ` <varop> <conop> ~ _ 
make[1]: *** [/Volumes/leopard/Haskell/nhc98-test-ghc68/targets/ix86-Darwin9/obj/libraries/directory/System/Directory.o] Error 1
Warning: -package directory library  not found.
shift/reduce conflicts:  2

real	8m41.118s
user	5m41.239s
sys	2m27.106s

Running tests:
cd tests && ./runtests clean >/dev/null && ./runtests >t.log 2>t.err
tail -4 tests/t.err
110 built ok      / 23 builds failed
                  / of which 20 known / 3 bad
108 outputs match / 2 outputs differ
110 errors  match / 0 errors  differ

real	7m32.899s
user	6m36.140s
sys	0m52.424s

cp: /Volumes/leopard/Haskell/nhc98-test-gcc/include/packages/Cabal.cabal: No such file or directory
cp: /Volumes/leopard/Haskell/nhc98-test-gcc/include/packages/HUnit.cabal: No such file or directory
cp: /Volumes/leopard/Haskell/nhc98-test-gcc/include/packages/HaXml.cabal: No such file or directory
cp: /Volumes/leopard/Haskell/nhc98-test-gcc/include/packages/QuickCheck.cabal: No such file or directory
cp: /Volumes/leopard/Haskell/nhc98-test-gcc/include/packages/array.cabal: No such file or directory
cp: /Volumes/leopard/Haskell/nhc98-test-gcc/include/packages/base.cabal: No such file or directory
cp: /Volumes/leopard/Haskell/nhc98-test-gcc/include/packages/bytestring.cabal: No such file or directory
cp: /Volumes/leopard/Haskell/nhc98-test-gcc/include/packages/containers.cabal: No such file or directory
cp: /Volumes/leopard/Haskell/nhc98-test-gcc/include/packages/directory.cabal: No such file or directory
cp: /Volumes/leopard/Haskell/nhc98-test-gcc/include/packages/filepath.cabal: No such file or directory
cp: /Volumes/leopard/Haskell/nhc98-test-gcc/include/packages/getopt.cabal: No such file or directory
cp: /Volumes/leopard/Haskell/nhc98-test-gcc/include/packages/haskell-src.cabal: No such file or directory
cp: /Volumes/leopard/Haskell/nhc98-test-gcc/include/packages/haskell98.cabal: No such file or directory
cp: /Volumes/leopard/Haskell/nhc98-test-gcc/include/packages/html.cabal: No such file or directory
cp: /Volumes/leopard/Haskell/nhc98-test-gcc/include/packages/old-locale.cabal: No such file or directory
cp: /Volumes/leopard/Haskell/nhc98-test-gcc/include/packages/old-time.cabal: No such file or directory
cp: /Volumes/leopard/Haskell/nhc98-test-gcc/include/packages/packedstring.cabal: No such file or directory
cp: /Volumes/leopard/Haskell/nhc98-test-gcc/include/packages/parsec.cabal: No such file or directory
cp: /Volumes/leopard/Haskell/nhc98-test-gcc/include/packages/polyparse.cabal: No such file or directory
cp: /Volumes/leopard/Haskell/nhc98-test-gcc/include/packages/pretty.cabal: No such file or directory
cp: /Volumes/leopard/Haskell/nhc98-test-gcc/include/packages/process.cabal: No such file or directory
cp: /Volumes/leopard/Haskell/nhc98-test-gcc/include/packages/random.cabal: No such file or directory
cp: /Volumes/leopard/Haskell/nhc98-test-gcc/include/packages/xhtml.cabal: No such file or directory

Time for build with nhc98
ar: creating archive /Volumes/leopard/Haskell/nhc98-test-nhc/targets/ix86-Darwin9/obj/runtime/Kernel/Runtime.a
hmake-config: Starting new config file in
  /Volumes/leopard/Haskell/nhc98-test-nhc/lib/ix86-Darwin9/hmakerc
/tmp/Extra.55185.hc:452: warning: this decimal constant is unsigned only in ISO C90
Warning: foreign import/export has non-primitive type: Prelude.2

ld: in /sw/lib/nhc98/ix86-Darwin9/libHSbase.a, archive has no table of contents
collect2: ld returned 1 exit status
mv: rename /Volumes/leopard/Haskell/nhc98-test-nhc/targets/ix86-Darwin9/obj/compiler98/MainNhc98 to /Volumes/leopard/Haskell/nhc98-test-nhc/lib/ix86-Darwin9/nhc98comp: No such file or directory
make[1]: *** [/Volumes/leopard/Haskell/nhc98-test-nhc/lib/ix86-Darwin9/nhc98comp] Error 1
make: *** [targets/ix86-Darwin9/compiler-nhc] Error 2

real	2m9.156s
user	1m38.350s
sys	0m25.182s

/Users/malcolm/Haskell/autorun finished at Fri Jun 26 04:33:39 BST 2009


More information about the Cvs-nhc98 mailing list