Build broken with cygwin make 3.81
Cygwin make 3.81 (the latest version) doesn't support Windows paths, but the GHC build process generates makefiles containing such paths. This is a deliberate change by Cygwin - see http://www.cygwin.com/ml/cygwin/2006-07/msg00668.html for the "rationale".
The upshot is that you get this error when compiling:
utils/genprimopcode/dist/build/.depend.haskell:3: *** target pattern contains no '%'. Stop.
Where the offending line looks like:
utils/genprimopcode/dist/build/Syntax.o : C:/Program\ Files/Haskell\ Platform/2010.1.0.0/lib/base-4.2.0.0/Data/List.hi
To work around the issue you can install Cygwin make 3.80 from http://www.go-mono.com/archive/helper/make-3.80-1.tar.bz2 or http://www.cmake.org/files/cygwin/make.exe to replace the Cygwin installed make executable.
The right fix is for GHC to use cygpath before putting any Windows paths in makefiles.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.13 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Build System |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |