[GHC] #15877: --flavour=quick followed by --flavour=prof fails

GHC ghc-devs at haskell.org
Fri Jan 4 10:46:20 UTC 2019


#15877: --flavour=quick followed by --flavour=prof fails
-------------------------------------+-------------------------------------
        Reporter:  mpickering        |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.6.3
       Component:  Build System      |              Version:  8.6.2
  (Hadrian)                          |
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by hsyl20):

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


Comment:

 It happened to me with current head.

 {{{
 ./hadrian/build.stack.sh -c -j binary-dist
 WARNING: Ignoring out of range dependency (allow-newer enabled):
 Cabal-2.5.0.0. happy requires: <2.4
 hadrian-0.1.0.0: build (exe)
 hadrian-0.1.0.0: copy/register
 Log files have been written to: snip.../hadrian/.stack-work/logs/
 snip.../_build/stage1/rts/build/libCffi_p.a: copyFile: does not exist (No
 such file or directory)
 }}}

 A workaround is to delete libffi.a:

 {{{
 rm _build/stage1/libffi/build/inst/lib/libffi.a
 }}}

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


More information about the ghc-tickets mailing list