Skip to content

Fails silently if preprocessor not found

When using a package that asks ghc to run a
preprocessor on the source, if the execution of the
preprocessor fails (e.g. because the latter is not
installed on the system or not in the PATH), ghc fails
silently. It should write an error message to stderr,
something like "execution of preprocessor 'foo' failed:
No such file or directory".

I encountered this with Wash, version WashNGo-2.0.3:
http://www.informatik.uni-freiburg.de/~thiemann/haskell/WASH/
Trac metadata
Trac field Value
Version 6.2.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution ResolvedFixed
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information