[GHC] #15860: Hadrian build fails on FreeBSD

GHC ghc-devs at haskell.org
Mon Nov 5 10:02:50 UTC 2018


#15860: Hadrian build fails on FreeBSD
-------------------------------------+-------------------------------------
           Reporter:  raichoo        |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Build System   |           Version:  8.7
  (Hadrian)                          |
           Keywords:                 |  Operating System:  FreeBSD
       Architecture:  x86_64         |   Type of failure:  Compile-time
  (amd64)                            |  crash or panic
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 Hi,

 I've tried a `hadrian/build.sh -j` on my FreeBSD machine and got greeted
 by a rather nasty looking error.

 {{{
 Up to date
 shakeArgsWith   0.000s    0%
 Function shake  0.275s   80%  =========================
 Database read   0.000s    0%
 With database   0.000s    0%
 Running rules   0.065s   19%  =====
 Total           0.340s  100%
 Error when running Shake build system:
 * OracleQ (KeyValue ("hadrian/cfg/system.config","host-os"))
 * hadrian/cfg/system.config
 * hadrian/cfg/system.config settings mk/config.h compiler/ghc.cabal
 rts/rts.cabal
 Configuration file hadrian/cfg/system.config is missing.
 Run the configure script manually or let Hadrian run it automatically by
 passing the flag --configure.
 CallStack (from HasCallStack):
   error, called at src/Rules/Configure.hs:25:13 in main:Rules.Configure
 }}}

 I've tried this with commit `1a3b9bd0b674ad16a41b942c738b8f34564bcd8d` and
 my current system is `FreeBSD lain 12.0-BETA3 FreeBSD 12.0-BETA3 r340097
 GENERIC  amd64`.

 Building GHC with the old build system worked perfectly fine though.

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


More information about the ghc-tickets mailing list