[GHC] #8320: HEAD build failure

GHC ghc-devs at haskell.org
Thu Sep 19 13:58:52 CEST 2013


#8320: HEAD build failure
----------------------------------------+---------------------------
        Reporter:  guest                |            Owner:
            Type:  bug                  |           Status:  new
        Priority:  normal               |        Milestone:
       Component:  Build System         |          Version:  7.7
      Resolution:                       |         Keywords:
Operating System:  Linux                |     Architecture:  x86
 Type of failure:  Building GHC failed  |       Difficulty:  Unknown
       Test Case:                       |       Blocked By:
        Blocking:                       |  Related Tickets:
----------------------------------------+---------------------------

Comment (by guest):

 Replying to [ticket:8320 guest]:
 > Anyone else see the build failure below?
 >
 > {{{
 > $ perl boot && ./configure && make
 > ...
 > attempting to use module `ghc-prim:GHC.Types' (libraries/ghc-
 prim/./GHC/Types.hs) which is not loaded
 > make[1]: *** [libraries/ghc-prim/dist-install/doc/html/ghc-prim/ghc-
 prim.haddock] Error 1
 > make: *** [all] Error 2
 > }}}

 Retried and hit another bug today:

 {{{
   HC [stage 2] utils/haddock/dist/build/Haddock/Lex.dyn_o

 utils/haddock/dist/build/Haddock/Lex.hs:415:29:
     Couldn't match expected type `Bool' with actual type `Int#'
     In the first argument of `(&&)', namely `(offset >=# 0#)'
     In the expression: (offset >=# 0#) && (check ==# ord_c)
     In the expression:
       if (offset >=# 0#) && (check ==# ord_c) then
           alexIndexInt16OffAddr alex_table offset
       else
           alexIndexInt16OffAddr alex_deflt s

 utils/haddock/dist/build/Haddock/Lex.hs:415:48:
     Couldn't match expected type `Bool' with actual type `Int#'
     In the second argument of `(&&)', namely `(check ==# ord_c)'
     In the expression: (offset >=# 0#) && (check ==# ord_c)
     In the expression:
       if (offset >=# 0#) && (check ==# ord_c) then
           alexIndexInt16OffAddr alex_table offset
       else
           alexIndexInt16OffAddr alex_deflt s
 make[1]: *** [utils/haddock/dist/build/Haddock/Lex.dyn_o] Error 1
 }}}

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



More information about the ghc-tickets mailing list