[GHC] #16016: Hadrian build fails on FreeBSD

#16016: Hadrian build fails on FreeBSD -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: new Priority: high | Milestone: 8.10.1 Component: Build System | Version: 8.7 (Hadrian) | Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- A plain hadrian build using `hadrian/build.cabal.sh` fails with {{{ /---------------------------------------------------------------------------------\ | Successfully built program 'ghc-pkg' (Stage0). | | Executable: _build/stage0/bin/ghc-pkg | | Program synopsis: A utility for querying and managing the GHC package database. | \---------------------------------------------------------------------------------/ hadrian: '/usr/home/ben/ghc/_build/stage0/bin/ghc' exited with an error: ghc: missing -B<dir> option shakeArgsWith 0.000s 0% Function shake 0.392s 0% Database read 0.000s 0% With database 0.000s 0% Running rules 1725.240s 99% ========================= Total 1725.633s 100% Error when running Shake build system: at src/Rules.hs:(32,19)-(45,17): at src/Rules.hs:45:5-17: * Depends on: _build/stage1/lib/bin/unlit at src/Development/Shake/Internal/Rules/Oracle.hs:157:43-68: * Depends on: OracleQ (PackageDataFile (Context {stage = Stage1, package = Package {pkgLanguage = Haskell, pkgType = Program, pkgName = "unlit", pkgPath = "utils/unlit"}, way = v})) at src/Hadrian/Haskell/Cabal/Parse.hs:200:5-36: * Depends on: _build/stage1/utils/unlit/setup-config * Raised the exception: ExitFailure 1 }}} on FreeBSD 11 on amd64. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16016 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16016: Hadrian build fails on FreeBSD -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: new Priority: high | Milestone: 8.10.1 Component: Build System | Version: 8.7 (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: | -------------------------------------+------------------------------------- Description changed by bgamari: Old description:
A plain hadrian build using `hadrian/build.cabal.sh` fails with {{{ /---------------------------------------------------------------------------------\ | Successfully built program 'ghc-pkg' (Stage0). | | Executable: _build/stage0/bin/ghc-pkg | | Program synopsis: A utility for querying and managing the GHC package database. | \---------------------------------------------------------------------------------/ hadrian: '/usr/home/ben/ghc/_build/stage0/bin/ghc' exited with an error: ghc: missing -B<dir> option
shakeArgsWith 0.000s 0% Function shake 0.392s 0% Database read 0.000s 0% With database 0.000s 0% Running rules 1725.240s 99% ========================= Total 1725.633s 100% Error when running Shake build system: at src/Rules.hs:(32,19)-(45,17): at src/Rules.hs:45:5-17: * Depends on: _build/stage1/lib/bin/unlit at src/Development/Shake/Internal/Rules/Oracle.hs:157:43-68: * Depends on: OracleQ (PackageDataFile (Context {stage = Stage1, package = Package {pkgLanguage = Haskell, pkgType = Program, pkgName = "unlit", pkgPath = "utils/unlit"}, way = v})) at src/Hadrian/Haskell/Cabal/Parse.hs:200:5-36: * Depends on: _build/stage1/utils/unlit/setup-config * Raised the exception: ExitFailure 1 }}}
on FreeBSD 11 on amd64.
New description: A plain hadrian build using `hadrian/build.cabal.sh` bootstrapped with GHC 8.4.3 from `ports` fails with {{{ /---------------------------------------------------------------------------------\ | Successfully built program 'ghc-pkg' (Stage0). | | Executable: _build/stage0/bin/ghc-pkg | | Program synopsis: A utility for querying and managing the GHC package database. | \---------------------------------------------------------------------------------/ hadrian: '/usr/home/ben/ghc/_build/stage0/bin/ghc' exited with an error: ghc: missing -B<dir> option shakeArgsWith 0.000s 0% Function shake 0.392s 0% Database read 0.000s 0% With database 0.000s 0% Running rules 1725.240s 99% ========================= Total 1725.633s 100% Error when running Shake build system: at src/Rules.hs:(32,19)-(45,17): at src/Rules.hs:45:5-17: * Depends on: _build/stage1/lib/bin/unlit at src/Development/Shake/Internal/Rules/Oracle.hs:157:43-68: * Depends on: OracleQ (PackageDataFile (Context {stage = Stage1, package = Package {pkgLanguage = Haskell, pkgType = Program, pkgName = "unlit", pkgPath = "utils/unlit"}, way = v})) at src/Hadrian/Haskell/Cabal/Parse.hs:200:5-36: * Depends on: _build/stage1/utils/unlit/setup-config * Raised the exception: ExitFailure 1 }}} on FreeBSD 11 on amd64. -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16016#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16016: Hadrian build fails on FreeBSD -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: new Priority: high | Milestone: 8.10.1 Component: Build System | Version: 8.7 (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: | -------------------------------------+------------------------------------- Comment (by harpocrates): Do you remember what GHC commit where you running? I'm debugging some build problems on FreeBSD, but I get much further than this. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16016#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16016: Hadrian build fails on FreeBSD -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: new Priority: high | Milestone: 8.10.1 Component: Build System | Version: 8.7 (Hadrian) | Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #15860 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by alpmestan): * related: => #15860 Comment: raichoo has mentionned (and fixed) some issue he encountered while building GHC with Hadrian on FreeBSD, see [https://ghc.haskell.org/trac/ghc/ticket/15860 #15860]. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16016#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC