#4031: Build broken with cygwin make 3.81
---------------------------------+------------------------------------------
    Reporter:  batterseapower    |       Owner:                     
        Type:  bug               |      Status:  new                
    Priority:  normal            |   Component:  Build System       
     Version:  6.13              |    Keywords:                     
          Os:  Windows           |    Testcase:                     
Architecture:  Unknown/Multiple  |     Failure:  Building GHC failed
---------------------------------+------------------------------------------
 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.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4031>
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