#3226: please eliminate error message from Make on every build
---------------------------------+------------------------------------------
    Reporter:  nr                |        Owner:                  
        Type:  feature request   |       Status:  new             
    Priority:  normal            |    Milestone:                  
   Component:  Build System      |      Version:  6.11            
    Severity:  trivial           |   Resolution:                  
    Keywords:                    |   Difficulty:  Unknown         
    Testcase:                    |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |  
---------------------------------+------------------------------------------
Comment (by nr):

 I'm afraid
 {{{
 make 1
 }}}
 suffers from the same problem:
 {{{
 : n...@labrador 3648 [branch=norman] ; make 1
 make -C .. stage=1 all_ghc_stage1 compiler_stage1_NO_BUILD_DEPS=YES
 make[1]: Entering directory `/usr/local/nr/git/ghc/experimental'
 ===--- updating makefiles phase 0
 make -r --no-print-directory -f ghc.mk phase=0 just-makefiles
 ===--- updating makefiles phase 1
 make -r --no-print-directory -f ghc.mk phase=1 just-makefiles
 ===--- updating makefiles phase 2
 make -r --no-print-directory -f ghc.mk phase=2 just-makefiles
 ===--- updating makefiles phase 3
 make -r --no-print-directory -f ghc.mk phase=3 just-makefiles
 ghc/ghc.mk:90: ghc/stage1/build/.depend: No such file or directory
 /usr/bin/ghc  -H64m -O0 -fasm  -package-conf libraries/bootstrapping.conf
 -package-name ghc-6.11.20090513 -hide-all-packages -i -icompiler/nativeGen
 -icompiler/basicTypes -icompiler/cmm -icompiler/codeGen -icompiler/coreSyn
 -icompiler/cprAnalysis -icompiler/deSugar -icompiler/ghci -icompiler/hsSyn
 -icompiler/iface -icompiler/main -icompiler/parser -icompiler/prelude
 -icompiler/profiling -icompiler/rename -icompiler/simplCore
 -icompiler/simplStg -icompiler/specialise -icompiler/stgSyn
 -icompiler/stranal -icompiler/typecheck -icompiler/types -icompiler/utils
 -icompiler/vectorise -icompiler/stage1/build
 -icompiler/stage1/build/autogen -Icompiler/stage1/build
 -Icompiler/stage1/build/autogen -Icompiler/stage1
 -Icompiler/../libraries/base/cbits -Icompiler/../libraries/base/include
 -Icompiler/. -Icompiler/parser -Icompiler/utils   -optP-include
 -optPcompiler/stage1/build/autogen/cabal_macros.h -package Cabal-1.7.0
 -package array-0.2.0.0 -package base-4.0.0.0 -package bytestring-0.9.1.4
 -package containers-0.2.0.0 -package directory-1.0.0.2 -package
 filepath-1.1.0.1 -package haskell98-1.0.1.0 -package hpc-0.5.0.2 -package
 old-time-1.0.0.1 -package process-1.0.1.0 -package unix-2.3.1.0  -#include
 cutils.h -DSTAGE=1 -O -fasm -Wall -fno-warn-name-shadowing -fno-warn-
 orphans -XCPP -XMagicHash -XUnboxedTuples -XPatternGuards
 -XForeignFunctionInterface -XEmptyDataDecls -XTypeSynonymInstances
 -XMultiParamTypeClasses -XFlexibleInstances -XRank2Types
 -XScopedTypeVariables -XDeriveDataTypeable -XRelaxedPolyRec    -odir
 compiler/stage1/build -hidir compiler/stage1/build -stubdir
 compiler/stage1/build -hisuf hi -osuf  o -hcsuf hc -c
 compiler/codeGen/StgCmmProf.hs -o compiler/stage1/build/StgCmmProf.o

 compiler/codeGen/StgCmmProf.hs:350:41:
     `CmmAGraph' is not applied to enough type arguments
     Expected kind `*', but `CmmAGraph' has kind `* -> * -> *'
     In the type `FCode CmmAGraph'
     In the type `CollectedCCs -> FCode CmmAGraph'
     In the type signature for `initCostCentres':
       initCostCentres :: CollectedCCs -> FCode CmmAGraph

 compiler/codeGen/StgCmmProf.hs:417:30:
     `CmmAGraph' is not applied to enough type arguments
     Expected kind `?', but `CmmAGraph' has kind `* -> * -> *'
     In the type `CostCentre -> CmmAGraph'
     In the type signature for `mkRegisterCC':
       mkRegisterCC :: CostCentre -> CmmAGraph

 compiler/codeGen/StgCmmProf.hs:435:36:
     `CmmAGraph' is not applied to enough type arguments
     Expected kind `?', but `CmmAGraph' has kind `* -> * -> *'
     In the type `CostCentreStack -> CmmAGraph'
     In the type signature for `mkRegisterCCS':
       mkRegisterCCS :: CostCentreStack -> CmmAGraph

 compiler/codeGen/StgCmmProf.hs:479:27:
     `CmmAGraph' is not applied to enough type arguments
     Expected kind `?', but `CmmAGraph' has kind `* -> * -> *'
     In the type `CmmExpr -> CmmAGraph'
     In the type signature for `bumpSccCount':
       bumpSccCount :: CmmExpr -> CmmAGraph
 make[2]: *** [compiler/stage1/build/StgCmmProf.o] Error 1
 make[1]: *** [all_ghc_stage1] Error 2
 make[1]: Leaving directory `/usr/local/nr/git/ghc/experimental'
 make: *** [1] Error 2
 }}}
 I may have a go at the doco once I understand a little better what's going
 on.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3226#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to