8.5 build failure

Ömer Sinan Ağacan omeragacan at gmail.com
Tue Apr 3 15:13:11 UTC 2018


Does the error go away if you restart the build without cleaning? I had the
same error on my nightly builder, but it worked when I restarted the build.

Ömer

2018-04-03 18:06 GMT+03:00 John Leo <leo at halfaya.org>:
> Hi everyone,
>
> I pulled from head this morning and rebased my current work on it, and am
> getting a build error I've never seen before. I don't think it's due to any
> of my own changes, and everything built fine last time I tried just a couple
> days ago . I'd pulled both code and submodules. I did make clean, ./boot,
> ./configure, and then make. The last few lines of the output are below. This
> is on a Mac using GHC 8.2.2. Let me know if you need any more info.
>
> John
>
> "inplace/bin/ghc-stage1" -this-unit-id rts -shared -dynamic -dynload deploy
> -no-auto-link-packages -Lrts/dist/build -lffi -optl-Wl,-rpath
> -optl-Wl, at loader_path `cat rts/dist/libs.depend`
> rts/dist/build/Adjustor.thr_debug_dyn_o rts/dist/build/Arena.thr_debug_dyn_o
> rts/dist/build/Capability.thr_debug_dyn_o
> rts/dist/build/CheckUnload.thr_debug_dyn_o
> rts/dist/build/ClosureFlags.thr_debug_dyn_o
> rts/dist/build/Disassembler.thr_debug_dyn_o
> rts/dist/build/FileLock.thr_debug_dyn_o
> rts/dist/build/Globals.thr_debug_dyn_o rts/dist/build/Hash.thr_debug_dyn_o
> rts/dist/build/Hpc.thr_debug_dyn_o rts/dist/build/HsFFI.thr_debug_dyn_o
> rts/dist/build/Inlines.thr_debug_dyn_o
> rts/dist/build/Interpreter.thr_debug_dyn_o
> rts/dist/build/LdvProfile.thr_debug_dyn_o
> rts/dist/build/Libdw.thr_debug_dyn_o
> rts/dist/build/LibdwPool.thr_debug_dyn_o
> rts/dist/build/Linker.thr_debug_dyn_o
> rts/dist/build/Messages.thr_debug_dyn_o
> rts/dist/build/OldARMAtomic.thr_debug_dyn_o
> rts/dist/build/PathUtils.thr_debug_dyn_o rts/dist/build/Pool.thr_debug_dyn_o
> rts/dist/build/Printer.thr_debug_dyn_o
> rts/dist/build/ProfHeap.thr_debug_dyn_o
> rts/dist/build/ProfilerReport.thr_debug_dyn_o
> rts/dist/build/ProfilerReportJson.thr_debug_dyn_o
> rts/dist/build/Profiling.thr_debug_dyn_o
> rts/dist/build/Proftimer.thr_debug_dyn_o
> rts/dist/build/RaiseAsync.thr_debug_dyn_o
> rts/dist/build/RetainerProfile.thr_debug_dyn_o
> rts/dist/build/RetainerSet.thr_debug_dyn_o
> rts/dist/build/RtsAPI.thr_debug_dyn_o
> rts/dist/build/RtsDllMain.thr_debug_dyn_o
> rts/dist/build/RtsFlags.thr_debug_dyn_o
> rts/dist/build/RtsMain.thr_debug_dyn_o
> rts/dist/build/RtsMessages.thr_debug_dyn_o
> rts/dist/build/RtsStartup.thr_debug_dyn_o
> rts/dist/build/RtsSymbolInfo.thr_debug_dyn_o
> rts/dist/build/RtsSymbols.thr_debug_dyn_o
> rts/dist/build/RtsUtils.thr_debug_dyn_o rts/dist/build/STM.thr_debug_dyn_o
> rts/dist/build/Schedule.thr_debug_dyn_o
> rts/dist/build/Sparks.thr_debug_dyn_o rts/dist/build/Stable.thr_debug_dyn_o
> rts/dist/build/StaticPtrTable.thr_debug_dyn_o
> rts/dist/build/Stats.thr_debug_dyn_o rts/dist/build/StgCRun.thr_debug_dyn_o
> rts/dist/build/StgPrimFloat.thr_debug_dyn_o
> rts/dist/build/Task.thr_debug_dyn_o
> rts/dist/build/ThreadLabels.thr_debug_dyn_o
> rts/dist/build/ThreadPaused.thr_debug_dyn_o
> rts/dist/build/Threads.thr_debug_dyn_o rts/dist/build/Ticky.thr_debug_dyn_o
> rts/dist/build/Timer.thr_debug_dyn_o
> rts/dist/build/TopHandler.thr_debug_dyn_o
> rts/dist/build/Trace.thr_debug_dyn_o rts/dist/build/WSDeque.thr_debug_dyn_o
> rts/dist/build/Weak.thr_debug_dyn_o rts/dist/build/fs.thr_debug_dyn_o
> rts/dist/build/xxhash.thr_debug_dyn_o
> rts/dist/build/hooks/FlagDefaults.thr_debug_dyn_o
> rts/dist/build/hooks/LongGCSync.thr_debug_dyn_o
> rts/dist/build/hooks/MallocFail.thr_debug_dyn_o
> rts/dist/build/hooks/OnExit.thr_debug_dyn_o
> rts/dist/build/hooks/OutOfHeap.thr_debug_dyn_o
> rts/dist/build/hooks/StackOverflow.thr_debug_dyn_o
> rts/dist/build/sm/BlockAlloc.thr_debug_dyn_o
> rts/dist/build/sm/CNF.thr_debug_dyn_o
> rts/dist/build/sm/Compact.thr_debug_dyn_o
> rts/dist/build/sm/Evac.thr_debug_dyn_o
> rts/dist/build/sm/Evac_thr.thr_debug_dyn_o
> rts/dist/build/sm/GC.thr_debug_dyn_o rts/dist/build/sm/GCAux.thr_debug_dyn_o
> rts/dist/build/sm/GCUtils.thr_debug_dyn_o
> rts/dist/build/sm/MBlock.thr_debug_dyn_o
> rts/dist/build/sm/MarkWeak.thr_debug_dyn_o
> rts/dist/build/sm/Sanity.thr_debug_dyn_o
> rts/dist/build/sm/Scav.thr_debug_dyn_o
> rts/dist/build/sm/Scav_thr.thr_debug_dyn_o
> rts/dist/build/sm/Storage.thr_debug_dyn_o
> rts/dist/build/sm/Sweep.thr_debug_dyn_o
> rts/dist/build/eventlog/EventLog.thr_debug_dyn_o
> rts/dist/build/eventlog/EventLogWriter.thr_debug_dyn_o
> rts/dist/build/linker/CacheFlush.thr_debug_dyn_o
> rts/dist/build/linker/Elf.thr_debug_dyn_o
> rts/dist/build/linker/LoadArchive.thr_debug_dyn_o
> rts/dist/build/linker/M32Alloc.thr_debug_dyn_o
> rts/dist/build/linker/MachO.thr_debug_dyn_o
> rts/dist/build/linker/PEi386.thr_debug_dyn_o
> rts/dist/build/linker/SymbolExtras.thr_debug_dyn_o
> rts/dist/build/linker/elf_got.thr_debug_dyn_o
> rts/dist/build/linker/elf_plt.thr_debug_dyn_o
> rts/dist/build/linker/elf_plt_aarch64.thr_debug_dyn_o
> rts/dist/build/linker/elf_plt_arm.thr_debug_dyn_o
> rts/dist/build/linker/elf_reloc.thr_debug_dyn_o
> rts/dist/build/linker/elf_reloc_aarch64.thr_debug_dyn_o
> rts/dist/build/linker/elf_util.thr_debug_dyn_o
> rts/dist/build/posix/GetEnv.thr_debug_dyn_o
> rts/dist/build/posix/GetTime.thr_debug_dyn_o
> rts/dist/build/posix/Itimer.thr_debug_dyn_o
> rts/dist/build/posix/OSMem.thr_debug_dyn_o
> rts/dist/build/posix/OSThreads.thr_debug_dyn_o
> rts/dist/build/posix/Select.thr_debug_dyn_o
> rts/dist/build/posix/Signals.thr_debug_dyn_o
> rts/dist/build/posix/TTY.thr_debug_dyn_o
> rts/dist/build/Apply.thr_debug_dyn_o rts/dist/build/Compact.thr_debug_dyn_o
> rts/dist/build/Exception.thr_debug_dyn_o
> rts/dist/build/HeapStackCheck.thr_debug_dyn_o
> rts/dist/build/PrimOps.thr_debug_dyn_o
> rts/dist/build/StgMiscClosures.thr_debug_dyn_o
> rts/dist/build/StgStartup.thr_debug_dyn_o
> rts/dist/build/StgStdThunks.thr_debug_dyn_o
> rts/dist/build/Updates.thr_debug_dyn_o
> rts/dist/build/AutoApply.thr_debug_dyn_o  -fPIC -dynamic -optc-DTHREADED_RTS
> -optc-DDEBUG -eventlog  -O -H64m -Wall   -Iincludes -Iincludes/dist
> -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header
> -Irts -Irts/dist/build -DCOMPILING_RTS -DFS_NAMESPACE=rts -this-unit-id rts
> -dcmm-lint  -DDTRACE     -i -irts -irts/dist/build -Irts/dist/build
> -irts/dist/build/./autogen -Irts/dist/build/./autogen            -O2
> -Wcpp-undef -O0    -Wnoncanonical-monad-instances   -o
> rts/dist/build/libHSrts_thr_debug-ghc8.5.20180403.dylib
> "inplace/bin/ghc-stage1" -this-unit-id rts -shared -dynamic -dynload deploy
> -no-auto-link-packages -Lrts/dist/build -lffi -optl-Wl,-rpath
> -optl-Wl, at loader_path `cat rts/dist/libs.depend`
> rts/dist/build/Adjustor.debug_dyn_o rts/dist/build/Arena.debug_dyn_o
> rts/dist/build/Capability.debug_dyn_o rts/dist/build/CheckUnload.debug_dyn_o
> rts/dist/build/ClosureFlags.debug_dyn_o
> rts/dist/build/Disassembler.debug_dyn_o rts/dist/build/FileLock.debug_dyn_o
> rts/dist/build/Globals.debug_dyn_o rts/dist/build/Hash.debug_dyn_o
> rts/dist/build/Hpc.debug_dyn_o rts/dist/build/HsFFI.debug_dyn_o
> rts/dist/build/Inlines.debug_dyn_o rts/dist/build/Interpreter.debug_dyn_o
> rts/dist/build/LdvProfile.debug_dyn_o rts/dist/build/Libdw.debug_dyn_o
> rts/dist/build/LibdwPool.debug_dyn_o rts/dist/build/Linker.debug_dyn_o
> rts/dist/build/Messages.debug_dyn_o rts/dist/build/OldARMAtomic.debug_dyn_o
> rts/dist/build/PathUtils.debug_dyn_o rts/dist/build/Pool.debug_dyn_o
> rts/dist/build/Printer.debug_dyn_o rts/dist/build/ProfHeap.debug_dyn_o
> rts/dist/build/ProfilerReport.debug_dyn_o
> rts/dist/build/ProfilerReportJson.debug_dyn_o
> rts/dist/build/Profiling.debug_dyn_o rts/dist/build/Proftimer.debug_dyn_o
> rts/dist/build/RaiseAsync.debug_dyn_o
> rts/dist/build/RetainerProfile.debug_dyn_o
> rts/dist/build/RetainerSet.debug_dyn_o rts/dist/build/RtsAPI.debug_dyn_o
> rts/dist/build/RtsDllMain.debug_dyn_o rts/dist/build/RtsFlags.debug_dyn_o
> rts/dist/build/RtsMain.debug_dyn_o rts/dist/build/RtsMessages.debug_dyn_o
> rts/dist/build/RtsStartup.debug_dyn_o
> rts/dist/build/RtsSymbolInfo.debug_dyn_o
> rts/dist/build/RtsSymbols.debug_dyn_o rts/dist/build/RtsUtils.debug_dyn_o
> rts/dist/build/STM.debug_dyn_o rts/dist/build/Schedule.debug_dyn_o
> rts/dist/build/Sparks.debug_dyn_o rts/dist/build/Stable.debug_dyn_o
> rts/dist/build/StaticPtrTable.debug_dyn_o rts/dist/build/Stats.debug_dyn_o
> rts/dist/build/StgCRun.debug_dyn_o rts/dist/build/StgPrimFloat.debug_dyn_o
> rts/dist/build/Task.debug_dyn_o rts/dist/build/ThreadLabels.debug_dyn_o
> rts/dist/build/ThreadPaused.debug_dyn_o rts/dist/build/Threads.debug_dyn_o
> rts/dist/build/Ticky.debug_dyn_o rts/dist/build/Timer.debug_dyn_o
> rts/dist/build/TopHandler.debug_dyn_o rts/dist/build/Trace.debug_dyn_o
> rts/dist/build/WSDeque.debug_dyn_o rts/dist/build/Weak.debug_dyn_o
> rts/dist/build/fs.debug_dyn_o rts/dist/build/xxhash.debug_dyn_o
> rts/dist/build/hooks/FlagDefaults.debug_dyn_o
> rts/dist/build/hooks/LongGCSync.debug_dyn_o
> rts/dist/build/hooks/MallocFail.debug_dyn_o
> rts/dist/build/hooks/OnExit.debug_dyn_o
> rts/dist/build/hooks/OutOfHeap.debug_dyn_o
> rts/dist/build/hooks/StackOverflow.debug_dyn_o
> rts/dist/build/sm/BlockAlloc.debug_dyn_o rts/dist/build/sm/CNF.debug_dyn_o
> rts/dist/build/sm/Compact.debug_dyn_o rts/dist/build/sm/Evac.debug_dyn_o
> rts/dist/build/sm/Evac_thr.debug_dyn_o rts/dist/build/sm/GC.debug_dyn_o
> rts/dist/build/sm/GCAux.debug_dyn_o rts/dist/build/sm/GCUtils.debug_dyn_o
> rts/dist/build/sm/MBlock.debug_dyn_o rts/dist/build/sm/MarkWeak.debug_dyn_o
> rts/dist/build/sm/Sanity.debug_dyn_o rts/dist/build/sm/Scav.debug_dyn_o
> rts/dist/build/sm/Scav_thr.debug_dyn_o rts/dist/build/sm/Storage.debug_dyn_o
> rts/dist/build/sm/Sweep.debug_dyn_o
> rts/dist/build/eventlog/EventLog.debug_dyn_o
> rts/dist/build/eventlog/EventLogWriter.debug_dyn_o
> rts/dist/build/linker/CacheFlush.debug_dyn_o
> rts/dist/build/linker/Elf.debug_dyn_o
> rts/dist/build/linker/LoadArchive.debug_dyn_o
> rts/dist/build/linker/M32Alloc.debug_dyn_o
> rts/dist/build/linker/MachO.debug_dyn_o
> rts/dist/build/linker/PEi386.debug_dyn_o
> rts/dist/build/linker/SymbolExtras.debug_dyn_o
> rts/dist/build/linker/elf_got.debug_dyn_o
> rts/dist/build/linker/elf_plt.debug_dyn_o
> rts/dist/build/linker/elf_plt_aarch64.debug_dyn_o
> rts/dist/build/linker/elf_plt_arm.debug_dyn_o
> rts/dist/build/linker/elf_reloc.debug_dyn_o
> rts/dist/build/linker/elf_reloc_aarch64.debug_dyn_o
> rts/dist/build/linker/elf_util.debug_dyn_o
> rts/dist/build/posix/GetEnv.debug_dyn_o
> rts/dist/build/posix/GetTime.debug_dyn_o
> rts/dist/build/posix/Itimer.debug_dyn_o
> rts/dist/build/posix/OSMem.debug_dyn_o
> rts/dist/build/posix/OSThreads.debug_dyn_o
> rts/dist/build/posix/Select.debug_dyn_o
> rts/dist/build/posix/Signals.debug_dyn_o
> rts/dist/build/posix/TTY.debug_dyn_o   rts/dist/build/Apply.debug_dyn_o
> rts/dist/build/Compact.debug_dyn_o rts/dist/build/Exception.debug_dyn_o
> rts/dist/build/HeapStackCheck.debug_dyn_o rts/dist/build/PrimOps.debug_dyn_o
> rts/dist/build/StgMiscClosures.debug_dyn_o
> rts/dist/build/StgStartup.debug_dyn_o
> rts/dist/build/StgStdThunks.debug_dyn_o rts/dist/build/Updates.debug_dyn_o
> rts/dist/build/AutoApply.debug_dyn_o  -fPIC -dynamic -optc-DDEBUG -ticky
> -DTICKY_TICKY -eventlog  -O -H64m -Wall   -Iincludes -Iincludes/dist
> -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header
> -Irts -Irts/dist/build -DCOMPILING_RTS -DFS_NAMESPACE=rts -this-unit-id rts
> -dcmm-lint  -DDTRACE     -i -irts -irts/dist/build -Irts/dist/build
> -irts/dist/build/./autogen -Irts/dist/build/./autogen            -O2
> -Wcpp-undef -O0    -Wnoncanonical-monad-instances   -o
> rts/dist/build/libHSrts_debug-ghc8.5.20180403.dylib
> "inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m
> -Wall      -this-unit-id ghc-prim-0.5.2.0 -hide-all-packages -i
> -ilibraries/ghc-prim/. -ilibraries/ghc-prim/dist-install/build
> -Ilibraries/ghc-prim/dist-install/build
> -ilibraries/ghc-prim/dist-install/build/./autogen
> -Ilibraries/ghc-prim/dist-install/build/./autogen -Ilibraries/ghc-prim/.
> -optP-include
> -optPlibraries/ghc-prim/dist-install/build/./autogen/cabal_macros.h
> -package-id rts -this-unit-id ghc-prim -XHaskell2010 -O -dcore-lint
> -no-user-package-db -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags
> -Wnoncanonical-monad-instances  -odir libraries/ghc-prim/dist-install/build
> -hidir libraries/ghc-prim/dist-install/build -stubdir
> libraries/ghc-prim/dist-install/build   -dynamic-too -c
> libraries/ghc-prim/./GHC/CString.hs -o
> libraries/ghc-prim/dist-install/build/GHC/CString.o -dyno
> libraries/ghc-prim/dist-install/build/GHC/CString.dyn_o
> "inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m
> -Wall      -this-unit-id ghc-prim-0.5.2.0 -hide-all-packages -i
> -ilibraries/ghc-prim/. -ilibraries/ghc-prim/dist-install/build
> -Ilibraries/ghc-prim/dist-install/build
> -ilibraries/ghc-prim/dist-install/build/./autogen
> -Ilibraries/ghc-prim/dist-install/build/./autogen -Ilibraries/ghc-prim/.
> -optP-include
> -optPlibraries/ghc-prim/dist-install/build/./autogen/cabal_macros.h
> -package-id rts -this-unit-id ghc-prim -XHaskell2010 -O -dcore-lint
> -no-user-package-db -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags
> -Wnoncanonical-monad-instances  -odir libraries/ghc-prim/dist-install/build
> -hidir libraries/ghc-prim/dist-install/build -stubdir
> libraries/ghc-prim/dist-install/build   -dynamic-too -c
> libraries/ghc-prim/./GHC/IntWord64.hs -o
> libraries/ghc-prim/dist-install/build/GHC/IntWord64.o -dyno
> libraries/ghc-prim/dist-install/build/GHC/IntWord64.dyn_o
> "inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m
> -Wall      -this-unit-id base-4.11.0.0 -hide-all-packages -i
> -ilibraries/base/. -ilibraries/base/dist-install/build
> -Ilibraries/base/dist-install/build
> -ilibraries/base/dist-install/build/./autogen
> -Ilibraries/base/dist-install/build/./autogen -Ilibraries/base/include
> -Ilibraries/base/dist-install/build/include
> -optP-DOPTIMISE_INTEGER_GCD_LCM -optP-include
> -optPlibraries/base/dist-install/build/./autogen/cabal_macros.h -package-id
> ghc-prim-0.5.2.0 -package-id integer-gmp-1.0.1.0 -package-id rts
> -this-unit-id base -XHaskell2010 -O -dcore-lint  -no-user-package-db
> -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags
> -Wnoncanonical-monad-instances  -odir libraries/base/dist-install/build
> -hidir libraries/base/dist-install/build -stubdir
> libraries/base/dist-install/build   -dynamic-too -c
> libraries/base/./GHC/Base.hs-boot -o
> libraries/base/dist-install/build/GHC/Base.o-boot -dyno
> libraries/base/dist-install/build/GHC/Base.dyn_o-boot
> "inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m
> -Wall      -this-unit-id base-4.11.0.0 -hide-all-packages -i
> -ilibraries/base/. -ilibraries/base/dist-install/build
> -Ilibraries/base/dist-install/build
> -ilibraries/base/dist-install/build/./autogen
> -Ilibraries/base/dist-install/build/./autogen -Ilibraries/base/include
> -Ilibraries/base/dist-install/build/include
> -optP-DOPTIMISE_INTEGER_GCD_LCM -optP-include
> -optPlibraries/base/dist-install/build/./autogen/cabal_macros.h -package-id
> ghc-prim-0.5.2.0 -package-id integer-gmp-1.0.1.0 -package-id rts
> -this-unit-id base -XHaskell2010 -O -dcore-lint  -no-user-package-db
> -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags
> -Wnoncanonical-monad-instances  -odir libraries/base/dist-install/build
> -hidir libraries/base/dist-install/build -stubdir
> libraries/base/dist-install/build   -dynamic-too -c
> libraries/base/./GHC/Real.hs-boot -o
> libraries/base/dist-install/build/GHC/Real.o-boot -dyno
> libraries/base/dist-install/build/GHC/Real.dyn_o-boot
> "inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m
> -Wall      -this-unit-id base-4.11.0.0 -hide-all-packages -i
> -ilibraries/base/. -ilibraries/base/dist-install/build
> -Ilibraries/base/dist-install/build
> -ilibraries/base/dist-install/build/./autogen
> -Ilibraries/base/dist-install/build/./autogen -Ilibraries/base/include
> -Ilibraries/base/dist-install/build/include
> -optP-DOPTIMISE_INTEGER_GCD_LCM -optP-include
> -optPlibraries/base/dist-install/build/./autogen/cabal_macros.h -package-id
> ghc-prim-0.5.2.0 -package-id integer-gmp-1.0.1.0 -package-id rts
> -this-unit-id base -XHaskell2010 -O -dcore-lint  -no-user-package-db
> -rtsopts  -Wno-trustworthy-safe -Wno-deprecated-flags
> -Wnoncanonical-monad-instances  -odir libraries/base/dist-install/build
> -hidir libraries/base/dist-install/build -stubdir
> libraries/base/dist-install/build   -dynamic-too -c
> libraries/base/./GHC/IO.hs-boot -o
> libraries/base/dist-install/build/GHC/IO.o-boot -dyno
> libraries/base/dist-install/build/GHC/IO.dyn_o-boot
>
> libraries/base/GHC/IO.hs-boot:9:12: error:
>     • Failed to load interface for ‘GHC.Integer.Type’
>       There are files missing in the ‘integer-gmp-1.0.1.0’ package,
>       try running 'ghc-pkg check'.
>       Use -v to see a list of the files searched for.
>     • In the type signature: mplusIO :: IO a -> IO a -> IO a
>   |
> 9 | mplusIO :: IO a -> IO a -> IO a
>   |            ^^^^^^^^^^^^^^^^^^^^
> make[1]: *** [libraries/base/dist-install/build/GHC/IO.o-boot] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make: *** [all] Error 2
>
> _______________________________________________
> 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