Is HEAD broken?

Andreas Klebinger klebinger.andreas at gmx.at
Sun Jul 14 22:31:32 UTC 2019


Upon restarting the build it seems to proceed further. Strange but good
enough for me at the moment.

Andreas Klebinger schrieb am 15.07.2019 um 00:13:
> Is HEAD broken?
>
> I get this error with hadrian:
>
> I suspect it's only broken on windows and has to do with MSYS #ifdefs
>
> /-------------------------------------------------------------------------\
>
> | Successfully built library 'ghci' (Stage0, way
> v).                      |
> | Library:
> _build/stage0/libraries/ghci/build/libHSghci-8.9.0.20190714.a  |
> | Library synopsis: The library supporting GHC's interactive
> interpreter. |
> \-------------------------------------------------------------------------/
>
> | Copy package 'ghci'
> # cabal-copy (for
> _build/stage0/lib/package.conf.d/ghci-8.9.0.20190714.conf)
> | Register package 'ghci'
> # cabal-register (for
> _build/stage0/lib/package.conf.d/ghci-8.9.0.20190714.conf)
> | Run Ghc CompileHs Stage0:
> libraries/text/Data/Text/Internal/Encoding/Fusion/Common.hs =>
> _build/stage0/libraries/text/build/Data/Text/Internal/Encoding/Fusion/Common.o
>
> | Run Ghc CompileHs Stage0: libraries/text/Data/Text/Show.hs =>
> _build/stage0/libraries/text/build/Data/Text/Show.o
> # cabal-configure (for _build/stage0/compiler/setup-config)
> | Run Ghc CompileHs Stage0:
> libraries/text/Data/Text/Internal/Encoding/Fusion.hs =>
> _build/stage0/libraries/text/build/Data/Text/Internal/Encoding/Fusion.o
> | Run Ghc CompileHs Stage0:
> libraries/text/Data/Text/Internal/Lazy/Encoding/Fusion.hs =>
> _build/stage0/libraries/text/build/Data/Text/Internal/Lazy/Encoding/Fusion.o
>
> # cabal-autogen (for _build/stage0/compiler/build/autogen/cabal_macros.h)
> | Run GhcPkg Dependencies Stage0: process
> WARNING: cache is out of date:
> C:\ghc\msys64\opt\ghc\lib\package.conf.d\package.cache
> ghc will see an old view of this package db. Use 'ghc-pkg recache' to
> fix.
> | Run GhcPkg Unregister Stage0: process => none
> | Run Ghc CompileHs Stage0: libraries/text/Data/Text/Encoding.hs =>
> _build/stage0/libraries/text/build/Data/Text/Encoding.o
> | Run Ghc CompileHs Stage0: libraries/text/Data/Text.hs =>
> _build/stage0/libraries/text/build/Data/Text.o
> | Run Ghc CompileHs Stage0: libraries/text/Data/Text/Foreign.hs =>
> _build/stage0/libraries/text/build/Data/Text/Foreign.o
> ghc-pkg.exe: cannot find package process
> | Run GhcPkg Copy Stage0: process =>
> _build/stage0/lib/package.conf.d/process-1.6.5.0.conf
> | Run Ghc CompileHs Stage0: libraries/text/Data/Text/Read.hs =>
> _build/stage0/libraries/text/build/Data/Text/Read.o
> | Run Ghc CompileHs Stage0: libraries/text/Data/Text/Internal/Lazy.hs =>
> _build/stage0/libraries/text/build/Data/Text/Internal/Lazy.o
> | Run Ghc CompileHs Stage0: libraries/text/Data/Text/Internal/IO.hs =>
> _build/stage0/libraries/text/build/Data/Text/Internal/IO.o
> WARNING: cache is out of date:
> C:\ghc\msys64\opt\ghc\lib\package.conf.d\package.cache
> ghc will see an old view of this package db. Use 'ghc-pkg recache' to
> fix.
> | Run Cc FindCDependencies Stage0: compiler/parser/cutils.c =>
> _build/stage0/compiler/build/c/parser/cutils.o.d
> | Run Cc FindCDependencies Stage0: compiler/ghci/keepCAFsForGHCi.c =>
> _build/stage0/compiler/build/c/ghci/keepCAFsForGHCi.o.d
> | Run Cc FindCDependencies Stage0: compiler/cbits/genSym.c =>
> _build/stage0/compiler/build/c/cbits/genSym.o.d
> | Run DeriveConstants: none => _build/generated/DerivedConstants.h (and
> 1 more)
> | Run DeriveConstants: none =>
> _build/generated/GHCConstantsHaskellExports.hs (and 1 more)
> | Run Happy: compiler/parser/Parser.y =>
> _build/stage0/compiler/build/Parser.hs
> | Run DeriveConstants: none =>
> _build/generated/GHCConstantsHaskellWrappers.hs (and 1 more)
> | Run Ghc CompileHs Stage0:
> libraries/text/Data/Text/Internal/Lazy/Search.hs =>
> _build/stage0/libraries/text/build/Data/Text/Internal/Lazy/Search.o
> | Run Ghc CompileHs Stage0: libraries/text/Data/Text/Lazy/Internal.hs =>
> _build/stage0/libraries/text/build/Data/Text/Lazy/Internal.o
> | Run Ghc CompileHs Stage0:
> libraries/text/Data/Text/Internal/Lazy/Fusion.hs =>
> _build/stage0/libraries/text/build/Data/Text/Internal/Lazy/Fusion.o
> | Run Ghc CompileHs Stage0: libraries/text/Data/Text/IO.hs =>
> _build/stage0/libraries/text/build/Data/Text/IO.o
> | Successfully generated _build/stage0/compiler/build/Config.hs.
> | Run Alex: compiler/cmm/CmmLex.x =>
> _build/stage0/compiler/build/CmmLex.hs
> | Run HsCpp: compiler/prelude/primops.txt.pp =>
> _build/stage0/compiler/build/primops.txt
> In file included from includes/MachDeps.h:45:0,
>                  from compiler/prelude/primops.txt.pp:122:
> includes/ghcautoconf.h:1:0: error: unterminated #if
>  #if !defined(__GHCAUTOCONF_H__)
>
> Error when running Shake build system:
>   at action, called at src\Rules.hs:68:19 in main:Rules
>   at need, called at src\Rules.hs:90:5 in main:Rules
> * Depends on: _build/stage0/lib/package.conf.d/ghc-8.9.0.20190714.conf
>   at need, called at src\Rules\Register.hs:115:5 in main:Rules.Register
> * Depends on: _build/stage0/compiler/build/libHSghc-8.9.0.20190714.a
>   at need, called at src\Rules\Library.hs:144:5 in main:Rules.Library
> * Depends on: _build/stage0/compiler/build/TcTypeable.o
>   at &%>, called at src\Rules\Compile.hs:47:9 in main:Rules.Compile
> * Depends on: _build/stage0/compiler/build/TcTypeable.o
> _build/stage0/compiler/build/TcTypeable.hi
>   at apply1, called at
> src\Development\Shake\Internal\Rules\Oracle.hs:159:32 in
> shake-0.18.3-2a90fc68b337e984af1d3900d8eeed6f2bc6fa1a:Development.Shake.Internal.Rules.Oracle
>
> * Depends on: OracleQ (KeyValues
> ("_build/stage0/compiler/.dependencies","_build/stage0/compiler/build/TcTypeable.o"))
>
>   at need, called at src\Hadrian\Oracles\TextFile.hs:96:9 in
> main:Hadrian.Oracles.TextFile
> * Depends on: _build/stage0/compiler/.dependencies
>   at readFile', called at src\Rules\Dependencies.hs:34:19 in
> main:Rules.Dependencies
>   at need, called at src\Development\Shake\Internal\Derived.hs:118:15
> in
> shake-0.18.3-2a90fc68b337e984af1d3900d8eeed6f2bc6fa1a:Development.Shake.Internal.Derived
>
> * Depends on: _build/stage0/compiler/.dependencies.mk
>   at need, called at src\Rules\Dependencies.hs:26:9 in
> main:Rules.Dependencies
> * Depends on: _build/stage0/compiler/build/primop-fixity.hs-incl
>   at need, called at src\Rules\Generate.hs:147:5 in main:Rules.Generate
> * Depends on: _build/stage0/compiler/build/primops.txt
> * Raised the exception:
> user error (Development.Shake.cmd, system command failed
> Command line: E:/ghc_head/inplace/mingw/bin/gcc.exe -E -undef
> -traditional -P -Iincludes -I_build/generated
> -I_build/stage0/compiler/build -x c compiler/prelude/primops.txt.pp
> Exit code: 1
> Stderr:
> In file included from includes/MachDeps.h:45:0,
>                  from compiler/prelude/primops.txt.pp:122:
> includes/ghcautoconf.h:1:0: error: unterminated #if
>  #if !defined(__GHCAUTOCONF_H__)
>
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs



More information about the ghc-devs mailing list