[GHC] #8167: build fails in non-unicode locale [happy: compiler/stage1/build/Parser.y: hGetContents: invalid argument (invalid byte sequence)]

GHC ghc-devs at haskell.org
Sat Aug 24 10:04:24 UTC 2013


#8167: build fails in non-unicode locale [happy: compiler/stage1/build/Parser.y:
hGetContents: invalid argument (invalid byte sequence)]
----------------------------------------+----------------------------------
        Reporter:  rwbarton             |            Owner:
            Type:  bug                  |           Status:  closed
        Priority:  normal               |        Milestone:
       Component:  Compiler (Parser)    |          Version:  7.7
      Resolution:  fixed                |         Keywords:
Operating System:  Unknown/Multiple     |     Architecture:
 Type of failure:  Building GHC failed  |  Unknown/Multiple
       Test Case:                       |       Difficulty:  Unknown
        Blocking:                       |       Blocked By:
                                        |  Related Tickets:
----------------------------------------+----------------------------------
Changes (by thoughtpolice):

 * status:  patch => closed
 * resolution:   => fixed


Comment:

 Thanks. Fixed in

 {{{
 commit 6a02f280e074278acceb6e9331bb00dccfe02f08
 Author: Reid Barton <rwbarton at gmail.com>
 Date:   Fri Aug 23 19:27:20 2013 -0400

     Fix build on non-unicode locale

     happy reads .y files with the system encoding, so keep Parser.y.pp
 ASCII.

     Signed-off-by: Austin Seipp <aseipp at pobox.com>

 }}}

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




More information about the ghc-tickets mailing list