[GHC] #15950: Hadrian build fails on Windows

#15950: Hadrian build fails on Windows -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: new Priority: high | Milestone: 8.8.1 Component: Build System | Version: 8.6.2 (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: -------------------------------------+------------------------------------- As of {{{ $ hadrian/build.cabal.sh -j5 --flavour=Quick ... $ hadrian/build.cabal.sh -j5 --flavour=Quick | ContextData oracle: resolving data for 'iserv' (Stage1, v)... | Configure package 'iserv' Configuring iserv-8.7.1... creating C:\msys64\home\ben\ghc\builds\0\project-0\_build\stage1\utils\iserv\build "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc.exe" "--numeric-version" ]0;1s (99%)C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc.exe is version 8.7.20181126 "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc-pkg.exe" "--version" C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc-pkg.exe is version 8.7.20181126 "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc.exe" "--supported-languages" "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc.exe" "-- info" Reading installed packages... "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc-pkg.exe" "dump" "--global" "-v0" "--global-package- db=C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage1/lib/package.conf.d" "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc.exe" "--print-libdir" "-ghcversion- file=C:/msys64/home/ben/ghc/builds/0/project-0/_build/generated/ghcversion.h" CallStack (from HasCallStack): die', called at .\Distribution\Simple\Configure.hs:969:20 in Cabal-2.5.0.0-inplace:Distribution.Simple.Configure configureFinalizedPackage, called at .\Distribution\Simple\Configure.hs:467:12 in Cabal-2.5.0.0-inplace:Distribution.Simple.Configure configure, called at .\Distribution\Simple.hs:596:20 in Cabal-2.5.0.0-inplace:Distribution.Simple confHook, called at .\Distribution\Simple\UserHooks.hs:67:5 in Cabal-2.5.0.0-inplace:Distribution.Simple.UserHooks configureAction, called at .\Distribution\Simple.hs:178:19 in Cabal-2.5.0.0-inplace:Distribution.Simple defaultMainHelper, called at .\Distribution\Simple.hs:148:3 in Cabal-2.5.0.0-inplace:Distribution.Simple defaultMainWithHooksNoReadArgs, called at src\Hadrian\Haskell\Cabal\Parse.hs:145:14 in main:Hadrian.Haskell.Cabal.Parse hadrian.exe: Encountered missing dependencies: libiserv ==8.7.* }}} (Ignore garbage characters due to Window's broken ANSI console support) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15950 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15950: Hadrian build fails on Windows -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: new Priority: high | Milestone: 8.8.1 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: | -------------------------------------+------------------------------------- Description changed by bgamari: Old description:
As of {{{ $ hadrian/build.cabal.sh -j5 --flavour=Quick ... $ hadrian/build.cabal.sh -j5 --flavour=Quick | ContextData oracle: resolving data for 'iserv' (Stage1, v)... | Configure package 'iserv' Configuring iserv-8.7.1... creating C:\msys64\home\ben\ghc\builds\0\project-0\_build\stage1\utils\iserv\build "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc.exe" "--numeric-version" ]0;1s (99%)C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc.exe is version 8.7.20181126 "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc-pkg.exe" "--version" C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc-pkg.exe is version 8.7.20181126 "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc.exe" "--supported-languages" "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc.exe" "-- info" Reading installed packages... "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc-pkg.exe" "dump" "--global" "-v0" "--global-package- db=C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage1/lib/package.conf.d" "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc.exe" "--print-libdir" "-ghcversion- file=C:/msys64/home/ben/ghc/builds/0/project-0/_build/generated/ghcversion.h" CallStack (from HasCallStack): die', called at .\Distribution\Simple\Configure.hs:969:20 in Cabal-2.5.0.0-inplace:Distribution.Simple.Configure configureFinalizedPackage, called at .\Distribution\Simple\Configure.hs:467:12 in Cabal-2.5.0.0-inplace:Distribution.Simple.Configure configure, called at .\Distribution\Simple.hs:596:20 in Cabal-2.5.0.0-inplace:Distribution.Simple confHook, called at .\Distribution\Simple\UserHooks.hs:67:5 in Cabal-2.5.0.0-inplace:Distribution.Simple.UserHooks configureAction, called at .\Distribution\Simple.hs:178:19 in Cabal-2.5.0.0-inplace:Distribution.Simple defaultMainHelper, called at .\Distribution\Simple.hs:148:3 in Cabal-2.5.0.0-inplace:Distribution.Simple defaultMainWithHooksNoReadArgs, called at src\Hadrian\Haskell\Cabal\Parse.hs:145:14 in main:Hadrian.Haskell.Cabal.Parse hadrian.exe: Encountered missing dependencies: libiserv ==8.7.*
}}} (Ignore garbage characters due to Window's broken ANSI console support)
New description: As of {{{ $ hadrian/build.cabal.sh -j5 --flavour=Quick ... $ hadrian/build.cabal.sh -j5 --flavour=Quick | ContextData oracle: resolving data for 'iserv' (Stage1, v)... | Configure package 'iserv' Configuring iserv-8.7.1... creating C:\msys64\home\ben\ghc\builds\0\project-0\_build\stage1\utils\iserv\build "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc.exe" "--numeric-version" ]0;1s (99%)C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc.exe is version 8.7.20181126 "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc-pkg.exe" "--version" C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc-pkg.exe is version 8.7.20181126 "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc.exe" "--supported-languages" "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc.exe" "-- info" Reading installed packages... "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc-pkg.exe" "dump" "--global" "-v0" "--global-package- db=C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage1/lib/package.conf.d" "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc.exe" "--print-libdir" "-ghcversion- file=C:/msys64/home/ben/ghc/builds/0/project-0/_build/generated/ghcversion.h" CallStack (from HasCallStack): die', called at .\Distribution\Simple\Configure.hs:969:20 in Cabal-2.5.0.0-inplace:Distribution.Simple.Configure configureFinalizedPackage, called at .\Distribution\Simple\Configure.hs:467:12 in Cabal-2.5.0.0-inplace:Distribution.Simple.Configure configure, called at .\Distribution\Simple.hs:596:20 in Cabal-2.5.0.0-inplace:Distribution.Simple confHook, called at .\Distribution\Simple\UserHooks.hs:67:5 in Cabal-2.5.0.0-inplace:Distribution.Simple.UserHooks configureAction, called at .\Distribution\Simple.hs:178:19 in Cabal-2.5.0.0-inplace:Distribution.Simple defaultMainHelper, called at .\Distribution\Simple.hs:148:3 in Cabal-2.5.0.0-inplace:Distribution.Simple defaultMainWithHooksNoReadArgs, called at src\Hadrian\Haskell\Cabal\Parse.hs:145:14 in main:Hadrian.Haskell.Cabal.Parse hadrian.exe: Encountered missing dependencies: libiserv ==8.7.* ]0;FinishedshakeArgsWith 0.003s 0% Function shake 0.442s 2% Database read 0.851s 3% = With database 0.033s 0% Running rules 20.749s 93% ========================= Total 22.079s 100% Error when running Shake build system: at src/Main.hs:58:30-42: * Depends on: test at src/Rules/Test.hs:109:5-9: * Depends on: _build/stage1/lib/bin/ghc-iserv.exe at src/Development/Shake/Internal/Rules/Oracle.hs:157:43-68: * Depends on: OracleQ (ContextDataKey (Context {stage = Stage1, package = Package {pkgType = Program, pkgName = "iserv", pkgPath = "utils/iserv"}, way = v})) at src/Hadrian/Haskell/Cabal/Parse.hs:202:5-36: * Depends on: _build/stage1/utils/iserv/setup-config * Raised the exception: ExitFailure 1 }}} (Ignore garbage characters due to Window's broken ANSI console support) -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15950#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15950: Hadrian build fails on Windows -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: new Priority: high | Milestone: 8.8.1 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 bgamari): * cc: alpmestan, snowleopard (added) Old description:
As of {{{ $ hadrian/build.cabal.sh -j5 --flavour=Quick ... $ hadrian/build.cabal.sh -j5 --flavour=Quick | ContextData oracle: resolving data for 'iserv' (Stage1, v)... | Configure package 'iserv' Configuring iserv-8.7.1... creating C:\msys64\home\ben\ghc\builds\0\project-0\_build\stage1\utils\iserv\build "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc.exe" "--numeric-version" ]0;1s (99%)C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc.exe is version 8.7.20181126 "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc-pkg.exe" "--version" C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc-pkg.exe is version 8.7.20181126 "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc.exe" "--supported-languages" "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc.exe" "-- info" Reading installed packages... "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc-pkg.exe" "dump" "--global" "-v0" "--global-package- db=C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage1/lib/package.conf.d" "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc.exe" "--print-libdir" "-ghcversion- file=C:/msys64/home/ben/ghc/builds/0/project-0/_build/generated/ghcversion.h" CallStack (from HasCallStack): die', called at .\Distribution\Simple\Configure.hs:969:20 in Cabal-2.5.0.0-inplace:Distribution.Simple.Configure configureFinalizedPackage, called at .\Distribution\Simple\Configure.hs:467:12 in Cabal-2.5.0.0-inplace:Distribution.Simple.Configure configure, called at .\Distribution\Simple.hs:596:20 in Cabal-2.5.0.0-inplace:Distribution.Simple confHook, called at .\Distribution\Simple\UserHooks.hs:67:5 in Cabal-2.5.0.0-inplace:Distribution.Simple.UserHooks configureAction, called at .\Distribution\Simple.hs:178:19 in Cabal-2.5.0.0-inplace:Distribution.Simple defaultMainHelper, called at .\Distribution\Simple.hs:148:3 in Cabal-2.5.0.0-inplace:Distribution.Simple defaultMainWithHooksNoReadArgs, called at src\Hadrian\Haskell\Cabal\Parse.hs:145:14 in main:Hadrian.Haskell.Cabal.Parse hadrian.exe: Encountered missing dependencies: libiserv ==8.7.* ]0;FinishedshakeArgsWith 0.003s 0% Function shake 0.442s 2% Database read 0.851s 3% = With database 0.033s 0% Running rules 20.749s 93% ========================= Total 22.079s 100% Error when running Shake build system: at src/Main.hs:58:30-42: * Depends on: test at src/Rules/Test.hs:109:5-9: * Depends on: _build/stage1/lib/bin/ghc-iserv.exe at src/Development/Shake/Internal/Rules/Oracle.hs:157:43-68: * Depends on: OracleQ (ContextDataKey (Context {stage = Stage1, package = Package {pkgType = Program, pkgName = "iserv", pkgPath = "utils/iserv"}, way = v})) at src/Hadrian/Haskell/Cabal/Parse.hs:202:5-36: * Depends on: _build/stage1/utils/iserv/setup-config * Raised the exception: ExitFailure 1
}}} (Ignore garbage characters due to Window's broken ANSI console support)
New description: As of {{{ $ hadrian/build.cabal.sh -j5 --flavour=Quick ... $ hadrian/build.cabal.sh -j5 --flavour=Quick | ContextData oracle: resolving data for 'iserv' (Stage1, v)... | Configure package 'iserv' Configuring iserv-8.7.1... creating C:\msys64\home\ben\ghc\builds\0\project-0\_build\stage1\utils\iserv\build "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc.exe" "--numeric-version" ]0;1s (99%)C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc.exe is version 8.7.20181126 "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc-pkg.exe" "--version" C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc-pkg.exe is version 8.7.20181126 "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc.exe" "--supported-languages" "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc.exe" "-- info" Reading installed packages... "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc-pkg.exe" "dump" "--global" "-v0" "--global-package- db=C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage1/lib/package.conf.d" "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc.exe" "--print-libdir" "-ghcversion- file=C:/msys64/home/ben/ghc/builds/0/project-0/_build/generated/ghcversion.h" CallStack (from HasCallStack): die', called at .\Distribution\Simple\Configure.hs:969:20 in Cabal-2.5.0.0-inplace:Distribution.Simple.Configure configureFinalizedPackage, called at .\Distribution\Simple\Configure.hs:467:12 in Cabal-2.5.0.0-inplace:Distribution.Simple.Configure configure, called at .\Distribution\Simple.hs:596:20 in Cabal-2.5.0.0-inplace:Distribution.Simple confHook, called at .\Distribution\Simple\UserHooks.hs:67:5 in Cabal-2.5.0.0-inplace:Distribution.Simple.UserHooks configureAction, called at .\Distribution\Simple.hs:178:19 in Cabal-2.5.0.0-inplace:Distribution.Simple defaultMainHelper, called at .\Distribution\Simple.hs:148:3 in Cabal-2.5.0.0-inplace:Distribution.Simple defaultMainWithHooksNoReadArgs, called at src\Hadrian\Haskell\Cabal\Parse.hs:145:14 in main:Hadrian.Haskell.Cabal.Parse hadrian.exe: Encountered missing dependencies: libiserv ==8.7.* ]0;FinishedshakeArgsWith 0.003s 0% Function shake 0.442s 2% Database read 0.851s 3% = With database 0.033s 0% Running rules 20.749s 93% ========================= Total 22.079s 100% Error when running Shake build system: at src/Main.hs:58:30-42: * Depends on: test at src/Rules/Test.hs:109:5-9: * Depends on: _build/stage1/lib/bin/ghc-iserv.exe at src/Development/Shake/Internal/Rules/Oracle.hs:157:43-68: * Depends on: OracleQ (ContextDataKey (Context {stage = Stage1, package = Package {pkgType = Program, pkgName = "iserv", pkgPath = "utils/iserv"}, way = v})) at src/Hadrian/Haskell/Cabal/Parse.hs:202:5-36: * Depends on: _build/stage1/utils/iserv/setup-config * Raised the exception: ExitFailure 1 }}} (Ignore garbage characters due to Window's broken ANSI console support) -- Comment: Perhaps `iserv` is missing a dependency on `libiserv`? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15950#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15950: Hadrian build fails on Windows -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: new Priority: high | Milestone: 8.8.1 Component: Build System | Version: 8.6.2 (Hadrian) | Resolution: | Keywords: Operating System: Windows | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * os: Unknown/Multiple => Windows Old description:
As of {{{ $ hadrian/build.cabal.sh -j5 --flavour=Quick ... $ hadrian/build.cabal.sh -j5 --flavour=Quick | ContextData oracle: resolving data for 'iserv' (Stage1, v)... | Configure package 'iserv' Configuring iserv-8.7.1... creating C:\msys64\home\ben\ghc\builds\0\project-0\_build\stage1\utils\iserv\build "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc.exe" "--numeric-version" ]0;1s (99%)C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc.exe is version 8.7.20181126 "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc-pkg.exe" "--version" C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc-pkg.exe is version 8.7.20181126 "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc.exe" "--supported-languages" "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc.exe" "-- info" Reading installed packages... "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc-pkg.exe" "dump" "--global" "-v0" "--global-package- db=C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage1/lib/package.conf.d" "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc.exe" "--print-libdir" "-ghcversion- file=C:/msys64/home/ben/ghc/builds/0/project-0/_build/generated/ghcversion.h" CallStack (from HasCallStack): die', called at .\Distribution\Simple\Configure.hs:969:20 in Cabal-2.5.0.0-inplace:Distribution.Simple.Configure configureFinalizedPackage, called at .\Distribution\Simple\Configure.hs:467:12 in Cabal-2.5.0.0-inplace:Distribution.Simple.Configure configure, called at .\Distribution\Simple.hs:596:20 in Cabal-2.5.0.0-inplace:Distribution.Simple confHook, called at .\Distribution\Simple\UserHooks.hs:67:5 in Cabal-2.5.0.0-inplace:Distribution.Simple.UserHooks configureAction, called at .\Distribution\Simple.hs:178:19 in Cabal-2.5.0.0-inplace:Distribution.Simple defaultMainHelper, called at .\Distribution\Simple.hs:148:3 in Cabal-2.5.0.0-inplace:Distribution.Simple defaultMainWithHooksNoReadArgs, called at src\Hadrian\Haskell\Cabal\Parse.hs:145:14 in main:Hadrian.Haskell.Cabal.Parse hadrian.exe: Encountered missing dependencies: libiserv ==8.7.* ]0;FinishedshakeArgsWith 0.003s 0% Function shake 0.442s 2% Database read 0.851s 3% = With database 0.033s 0% Running rules 20.749s 93% ========================= Total 22.079s 100% Error when running Shake build system: at src/Main.hs:58:30-42: * Depends on: test at src/Rules/Test.hs:109:5-9: * Depends on: _build/stage1/lib/bin/ghc-iserv.exe at src/Development/Shake/Internal/Rules/Oracle.hs:157:43-68: * Depends on: OracleQ (ContextDataKey (Context {stage = Stage1, package = Package {pkgType = Program, pkgName = "iserv", pkgPath = "utils/iserv"}, way = v})) at src/Hadrian/Haskell/Cabal/Parse.hs:202:5-36: * Depends on: _build/stage1/utils/iserv/setup-config * Raised the exception: ExitFailure 1
}}} (Ignore garbage characters due to Window's broken ANSI console support)
New description: As of 509d5be69c7507ba5d0a5f39ffd1613a59e73eea, {{{ $ hadrian/build.cabal.sh -j5 --flavour=Quick ... $ hadrian/build.cabal.sh -j5 --flavour=Quick | ContextData oracle: resolving data for 'iserv' (Stage1, v)... | Configure package 'iserv' Configuring iserv-8.7.1... creating C:\msys64\home\ben\ghc\builds\0\project-0\_build\stage1\utils\iserv\build "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc.exe" "--numeric-version" ]0;1s (99%)C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc.exe is version 8.7.20181126 "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc-pkg.exe" "--version" C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc-pkg.exe is version 8.7.20181126 "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc.exe" "--supported-languages" "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc.exe" "-- info" Reading installed packages... "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc-pkg.exe" "dump" "--global" "-v0" "--global-package- db=C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage1/lib/package.conf.d" "C:/msys64/home/ben/ghc/builds/0/project-0/_build/stage0/bin/ghc.exe" "--print-libdir" "-ghcversion- file=C:/msys64/home/ben/ghc/builds/0/project-0/_build/generated/ghcversion.h" CallStack (from HasCallStack): die', called at .\Distribution\Simple\Configure.hs:969:20 in Cabal-2.5.0.0-inplace:Distribution.Simple.Configure configureFinalizedPackage, called at .\Distribution\Simple\Configure.hs:467:12 in Cabal-2.5.0.0-inplace:Distribution.Simple.Configure configure, called at .\Distribution\Simple.hs:596:20 in Cabal-2.5.0.0-inplace:Distribution.Simple confHook, called at .\Distribution\Simple\UserHooks.hs:67:5 in Cabal-2.5.0.0-inplace:Distribution.Simple.UserHooks configureAction, called at .\Distribution\Simple.hs:178:19 in Cabal-2.5.0.0-inplace:Distribution.Simple defaultMainHelper, called at .\Distribution\Simple.hs:148:3 in Cabal-2.5.0.0-inplace:Distribution.Simple defaultMainWithHooksNoReadArgs, called at src\Hadrian\Haskell\Cabal\Parse.hs:145:14 in main:Hadrian.Haskell.Cabal.Parse hadrian.exe: Encountered missing dependencies: libiserv ==8.7.* ]0;FinishedshakeArgsWith 0.003s 0% Function shake 0.442s 2% Database read 0.851s 3% = With database 0.033s 0% Running rules 20.749s 93% ========================= Total 22.079s 100% Error when running Shake build system: at src/Main.hs:58:30-42: * Depends on: test at src/Rules/Test.hs:109:5-9: * Depends on: _build/stage1/lib/bin/ghc-iserv.exe at src/Development/Shake/Internal/Rules/Oracle.hs:157:43-68: * Depends on: OracleQ (ContextDataKey (Context {stage = Stage1, package = Package {pkgType = Program, pkgName = "iserv", pkgPath = "utils/iserv"}, way = v})) at src/Hadrian/Haskell/Cabal/Parse.hs:202:5-36: * Depends on: _build/stage1/utils/iserv/setup-config * Raised the exception: ExitFailure 1 }}} (Ignore garbage characters due to Window's broken ANSI console support). This seems to only be reproducible on Windows. -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15950#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15950: Hadrian build fails on Windows -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: new Priority: high | Milestone: 8.8.1 Component: Build System | Version: 8.6.2 (Hadrian) | Resolution: | Keywords: Operating System: Windows | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by bgamari): I see, `Settings.Default.stage1Packages` conditions both `iserv` and `libiserv` on the platform not being Windows. However, then `Rules.Test.needIservBins` depends upon `iserv` regardless. This all seems terribly fragile. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15950#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15950: Hadrian build fails on Windows -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: patch Priority: high | Milestone: 8.8.1 Component: Build System | Version: 8.6.2 (Hadrian) | Resolution: | Keywords: Operating System: Windows | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D5381 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: new => patch * differential: => Phab:D5381 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15950#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15950: Hadrian build fails on Windows
-------------------------------------+-------------------------------------
Reporter: bgamari | Owner: (none)
Type: bug | Status: patch
Priority: high | Milestone: 8.8.1
Component: Build System | Version: 8.6.2
(Hadrian) |
Resolution: | Keywords:
Operating System: Windows | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D5381
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari

#15950: Hadrian build fails on Windows -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: closed Priority: high | Milestone: 8.8.1 Component: Build System | Version: 8.6.2 (Hadrian) | Resolution: fixed | Keywords: Operating System: Windows | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D5381 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: patch => closed * resolution: => fixed -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15950#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15950: Hadrian build fails on Windows
-------------------------------------+-------------------------------------
Reporter: bgamari | Owner: (none)
Type: bug | Status: closed
Priority: high | Milestone: 8.8.1
Component: Build System | Version: 8.6.2
(Hadrian) |
Resolution: fixed | Keywords:
Operating System: Windows | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D5381
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari

#15950: Hadrian build fails on Windows -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: closed Priority: high | Milestone: 8.8.1 Component: Build System | Version: 8.6.2 (Hadrian) | Resolution: fixed | Keywords: Operating System: Windows | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D5381 Wiki Page: | -------------------------------------+------------------------------------- Comment (by bgamari): Sigh, that was supposed to refer to #15971. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15950#comment:9 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC