lexical error in interactive/Interact.hs building Yhc

$ scons [ ... ] Getting dependencies for src/interactive/CmdLine.hs. An error ocurred running `ghc -M -optdep-f -optdepsrc/interactive/.CmdLine.hs.dep -fwarn-missing-signatures -i./src/compiler98:depends/cpphs:depends/filepath:./src/interactive src/interactive/CmdLine.hs`:
./src/interactive/Interact.hs:17:1: lexical error
Dependencies will not be calculated.
ghc -i./src/compiler98 -idepends/cpphs -idepends/filepath
-i./src/interactive -fwarn-missing-signatures -c
src/interactive/CmdLine.hs -o src/interactive/CmdLine.o
src/interactive/CmdLine.hs:3:0:
Failed to load interface for `Interact':
Could not find module `Interact': use -v to see a list of the
files searched for
scons: *** [src/interactive/CmdLine.o] Error 1
scons: building terminated because of errors.
Perhaps ghc needs the -cpp flag?
$ darcs changes --last 5
Sat Oct 21 13:52:49 EDT 2006 Andrew Wilkinson

Hi
$ scons [ ... ] Getting dependencies for src/interactive/CmdLine.hs. An error ocurred running `ghc -M -optdep-f -optdepsrc/interactive/.CmdLine.hs.dep -fwarn-missing-signatures -i./src/compiler98:depends/cpphs:depends/filepath:./src/interactive src/interactive/CmdLine.hs`:
Should scons build Yhe? I don't think so, as it currently doesn't work! I thought you had to explicitly do scons build yhe to get yhe compiled? Andrew Wilcox: Thanks for the bug report, this shouldn't happen! Thanks Neil

Hi
Should scons build Yhe? I don't think so, as it currently doesn't work! I thought you had to explicitly do scons build yhe to get yhe compiled?
Ah! We don't have any buildbots that do just a scons, they all do scons blah etc! Perhaps one of them should be flipped to doing scons on its own, for safety? Thanks Neil

On 10/22/06, Neil Mitchell
Hi
$ scons [ ... ] Getting dependencies for src/interactive/CmdLine.hs. An error ocurred running `ghc -M -optdep-f -optdepsrc/interactive/.CmdLine.hs.dep -fwarn-missing-signatures -i./src/compiler98:depends/cpphs:depends/filepath:./src/interactive src/interactive/CmdLine.hs`:
Should scons build Yhe? I don't think so, as it currently doesn't work! I thought you had to explicitly do scons build yhe to get yhe compiled?
Oops, I had to change the way dependencies were calculated in order to build yhe. For some reason scons is building files even if they won't be linked to anything. I have pushed a patch that fixes this. Andrew
participants (3)
-
Andrew Wilcox
-
Andrew Wilkinson
-
Neil Mitchell