[Yhc] yhc build fails

Neil Mitchell ndmitchell at gmail.com
Mon Dec 11 15:56:08 EST 2006


Gour posted (but got moderated, Bob please make sure he's allowed):

I pulled today latest code from the repo, but build fails:

...
src/compiler98/Depend.hs:29:0:
    Warning: Definition but no type signature for `strTId'
Getting dependencies for src/compiler98/ReportImports.hs.
ghc -i./src/compiler98 -i./src/libraries/general -i./src/libraries/core
-idepends/cpphs -idepends/filepath -i./src/interactive -package mtl
-fwarn-missing-signatures -c src/compiler98/ReportImports.hs -o
src/compiler98/ReportImports.o

src/compiler98/ReportImports.hs:5:15:
    Warning: Deprecated use of `unpackPS'
             (imported from SysDeps, but defined in Data.PackedString):
             use Data.ByteString, Data.ByteString.Char8, or plain
String.

src/compiler98/ReportImports.hs:38:0:
    Warning: Definition but no type signature for `possibleTid'
Getting dependencies for src/compiler98/Package.hs.
ghc -i./src/compiler98 -i./src/libraries/general -i./src/libraries/core
-idepends/cpphs -idepends/filepath -i./src/interactive -package mtl
-fwarn-missing-signatures -c src/compiler98/Package.hs -o
src/compiler98/Package.o
Getting dependencies for src/compiler98/Core/Linker.hs.
ghc -i./src/compiler98 -i./src/libraries/general -i./src/libraries/core
-idepends/cpphs -idepends/filepath -i./src/interactive -package mtl
-fwarn-missing-signatures -c src/compiler98/Core/Linker.hs -o
src/compiler98/Core/Linker.o
Getting dependencies for src/compiler98/Compile.lhs.
ghc -i./src/compiler98 -i./src/libraries/general -i./src/libraries/core
-idepends/cpphs -idepends/filepath -i./src/interactive -package mtl
-fwarn-missing-signatures -c src/compiler98/Compile.lhs -o
src/compiler98/Compile.o

src/compiler98/Compile.lhs:15:16:
    Warning: Deprecated use of type constructor or class `PackedString'
             (imported from SysDeps, but defined in Data.PackedString):
             use Data.ByteString, Data.ByteString.Char8, or plain
String.

src/compiler98/Compile.lhs:15:30:
    Warning: Deprecated use of `unpackPS'
             (imported from SysDeps, but defined in Data.PackedString):
             use Data.ByteString, Data.ByteString.Char8, or plain
String.
Getting dependencies for src/compiler98/Util/Graph.lhs.
ghc -i./src/compiler98 -i./src/libraries/general -i./src/libraries/core
-idepends/cpphs -idepends/filepath -i./src/interactive -package mtl
-fwarn-missing-signatures -c src/compiler98/Util/Graph.lhs -o
src/compiler98/Util/Graph.o
ghc -i./src/compiler98 -i./src/libraries/general -i./src/libraries/core
-idepends/cpphs -idepends/filepath -i./src/interactive -package mtl
-fwarn-missing-signatures -c src/compiler98/Make.lhs -o
src/compiler98/Make.o

src/compiler98/Make.lhs:13:16:
    Warning: Deprecated use of `unpackPS'
             (imported from SysDeps, but defined in Data.PackedString):
             use Data.ByteString, Data.ByteString.Char8, or plain
String.
Getting dependencies for src/compiler98/Main.hs.
An error ocurred running `ghc -M -optdep-f
-optdepsrc/compiler98/.Main.hs.dep -cpp -DyhcVERSION=
\"0.7.0-20061211043856-custom\"
-i./src/compiler98:./src/libraries/general:./src/libraries/core:depends/cpphs:depends/filepath:./src/interactive
src/compiler98/Main.hs`:
>
>./src/libraries/core/Yhc/Core/RecursiveLet.hs:75:0:
>     warning: no newline at end of file
>
Dependencies will not be calculated.
ghc -i./src/compiler98 -i./src/libraries/general -i./src/libraries/core
-idepends/cpphs -idepends/filepath -i./src/interactive -package mtl
"-cpp -DyhcVERSION=\"0.7.0-20061211043856-custom\" " -c
src/compiler98/Main.hs -o src/compiler98/Main.o

src/compiler98/Main.hs:9:0:
    Failed to load interface for `Core.View':
      Use -v to see a list of the files searched for.
scons: *** [src/compiler98/Main.o] Error 1
scons: building terminated because of errors.


Neil tried to help on #irc, but it didn't work.


gour at gaura-nitai ~/repos/yhc $ uname -a
Linux gaura-nitai 2.6.17-gentoo-r6 #4 Tue Oct 10 16:21:42 CEST 2006
x86_64 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux

gour at gaura-nitai ~/repos/yhc $ ghc -V
The Glorious Glasgow Haskell Compilation System, version 6.


Sincerely,
Gour


More information about the Yhc mailing list