[Hackage] #383: Hsc2hs preprocessor does not ensure that gcc has been found.

#383: Hsc2hs preprocessor does not ensure that gcc has been found. ----------------------------+----------------------------------------------- Reporter: nominolo | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: Cabal library | Version: HEAD Severity: normal | Keywords: Difficulty: normal | Ghcversion: 6.10.1 Platform: | ----------------------------+----------------------------------------------- When trying to configure with an inplace GHC on Windows, Cabal dies with an irrefutable pattern match error. The offending line is: {{{ Just gccProg = lookupProgram gccProgram (withPrograms lbi) }}} in {{{D.S.PreProcess.ppHsc2hs}}}. The problem was that configure didn't find gcc in its expected place ({{{ghcBase > "gcc.exe"}}}) and Cabal didn't check that it did before running the preprocessor. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/383 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#383: Hsc2hs preprocessor does not ensure that gcc has been found. ----------------------------+----------------------------------------------- Reporter: nominolo | Owner: Type: defect | Status: new Priority: normal | Milestone: Cabal-1.8 Component: Cabal library | Version: HEAD Severity: normal | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.10.1 | Platform: ----------------------------+----------------------------------------------- Changes (by duncan): * milestone: => Cabal-1.8 -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/383#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage