Skip to content

Instantly share code, notes, and snippets.

@nh2
Last active November 12, 2019 01:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nh2/94dc2f98b38798ed4a4e65844dd3ac9a to your computer and use it in GitHub Desktop.
Save nh2/94dc2f98b38798ed4a4e65844dd3ac9a to your computer and use it in GitHub Desktop.
GHC build error trying to add fields to InstalledPackageInfo
% ./hadrian/build.stack.sh -j --flavour=quickest --verbose
| Building Stage1 libraries: binary, Cabal, ghc, ghc-boot, ghc-boot-th, ghc-heap, ghci, hpc, mtl, parsec, template-haskell, text, transformers, terminfo, array, base, bytestring, containers, deepseq, directory, filepath, ghc-compact, ghc-prim, haskeline, integer-gmp, pretty, process, rts, stm, time, xhtml, libiserv, unix
| Building Stage1 programs: ghc, ghc-pkg, hp2ps, hsc2hs, unlit, haddock, hpc, ghc-iserv, runghc
| Building Stage2 libraries: binary, Cabal, ghc, ghc-boot, ghc-boot-th, ghc-heap, ghci, hpc, mtl, parsec, template-haskell, text, transformers, terminfo, array, base, bytestring, containers, deepseq, directory, filepath, ghc-compact, ghc-prim, haskeline, integer-gmp, pretty, process, rts, stm, time, xhtml, libiserv, unix
| Building Stage2 programs: ghc, ghc-pkg, hp2ps, hsc2hs, unlit, haddock, hpc, ghc-iserv, runghc
| Building Stage3 libraries:
| Building Stage3 programs:
| ContextData oracle: resolving data for 'unix' (Stage1, v)...
| Configure package 'unix'
| ContextData oracle: resolving data for 'ghc-heap' (Stage1, v)...
| ContextData oracle: resolving data for 'integer-gmp' (Stage1, v)...
| ContextData oracle: resolving data for 'directory' (Stage1, v)...
| ContextData oracle: resolving data for 'stm' (Stage1, v)...
| Configure package 'directory'
| ContextData oracle: resolving data for 'ghc-compact' (Stage1, v)...
| ContextData oracle: resolving data for 'ghc-boot' (Stage1, v)...
| Configure package 'ghc-heap'
| ContextData oracle: resolving data for 'hpc' (Stage1, v)...
| Configure package 'ghc-compact'
| ContextData oracle: resolving data for 'base' (Stage1, v)...
| Configure package 'base'
| ContextData oracle: resolving data for 'containers' (Stage1, v)...
| ContextData oracle: resolving data for 'libiserv' (Stage1, v)...
| ContextData oracle: resolving data for 'rts' (Stage1, v)...
| ContextData oracle: resolving data for 'array' (Stage1, v)...
| Configure package 'array'
| ContextData oracle: resolving data for 'parsec' (Stage1, v)...
| ContextData oracle: resolving data for 'deepseq' (Stage1, v)...
| ContextData oracle: resolving data for 'process' (Stage1, v)...
| ContextData oracle: resolving data for 'ghc-prim' (Stage1, v)...
| Configure package 'rts'
| Configure package 'process'
| Configure package 'ghc-prim'
| ContextData oracle: resolving data for 'text' (Stage1, v)...
| Configure package 'containers'
| Configure package 'text'
| ContextData oracle: resolving data for 'mtl' (Stage1, v)...
| ContextData oracle: resolving data for 'terminfo' (Stage1, v)...
| Configure package 'mtl'
| Configure package 'terminfo'
| ContextData oracle: resolving data for 'bytestring' (Stage1, v)...
| Configure package 'deepseq'
| ContextData oracle: resolving data for 'filepath' (Stage1, v)...
| ContextData oracle: resolving data for 'haskeline' (Stage1, v)...
| ContextData oracle: resolving data for 'transformers' (Stage1, v)...
| Configure package 'filepath'
| ContextData oracle: resolving data for 'xhtml' (Stage1, v)...
| Configure package 'haskeline'
| Configure package 'transformers'
| ContextData oracle: resolving data for 'Cabal' (Stage1, v)...
| Configure package 'bytestring'
| ContextData oracle: resolving data for 'template-haskell' (Stage1, v)...
| Configure package 'Cabal'
| Configure package 'xhtml'
| Configure package 'template-haskell'
| ContextData oracle: resolving data for 'pretty' (Stage1, v)...
| Configure package 'pretty'
| Configure package 'libiserv'
| Configure package 'stm'
| ContextData oracle: resolving data for 'ghci' (Stage1, v)...
| Configure package 'ghci'
| Configure package 'integer-gmp'
| Configure package 'parsec'
| ContextData oracle: resolving data for 'ghc-boot-th' (Stage1, v)...
| Configure package 'ghc-boot-th'
| Configure package 'ghc-boot'
| ContextData oracle: resolving data for 'binary' (Stage1, v)...
| Configure package 'hpc'
| Configure package 'binary'
| ContextData oracle: resolving data for 'ghc' (Stage1, v)...
| Configure package 'ghc'
| ContextData oracle: resolving data for 'time' (Stage1, v)...
| Configure package 'time'
# cabal-configure (for _build/stage1/rts/setup-config)
Configuring rts-1.0...
creating /raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage1/rts/build
/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/bin/ghc --numeric-version
/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/bin/ghc is version
8.9.0.20191111
/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/bin/ghc-pkg --version
/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/bin/ghc-pkg is version
8.9.0.20191111
/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/bin/ghc --supported-languages
/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/bin/ghc --info
Reading installed packages...
/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/bin/ghc-pkg dump --global -v0 '--global-package-db=/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage1/lib/package.conf.d'
/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/bin/ghc --print-libdir '-ghcversion-file=/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage1/lib/ghcversion.h'
Flags chosen: 64bit=False, debug=False, dynamic=False, ffi=False,
find-ptr=False, leading-underscore=False, libbfd=False, libdl=True,
libdw=False, libm=True, libnuma=True, librt=True, logging=False,
mingwex=False, need-pthread=True, profiling=False, smp=True
Finalized package description:
cabal-version: 3.0
name: rts
version: 1.0
license: BSD-3-Clause
maintainer: glasgow-haskell-users@haskell.org
build-type: Simple
library
ld-options:
"-Wl,-u,base_GHCziTopHandler_runIO_closure"
"-Wl,-u,base_GHCziTopHandler_runNonIO_closure"
"-Wl,-u,ghczmprim_GHCziTuple_Z0T_closure"
"-Wl,-u,ghczmprim_GHCziTypes_True_closure"
"-Wl,-u,ghczmprim_GHCziTypes_False_closure"
"-Wl,-u,base_GHCziPack_unpackCString_closure"
"-Wl,-u,base_GHCziWeak_runFinalizzerBatch_closure"
"-Wl,-u,base_GHCziIOziException_stackOverflow_closure"
"-Wl,-u,base_GHCziIOziException_heapOverflow_closure"
"-Wl,-u,base_GHCziIOziException_allocationLimitExceeded_closure"
"-Wl,-u,base_GHCziIOziException_blockedIndefinitelyOnMVar_closure"
"-Wl,-u,base_GHCziIOziException_blockedIndefinitelyOnSTM_closure"
"-Wl,-u,base_GHCziIOziException_cannotCompactFunction_closure"
"-Wl,-u,base_GHCziIOziException_cannotCompactPinned_closure"
"-Wl,-u,base_GHCziIOziException_cannotCompactMutable_closure"
"-Wl,-u,base_ControlziExceptionziBase_absentSumFieldError_closure"
"-Wl,-u,base_ControlziExceptionziBase_nonTermination_closure"
"-Wl,-u,base_ControlziExceptionziBase_nestedAtomically_closure"
"-Wl,-u,base_GHCziEventziThread_blockedOnBadFD_closure"
"-Wl,-u,base_GHCziConcziSync_runSparks_closure"
"-Wl,-u,base_GHCziConcziIO_ensureIOManagerIsRunning_closure"
"-Wl,-u,base_GHCziConcziIO_ioManagerCapabilitiesChanged_closure"
"-Wl,-u,base_GHCziConcziSignal_runHandlersPtr_closure"
"-Wl,-u,base_GHCziTopHandler_flushStdHandles_closure"
"-Wl,-u,base_GHCziTopHandler_runMainIO_closure"
"-Wl,-u,ghczmprim_GHCziTypes_Czh_con_info"
"-Wl,-u,ghczmprim_GHCziTypes_Izh_con_info"
"-Wl,-u,ghczmprim_GHCziTypes_Fzh_con_info"
"-Wl,-u,ghczmprim_GHCziTypes_Dzh_con_info"
"-Wl,-u,ghczmprim_GHCziTypes_Wzh_con_info"
"-Wl,-u,base_GHCziPtr_Ptr_con_info"
"-Wl,-u,base_GHCziPtr_FunPtr_con_info"
"-Wl,-u,base_GHCziInt_I8zh_con_info"
"-Wl,-u,base_GHCziInt_I16zh_con_info"
"-Wl,-u,base_GHCziInt_I32zh_con_info"
"-Wl,-u,base_GHCziInt_I64zh_con_info"
"-Wl,-u,base_GHCziWord_W8zh_con_info"
"-Wl,-u,base_GHCziWord_W16zh_con_info"
"-Wl,-u,base_GHCziWord_W32zh_con_info"
"-Wl,-u,base_GHCziWord_W64zh_con_info"
"-Wl,-u,base_GHCziStable_StablePtr_con_info"
"-Wl,-u,hs_atomic_add8" "-Wl,-u,hs_atomic_add16"
"-Wl,-u,hs_atomic_add32" "-Wl,-u,hs_atomic_sub8"
"-Wl,-u,hs_atomic_sub16" "-Wl,-u,hs_atomic_sub32"
"-Wl,-u,hs_atomic_and8" "-Wl,-u,hs_atomic_and16"
"-Wl,-u,hs_atomic_and32" "-Wl,-u,hs_atomic_nand8"
"-Wl,-u,hs_atomic_nand16" "-Wl,-u,hs_atomic_nand32"
"-Wl,-u,hs_atomic_or8" "-Wl,-u,hs_atomic_or16"
"-Wl,-u,hs_atomic_or32" "-Wl,-u,hs_atomic_xor8"
"-Wl,-u,hs_atomic_xor16" "-Wl,-u,hs_atomic_xor32"
"-Wl,-u,hs_cmpxchg8" "-Wl,-u,hs_cmpxchg16" "-Wl,-u,hs_cmpxchg32"
"-Wl,-u,hs_atomicread8" "-Wl,-u,hs_atomicread16"
"-Wl,-u,hs_atomicread32" "-Wl,-u,hs_atomicwrite8"
"-Wl,-u,hs_atomicwrite16" "-Wl,-u,hs_atomicwrite32"
cmm-sources:
Apply.cmm
Compact.cmm
Exception.cmm
HeapStackCheck.cmm
PrimOps.cmm
StgMiscClosures.cmm
StgStartup.cmm
StgStdThunks.cmm
Updates.cmm
AutoApply.cmm
c-sources:
Adjustor.c
Arena.c
Capability.c
CheckUnload.c
ClosureFlags.c
Disassembler.c
FileLock.c
Globals.c
Hash.c
Heap.c
Hpc.c
HsFFI.c
Inlines.c
Interpreter.c
LdvProfile.c
Libdw.c
LibdwPool.c
Linker.c
Messages.c
OldARMAtomic.c
PathUtils.c
Pool.c
Printer.c
ProfHeap.c
ProfilerReport.c
ProfilerReportJson.c
Profiling.c
Proftimer.c
RaiseAsync.c
RetainerProfile.c
RetainerSet.c
RtsAPI.c
RtsDllMain.c
RtsFlags.c
RtsMain.c
RtsMessages.c
RtsStartup.c
RtsSymbolInfo.c
RtsSymbols.c
RtsUtils.c
STM.c
Schedule.c
Sparks.c
StableName.c
StablePtr.c
StaticPtrTable.c
Stats.c
StgCRun.c
StgPrimFloat.c
Task.c
ThreadLabels.c
ThreadPaused.c
Threads.c
Ticky.c
Timer.c
TopHandler.c
Trace.c
TraverseHeap.c
WSDeque.c
Weak.c
eventlog/EventLog.c
eventlog/EventLogWriter.c
hooks/FlagDefaults.c
hooks/LongGCSync.c
hooks/MallocFail.c
hooks/OnExit.c
hooks/OutOfHeap.c
hooks/StackOverflow.c
linker/CacheFlush.c
linker/Elf.c
linker/LoadArchive.c
linker/M32Alloc.c
linker/MachO.c
linker/PEi386.c
linker/SymbolExtras.c
linker/elf_got.c
linker/elf_plt.c
linker/elf_plt_aarch64.c
linker/elf_plt_arm.c
linker/elf_reloc.c
linker/elf_reloc_aarch64.c
linker/elf_util.c
sm/BlockAlloc.c
sm/CNF.c
sm/Compact.c
sm/Evac.c
sm/Evac_thr.c
sm/GC.c
sm/GCAux.c
sm/GCUtils.c
sm/MBlock.c
sm/MarkWeak.c
sm/NonMoving.c
sm/NonMovingCensus.c
sm/NonMovingMark.c
sm/NonMovingScav.c
sm/NonMovingShortcut.c
sm/NonMovingSweep.c
sm/Sanity.c
sm/Scav.c
sm/Scav_thr.c
sm/Storage.c
sm/Sweep.c
xxhash.c
fs.c
posix/GetEnv.c
posix/GetTime.c
posix/Itimer.c
posix/OSMem.c
posix/OSThreads.c
posix/Select.c
posix/Signals.c
posix/TTY.c
hs-source-dirs: .
extra-libraries:
m
rt
dl
pthread
numa
extra-bundled-libraries: Cffi
extra-library-flavours: _thr
include-dirs:
build ../includes includes includes/dist-derivedconstants/header
includes: Stg.h
install-includes:
Cmm.h HsFFI.h MachDeps.h Rts.h RtsAPI.h Stg.h ghcautoconf.h
ghcconfig.h ghcplatform.h ghcversion.h DerivedConstants.h ffi.h
ffitarget.h rts/Adjustor.h rts/BlockSignals.h rts/Bytecodes.h
rts/Config.h rts/Constants.h rts/EventLogFormat.h
rts/EventLogWriter.h rts/FileLock.h rts/Flags.h rts/GetTime.h
rts/Globals.h rts/Hpc.h rts/IOManager.h rts/Libdw.h rts/LibdwPool.h
rts/Linker.h rts/Main.h rts/Messages.h rts/NonMoving.h
rts/OSThreads.h rts/Parallel.h rts/PrimFloat.h rts/Profiling.h
rts/Signals.h rts/SpinLock.h rts/StableName.h rts/StablePtr.h
rts/StaticPtrTable.h rts/TTY.h rts/Threads.h rts/Ticky.h rts/Time.h
rts/Timer.h rts/Types.h rts/Utils.h rts/prof/CCS.h rts/prof/LDV.h
rts/storage/Block.h rts/storage/ClosureMacros.h
rts/storage/ClosureTypes.h rts/storage/Closures.h
rts/storage/FunTypes.h rts/storage/Heap.h rts/storage/GC.h
rts/storage/InfoTables.h rts/storage/MBlock.h rts/storage/TSO.h
stg/DLL.h stg/MachRegs.h stg/MachRegsForHost.h stg/MiscClosures.h
stg/Prim.h stg/Regs.h stg/SMP.h stg/Ticky.h stg/Types.h
ghc-options: -this-unit-id rts
Warning: 'include-dirs: ../includes' is a relative path outside of the source
tree. This will not work when generating a tarball with 'sdist'.
Warning: Packages using 'cabal-version: >= 1.10' must specify the
'default-language' field for each component (e.g. Haskell98 or Haskell2010).
If a component uses different languages in different modules then list the
other ones in the 'other-languages' field.
Warning: 'include-dirs: build' directory does not exist.
Warning: 'include-dirs: includes' directory does not exist.
Warning: 'include-dirs: includes/dist-derivedconstants/header' directory does
not exist.
/raid/stack/snapshots/x86_64-linux/a568bf87480abd77bf33fbd600cc328955f49ad404f62a924760508c84e8a13b/8.6.5/bin/alex --version
/raid/stack/snapshots/x86_64-linux/a568bf87480abd77bf33fbd600cc328955f49ad404f62a924760508c84e8a13b/8.6.5/bin/alex
is version 3.2.4
Searching for c2hs in path.
Cannot find c2hs on the path
Searching for cpphs in path.
Found cpphs at /home/niklas/.cabal/bin/cpphs
/home/niklas/.cabal/bin/cpphs --version
/home/niklas/.cabal/bin/cpphs is version 1.20.8
Searching for doctest in path.
Cannot find doctest on the path
/usr/bin/cc -dumpversion
/usr/bin/cc is version 7
Searching for ghcjs in path.
Cannot find ghcjs on the path
Searching for ghcjs-pkg in path.
Cannot find ghcjs-pkg on the path
Searching for greencard in path.
Cannot find greencard on the path
looking for tool haddock near compiler in
/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/bin
candidate locations:
["/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/bin/haddock"]
Searching for haddock in path.
Found haddock at /raid/stack/programs/x86_64-linux/ghc-8.6.5/bin/haddock
/raid/stack/programs/x86_64-linux/ghc-8.6.5/bin/haddock --version
/raid/stack/programs/x86_64-linux/ghc-8.6.5/bin/haddock is version 2.22.0
/raid/stack/snapshots/x86_64-linux/a568bf87480abd77bf33fbd600cc328955f49ad404f62a924760508c84e8a13b/8.6.5/bin/happy --version
/raid/stack/snapshots/x86_64-linux/a568bf87480abd77bf33fbd600cc328955f49ad404f62a924760508c84e8a13b/8.6.5/bin/happy
is version 1.19.12
Searching for hmake in path.
Cannot find hmake on the path
looking for tool hpc near compiler in
/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/bin
candidate locations:
["/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/bin/hpc"]
Searching for hpc in path.
Found hpc at /raid/stack/programs/x86_64-linux/ghc-8.6.5/bin/hpc
/raid/stack/programs/x86_64-linux/ghc-8.6.5/bin/hpc version
/raid/stack/programs/x86_64-linux/ghc-8.6.5/bin/hpc is version 0.67
looking for tool hsc2hs near compiler in
/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/bin
candidate locations:
["/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/bin/hsc2hs"]
found hsc2hs in
/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/bin/hsc2hs
/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/bin/hsc2hs --version
/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/bin/hsc2hs is version
0.68.6
Searching for HsColour in path.
Found HsColour at /usr/bin/HsColour
/usr/bin/HsColour -version
/usr/bin/HsColour is version 1.24
Searching for jhc in path.
Cannot find jhc on the path
Environment: [("COLORTERM","yes"),("DBUS_SESSION_BUS_ADDRESS","unix:path=/run/user/1000/bus"),("EDITOR","vim"),("FZF_CTRL_R_OPTS","--preview 'echo {}' --preview-window down:2"),("FZF_DEFAULT_OPTS","-e"),("HASKELL_DIST_DIR","/raid/src/ghc/ghc-rtsopt-disable-lazyfree/hadrian/.stack-work/dist/x86_64-linux/Cabal-2.4.0.1"),("HASKELL_PACKAGE_SANDBOX","/raid/stack/snapshots/x86_64-linux/a568bf87480abd77bf33fbd600cc328955f49ad404f62a924760508c84e8a13b/8.6.5/pkgdb"),("HASKELL_PACKAGE_SANDBOXES","/raid/src/ghc/ghc-rtsopt-disable-lazyfree/hadrian/.stack-work/install/x86_64-linux/a568bf87480abd77bf33fbd600cc328955f49ad404f62a924760508c84e8a13b/8.6.5/pkgdb:/raid/stack/snapshots/x86_64-linux/a568bf87480abd77bf33fbd600cc328955f49ad404f62a924760508c84e8a13b/8.6.5/pkgdb:"),("HOME","/home/niklas"),("ICAROOT","/home/niklas/opt/citrix-receiver"),("LANG","en_GB.UTF-8"),("LANGUAGE","en_GB"),("LC_ADDRESS","en_GB.UTF-8"),("LC_IDENTIFICATION","en_GB.UTF-8"),("LC_MEASUREMENT","en_GB.UTF-8"),("LC_MONETARY","en_GB.UTF-8"),("LC_NAME","en_GB.UTF-8"),("LC_NUMERIC","en_GB.UTF-8"),("LC_PAPER","en_GB.UTF-8"),("LC_TELEPHONE","en_GB.UTF-8"),("LC_TIME","en_GB.UTF-8"),("LESS_TERMCAP_mb","\ESC[01;31m"),("LESS_TERMCAP_md","\ESC[01;31m"),("LESS_TERMCAP_me","\ESC[0m"),("LESS_TERMCAP_se","\ESC[0m"),("LESS_TERMCAP_so","\ESC[01;44;33m"),("LESS_TERMCAP_ue","\ESC[0m"),("LESS_TERMCAP_us","\ESC[01;32m"),("LOGNAME","niklas"),("LS_COLORS","rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:"),("MAIL","/var/mail/niklas"),("MANPATH",":/home/niklas/.fzf/man"),("NIX_PATH","nixpkgs=/home/niklas/.nix-defexpr/channels/nixpkgs"),("NIX_SSL_CERT_FILE","/etc/ssl/certs/ca-certificates.crt"),("OLDPWD","/home/niklas/src/ghc/ghc-rtsopt-disable-lazyfree"),("PAGER","less"),("PAPERSIZE","a4"),("PATH","/raid/src/ghc/ghc-rtsopt-disable-lazyfree/hadrian/.stack-work/install/x86_64-linux/a568bf87480abd77bf33fbd600cc328955f49ad404f62a924760508c84e8a13b/8.6.5/bin:/raid/stack/snapshots/x86_64-linux/a568bf87480abd77bf33fbd600cc328955f49ad404f62a924760508c84e8a13b/8.6.5/bin:/raid/stack/compiler-tools/x86_64-linux/ghc-8.6.5/bin:/raid/stack/programs/x86_64-linux/ghc-8.6.5/bin:/home/niklas/.pyenv/shims:/home/niklas/.pyenv/bin:/home/niklas/opt/flutter/bin:/home/niklas/src/arc/arcanist/bin:/home/niklas/.cargo/bin:/home/niklas/.cabal/bin:/home/niklas/.local/bin:/home/niklas/bin:/home/niklas/opt/i3/bin:/home/niklas/.nix-profile/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/niklas/.fzf/bin"),("PYENV_ROOT","/home/niklas/.pyenv"),("PYENV_SHELL","zsh"),("SHELL","/bin/zsh"),("SHLVL","2"),("SSH_AUTH_SOCK","/tmp/ssh-W184iiDsLF/agent.6507"),("SSH_CLIENT","10.51.0.1 57728 22"),("SSH_CONNECTION","10.51.0.1 57728 10.51.0.2 22"),("SSH_TTY","/dev/pts/0"),("STACK_EXE","/home/niklas/.local/bin/stack"),("TERM","xterm-256color"),("USER","niklas"),("XDG_RUNTIME_DIR","/run/user/1000"),("XDG_SESSION_ID","38941"),("_","/home/niklas/.local/bin/stack")]
/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/bin/ghc -hide-all-packages -c /tmp/7515-0.c -o /tmp/7515-1.o '-ghcversion-file=/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage1/lib/ghcversion.h'
("_ghcPartLen",63165)
/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/lib/package.conf.d/package.cache: GHC.PackageDb.readPackageDb: inappropriate type (Not a valid Unicode code point!)
/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/bin/ghc returned
ExitFailure 1
Error when running Shake build system:
at action, called at src/Rules.hs:71:19 in main:Rules
at need, called at src/Rules.hs:93:5 in main:Rules
* Depends on: _build/stage1/lib/package.conf.d/rts-1.0.conf
at apply1, called at src/Development/Shake/Internal/Rules/Oracle.hs:159:32 in shake-0.18.3-K6N2eLzVtai6jtZeWAmEIo:Development.Shake.Internal.Rules.Oracle
* Depends on: OracleQ (ContextDataKey (Context {stage = Stage1, package = Package {pkgType = Library, pkgName = "rts", pkgPath = "rts"}, way = v}))
at need, called at src/Hadrian/Oracles/Cabal/Rules.hs:53:9 in main:Hadrian.Oracles.Cabal.Rules
* Depends on: _build/stage1/rts/setup-config
* Raised the exception:
ExitFailure 1
% ./hadrian/build.stack.sh -j --flavour=quickest
| Configure package 'process'
| Configure package 'template-haskell'
| Configure package 'parsec'
| Configure package 'libiserv'
| Configure package 'ghc-prim'
| Configure package 'ghc-boot-th'
| Configure package 'ghci'
| Configure package 'haskeline'
| Configure package 'binary'
| Configure package 'integer-gmp'
| Configure package 'rts'
| Configure package 'containers'
| Configure package 'bytestring'
| Configure package 'ghc-heap'
| Configure package 'deepseq'
| Configure package 'array'
| Configure package 'filepath'
| Configure package 'Cabal'
| Configure package 'pretty'
| Configure package 'unix'
| Configure package 'directory'
| Configure package 'time'
| Configure package 'mtl'
| Configure package 'terminfo'
| Configure package 'ghc-boot'
| Configure package 'text'
| Configure package 'stm'
| Configure package 'xhtml'
| Configure package 'ghc-compact'
| Configure package 'base'
| Configure package 'hpc'
| Configure package 'transformers'
| Configure package 'ghc'
# cabal-configure (for _build/stage1/rts/setup-config)
/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/lib/package.conf.d/package.cache: GHC.PackageDb.readPackageDb: inappropriate type (Not a valid Unicode code point!)
Error when running Shake build system:
at action, called at src/Rules.hs:71:19 in main:Rules
at need, called at src/Rules.hs:93:5 in main:Rules
* Depends on: _build/stage1/lib/package.conf.d/rts-1.0.conf
at apply1, called at src/Development/Shake/Internal/Rules/Oracle.hs:159:32 in shake-0.18.3-K6N2eLzVtai6jtZeWAmEIo:Development.Shake.Internal.Rules.Oracle
* Depends on: OracleQ (ContextDataKey (Context {stage = Stage1, package = Package {pkgType = Library, pkgName = "rts", pkgPath = "rts"}, way = v}))
at need, called at src/Hadrian/Oracles/Cabal/Rules.hs:53:9 in main:Hadrian.Oracles.Cabal.Rules
* Depends on: _build/stage1/rts/setup-config
* Raised the exception:
ExitFailure 1
niklas@ares ~/src/ghc/ghc-rtsopt-disable-lazyfree (git)-[rtsopt-disable-lazyfree] % rm /raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/lib/package.conf.d/{package.cache,rts.conf}
niklas@ares ~/src/ghc/ghc-rtsopt-disable-lazyfree (git)-[rtsopt-disable-lazyfree] % ./hadrian/build.stack.sh -j --flavour=quickest --verbose
| Building Stage1 libraries: binary, Cabal, ghc, ghc-boot, ghc-boot-th, ghc-heap, ghci, hpc, mtl, parsec, template-haskell, text, transformers, terminfo, array, base, bytestring, containers, deepseq, directory, filepath, ghc-compact, ghc-prim, haskeline, integer-gmp, pretty, process, rts, stm, time, xhtml, libiserv, unix
| Building Stage1 programs: ghc, ghc-pkg, hp2ps, hsc2hs, unlit, haddock, hpc, ghc-iserv, runghc
| Building Stage2 libraries: binary, Cabal, ghc, ghc-boot, ghc-boot-th, ghc-heap, ghci, hpc, mtl, parsec, template-haskell, text, transformers, terminfo, array, base, bytestring, containers, deepseq, directory, filepath, ghc-compact, ghc-prim, haskeline, integer-gmp, pretty, process, rts, stm, time, xhtml, libiserv, unix
| Building Stage2 programs: ghc, ghc-pkg, hp2ps, hsc2hs, unlit, haddock, hpc, ghc-iserv, runghc
| Building Stage3 libraries:
| Building Stage3 programs:
| ContextData oracle: resolving data for 'unix' (Stage1, v)...
| ContextData oracle: resolving data for 'template-haskell' (Stage1, v)...
| Configure package 'template-haskell'
| ContextData oracle: resolving data for 'ghci' (Stage1, v)...
| Configure package 'ghci'
| ContextData oracle: resolving data for 'terminfo' (Stage1, v)...
| ContextData oracle: resolving data for 'ghc-heap' (Stage1, v)...
| Configure package 'terminfo'
| ContextData oracle: resolving data for 'haskeline' (Stage1, v)...
| ContextData oracle: resolving data for 'text' (Stage1, v)...
| ContextData oracle: resolving data for 'hpc' (Stage1, v)...
| ContextData oracle: resolving data for 'parsec' (Stage1, v)...
| Configure package 'ghc-heap'
| ContextData oracle: resolving data for 'binary' (Stage1, v)...
| ContextData oracle: resolving data for 'ghc-boot' (Stage1, v)...
| ContextData oracle: resolving data for 'filepath' (Stage1, v)...
| ContextData oracle: resolving data for 'deepseq' (Stage1, v)...
| ContextData oracle: resolving data for 'ghc-boot-th' (Stage1, v)...
| ContextData oracle: resolving data for 'directory' (Stage1, v)...
| ContextData oracle: resolving data for 'integer-gmp' (Stage1, v)...
| Configure package 'directory'
| Configure package 'integer-gmp'
| Configure package 'binary'
| ContextData oracle: resolving data for 'stm' (Stage1, v)...
| ContextData oracle: resolving data for 'xhtml' (Stage1, v)...
| Configure package 'stm'
| Configure package 'parsec'
| ContextData oracle: resolving data for 'containers' (Stage1, v)...
| ContextData oracle: resolving data for 'array' (Stage1, v)...
| Configure package 'deepseq'
| Configure package 'containers'
| Configure package 'array'
| ContextData oracle: resolving data for 'ghc-compact' (Stage1, v)...
| ContextData oracle: resolving data for 'bytestring' (Stage1, v)...
| Configure package 'hpc'
| Configure package 'ghc-compact'
| Configure package 'bytestring'
| ContextData oracle: resolving data for 'time' (Stage1, v)...
| ContextData oracle: resolving data for 'base' (Stage1, v)...
| Configure package 'time'
| Configure package 'base'
| Configure package 'ghc-boot'
| Configure package 'xhtml'
| Configure package 'filepath'
| ContextData oracle: resolving data for 'libiserv' (Stage1, v)...
| Configure package 'unix'
| ContextData oracle: resolving data for 'pretty' (Stage1, v)...
| Configure package 'text'
| Configure package 'haskeline'
| Configure package 'pretty'
| ContextData oracle: resolving data for 'rts' (Stage1, v)...
| Configure package 'rts'
| ContextData oracle: resolving data for 'transformers' (Stage1, v)...
| Configure package 'transformers'
| ContextData oracle: resolving data for 'mtl' (Stage1, v)...
| ContextData oracle: resolving data for 'process' (Stage1, v)...
| Configure package 'mtl'
| Configure package 'process'
| ContextData oracle: resolving data for 'ghc-prim' (Stage1, v)...
| ContextData oracle: resolving data for 'Cabal' (Stage1, v)...
| Configure package 'libiserv'
| Configure package 'ghc-prim'
| Configure package 'Cabal'
| Configure package 'ghc-boot-th'
| Run GhcPkg Dependencies Stage0: rts
/raid/stack/programs/x86_64-linux/ghc-8.6.5/bin/ghc-pkg --no-user-package-db field rts depends
| ContextData oracle: resolving data for 'ghc' (Stage1, v)...
| Configure package 'ghc'
| Run GhcPkg Unregister Stage0: rts => none
/raid/stack/programs/x86_64-linux/ghc-8.6.5/bin/ghc-pkg --global-package-db _build/stage0/lib/package.conf.d unregister --force -v0 rts
ghc-pkg: cannot find package rts
| Run GhcPkg Copy Stage0: rts => _build/stage0/lib/package.conf.d/rts.conf
/raid/stack/programs/x86_64-linux/ghc-8.6.5/bin/ghc-pkg --expand-pkgroot --no-user-package-db describe rts
/raid/stack/programs/x86_64-linux/ghc-8.6.5/bin/ghc-pkg --global-package-db _build/stage0/lib/package.conf.d register -v0 -
# cabal-configure (for _build/stage1/rts/setup-config)
Configuring rts-1.0...
creating /raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage1/rts/build
/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/bin/ghc --numeric-version
/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/bin/ghc is version
8.9.0.20191111
/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/bin/ghc-pkg --version
/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/bin/ghc-pkg is version
8.9.0.20191111
/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/bin/ghc --supported-languages
/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/bin/ghc --info
Reading installed packages...
/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/bin/ghc-pkg dump --global -v0 '--global-package-db=/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage1/lib/package.conf.d'
/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/bin/ghc --print-libdir '-ghcversion-file=/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage1/lib/ghcversion.h'
Flags chosen: 64bit=False, debug=False, dynamic=False, ffi=False,
find-ptr=False, leading-underscore=False, libbfd=False, libdl=True,
libdw=False, libm=True, libnuma=True, librt=True, logging=False,
mingwex=False, need-pthread=True, profiling=False, smp=True
Finalized package description:
cabal-version: 3.0
name: rts
version: 1.0
license: BSD-3-Clause
maintainer: glasgow-haskell-users@haskell.org
build-type: Simple
library
ld-options:
"-Wl,-u,base_GHCziTopHandler_runIO_closure"
"-Wl,-u,base_GHCziTopHandler_runNonIO_closure"
"-Wl,-u,ghczmprim_GHCziTuple_Z0T_closure"
"-Wl,-u,ghczmprim_GHCziTypes_True_closure"
"-Wl,-u,ghczmprim_GHCziTypes_False_closure"
"-Wl,-u,base_GHCziPack_unpackCString_closure"
"-Wl,-u,base_GHCziWeak_runFinalizzerBatch_closure"
"-Wl,-u,base_GHCziIOziException_stackOverflow_closure"
"-Wl,-u,base_GHCziIOziException_heapOverflow_closure"
"-Wl,-u,base_GHCziIOziException_allocationLimitExceeded_closure"
"-Wl,-u,base_GHCziIOziException_blockedIndefinitelyOnMVar_closure"
"-Wl,-u,base_GHCziIOziException_blockedIndefinitelyOnSTM_closure"
"-Wl,-u,base_GHCziIOziException_cannotCompactFunction_closure"
"-Wl,-u,base_GHCziIOziException_cannotCompactPinned_closure"
"-Wl,-u,base_GHCziIOziException_cannotCompactMutable_closure"
"-Wl,-u,base_ControlziExceptionziBase_absentSumFieldError_closure"
"-Wl,-u,base_ControlziExceptionziBase_nonTermination_closure"
"-Wl,-u,base_ControlziExceptionziBase_nestedAtomically_closure"
"-Wl,-u,base_GHCziEventziThread_blockedOnBadFD_closure"
"-Wl,-u,base_GHCziConcziSync_runSparks_closure"
"-Wl,-u,base_GHCziConcziIO_ensureIOManagerIsRunning_closure"
"-Wl,-u,base_GHCziConcziIO_ioManagerCapabilitiesChanged_closure"
"-Wl,-u,base_GHCziConcziSignal_runHandlersPtr_closure"
"-Wl,-u,base_GHCziTopHandler_flushStdHandles_closure"
"-Wl,-u,base_GHCziTopHandler_runMainIO_closure"
"-Wl,-u,ghczmprim_GHCziTypes_Czh_con_info"
"-Wl,-u,ghczmprim_GHCziTypes_Izh_con_info"
"-Wl,-u,ghczmprim_GHCziTypes_Fzh_con_info"
"-Wl,-u,ghczmprim_GHCziTypes_Dzh_con_info"
"-Wl,-u,ghczmprim_GHCziTypes_Wzh_con_info"
"-Wl,-u,base_GHCziPtr_Ptr_con_info"
"-Wl,-u,base_GHCziPtr_FunPtr_con_info"
"-Wl,-u,base_GHCziInt_I8zh_con_info"
"-Wl,-u,base_GHCziInt_I16zh_con_info"
"-Wl,-u,base_GHCziInt_I32zh_con_info"
"-Wl,-u,base_GHCziInt_I64zh_con_info"
"-Wl,-u,base_GHCziWord_W8zh_con_info"
"-Wl,-u,base_GHCziWord_W16zh_con_info"
"-Wl,-u,base_GHCziWord_W32zh_con_info"
"-Wl,-u,base_GHCziWord_W64zh_con_info"
"-Wl,-u,base_GHCziStable_StablePtr_con_info"
"-Wl,-u,hs_atomic_add8" "-Wl,-u,hs_atomic_add16"
"-Wl,-u,hs_atomic_add32" "-Wl,-u,hs_atomic_sub8"
"-Wl,-u,hs_atomic_sub16" "-Wl,-u,hs_atomic_sub32"
"-Wl,-u,hs_atomic_and8" "-Wl,-u,hs_atomic_and16"
"-Wl,-u,hs_atomic_and32" "-Wl,-u,hs_atomic_nand8"
"-Wl,-u,hs_atomic_nand16" "-Wl,-u,hs_atomic_nand32"
"-Wl,-u,hs_atomic_or8" "-Wl,-u,hs_atomic_or16"
"-Wl,-u,hs_atomic_or32" "-Wl,-u,hs_atomic_xor8"
"-Wl,-u,hs_atomic_xor16" "-Wl,-u,hs_atomic_xor32"
"-Wl,-u,hs_cmpxchg8" "-Wl,-u,hs_cmpxchg16" "-Wl,-u,hs_cmpxchg32"
"-Wl,-u,hs_atomicread8" "-Wl,-u,hs_atomicread16"
"-Wl,-u,hs_atomicread32" "-Wl,-u,hs_atomicwrite8"
"-Wl,-u,hs_atomicwrite16" "-Wl,-u,hs_atomicwrite32"
cmm-sources:
Apply.cmm
Compact.cmm
Exception.cmm
HeapStackCheck.cmm
PrimOps.cmm
StgMiscClosures.cmm
StgStartup.cmm
StgStdThunks.cmm
Updates.cmm
AutoApply.cmm
c-sources:
Adjustor.c
Arena.c
Capability.c
CheckUnload.c
ClosureFlags.c
Disassembler.c
FileLock.c
Globals.c
Hash.c
Heap.c
Hpc.c
HsFFI.c
Inlines.c
Interpreter.c
LdvProfile.c
Libdw.c
LibdwPool.c
Linker.c
Messages.c
OldARMAtomic.c
PathUtils.c
Pool.c
Printer.c
ProfHeap.c
ProfilerReport.c
ProfilerReportJson.c
Profiling.c
Proftimer.c
RaiseAsync.c
RetainerProfile.c
RetainerSet.c
RtsAPI.c
RtsDllMain.c
RtsFlags.c
RtsMain.c
RtsMessages.c
RtsStartup.c
RtsSymbolInfo.c
RtsSymbols.c
RtsUtils.c
STM.c
Schedule.c
Sparks.c
StableName.c
StablePtr.c
StaticPtrTable.c
Stats.c
StgCRun.c
StgPrimFloat.c
Task.c
ThreadLabels.c
ThreadPaused.c
Threads.c
Ticky.c
Timer.c
TopHandler.c
Trace.c
TraverseHeap.c
WSDeque.c
Weak.c
eventlog/EventLog.c
eventlog/EventLogWriter.c
hooks/FlagDefaults.c
hooks/LongGCSync.c
hooks/MallocFail.c
hooks/OnExit.c
hooks/OutOfHeap.c
hooks/StackOverflow.c
linker/CacheFlush.c
linker/Elf.c
linker/LoadArchive.c
linker/M32Alloc.c
linker/MachO.c
linker/PEi386.c
linker/SymbolExtras.c
linker/elf_got.c
linker/elf_plt.c
linker/elf_plt_aarch64.c
linker/elf_plt_arm.c
linker/elf_reloc.c
linker/elf_reloc_aarch64.c
linker/elf_util.c
sm/BlockAlloc.c
sm/CNF.c
sm/Compact.c
sm/Evac.c
sm/Evac_thr.c
sm/GC.c
sm/GCAux.c
sm/GCUtils.c
sm/MBlock.c
sm/MarkWeak.c
sm/NonMoving.c
sm/NonMovingCensus.c
sm/NonMovingMark.c
sm/NonMovingScav.c
sm/NonMovingShortcut.c
sm/NonMovingSweep.c
sm/Sanity.c
sm/Scav.c
sm/Scav_thr.c
sm/Storage.c
sm/Sweep.c
xxhash.c
fs.c
posix/GetEnv.c
posix/GetTime.c
posix/Itimer.c
posix/OSMem.c
posix/OSThreads.c
posix/Select.c
posix/Signals.c
posix/TTY.c
hs-source-dirs: .
extra-libraries:
m
rt
dl
pthread
numa
extra-bundled-libraries: Cffi
extra-library-flavours: _thr
include-dirs:
build ../includes includes includes/dist-derivedconstants/header
includes: Stg.h
install-includes:
Cmm.h HsFFI.h MachDeps.h Rts.h RtsAPI.h Stg.h ghcautoconf.h
ghcconfig.h ghcplatform.h ghcversion.h DerivedConstants.h ffi.h
ffitarget.h rts/Adjustor.h rts/BlockSignals.h rts/Bytecodes.h
rts/Config.h rts/Constants.h rts/EventLogFormat.h
rts/EventLogWriter.h rts/FileLock.h rts/Flags.h rts/GetTime.h
rts/Globals.h rts/Hpc.h rts/IOManager.h rts/Libdw.h rts/LibdwPool.h
rts/Linker.h rts/Main.h rts/Messages.h rts/NonMoving.h
rts/OSThreads.h rts/Parallel.h rts/PrimFloat.h rts/Profiling.h
rts/Signals.h rts/SpinLock.h rts/StableName.h rts/StablePtr.h
rts/StaticPtrTable.h rts/TTY.h rts/Threads.h rts/Ticky.h rts/Time.h
rts/Timer.h rts/Types.h rts/Utils.h rts/prof/CCS.h rts/prof/LDV.h
rts/storage/Block.h rts/storage/ClosureMacros.h
rts/storage/ClosureTypes.h rts/storage/Closures.h
rts/storage/FunTypes.h rts/storage/Heap.h rts/storage/GC.h
rts/storage/InfoTables.h rts/storage/MBlock.h rts/storage/TSO.h
stg/DLL.h stg/MachRegs.h stg/MachRegsForHost.h stg/MiscClosures.h
stg/Prim.h stg/Regs.h stg/SMP.h stg/Ticky.h stg/Types.h
ghc-options: -this-unit-id rts
Warning: 'include-dirs: ../includes' is a relative path outside of the source
tree. This will not work when generating a tarball with 'sdist'.
Warning: Packages using 'cabal-version: >= 1.10' must specify the
'default-language' field for each component (e.g. Haskell98 or Haskell2010).
If a component uses different languages in different modules then list the
other ones in the 'other-languages' field.
Warning: 'include-dirs: build' directory does not exist.
Warning: 'include-dirs: includes' directory does not exist.
Warning: 'include-dirs: includes/dist-derivedconstants/header' directory does
not exist.
/raid/stack/snapshots/x86_64-linux/a568bf87480abd77bf33fbd600cc328955f49ad404f62a924760508c84e8a13b/8.6.5/bin/alex --version
/raid/stack/snapshots/x86_64-linux/a568bf87480abd77bf33fbd600cc328955f49ad404f62a924760508c84e8a13b/8.6.5/bin/alex
is version 3.2.4
Searching for c2hs in path.
Cannot find c2hs on the path
Searching for cpphs in path.
Found cpphs at /home/niklas/.cabal/bin/cpphs
/home/niklas/.cabal/bin/cpphs --version
/home/niklas/.cabal/bin/cpphs is version 1.20.8
Searching for doctest in path.
Cannot find doctest on the path
/usr/bin/cc -dumpversion
/usr/bin/cc is version 7
Searching for ghcjs in path.
Cannot find ghcjs on the path
Searching for ghcjs-pkg in path.
Cannot find ghcjs-pkg on the path
Searching for greencard in path.
Cannot find greencard on the path
looking for tool haddock near compiler in
/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/bin
candidate locations:
["/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/bin/haddock"]
Searching for haddock in path.
Found haddock at /raid/stack/programs/x86_64-linux/ghc-8.6.5/bin/haddock
/raid/stack/programs/x86_64-linux/ghc-8.6.5/bin/haddock --version
/raid/stack/programs/x86_64-linux/ghc-8.6.5/bin/haddock is version 2.22.0
/raid/stack/snapshots/x86_64-linux/a568bf87480abd77bf33fbd600cc328955f49ad404f62a924760508c84e8a13b/8.6.5/bin/happy --version
/raid/stack/snapshots/x86_64-linux/a568bf87480abd77bf33fbd600cc328955f49ad404f62a924760508c84e8a13b/8.6.5/bin/happy
is version 1.19.12
Searching for hmake in path.
Cannot find hmake on the path
looking for tool hpc near compiler in
/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/bin
candidate locations:
["/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/bin/hpc"]
Searching for hpc in path.
Found hpc at /raid/stack/programs/x86_64-linux/ghc-8.6.5/bin/hpc
/raid/stack/programs/x86_64-linux/ghc-8.6.5/bin/hpc version
/raid/stack/programs/x86_64-linux/ghc-8.6.5/bin/hpc is version 0.67
looking for tool hsc2hs near compiler in
/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/bin
candidate locations:
["/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/bin/hsc2hs"]
found hsc2hs in
/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/bin/hsc2hs
/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/bin/hsc2hs --version
/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/bin/hsc2hs is version
0.68.6
Searching for HsColour in path.
Found HsColour at /usr/bin/HsColour
/usr/bin/HsColour -version
/usr/bin/HsColour is version 1.24
Searching for jhc in path.
Cannot find jhc on the path
Environment: [("COLORTERM","yes"),("DBUS_SESSION_BUS_ADDRESS","unix:path=/run/user/1000/bus"),("EDITOR","vim"),("FZF_CTRL_R_OPTS","--preview 'echo {}' --preview-window down:2"),("FZF_DEFAULT_OPTS","-e"),("HASKELL_DIST_DIR","/raid/src/ghc/ghc-rtsopt-disable-lazyfree/hadrian/.stack-work/dist/x86_64-linux/Cabal-2.4.0.1"),("HASKELL_PACKAGE_SANDBOX","/raid/stack/snapshots/x86_64-linux/a568bf87480abd77bf33fbd600cc328955f49ad404f62a924760508c84e8a13b/8.6.5/pkgdb"),("HASKELL_PACKAGE_SANDBOXES","/raid/src/ghc/ghc-rtsopt-disable-lazyfree/hadrian/.stack-work/install/x86_64-linux/a568bf87480abd77bf33fbd600cc328955f49ad404f62a924760508c84e8a13b/8.6.5/pkgdb:/raid/stack/snapshots/x86_64-linux/a568bf87480abd77bf33fbd600cc328955f49ad404f62a924760508c84e8a13b/8.6.5/pkgdb:"),("HOME","/home/niklas"),("ICAROOT","/home/niklas/opt/citrix-receiver"),("LANG","en_GB.UTF-8"),("LANGUAGE","en_GB"),("LC_ADDRESS","en_GB.UTF-8"),("LC_IDENTIFICATION","en_GB.UTF-8"),("LC_MEASUREMENT","en_GB.UTF-8"),("LC_MONETARY","en_GB.UTF-8"),("LC_NAME","en_GB.UTF-8"),("LC_NUMERIC","en_GB.UTF-8"),("LC_PAPER","en_GB.UTF-8"),("LC_TELEPHONE","en_GB.UTF-8"),("LC_TIME","en_GB.UTF-8"),("LESS_TERMCAP_mb","\ESC[01;31m"),("LESS_TERMCAP_md","\ESC[01;31m"),("LESS_TERMCAP_me","\ESC[0m"),("LESS_TERMCAP_se","\ESC[0m"),("LESS_TERMCAP_so","\ESC[01;44;33m"),("LESS_TERMCAP_ue","\ESC[0m"),("LESS_TERMCAP_us","\ESC[01;32m"),("LOGNAME","niklas"),("LS_COLORS","rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:"),("MAIL","/var/mail/niklas"),("MANPATH",":/home/niklas/.fzf/man"),("NIX_PATH","nixpkgs=/home/niklas/.nix-defexpr/channels/nixpkgs"),("NIX_SSL_CERT_FILE","/etc/ssl/certs/ca-certificates.crt"),("OLDPWD","/home/niklas/src/ghc/ghc-rtsopt-disable-lazyfree"),("PAGER","less"),("PAPERSIZE","a4"),("PATH","/raid/src/ghc/ghc-rtsopt-disable-lazyfree/hadrian/.stack-work/install/x86_64-linux/a568bf87480abd77bf33fbd600cc328955f49ad404f62a924760508c84e8a13b/8.6.5/bin:/raid/stack/snapshots/x86_64-linux/a568bf87480abd77bf33fbd600cc328955f49ad404f62a924760508c84e8a13b/8.6.5/bin:/raid/stack/compiler-tools/x86_64-linux/ghc-8.6.5/bin:/raid/stack/programs/x86_64-linux/ghc-8.6.5/bin:/home/niklas/.pyenv/shims:/home/niklas/.pyenv/bin:/home/niklas/opt/flutter/bin:/home/niklas/src/arc/arcanist/bin:/home/niklas/.cargo/bin:/home/niklas/.cabal/bin:/home/niklas/.local/bin:/home/niklas/bin:/home/niklas/opt/i3/bin:/home/niklas/.nix-profile/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/niklas/.fzf/bin"),("PYENV_ROOT","/home/niklas/.pyenv"),("PYENV_SHELL","zsh"),("SHELL","/bin/zsh"),("SHLVL","2"),("SSH_AUTH_SOCK","/tmp/ssh-W184iiDsLF/agent.6507"),("SSH_CLIENT","10.51.0.1 57728 22"),("SSH_CONNECTION","10.51.0.1 57728 10.51.0.2 22"),("SSH_TTY","/dev/pts/0"),("STACK_EXE","/home/niklas/.local/bin/stack"),("TERM","xterm-256color"),("USER","niklas"),("XDG_RUNTIME_DIR","/run/user/1000"),("XDG_SESSION_ID","38941"),("_","/home/niklas/.local/bin/stack")]
/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/bin/ghc -hide-all-packages -c /tmp/13537-0.c -o /tmp/13537-1.o '-ghcversion-file=/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage1/lib/ghcversion.h'
("_ghcPartLen",63165)
/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/lib/package.conf.d/package.cache: GHC.PackageDb.readPackageDb: inappropriate type (not enough bytes)
/raid/src/ghc/ghc-rtsopt-disable-lazyfree/_build/stage0/bin/ghc returned
ExitFailure 1
Error when running Shake build system:
at action, called at src/Rules.hs:71:19 in main:Rules
at need, called at src/Rules.hs:93:5 in main:Rules
* Depends on: _build/stage1/lib/package.conf.d/rts-1.0.conf
at apply1, called at src/Development/Shake/Internal/Rules/Oracle.hs:159:32 in shake-0.18.3-K6N2eLzVtai6jtZeWAmEIo:Development.Shake.Internal.Rules.Oracle
* Depends on: OracleQ (ContextDataKey (Context {stage = Stage1, package = Package {pkgType = Library, pkgName = "rts", pkgPath = "rts"}, way = v}))
at need, called at src/Hadrian/Oracles/Cabal/Rules.hs:53:9 in main:Hadrian.Oracles.Cabal.Rules
* Depends on: _build/stage1/rts/setup-config
* Raised the exception:
ExitFailure 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment