Hello,

On Tuesday 20 January 2009 14:07, Ian Lynagh wrote:
> 
> Hi all,
> 
> Simon Marlow and I have been beavering away at the new build system, and
> it's now reached the point where validate finishes on all the platforms
> we've tried it on.
> 
> There is still a lot to do, e.g. there is no "install" target currently,
> but this would be a good time for anyone interested to take a look at
> the direction we're headed in, give it a try, and raise any concerns you
> might have.
> 
> A description of the idioms used in the build system is here:
> http://hackage.haskell.org/trac/ghc/wiki/Building/BuildSystem/New
> 
> and you can download a snapshot of the darcs repos here:
> 
http://darcs.haskell.org/ghc-new-build-system-2009-01-19-ghc-corelibs-testsuite.tar.bz2
> 
> These are the unexpected results I'm seeing in my validate runs:
> 
> linux:  ghcpkg05(normal)
> OS X:   ghcpkg05(normal) hpc_ghc_ghci(normal)
> cygwin: ghcpkg05(normal) 2566(normal)
> msys:   ghcpkg05(normal) 2566(normal) break017(ghci)
> 
> 
> Thanks
> Ian
> 
> _______________________________________________
> Cvs-ghc mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/cvs-ghc
> 

Just a quick look: On

> thorkil-naurs-mac-mini:~ thorkilnaur$ uname -a
> Darwin thorkil-naurs-mac-mini.local 9.6.0 Darwin Kernel Version 9.6.0: Mon 
Nov 24 17:39:01 PST 2008; root:xnu-1228.9.59~1/RELEASE_PPC Power Macintosh
> thorkil-naurs-mac-mini:~ thorkilnaur$ ghc --version
> The Glorious Glasgow Haskell Compilation System, version 6.6.1

(the tnaur PPC OSX 2 buildbot slave), I get:

> /Users/thorkilnaur/tn/install/ghc-6.6.1/bin/ghc --make utils/ghc-pkg/Main.hs 
-o utils/ghc-pkg/dist/build/ghc-pkg \
>                -Wall \
>                -DCABAL_VERSION=1,7,0 \
>                -odir  bootstrapping \
>                -hidir bootstrapping \
>                -iutils/ghc-pkg \
>                -XCPP -XExistentialQuantification -XDeriveDataTypeable \
>                -ilibraries/Cabal \
>                -ilibraries/filepath \
>                -ilibraries/extensible-exceptions \
>                -ilibraries/hpc
> ghc-6.6.1: unrecognised flags: -XCPP -XExistentialQuantification 
-XDeriveDataTypeable
> Usage: For basic information, try the `--help' option.
> make[1]: *** [utils/ghc-pkg/dist/build/ghc-pkg] Error 1
> make: *** [all] Error 2

On

> thorkil-naurs-intel-mac-mini:~ thorkilnaur$ uname -a
> Darwin thorkil-naurs-intel-mac-mini.local 9.6.0 Darwin Kernel Version 9.6.0: 
Mon Nov 24 17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386
> thorkil-naurs-intel-mac-mini:~ thorkilnaur$ ghc --version
> The Glorious Glasgow Haskell Compilation System, version 6.8.3

(the tnaur x86 OSX buildbot slave), I get:

> OVERALL SUMMARY for test run started at Wed Jan 21 22:57:55 CET 2009
>     2285 total tests, which gave rise to
>     8536 test cases, of which
>        0 caused framework failures
>     6571 were skipped
>
>     1892 expected passes
>       71 expected failures
>        1 unexpected passes
>        1 unexpected failures
>
> Unexpected passes:
>    hpc_ghc_ghci(normal)
>
> Unexpected failures:
>    ghcpkg05(normal)

Details:

> =====> hpc_ghc_ghci(normal)
> cd ../../../libraries/hpc/tests/ghc_ghci && $MAKE -s --no-print-directory 
hpc_ghc_ghci    </dev/null >hpc_ghc_ghci.run.stdout 2>hpc_ghc_ghci.run.stderr
> *** unexpected pass for hpc_ghc_ghci(normal)

> =====> 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  2009-01-21 22:58:09.000000000 +0100
> +++ ./cabal/ghcpkg05.run.stderr.normalised      2009-01-21 
22:58:09.000000000 +0100
> @@ -8,6 +8,7 @@
>    file C/D.hi is missing
>    file C/E.hi is missing
>    cannot find libtestpkg-2.0.a on library path
> +warning: can't find GHCi lib HSrts.o
>
>  The following packages are broken, either because they have a problem
>  listed above, or because they depend on a broken package.
> *** unexpected failure for ghcpkg05(normal)

I presume that this confirms your OS X result.

For what it is worth, this validate takes about 35 minutes to complete, 
compared to the about 24 minutes of a validate that was done 2008-Aug-08.

Then there is:

> t...@linux:~> uname -a
> Linux linux 2.6.13-15-default #1 Tue Sep 13 14:56:15 UTC 2005 i686 i686 i386 
GNU/Linux
> t...@linux:~> ghc --version
> The Glorious Glasgow Haskell Compilation System, version 6.8.2

(the tnaur x86 Linux buildbot slave) which ends like this:

> config.status: creating extra-gcc-opts
> config.status: creating docs/users_guide/ug-book.xml
> config.status: creating mk/config.h
> config.status: executing mk/stamp-h commands
> ===--- making gmp
> make -r --no-print-directory -C gmp
> make[1]: Nothing to be done for `default'.
> ===--- updating makefiles phase 0
> make -r --no-print-directory -f ghc.mk phase=0 just-makefiles
> ghc.mk:396: *** missing `endif'.  Stop.
> make: *** [all] Error 2

Finally, using

> [...@tn12 ~]$ uname -a
> FreeBSD tn12.thorkilnaur.dk 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 
10:40:27 UTC 2007     
[email protected]:/usr/obj/usr/src/sys/GENERIC  i386
> [...@tn12 ~]$ ghc --version
> The Glorious Glasgow Haskell Compilation System, version 6.10.1
> [...@tn12 ~]$

we get this:

> inplace/bin/ghc-cabal 
--with-ghc=/usr/home/tn/tn/test/GHC/NewBuildSystem_20090121/work/unpack/ghc-new-build-system/inplace/bin/dummy-ghc
 
--with-ghc-pkg=/usr/home/tn/tn/test/GHC/NewBuildSystem_20090121/work/unpack/ghc-new-build-system/inplace/bin/ghc-pkg
 
--with-gcc=gcc --configure-option=--with-cc=gcc   -- dist-install 
libraries/editline
> Configuring editline-0.2.1.0...
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking for tputs in -lncurses... yes
> checking for el_init... yes
> checking for readline... no
> checking how to run the C preprocessor... gcc -E
> checking for egrep... grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking editline/readline.h usability... no
> checking editline/readline.h presence... no
> checking for editline/readline.h... no
> checking editline/editline.h usability... no
> checking editline/editline.h presence... no
> checking for editline/editline.h... no
> checking readline/readline.h usability... yes
> checking readline/readline.h presence... yes
> checking for readline/readline.h... yes
> checking for sign of read_history result on error... negative
> checking for rl_completion_matches... no
> checking for completion_matches... no
> configure: error: editline not found, so this package cannot be built
> See `config.log' for more details.
> make[1]: *** [libraries/editline/dist-install/package-data.mk] Error 1
> make: *** [all] Error 2

Best regards
Thorkil

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to