[GHC] #8764: Usage of `sed' in GHC build system (Solaris build failure).

GHC ghc-devs at haskell.org
Thu Feb 13 13:23:04 UTC 2014


#8764: Usage of `sed' in GHC build system (Solaris build failure).
----------------------------------------+---------------------------
        Reporter:  kgardas              |            Owner:
            Type:  bug                  |           Status:  patch
        Priority:  normal               |        Milestone:
       Component:  Build System         |          Version:  7.9
      Resolution:                       |         Keywords:
Operating System:  Solaris              |     Architecture:  x86
 Type of failure:  Building GHC failed  |       Difficulty:  Unknown
       Test Case:                       |       Blocked By:
        Blocking:                       |  Related Tickets:
----------------------------------------+---------------------------

Comment (by kgardas):

 IMHO it would be the best option to replace the sed expression in question
 with something more POSIX compatible, i.e. something which at least pass
 thorough non-GNU seds distributed by let say FreeBSD and Solaris.
 Unfortunately as a long time Solaris user, I have to admit that current
 state of GHC build system is absolutely cryptic for me and certainly I'm
 neither sed expert so I'm not able to distil at all what this make/sed
 combination should do at the end. Otherwise I would provide (or at least
 try) the fix/patch myself.
 So if anybody from developers here can help with explanation what exactly
 is done or even better how exactly is that done, then perhaps me or
 Christian will be able to fix the expression and test on our Solarises...
 Thanks!

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8764#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list