#3250: can't build ghc-6.11: "Failed to load interface for `GHC'"
---------------------------------+------------------------------------------
    Reporter:  juhpetersen       |        Owner:         
        Type:  bug               |       Status:  new    
    Priority:  normal            |    Milestone:         
   Component:  Build System      |      Version:  6.11   
    Severity:  normal            |   Resolution:         
    Keywords:                    |   Difficulty:  Unknown
    Testcase:                    |           Os:  Linux  
Architecture:  Unknown/Multiple  |  
---------------------------------+------------------------------------------
Changes (by igloo):

  * difficulty:  => Unknown

Old description:

> I was trying to build ghc-6.11.20090520 on Fedora 10 x86_64 with
> ghc-6.10.2 and got to:
>
> utils/runghc/ghc.mk:26: utils/runghc/dist/build/.depend: No such file or
> directory
> ghc/ghc.mk:95: ghc/stage2/build/.depend: No such file or directory
> /usr/bin/ghc  -H32m -O  -package-conf libraries/bootstrapping.conf   -i
> -ighc/. -ighc/stage1/build -ighc/stage1/build/autogen -Ighc/stage1/build
> -Ighc/stage1/build/autogen        -package ghc-6.11 -XCPP -XPatternGuards
> -XForeignFunctionInterface -XUnboxedTuples -XFlexibleInstances
> -XMagicHash -fforce-recomp  -optc-O0  -odir ghc/stage1/build -hidir
> ghc/stage1/build -stubdir ghc/stage1/build -hisuf hi -osuf  o -hcsuf hc
> -c ghc/./Main.hs -o ghc/stage1/build/Main.o
>
> ghc/Main.hs:14:0:
>     Failed to load interface for `GHC':
>       There are files missing in the `ghc-6.11' package,
>       try running 'ghc-pkg check'.
>       Use -v to see a list of the files searched for.
> make[2]: *** [ghc/stage1/build/Main.o] Error 1
> make[1]: *** [all] Error 2

New description:

 I was trying to build ghc-6.11.20090520 on Fedora 10 x86_64 with
 ghc-6.10.2 and got to:
 {{{
 utils/runghc/ghc.mk:26: utils/runghc/dist/build/.depend: No such file or
 directory
 ghc/ghc.mk:95: ghc/stage2/build/.depend: No such file or directory
 /usr/bin/ghc  -H32m -O  -package-conf libraries/bootstrapping.conf   -i
 -ighc/. -ighc/stage1/build -ighc/stage1/build/autogen -Ighc/stage1/build
 -Ighc/stage1/build/autogen        -package ghc-6.11 -XCPP -XPatternGuards
 -XForeignFunctionInterface -XUnboxedTuples -XFlexibleInstances -XMagicHash
 -fforce-recomp  -optc-O0  -odir ghc/stage1/build -hidir ghc/stage1/build
 -stubdir ghc/stage1/build -hisuf hi -osuf  o -hcsuf hc -c ghc/./Main.hs -o
 ghc/stage1/build/Main.o

 ghc/Main.hs:14:0:
     Failed to load interface for `GHC':
       There are files missing in the `ghc-6.11' package,
       try running 'ghc-pkg check'.
       Use -v to see a list of the files searched for.
 make[2]: *** [ghc/stage1/build/Main.o] Error 1
 make[1]: *** [all] Error 2
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3250#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to