Skip to content

Instantly share code, notes, and snippets.

@isovector
Created March 22, 2019 22:10
Show Gist options
  • Save isovector/9354f6e0070efe8890b4d4f53366ae29 to your computer and use it in GitHub Desktop.
Save isovector/9354f6e0070efe8890b4d4f53366ae29 to your computer and use it in GitHub Desktop.
$ stack exec --resolver=lts-13.0 ./hadrian/ghci.sh
GHCi, version 8.6.3: http://www.haskell.org/ghc/ :? for help
Warning: the following files would be used as linker inputs, but linking is not being done: 2.2
Warning: ignoring unrecognised input `2.2'
target ‘version’ is not a module name or a source file
Prelude> :load /home/sandy/prj/ghc/compiler/specialise/Specialise.hs
/home/sandy/prj/ghc/compiler/specialise/Specialise.hs:11:2: error:
fatal error: HsVersions.h: No such file or directory
^
|
11 |
| ^
compilation terminated.
`gcc' failed in phase `C pre-processor'. (Exit code: 1)
@isovector
Copy link
Author

./hadrian/ghci.sh                                                             19:09
++ TERM=dumb
++ CABFLAGS=-v0
++ . hadrian/build.cabal.sh tool-args -q --build-root=.hadrian_ghci --flavour=ghc-in-ghci
+++ CABAL=cabal
+++ CABFLAGS='--disable-documentation --disable-profiling --disable-library-profiling -v0'
+++ PROJ=/home/sandy/prj/ghc/hadrian/cabal.project
+++ '[' -f /home/sandy/prj/ghc/hadrian/cabal.project ']'
+++ type cabal
++++ cabal --numeric-version
+++ CABVERSTR=2.4.1.0
+++ CABVER=(${CABVERSTR//./ })
+++ '[' 2 -gt 2 -o 2 -eq 2 -a 4 -ge 2 ']'
+++ cabal --project-file=/home/sandy/prj/ghc/hadrian/cabal.project new-build --disable-documentation --disable-profiling --disable-library-profiling -v0 -j exe:hadrian
cabal: Could not resolve dependencies:
[__0] trying: hadrian-0.1.0.0 (user goal)
[__1] unknown package: unordered-containers (dependency of hadrian)
[__1] fail (backjumping, conflict set: hadrian, unordered-containers)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: hadrian, unordered-containers

+++ cabal --project-file=/home/sandy/prj/ghc/hadrian/cabal.project new-exec --disable-documentation --disable-profiling --disable-library-profiling -v0 hadrian -- --directory /home/sandy/prj/ghc tool-args -q --build-root=.hadrian_ghci --flavour=ghc-in-ghci
cabal: Could not resolve dependencies:
[__0] trying: hadrian-0.1.0.0 (user goal)
[__1] unknown package: unordered-containers (dependency of hadrian)
[__1] fail (backjumping, conflict set: hadrian, unordered-containers)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: hadrian, unordered-containers

+ GHC_FLAGS=

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment