GHC CVS: abort during install

Simon Marlow simonmar at microsoft.com
Tue Apr 29 06:15:06 EDT 2003


> Building GHC from CVS aborts during the install phase:
> 
> ---
> 
> --------------------------------------------------------------
> ----------
> ===fptools== Recursively making `install' in users_guide ...
> PWD = /var/tmp/portage/ghc-cvs-5.05-r1/work/fptools/ghc/docs
> --------------------------------------------------------------
> ----------
> --------------------------------------------------------------
> ----------
> ==fptools== make install - --no-print-directory -r;
>  in /var/tmp/portage/ghc-cvs-5.05-r1/work/fptools/ghc/docs/users_guide
> --------------------------------------------------------------
> ----------
> make[3]: Für das Ziel »install« ist nichts zu tun.
> --------------------------------------------------------------
> ----------
> ===fptools== Finished making `install' in users_guide ...
> PWD = /var/tmp/portage/ghc-cvs-5.05-r1/work/fptools/ghc/docs
> --------------------------------------------------------------
> ----------
> --------------------------------------------------------------
> ----------
> ==fptools== make install -wr;
>  in /var/tmp/portage/ghc-cvs-5.05-r1/work/fptools/ghc/compiler
> --------------------------------------------------------------
> ----------
> ../../ghc/compiler/stage1/ghc-inplace -H16m -O  
> -istage2/utils  -istage2/basicTypes  -istage2/types  
> -istage2/hsSyn  -istage2/prelude  -istage2/rename  
> -istage2/typecheck  -istage2/deSugar  -istage2/coreSyn  
> -istage2/specialise  -istage2/simplCore  -istage2/stranal  
> -istage2/stgSyn  -istage2/simplStg  -istage2/codeGen  
> -istage2/absCSyn  -istage2/main  -istage2/profiling  
> -istage2/parser  -istage2/cprAnalysis  -istage2/compMan  
> -istage2/ndpFlatten  -istage2/nativeGen  -istage2/ghci -DGHCI 
> -package haskell-src -package unix -package readline  -cpp 
> -fglasgow-exts -Rghc-timing -I. -IcodeGen -InativeGen 
> -Iparser -recomp -Rghc-timing  -H16M '-#include "hschooks.h"' 
>    -c absCSyn/AbsCSyn.lhs -o stage2/absCSyn/AbsCSyn.o  -ohi 
> stage2/absCSyn/AbsCSyn.hi
> ghc-5.05: error: directory portion of 
> "stage2/absCSyn/AbsCSyn.o" does not exist (used with "-o" option.)
> make[2]: *** [stage2/absCSyn/AbsCSyn.o] Fehler 1
> make[1]: *** [install] Fehler 1
> make[1]: Leaving directory 
> `/var/tmp/portage/ghc-cvs-5.05-r1/work/fptools/ghc'
> make: *** [install] Fehler 1
> 
> !!! ERROR: dev-lang/ghc-cvs-5.05-r1 failed.
> !!! Function src_install, Line 112, Exitcode 2
> !!! (no error message)

It looks like the stage2 compiler wasn't built.  A simple 'make' at the top level is supposed to do this, though.

Does ghc/compiler/stage2 exist?  What does it contain?

> Let me know if you need additional information. BTW Are you keen on
> error reports for CVS GHC?

cvs-ghc at haskell.org is a better place for bugs related to the CVS sources.

Cheers,
	Simon



More information about the Glasgow-haskell-bugs mailing list