Skip to content

Instantly share code, notes, and snippets.

@thefloweringash
Created February 15, 2020 12:42
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 thefloweringash/f9446c04fa8e797838e996614d58b023 to your computer and use it in GitHub Desktop.
Save thefloweringash/f9446c04fa8e797838e996614d58b023 to your computer and use it in GitHub Desktop.
ghc asplode
$ nix-build -A haskellPackages.ghc --keep-going
these derivations will be built:
/nix/store/j1c47nc64cf8l5521j0w9smmqwrds56h-hscolour-1.24.4.drv
/nix/store/5zgj1zl61aivb0alrsgqbjfmccq6865p-mtl-2.2.2.drv
/nix/store/cpfzspyl79pv24g7j2srxca1r4nz2rg0-happy-1.19.12.drv
/nix/store/b5sb5gcmybwyckkpnpmf8ad5qwagd8my-alex-3.2.5.drv
/nix/store/w5zczif8878nkc3s49q27rwmgbg8p2vs-hscolour-1.24.4.drv
/nix/store/sqhzn2mzbh18xgyvdg74gyipc6hpknk8-ghc-8.6.5.drv
building '/nix/store/j1c47nc64cf8l5521j0w9smmqwrds56h-hscolour-1.24.4.drv'...
setupCompilerEnvironmentPhase
Build with /nix/store/fqg9kqszzw7qpr23mqm6ai14idf3rc3k-ghc-8.2.2-binary.
/nix/store/fqg9kqszzw7qpr23mqm6ai14idf3rc3k-ghc-8.2.2-binary/lib/ghc-8.2.2/bin/ghc-pkg: /nix/store/izc16y596pdrk2zry7w2cd7z2wnl6lbn-ncurses-6.1-20190112-abi5-compat/lib/libtinfo.so.5: no version information available (required by /nix/store/fqg9kqszzw7qpr23mqm6ai14idf3rc3k-ghc-8.2.2-binary/lib/ghc-8.2.2/bin/ghc-pkg)
/nix/store/fqg9kqszzw7qpr23mqm6ai14idf3rc3k-ghc-8.2.2-binary/lib/ghc-8.2.2/bin/ghc-pkg: /nix/store/izc16y596pdrk2zry7w2cd7z2wnl6lbn-ncurses-6.1-20190112-abi5-compat/lib/libtinfo.so.5: no version information available (required by /nix/store/fqg9kqszzw7qpr23mqm6ai14idf3rc3k-ghc-8.2.2-binary/lib/ghc-8.2.2/bin/../terminfo-0.4.1.0/libHSterminfo-0.4.1.0-ghc8.2.2.so)
/nix/store/fqg9kqszzw7qpr23mqm6ai14idf3rc3k-ghc-8.2.2-binary/lib/ghc-8.2.2/bin/ghc-pkg: /nix/store/izc16y596pdrk2zry7w2cd7z2wnl6lbn-ncurses-6.1-20190112-abi5-compat/lib/libtinfo.so.5: no version information available (required by /nix/store/fqg9kqszzw7qpr23mqm6ai14idf3rc3k-ghc-8.2.2-binary/lib/ghc-8.2.2/bin/ghc-pkg)
/nix/store/fqg9kqszzw7qpr23mqm6ai14idf3rc3k-ghc-8.2.2-binary/lib/ghc-8.2.2/bin/ghc-pkg: /nix/store/izc16y596pdrk2zry7w2cd7z2wnl6lbn-ncurses-6.1-20190112-abi5-compat/lib/libtinfo.so.5: no version information available (required by /nix/store/fqg9kqszzw7qpr23mqm6ai14idf3rc3k-ghc-8.2.2-binary/lib/ghc-8.2.2/bin/../terminfo-0.4.1.0/libHSterminfo-0.4.1.0-ghc8.2.2.so)
unpacking sources
unpacking source archive /nix/store/vbcisx90wrx657pa1iapmk38wvrv9p6p-hscolour-1.24.4.tar.gz
source root is hscolour-1.24.4
setting SOURCE_DATE_EPOCH to timestamp 1512069381 of file hscolour-1.24.4/Setup.hs
patching sources
compileBuildDriverPhase
setupCompileFlags: -package-db=/build/setup-package.conf.d -j4 -threaded
/nix/store/fqg9kqszzw7qpr23mqm6ai14idf3rc3k-ghc-8.2.2-binary/lib/ghc-8.2.2/bin/ghc: /nix/store/izc16y596pdrk2zry7w2cd7z2wnl6lbn-ncurses-6.1-20190112-abi5-compat/lib/libtinfo.so.5: no version information available (required by /nix/store/fqg9kqszzw7qpr23mqm6ai14idf3rc3k-ghc-8.2.2-binary/lib/ghc-8.2.2/bin/../haskeline-0.7.4.0/libHShaskeline-0.7.4.0-ghc8.2.2.so)
/nix/store/fqg9kqszzw7qpr23mqm6ai14idf3rc3k-ghc-8.2.2-binary/lib/ghc-8.2.2/bin/ghc: /nix/store/izc16y596pdrk2zry7w2cd7z2wnl6lbn-ncurses-6.1-20190112-abi5-compat/lib/libtinfo.so.5: no version information available (required by /nix/store/fqg9kqszzw7qpr23mqm6ai14idf3rc3k-ghc-8.2.2-binary/lib/ghc-8.2.2/bin/../ghc-8.2.2/libHSghc-8.2.2-ghc8.2.2.so)
/nix/store/fqg9kqszzw7qpr23mqm6ai14idf3rc3k-ghc-8.2.2-binary/lib/ghc-8.2.2/bin/ghc: /nix/store/izc16y596pdrk2zry7w2cd7z2wnl6lbn-ncurses-6.1-20190112-abi5-compat/lib/libtinfo.so.5: no version information available (required by /nix/store/fqg9kqszzw7qpr23mqm6ai14idf3rc3k-ghc-8.2.2-binary/lib/ghc-8.2.2/bin/../terminfo-0.4.1.0/libHSterminfo-0.4.1.0-ghc8.2.2.so)
[1 of 1] Compiling Main ( Setup.hs, /build/Main.o )
<no location info>: error:
Warning: Couldn't figure out LLVM version!
Make sure you have installed LLVM 3.9
<no location info>: error: ghc: could not execute: opt
builder for '/nix/store/j1c47nc64cf8l5521j0w9smmqwrds56h-hscolour-1.24.4.drv' failed with exit code 1
cannot build derivation '/nix/store/w5zczif8878nkc3s49q27rwmgbg8p2vs-hscolour-1.24.4.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/5zgj1zl61aivb0alrsgqbjfmccq6865p-mtl-2.2.2.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/cpfzspyl79pv24g7j2srxca1r4nz2rg0-happy-1.19.12.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/b5sb5gcmybwyckkpnpmf8ad5qwagd8my-alex-3.2.5.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/sqhzn2mzbh18xgyvdg74gyipc6hpknk8-ghc-8.6.5.drv': 3 dependencies couldn't be built
error: build of '/nix/store/sqhzn2mzbh18xgyvdg74gyipc6hpknk8-ghc-8.6.5.drv' failed
@thefloweringash
Copy link
Author

thefloweringash commented Feb 15, 2020

This is amusing, 4 distinct hscolour builds.

$ nix-build -A haskellPackages.hscolour
these derivations will be built:
  /nix/store/j1c47nc64cf8l5521j0w9smmqwrds56h-hscolour-1.24.4.drv
  /nix/store/5zgj1zl61aivb0alrsgqbjfmccq6865p-mtl-2.2.2.drv
  /nix/store/cpfzspyl79pv24g7j2srxca1r4nz2rg0-happy-1.19.12.drv
  /nix/store/b5sb5gcmybwyckkpnpmf8ad5qwagd8my-alex-3.2.5.drv
  /nix/store/w5zczif8878nkc3s49q27rwmgbg8p2vs-hscolour-1.24.4.drv
  /nix/store/sqhzn2mzbh18xgyvdg74gyipc6hpknk8-ghc-8.6.5.drv
  /nix/store/p9mkx1b8vbwkf51s06nf0m7b0qqbz66n-hscolour-1.24.4.drv
  /nix/store/r8xqxazii88z1in52xra31pznscrwhcj-hscolour-1.24.4.drv

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