porting using unregisterised build: x86->amd64 solaris

Ian Lynagh igloo at earth.li
Tue Oct 5 11:36:37 EDT 2010


On Tue, Oct 05, 2010 at 04:25:46PM +0100, Ian Lynagh wrote:
> On Sat, Oct 02, 2010 at 08:25:53PM +0200, Karel Gardas wrote:
> > 
> > step which fails with:
> > 
> > gmake -r --no-print-directory -f ghc.mk phase=0 just-makefiles
> > "" configure --with-ghc="/export/home/karel/vcs/ghc-target/"
> > --with-ghc-pkg="/export/home/karel/vcs/ghc-target/"
> > --with-gcc="/usr/bin/gcc" --configure-option=--with-cc="/usr/bin/gcc"
> > --ghc-option=-DOMIT_NATIVE_CODEGEN --ghc-option=-DNO_REGS --flags=stage2
> > --ghc-option=-DSTAGE=2 --disable-library-for-ghci
> > --with-hscolour="/usr/local/bin/HsColour" --configure-option=CFLAGS="-g
> > -O0 -DNO_REGS -DUSE_MINIINTERPRETER -D__GLASGOW_HASKELL__=613 -Iincludes
> >   " --configure-option=LDFLAGS="  " -- stage2 compiler
> > /bin/sh: line 1: : cannot execute [Is a directory]
> > gmake[1]: *** [compiler/stage2/package-data.mk] Error 126
> > gmake: *** [all_ghc_stage2] Error 2
> 
> It's trying to create/update compiler/stage2/package-data.mk with
> ghc-cabal (but you don't have ghc-cabal, so it's running ""), but it
> should be using the file that already exists.
> 
> Does the file exist?
> 
> If so, "make -dr all_ghc_stage2" should show why make thinks it's out of
> date, which should point to the problem.

Incidentally, the rule is in rules/build-package-data.mk


Thanks
Ian



More information about the Glasgow-haskell-users mailing list