Both of these problems are now fixed. I'll be running some more builds today to make sure the tree is buildable again.

I spent most of the last couple of days fixing and improving the build system. We should now have support for 'make -j' again, at least to the extent that it was supported before the build system overhaul: the modules of a single library can be built in parallel, but multiple libraries will not be built in parallel.

The change to the inplace scripts should reduce problems in the future, especially on Windows where we often had breakages on either MSYS or Cygwin caused by differences in shell behaviour.

Cheers,
        Simon

Thorkil Naur wrote:
Hello,

For what it is worth: At least some of the buildbot slaves seem to suffer a problem in this area, see for example

http://darcs.haskell.org/buildbot/head/mnemosyne%20x86-64%20Gentoo%20head/builds/67/step-stage1/0

Best regards
Thorkil

On Friday 22 June 2007 07:45, Andy Gill wrote:
I had the same problem with a new tree; except it could not find GHC.PrimopWrappers

Preprocessing library base-2.1...
Setup: can't find source for GHC.PrimopWrappers in ["."]
make[1]: *** [base/GNUmakefile] Error 1
make: *** [stage1] Error 2

On Jun 21, 2007, at 10:09 PM, Manuel M T Chakravarty wrote:

On MacOS 10.4.9, I pulled the latest ghc and base repos this morning (Sydney time) and did "make distclean" (in the root directory and in libraries/ - as distclean doesn't seem to descent). I did "sh boot" and ran ./configure again. The build fails in base with the appended output. Any idea what's going wrong?

It's onerous enough to have to distclean after a build, please don't tell me to pull a virgin tree.

Cheers,
Manuel

...

rm -f -f stamp/configure.library.*.base base/unbuildable
( cd base && setup/Setup configure \
            \
           --prefix='$topdir' \
           --datadir='$prefix/share' \
           --libsubdir='$compiler/lib/$pkgid' \
           --with-compiler=../../compiler/ghc-inplace \
           --with-hc-pkg=../../utils/ghc-pkg/ghc-pkg-inplace \
           --with-hsc2hs=../../utils/hsc2hs/hsc2hs-inplace \
           --with-ld=/usr/bin/ld \
           --datasubdir=ghc \
           --haddock-args="--use-contents=../index.html \
                           --use-index=../doc-index.html" \
--configure-option='--with-readline-libraries=/opt/local/ lib' --configure-option='--with-readline-includes=/opt/local/ include' --configure-option='--prefix=/Users/chak/Sandbox' \
           --configure-option=--with-cc=gcc ) \
&& touch stamp/configure.library.build.base || touch base/ unbuildable
Setup: Warning: Unknown field 'nhc98-options'
configure: Reading installed packages...
Configuring base-2.1...
...
config.status: creating include/HsBaseConfig.h config.status: include/HsBaseConfig.h is unchanged
rm -f base/GNUmakefile
cp Makefile.local base
ifBuildable/ifBuildable base setup/Setup makefile -f GNUmakefile
Setup: Warning: Unknown field 'nhc98-options'
Preprocessing library base-2.1...
CPUTime.hsc: In function 'main':
CPUTime.hsc:61: error: parse error before 'struct'
CPUTime.hsc:62: error: parse error before 'struct'
CPUTime.hsc:63: error: parse error before 'struct'
CPUTime.hsc:64: error: parse error before 'struct'
CPUTime.hsc:65: error: parse error before 'struct'
CPUTime.hsc:66: error: parse error before 'struct'
compiling dist/build/System/CPUTime_hsc_make.c failed
command was: gcc -c -D__GLASGOW_HASKELL__=607 -I/Users/chak/Code/ ghc/includes -Iinclude -I../../includes -I../../rts dist/build/ System/CPUTime_hsc_make.c -o dist/build/System/CPUTime_hsc_make.o
make[1]: *** [base/GNUmakefile] Error 1
make: *** [stage1] Error 2
EthicsGradient chak 54 (.../Code/ghc):

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


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


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

Reply via email to