nh2 / static-haskell-nix

easily build most Haskell programs into fully static Linux executables
389 stars 35 forks source link

Building all Stackage executables #4

Closed nh2 closed 6 years ago

nh2 commented 6 years ago

I plan to build as many executables from Stackage as possible, statically.

This is to

nh2 commented 6 years ago

Output of the first try at this commit:

https://github.com/nh2/static-haskell-nix/blob/09d0eaa605111ea516dfaa0e7341a71ff1a63042/survey/default.nix#L257-L259

% NIX_PATH=nixpkgs=$HOME/src/nixpkgs nice -n19 nix build --no-link --file survey/default.nix allStackageExecutables --keep-going

builder for '/nix/store/vaadmm3x0mqqxv94whv3my0k6qwhnysh-barrier-0.1.1.drv' failed with exit code 1; last 10 log lines:
    die', called at ./Distribution/Simple/Configure.hs:966:20 in Cabal-2.2.0.1-302vnEvwKgd3FEKLIV6HbI:Distribution.Simple.Configure
    configureFinalizedPackage, called at ./Distribution/Simple/Configure.hs:467:12 in Cabal-2.2.0.1-302vnEvwKgd3FEKLIV6HbI:Distribution.Simple.Configure
    configure, called at ./Distribution/Simple.hs:596:20 in Cabal-2.2.0.1-302vnEvwKgd3FEKLIV6HbI:Distribution.Simple
    confHook, called at ./Distribution/Simple/UserHooks.hs:67:5 in Cabal-2.2.0.1-302vnEvwKgd3FEKLIV6HbI:Distribution.Simple.UserHooks
    configureAction, called at ./Distribution/Simple.hs:178:19 in Cabal-2.2.0.1-302vnEvwKgd3FEKLIV6HbI:Distribution.Simple
    defaultMainHelper, called at ./Distribution/Simple.hs:115:27 in Cabal-2.2.0.1-302vnEvwKgd3FEKLIV6HbI:Distribution.Simple
    defaultMain, called at Setup.hs:2:8 in main:Main
  Setup: Encountered missing dependencies:
  tasty >=0.10 && <0.12

[13/65/1087 built (1 failed), 167 copied (793.7 MiB), 210.7 MiB DL] building check-0.12.0 on ssh://root@corp[12/71/1087 built (1 failed), 183 copied (831.3 MiB), 210.7 MiB DL] building [13/75/1087 built (1 failed), 195 copied (1050.6 MiB), 210.7 MiB DL] building concurrent-supply-0.1.8 on ssh://root@remote-buildererror: build of '/nix/store/s7rmz7zkgyyqnvgwc5zcmvb97ps47pqw-doctest-discover-0.1.0.9.drv' on 'ssh://root@remote-builder' failed: builder for ‘/nix/store/s7rmz7zkgyyqnvgwc5zcmvb97ps47pqw-doctest-discover-0.1.0.9.drv’ failed with exit code 1
builder for '/nix/store/s7rmz7zkgyyqnvgwc5zcmvb97ps47pqw-doctest-discover-0.1.0.9.drv' failed with exit code 1; last 10 log lines:
  No uhc found
  building
  Preprocessing library for doctest-discover-0.1.0.9..
  Building library for doctest-discover-0.1.0.9..
  ignoring (possibly broken) abi-depends field for packages
  Preprocessing test suite 'doctests' for doctest-discover-0.1.0.9..
  Building test suite 'doctests' for doctest-discover-0.1.0.9..
  doctest-discover: config.json: openFile: does not exist (No such file or directory)
  `doctest-discover' failed in phase `Haskell pre-processor'. (Exit code: 1)
  builder for ‘/nix/store/s7rmz7zkgyyqnvgwc5zcmvb97ps47pqw-doctest-discover-0.1.0.9.drv’ failed with exit code 1
builder for '/nix/store/axg62zra6a7w9ms9cyj9xcw4zxsxg4f7-doctest-driver-gen-0.2.0.3.drv' failed with exit code 1; last 10 log lines:
  Building library for doctest-driver-gen-0.2.0.3..
  [1 of 1] Compiling Test.DocTest.Gen ( src/Test/DocTest/Gen.hs, dist/build/Test/DocTest/Gen.o )
  ignoring (possibly broken) abi-depends field for packages
  Preprocessing executable 'doctest-driver-gen' for doctest-driver-gen-0.2.0.3..
  Building executable 'doctest-driver-gen' for doctest-driver-gen-0.2.0.3..
  [1 of 1] Compiling Main             ( app/Main.hs, dist/build/doctest-driver-gen/doctest-driver-gen-tmp/Main.o )
  Linking dist/build/doctest-driver-gen/doctest-driver-gen ...
  Preprocessing test suite 'doctest-driver-gen-test' for doctest-driver-gen-0.2.0.3..
  Building test suite 'doctest-driver-gen-test' for doctest-driver-gen-0.2.0.3..
  ghc: could not execute: doctest-driver-gen
builder for '/nix/store/p99zqjizf08dwddhl7szn180krzkv7cw-doctest-driver-gen-0.2.0.3.drv' failed with exit code 1; last 10 log lines:
  [1 of 1] Compiling Test.DocTest.Gen ( src/Test/DocTest/Gen.hs, dist/build/Test/DocTest/Gen.o )
  [1 of 1] Compiling Test.DocTest.Gen ( src/Test/DocTest/Gen.hs, dist/build/Test/DocTest/Gen.p_o )
  ignoring (possibly broken) abi-depends field for packages
  Preprocessing executable 'doctest-driver-gen' for doctest-driver-gen-0.2.0.3..
  Building executable 'doctest-driver-gen' for doctest-driver-gen-0.2.0.3..
  [1 of 1] Compiling Main             ( app/Main.hs, dist/build/doctest-driver-gen/doctest-driver-gen-tmp/Main.o )
  Linking dist/build/doctest-driver-gen/doctest-driver-gen ...
  Preprocessing test suite 'doctest-driver-gen-test' for doctest-driver-gen-0.2.0.3..
  Building test suite 'doctest-driver-gen-test' for doctest-driver-gen-0.2.0.3..
  ghc: could not execute: doctest-driver-gen
cannot build derivation '/nix/store/wxj36vh8qzp2d0slj484b4p651yksx1f-simple-vec3-0.4.0.7.drv': 1 dependencies couldn't be built
builder for '/nix/store/zs1vlm9npb8sx9bplprnk9p4rag88gbj-ersatz-0.4.3.drv' failed with exit code 1; last 10 log lines:
  source root is ersatz-0.4.3
  setting SOURCE_DATE_EPOCH to timestamp 1530654970 of file ersatz-0.4.3/travis/config
  patching sources
  compileBuildDriverPhase
  setupCompileFlags: -package-db=/tmp/nix-build-ersatz-0.4.3.drv-0/setup-package.conf.d -j4 -threaded
  [1 of 1] Compiling Main             ( Setup.lhs, /tmp/nix-build-ersatz-0.4.3.drv-0/Main.o )
  Linking Setup ...
  configuring
  configureFlags: --verbose --prefix=/nix/store/z1xfi680w9c6m34zaqzfna99jkz18aya-ersatz-0.4.3 --libdir=$prefix/$compiler --libsubdir=$pkgid --datadir=/nix/store/x2rfyslhfwlafp3kldmr075n5l3j4vpr-ersatz-0.4.3-data/share/ghc-8.4.3 --docdir=/nix/store/b85f9iymffi4zh7plkfv1mcg6996jr15-ersatz-0.4.3-doc/share/doc/ersatz-0.4.3 --with-gcc=gcc --package-db=/tmp/nix-build-ersatz-0.4.3.drv-0/package.conf.d --ghc-option=-j4 --disable-split-objs --disable-library-profiling --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --enable-tests --enable-library-vanilla --enable-library-for-ghci --ghc-option=-split-sections --enable-executable-static --extra-lib-dirs=/nix/store/5iymhqki24s9rr97xzq51mmiqm4b12a8-gmp-6.1.2/lib --extra-lib-dirs=/nix/store/gqnp2vc9apmjx86a6j57g8iip6nawx51-zlib-1.2.11-static/lib --extra-lib-dirs=/nix/store/i9b8pkiaj96xx687i1vq964swr8s56jh-ncurses-6.1/lib --extra-lib-dirs=/nix/store/1xwbnc903gymfi99zpvj8mdp5601yqz6-ncurses-6.1/lib --extra-lib-dirs=/nix/store/254rgj92dhkyg7sydb7al65gflnyjd7b-gmp-6.1.2/lib --extra-include-dirs=/nix/store/89lj7wjp81pbg4wv2yf8fwm4p5dzq27b-musl-iconv-1.1.19/include --extra-lib-dirs=/nix/store/hfi080vzqqzfip6bd6x4cxc2jgj56xn3-ghc-8.4.3/lib
  unrecognized 'configure' option `--enable-executable-static'
warning: rewriting hashes in '/nix/store/raj4h43rh11lxwnqsdmfb99az9dsgdh3-expat-2.2.5-dev'; cross fingers
unable to open SSH connection to 'ssh://root@remote-builder': cannot connect to 'root@remote-builder'; trying other available machines...
warning: dumping very large path (> 256 MiB); this may run out of memory
error: build of '/nix/store/48haxah3sd16y0k8xrvpg4vzg3q0yrf5-rcu-0.2.2.drv' on 'ssh://root@remote-builderm' failed: builder for '/nix/store/48haxah3sd16y0k8xrvpg4vzg3q0yrf5-rcu-0.2.2.drv' failed with exit code 1
builder for '/nix/store/48haxah3sd16y0k8xrvpg4vzg3q0yrf5-rcu-0.2.2.drv' failed with exit code 1; last 10 log lines:
  patching sources
  Replace Cabal file with edited version from http://hackage.haskell.org/package/rcu-0.2.2/revision/4.cabal.
  compileBuildDriverPhase
  setupCompileFlags: -package-db=/tmp/nix-build-rcu-0.2.2.drv-0/setup-package.conf.d -j1 -threaded
  [1 of 1] Compiling Main             ( Setup.lhs, /tmp/nix-build-rcu-0.2.2.drv-0/Main.o )
  Linking Setup ...
  configuring
  configureFlags: --verbose --prefix=/nix/store/mm38mm996d7z6bk7ylpn2w3qbhlqqvrv-rcu-0.2.2 --libdir=$prefix/$compiler --libsubdir=$pkgid --docdir=/nix/store/r3vscq2nli09wnafdg7zb2y0zb72gx6h-rcu-0.2.2-doc/share/doc/rcu-0.2.2 --with-gcc=gcc --package-db=/tmp/nix-build-rcu-0.2.2.drv-0/package.conf.d --ghc-option=-j1 --disable-split-objs --disable-library-profiling --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --enable-tests --enable-library-vanilla --enable-library-for-ghci --ghc-option=-split-sections --enable-executable-static --extra-lib-dirs=/nix/store/5iymhqki24s9rr97xzq51mmiqm4b12a8-gmp-6.1.2/lib --extra-lib-dirs=/nix/store/gqnp2vc9apmjx86a6j57g8iip6nawx51-zlib-1.2.11-static/lib --extra-lib-dirs=/nix/store/i9b8pkiaj96xx687i1vq964swr8s56jh-ncurses-6.1/lib --extra-lib-dirs=/nix/store/1xwbnc903gymfi99zpvj8mdp5601yqz6-ncurses-6.1/lib --extra-lib-dirs=/nix/store/254rgj92dhkyg7sydb7al65gflnyjd7b-gmp-6.1.2/lib --extra-include-dirs=/nix/store/89lj7wjp81pbg4wv2yf8fwm4p5dzq27b-musl-iconv-1.1.19/include --extra-lib-dirs=/nix/store/hfi080vzqqzfip6bd6x4cxc2jgj56xn3-ghc-8.4.3/lib
  unrecognized 'configure' option `--enable-executable-static'
  builder for '/nix/store/48haxah3sd16y0k8xrvpg4vzg3q0yrf5-rcu-0.2.2.drv' failed with exit code 1
error: build of '/nix/store/2g84v9f7fw0x4l53kny87ry3pl97100s-hsyslog-5.0.1.drv' on 'ssh://root@remote-builderm' failed: builder for '/nix/store/2g84v9f7fw0x4l53kny87ry3pl97100s-hsyslog-5.0.1.drv' failed with exit code 1
builder for '/nix/store/2g84v9f7fw0x4l53kny87ry3pl97100s-hsyslog-5.0.1.drv' failed with exit code 1; last 10 log lines:
  setting SOURCE_DATE_EPOCH to timestamp 1499429107 of file hsyslog-5.0.1/test/doctests.hs
  patching sources
  compileBuildDriverPhase
  setupCompileFlags: -package-db=/tmp/nix-build-hsyslog-5.0.1.drv-0/setup-package.conf.d -j1 -threaded
  [1 of 1] Compiling Main             ( Setup.hs, /tmp/nix-build-hsyslog-5.0.1.drv-0/Main.o )
  Linking Setup ...
  configuring
  configureFlags: --verbose --prefix=/nix/store/wpcdqg1z2xyyydl8knb67wzxc2qp65hp-hsyslog-5.0.1 --libdir=$prefix/$compiler --libsubdir=$pkgid --docdir=/nix/store/a4vg94i9hcb678d3msnxn92rwv9cxljg-hsyslog-5.0.1-doc/share/doc/hsyslog-5.0.1 --with-gcc=gcc --package-db=/tmp/nix-build-hsyslog-5.0.1.drv-0/package.conf.d --ghc-option=-j1 --disable-split-objs --disable-library-profiling --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --enable-tests --enable-library-vanilla --enable-library-for-ghci --ghc-option=-split-sections --enable-executable-static --extra-lib-dirs=/nix/store/5iymhqki24s9rr97xzq51mmiqm4b12a8-gmp-6.1.2/lib --extra-lib-dirs=/nix/store/gqnp2vc9apmjx86a6j57g8iip6nawx51-zlib-1.2.11-static/lib --extra-lib-dirs=/nix/store/i9b8pkiaj96xx687i1vq964swr8s56jh-ncurses-6.1/lib --extra-lib-dirs=/nix/store/1xwbnc903gymfi99zpvj8mdp5601yqz6-ncurses-6.1/lib --extra-lib-dirs=/nix/store/254rgj92dhkyg7sydb7al65gflnyjd7b-gmp-6.1.2/lib --extra-include-dirs=/nix/store/89lj7wjp81pbg4wv2yf8fwm4p5dzq27b-musl-iconv-1.1.19/include --extra-lib-dirs=/nix/store/hfi080vzqqzfip6bd6x4cxc2jgj56xn3-ghc-8.4.3/lib
  unrecognized 'configure' option `--enable-executable-static'
  builder for '/nix/store/2g84v9f7fw0x4l53kny87ry3pl97100s-hsyslog-5.0.1.drv' failed with exit code 1
error: build of '/nix/store/bwjngag7g9bg44s30d6lajhskrlr57z4-dotenv-0.5.2.5.drv' on 'ssh://root@remote-builder' failed: builder for ‘/nix/store/bwjngag7g9bg44s30d6lajhskrlr57z4-dotenv-0.5.2.5.drv’ failed with exit code 1
builder for '/nix/store/bwjngag7g9bg44s30d6lajhskrlr57z4-dotenv-0.5.2.5.drv' failed with exit code 1; last 10 log lines:
         uncaught exception: IOException of type OtherError
         readCreateProcess: whoami (exit 127): failed

    To rerun use: --match "/Configuration.Dotenv/onMissingFile/when target file is present/loading works as usual/"

  Randomized with seed 1704360025

  Finished in 0.0186 seconds
  55 examples, 11 failures
  Test suite dotenv-test: FAIL
[13/286/1079 built (8 failed), 932 copied (3749.2 MiB), 210.7 MiB DL] building gsl-2.5 (buildPhase): libtoolerror: build of '/nix/store/zligqfldcdr7qiwpwmh9s7x8i2zrli9q-influxdb-1.6.0.6.drv' on 'ssh://root@remote-builderm' failed: builder for '/nix/store/zligqfldcdr7qiwpwmh9s7x8i2zrli9q-influxdb-1.6.0.6.drv' failed with exit code 1
builder for '/nix/store/zligqfldcdr7qiwpwmh9s7x8i2zrli9q-influxdb-1.6.0.6.drv' failed with exit code 1; last 10 log lines:
  setting SOURCE_DATE_EPOCH to timestamp 1530915424 of file influxdb-1.6.0.6/tests/test-suite.hs
  patching sources
  compileBuildDriverPhase
  setupCompileFlags: -package-db=/tmp/nix-build-influxdb-1.6.0.6.drv-0/setup-package.conf.d -j1 -threaded
  [1 of 1] Compiling Main             ( Setup.hs, /tmp/nix-build-influxdb-1.6.0.6.drv-0/Main.o )
  Linking Setup ...
  configuring
  configureFlags: --verbose --prefix=/nix/store/c2msgxccwl3gahbx6c8sbvrhs3y8967i-influxdb-1.6.0.6 --libdir=$prefix/$compiler --libsubdir=$pkgid --docdir=/nix/store/y65vw16z8jvga2cbschdrdhcdfc0ff23-influxdb-1.6.0.6-doc/share/doc/influxdb-1.6.0.6 --with-gcc=gcc --package-db=/tmp/nix-build-influxdb-1.6.0.6.drv-0/package.conf.d --ghc-option=-j1 --disable-split-objs --disable-library-profiling --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --disable-tests --enable-library-vanilla --enable-library-for-ghci --ghc-option=-split-sections --enable-executable-static --extra-lib-dirs=/nix/store/5iymhqki24s9rr97xzq51mmiqm4b12a8-gmp-6.1.2/lib --extra-lib-dirs=/nix/store/gqnp2vc9apmjx86a6j57g8iip6nawx51-zlib-1.2.11-static/lib --extra-lib-dirs=/nix/store/i9b8pkiaj96xx687i1vq964swr8s56jh-ncurses-6.1/lib --extra-lib-dirs=/nix/store/1xwbnc903gymfi99zpvj8mdp5601yqz6-ncurses-6.1/lib --extra-lib-dirs=/nix/store/254rgj92dhkyg7sydb7al65gflnyjd7b-gmp-6.1.2/lib --extra-include-dirs=/nix/store/89lj7wjp81pbg4wv2yf8fwm4p5dzq27b-musl-iconv-1.1.19/include
  unrecognized 'configure' option `--enable-executable-static'
  builder for '/nix/store/zligqfldcdr7qiwpwmh9s7x8i2zrli9q-influxdb-1.6.0.6.drv' failed with exit code 1
error: build of '/nix/store/6j7j5zxyf2s9cha8zrlgacibpkkh7v08-lens-regex-0.1.0.drv' on 'ssh://root@remote-builderm' failed: builder for '/nix/store/6j7j5zxyf2s9cha8zrlgacibpkkh7v08-lens-regex-0.1.0.drv' failed with exit code 1
builder for '/nix/store/6j7j5zxyf2s9cha8zrlgacibpkkh7v08-lens-regex-0.1.0.drv' failed with exit code 1; last 10 log lines:
  Linking dist/build/doctests/doctests ...
  running tests
  Running 1 test suites...
  Test suite doctests: RUNNING...
  doctests: /nix/store/hfi080vzqqzfip6bd6x4cxc2jgj56xn3-ghc-8.4.3/lib/ghc-8.4.3/ghc-prim-0.5.2.0/HSghc-prim-0.5.2.0.o: unknown symbol `exp'
  doctests: doctests: unable to load package `ghc-prim-0.5.2.0'
  Test suite doctests: FAIL
  Test suite logged to: dist/test/lens-regex-0.1.0-doctests.log
  0 of 1 test suites (0 of 1 test cases) passed.
  builder for '/nix/store/6j7j5zxyf2s9cha8zrlgacibpkkh7v08-lens-regex-0.1.0.drv' failed with exit code 1
warning: rewriting hashes in '/nix/store/h28cvdlr139hkyamlm70y7vkl9b0fnjy-libatomic_ops-7.6.4-dev'; cross fingers
warning: rewriting hashes in '/nix/store/x2gxqb1b2yvx0dpf2ladmigcx8kry2kd-libatomic_ops-7.6.4-doc'; cross fingers
[13/326/1077 built (10 failed), 1/1063/1064 copied (4019.1 MiB), 210.7 MiB DL] building libevent-2.1.8 on ss[13/326/1077 built (10 failed), 1/1063/1064 copied (4019.1 MiB), 210.7 MiB DLerror: build of '/nix/store/8xhcklfilx02xw63x7qfzdf3dj7ks0f0-leveldb-haskell-0.6.5.drv' on 'ssh://root@remote-builder' failed: builder for '/nix/store/8xhcklfilx02xw63x7qfzdf3dj7ks0f0-leveldb-haskell-0.6.5.drv' failed with exit code 1
builder for '/nix/store/8xhcklfilx02xw63x7qfzdf3dj7ks0f0-leveldb-haskell-0.6.5.drv' failed with exit code 1; last 10 log lines:
  (.text+0x30b): undefined reference to `operator new[](unsigned long)'
  (.text+0x353): undefined reference to `operator delete[](void*)'
  (.text+0x378): undefined reference to `operator delete[](void*)'
  (.text+0x3e8): undefined reference to `operator delete[](void*)'
  (.text+0x440): undefined reference to `operator delete[](void*)'
  (.text+0x467): undefined reference to `operator delete[](void*)'
  /nix/store/rar4awlxi8yba65m696vv9zzw8ap0h8b-leveldb-1.18/lib/libleveldb.a(format.o):(.text+0x49f): more undefined references to `operator delete[](void*)' follow
  collect2: error: ld returned 1 exit status
  `cc' failed in phase `Linker'. (Exit code: 1)
  builder for '/nix/store/8xhcklfilx02xw63x7qfzdf3dj7ks0f0-leveldb-haskell-0.6.5.drv' failed with exit code 1
[13/330/1076 built (11 failed), 1077 copied (4209.0 MiB), 210.7 MiB DL] building libmad-0.15.1b on ssh://roowarning: dumping very large path (> 256 MiB); this may run out of memory
[13/353/1076 built (11 failed), 1/1128/1132 copied (4683.5 MiB), 210.7 MiB DL] building libbfd-2.30 on ssh:/warning: rewriting hashes in '/nix/store/nbvmb52bsl5p897b8bfsg8lqyili91vg-libssh2-1.8.0-dev'; cross fingers
warning: rewriting hashes in '/nix/store/cqh19k2cs4bcfynqq69688ynd5pdwjx8-libssh2-1.8.0-devdoc'; cross fingers
builder for '/nix/store/s4kn9mwpc60pxs5mivmk260gdl3ja847-haskell-tools-rewrite-1.1.0.1.drv' failed with exit code 1; last 10 log lines:
    die', called at libraries/Cabal/Cabal/Distribution/Simple/Configure.hs:958:20 in Cabal-2.2.0.1:Distribution.Simple.Configure
    configureFinalizedPackage, called at libraries/Cabal/Cabal/Distribution/Simple/Configure.hs:462:12 in Cabal-2.2.0.1:Distribution.Simple.Configure
    configure, called at libraries/Cabal/Cabal/Distribution/Simple.hs:596:20 in Cabal-2.2.0.1:Distribution.Simple
    confHook, called at libraries/Cabal/Cabal/Distribution/Simple/UserHooks.hs:67:5 in Cabal-2.2.0.1:Distribution.Simple.UserHooks
    configureAction, called at libraries/Cabal/Cabal/Distribution/Simple.hs:178:19 in Cabal-2.2.0.1:Distribution.Simple
    defaultMainHelper, called at libraries/Cabal/Cabal/Distribution/Simple.hs:115:27 in Cabal-2.2.0.1:Distribution.Simple
    defaultMain, called at Setup.hs:2:8 in main:Main
  Setup: Encountered missing dependencies:
  tasty >=0.11 && <1.1

cannot build derivation '/nix/store/13h1bcgsxyznpsfjx55pxc9b3rq72r5d-haskell-tools-refactor-1.1.0.1.drv': 1 dependencies couldn't be built
warning: rewriting hashes in '/nix/store/d220a4fpgqqswfgl53cn5wdvicd393fq-curl-7.60.0-bin'; cross fingers
warning: rewriting hashes in '/nix/store/g4g515w5ch4p0xjkaf7fa71782kv5vy5-curl-7.60.0-debug'; cross fingers
warning: rewriting hashes in '/nix/store/flwfrkjv9jpkcxslh9d933bwljqfznqn-curl-7.60.0-dev'; cross fingers
warning: rewriting hashes in '/nix/store/jjbnjrcvv1i8wg6ygscrzfr6bqivy2fd-curl-7.60.0-devdoc'; cross fingers
warning: rewriting hashes in '/nix/store/r7a10pjg60z237lc6isjcqsmn0kr1360-curl-7.60.0-man'; cross fingers
builder for '/nix/store/q4y644krar2xkx4blk5c2rm28hnsfiic-mercury-api-0.1.0.1.drv' failed with exit code 1; last 10 log lines:

  cbits/glue/glue.c:9:10: error:
       fatal error: xlocale.h: No such file or directory
       #include <xlocale.h>
                ^~~~~~~~~~~
    |
  9 | #include <xlocale.h>
    |          ^
  compilation terminated.
  `cc' failed in phase `C Compiler'. (Exit code: 1)
builder for '/nix/store/ajshmx0jh0nqnw1bq5dpzsjrj4d3w19x-xml-to-json-2.0.1.drv' failed with exit code 1; last 10 log lines:
     |                                 ^^^^^^^^
  ignoring (possibly broken) abi-depends field for packages
  Preprocessing executable 'xml-to-json' for xml-to-json-2.0.1..
  Building executable 'xml-to-json' for xml-to-json-2.0.1..
  [1 of 1] Compiling Main             ( src-exec/Main.hs, dist/build/xml-to-json/xml-to-json-tmp/Main.o )
  Linking dist/build/xml-to-json/xml-to-json ...
  /nix/store/3a74d03pq6d0cg3crkfw965k5s58hbn4-binutils-2.30/bin/ld: cannot find -lcurl
  /nix/store/3a74d03pq6d0cg3crkfw965k5s58hbn4-binutils-2.30/bin/ld: cannot find -lexpat
  collect2: error: ld returned 1 exit status
  `cc' failed in phase `Linker'. (Exit code: 1)
error: build of '/nix/store/g9zrnm3w8ls6qv21al5gpjhlx2fzyxyj-moesocks-1.0.0.44.drv' on 'ssh://root@remote-builder' failed: builder for ‘/nix/store/g9zrnm3w8ls6qv21al5gpjhlx2fzyxyj-moesocks-1.0.0.44.drv’ failed with exit code 1
builder for '/nix/store/g9zrnm3w8ls6qv21al5gpjhlx2fzyxyj-moesocks-1.0.0.44.drv' failed with exit code 1; last 10 log lines:
  [16 of 19] Compiling Network.MoeSocks.UDP ( src/Network/MoeSocks/UDP.hs, dist/build/moesocks/moesocks-tmp/Network/MoeSocks/UDP.o )
  [17 of 19] Compiling Network.MoeSocks.Handler ( src/Network/MoeSocks/Handler.hs, dist/build/moesocks/moesocks-tmp/Network/MoeSocks/Handler.o )
  [18 of 19] Compiling Network.MoeSocks.App ( src/Network/MoeSocks/App.hs, dist/build/moesocks/moesocks-tmp/Network/MoeSocks/App.o )
  [19 of 19] Compiling Main             ( src/Main.hs, dist/build/moesocks/moesocks-tmp/Main.o )
  Linking dist/build/moesocks/moesocks ...
  /nix/store/3a74d03pq6d0cg3crkfw965k5s58hbn4-binutils-2.30/bin/ld: cannot find -lcrypto
  /nix/store/3a74d03pq6d0cg3crkfw965k5s58hbn4-binutils-2.30/bin/ld: cannot find -lssl
  collect2: error: ld returned 1 exit status
  `cc' failed in phase `Linker'. (Exit code: 1)
  builder for ‘/nix/store/g9zrnm3w8ls6qv21al5gpjhlx2fzyxyj-moesocks-1.0.0.44.drv’ failed with exit code 1
error: build of '/nix/store/sn7mhjz7bgsx622lzjcc60j7iligzkfs-ad-4.3.5.drv' on 'ssh://root@remote-builderm' failed: builder for '/nix/store/sn7mhjz7bgsx622lzjcc60j7iligzkfs-ad-4.3.5.drv' failed with exit code 1
builder for '/nix/store/sn7mhjz7bgsx622lzjcc60j7iligzkfs-ad-4.3.5.drv' failed with exit code 1; last 10 log lines:
  Numeric.AD.Rank1.Kahn
  Numeric.AD.Rank1.Newton
  Numeric.AD.Rank1.Newton.Double
  Numeric.AD.Rank1.Sparse
  Numeric.AD.Rank1.Tower
  Numeric.AD.Internal.Combinators
  Test suite doctests: FAIL
  Test suite logged to: dist/test/ad-4.3.5-doctests.log
  0 of 1 test suites (0 of 1 test cases) passed.
  builder for '/nix/store/sn7mhjz7bgsx622lzjcc60j7iligzkfs-ad-4.3.5.drv' failed with exit code 1
error: build of '/nix/store/hq76n02ikfwb54ywfr7ihwryy83j32lq-pciutils-3.6.0.drv' on 'ssh://root@remote-builder' failed: builder for ‘/nix/store/hq76n02ikfwb54ywfr7ihwryy83j32lq-pciutils-3.6.0.drv’ failed with exit code 2
builder for '/nix/store/hq76n02ikfwb54ywfr7ihwryy83j32lq-pciutils-3.6.0.drv' failed with exit code 1; last 10 log lines:
  gcc -O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes   -c -o ls-ecaps.o ls-ecaps.c
  gcc -O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -I/nix/store/bcgg6cp2zz8lzdbh20a20vvwfyy4ms4l-kmod-25/include   -c -o ls-kernel.o ls-kernel.c
  gcc -O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes   -c -o ls-tree.o ls-tree.c
  gcc -O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes   -c -o ls-map.o ls-map.c
  gcc -O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes   -c -o common.o common.c
  gcc   lspci.o ls-vpd.o ls-caps.o ls-caps-vendor.o ls-ecaps.o ls-kernel.o ls-tree.o ls-map.o common.o lib/libpci.so.3.6.0 -L/nix/store/bcgg6cp2zz8lzdbh20a20vvwfyy4ms4l-kmod-25/lib -lkmod -o lspci
  lib/libpci.so.3.6.0: undefined reference to `canonicalize_file_name'
  collect2: error: ld returned 1 exit status
  make: *** [Makefile:99: lspci] Error 1
  builder for ‘/nix/store/hq76n02ikfwb54ywfr7ihwryy83j32lq-pciutils-3.6.0.drv’ failed with exit code 2
cannot build derivation '/nix/store/qwia9yf3my21w986lk1a915a70s82141-gnu-efi-3.0.8.drv': 1 dependencies couldn't be built
error: build of '/nix/store/kgr080qfdr9zp1gf8m4j7yvvvikj5jl2-ghc-core-0.5.6.drv' on 'ssh://root@remote-builderm' failed: builder for '/nix/store/kgr080qfdr9zp1gf8m4j7yvvvikj5jl2-ghc-core-0.5.6.drv' failed with exit code 1
builder for '/nix/store/kgr080qfdr9zp1gf8m4j7yvvvikj5jl2-ghc-core-0.5.6.drv' failed with exit code 1; last 10 log lines:
        except perhaps to import instances from ‘Control.Applicative’
      To import instances alone, use: import Control.Applicative()
     |
  25 | import Control.Applicative
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^
  Linking dist/build/ghc-core/ghc-core ...
  /nix/store/3a74d03pq6d0cg3crkfw965k5s58hbn4-binutils-2.30/bin/ld: cannot find -lpcre
  collect2: error: ld returned 1 exit status
  `cc' failed in phase `Linker'. (Exit code: 1)
  builder for '/nix/store/kgr080qfdr9zp1gf8m4j7yvvvikj5jl2-ghc-core-0.5.6.drv' failed with exit code 1
cannot build derivation '/nix/store/qm5xpznqc99fwbnzah0vhmnxbwzjpkh6-haskell-tools-builtin-refactorings-1.1.0.1.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/mj92gpv8w8wg97vi3gxvzbvz35pdfqhz-haskell-tools-debug-1.1.0.1.drv': 2 dependencies couldn't be built
error: build of '/nix/store/kaal9j9yfh4m95iyih0cy48vcji9pjkm-highlighting-kate-0.6.4.drv' on 'ssh://root@remote-builderm' failed: builder for '/nix/store/kaal9j9yfh4m95iyih0cy48vcji9pjkm-highlighting-kate-0.6.4.drv' failed with exit code 1
builder for '/nix/store/kaal9j9yfh4m95iyih0cy48vcji9pjkm-highlighting-kate-0.6.4.drv' failed with exit code 1; last 10 log lines:
  [130 of 130] Compiling Text.Highlighting.Kate ( Text/Highlighting/Kate.hs, dist/build/Text/Highlighting/Kate.o )
  ignoring (possibly broken) abi-depends field for packages
  Preprocessing test suite 'test-highlighting-kate' for highlighting-kate-0.6.4..
  Building test suite 'test-highlighting-kate' for highlighting-kate-0.6.4..
  [1 of 1] Compiling Main             ( tests/test-highlighting-kate.hs, dist/build/test-highlighting-kate/test-highlighting-kate-tmp/Main.o )
  Linking dist/build/test-highlighting-kate/test-highlighting-kate ...
  /nix/store/3a74d03pq6d0cg3crkfw965k5s58hbn4-binutils-2.30/bin/ld: cannot find -lpcre
  collect2: error: ld returned 1 exit status
  `cc' failed in phase `Linker'. (Exit code: 1)
  builder for '/nix/store/kaal9j9yfh4m95iyih0cy48vcji9pjkm-highlighting-kate-0.6.4.drv' failed with exit code 1
[12/532/1064 built (19 failed), 1628 copied (5828.8 MiB), 210.7 MiB DL] building audit-2.8.3 (installPhase):error: build of '/nix/store/x3d06ffxx8pfnmpaagmywxxbx3g0p146-consul-haskell-0.4.2.drv' on 'ssh://root@remote-builderm' failed: builder for '/nix/store/x3d06ffxx8pfnmpaagmywxxbx3g0p146-consul-haskell-0.4.2.drv' failed with exit code 1
builder for '/nix/store/x3d06ffxx8pfnmpaagmywxxbx3g0p146-consul-haskell-0.4.2.drv' failed with exit code 1; last 10 log lines:
    Run Service Tests
      testRunServiceTtl:           FAIL (15.01s)
        tests/Main.hs:287:
        testRunServiceTtl: Check not passing

  1 out of 20 tests failed (33.60s)
  Test suite consul-haskell-test: FAIL
  Test suite logged to: dist/test/consul-haskell-0.4.2-consul-haskell-test.log
  0 of 1 test suites (0 of 1 test cases) passed.
  builder for '/nix/store/x3d06ffxx8pfnmpaagmywxxbx3g0p146-consul-haskell-0.4.2.drv' failed with exit code 1
error: build of '/nix/store/a820g07cn62iywy5k2d9kj9f7qb6ll60-postgresql-schema-0.1.14.drv' on 'ssh://root@remote-builder' failed: builder for ‘/nix/store/a820g07cn62iywy5k2d9kj9f7qb6ll60-postgresql-schema-0.1.14.drv’ failed with exit code 1
builder for '/nix/store/a820g07cn62iywy5k2d9kj9f7qb6ll60-postgresql-schema-0.1.14.drv' failed with exit code 1; last 10 log lines:
  [1 of 1] Compiling Database.PostgreSQL.Schema ( src/Database/PostgreSQL/Schema.hs, dist/build/Database/PostgreSQL/Schema.o )
  ignoring (possibly broken) abi-depends field for packages
  Preprocessing executable 'schema-add' for postgresql-schema-0.1.14..
  Building executable 'schema-add' for postgresql-schema-0.1.14..
  [1 of 1] Compiling Main             ( main/Add.hs, dist/build/schema-add/schema-add-tmp/Main.o )
  Linking dist/build/schema-add/schema-add ...
  /nix/store/3a74d03pq6d0cg3crkfw965k5s58hbn4-binutils-2.30/bin/ld: cannot find -lpq
  collect2: error: ld returned 1 exit status
  `cc' failed in phase `Linker'. (Exit code: 1)
  builder for ‘/nix/store/a820g07cn62iywy5k2d9kj9f7qb6ll60-postgresql-schema-0.1.14.drv’ failed with exit code 1
error: build of '/nix/store/qrw9dxicxfq25830ci4a7rz9wi6rc4yf-binary-parsers-0.2.3.0.drv' on 'ssh://root@remote-builderm' failed: builder for '/nix/store/qrw9dxicxfq25830ci4a7rz9wi6rc4yf-binary-parsers-0.2.3.0.drv' failed with exit code 1
builder for '/nix/store/qrw9dxicxfq25830ci4a7rz9wi6rc4yf-binary-parsers-0.2.3.0.drv' failed with exit code 1; last 10 log lines:
      twitter10.json:      OK
      twitter100.json:     OK
      twitter20.json:      OK
      twitter50.json:      OK

  1 out of 43 tests failed (0.07s)
  Test suite tests: FAIL
  Test suite logged to: dist/test/binary-parsers-0.2.3.0-tests.log
  0 of 1 test suites (0 of 1 test cases) passed.
  builder for '/nix/store/qrw9dxicxfq25830ci4a7rz9wi6rc4yf-binary-parsers-0.2.3.0.drv' failed with exit code 1
error: build of '/nix/store/0bqfmh7mp2bwilmbjc1c48pfkzsqm543-postgresql-simple-migration-0.1.12.0.drv' on 'ssh://root@remote-builder' failed: builder for ‘/nix/store/0bqfmh7mp2bwilmbjc1c48pfkzsqm543-postgresql-simple-migration-0.1.12.0.drv’ failed with exit code 1
builder for '/nix/store/0bqfmh7mp2bwilmbjc1c48pfkzsqm543-postgresql-simple-migration-0.1.12.0.drv' failed with exit code 1; last 10 log lines:
  [3 of 3] Compiling Main             ( src/Main.hs, dist/build/migrate/migrate-tmp/Main.o )

  <no location info>: warning: [-Wmissing-home-modules]
      These modules are needed for compilation but not listed in your .cabal file's other-modules: Database.PostgreSQL.Simple.Migration
                                                                                                   Database.PostgreSQL.Simple.Util
  Linking dist/build/migrate/migrate ...
  /nix/store/3a74d03pq6d0cg3crkfw965k5s58hbn4-binutils-2.30/bin/ld: cannot find -lpq
  collect2: error: ld returned 1 exit status
  `cc' failed in phase `Linker'. (Exit code: 1)
  builder for ‘/nix/store/0bqfmh7mp2bwilmbjc1c48pfkzsqm543-postgresql-simple-migration-0.1.12.0.drv’ failed with exit code 1
error: build of '/nix/store/k51mgxr37008kk8gvsfi0xz3d18kwhc9-file-modules-0.1.2.4.drv' on 'ssh://root@remote-builderm' failed: builder for '/nix/store/k51mgxr37008kk8gvsfi0xz3d18kwhc9-file-modules-0.1.2.4.drv' failed with exit code 1
builder for '/nix/store/k51mgxr37008kk8gvsfi0xz3d18kwhc9-file-modules-0.1.2.4.drv' failed with exit code 1; last 10 log lines:
  [1 of 2] Compiling Development.FileModules ( src/Development/FileModules.hs, dist/build/file-modules/file-modules-tmp/Development/FileModules.o )
  [2 of 2] Compiling Main             ( src/Main.hs, dist/build/file-modules/file-modules-tmp/Main.o )

  <no location info>: warning: [-Wmissing-home-modules]
      These modules are needed for compilation but not listed in your .cabal file's other-modules: Development.FileModules
  Linking dist/build/file-modules/file-modules ...
  /nix/store/3a74d03pq6d0cg3crkfw965k5s58hbn4-binutils-2.30/bin/ld: cannot find -lpcre
  collect2: error: ld returned 1 exit status
  `cc' failed in phase `Linker'. (Exit code: 1)
  builder for '/nix/store/k51mgxr37008kk8gvsfi0xz3d18kwhc9-file-modules-0.1.2.4.drv' failed with exit code 1
builder for '/nix/store/7j746bavqljymfh7yx06l8v6f5w00gh6-credential-store-0.1.2.drv' failed with exit code 1; last 10 log lines:
  [2 of 2] Compiling System.CredentialStore ( src/System/CredentialStore.hs, dist/build/System/CredentialStore.o )
  ignoring (possibly broken) abi-depends field for packages
  Preprocessing executable 'credential-store-exe' for credential-store-0.1.2..
  Building executable 'credential-store-exe' for credential-store-0.1.2..
  [1 of 1] Compiling Main             ( app/Main.hs, dist/build/credential-store-exe/credential-store-exe-tmp/Main.o )
  Linking dist/build/credential-store-exe/credential-store-exe ...
  /nix/store/3a74d03pq6d0cg3crkfw965k5s58hbn4-binutils-2.30/bin/ld: cannot find -lxml2
  /nix/store/3a74d03pq6d0cg3crkfw965k5s58hbn4-binutils-2.30/bin/ld: cannot find -lxml2
  collect2: error: ld returned 1 exit status
  `cc' failed in phase `Linker'. (Exit code: 1)
error: build of '/nix/store/v20ap5w4w52689m3lm442j0hjkpzxns1-servant-server-0.14.1.drv' on 'ssh://root@remote-builderm' failed: builder for '/nix/store/v20ap5w4w52689m3lm442j0hjkpzxns1-servant-server-0.14.1.drv' failed with exit code 1
builder for '/nix/store/v20ap5w4w52689m3lm442j0hjkpzxns1-servant-server-0.14.1.drv' failed with exit code 1; last 10 log lines:
  setting SOURCE_DATE_EPOCH to timestamp 1530806182 of file servant-server-0.14.1/test/doctests.hs
  patching sources
  compileBuildDriverPhase
  setupCompileFlags: -package-db=/tmp/nix-build-servant-server-0.14.1.drv-0/setup-package.conf.d -j1 -threaded
  [1 of 1] Compiling Main             ( Setup.lhs, /tmp/nix-build-servant-server-0.14.1.drv-0/Main.o )
  Linking Setup ...
  configuring
  configureFlags: --verbose --prefix=/nix/store/jgdrmf0mpsy01yxhn9wmbfk817xsy79p-servant-server-0.14.1 --libdir=$prefix/$compiler --libsubdir=$pkgid --docdir=/nix/store/y6fcccwrp4cjiz5qa8drgxq8vw1i3qg9-servant-server-0.14.1-doc/share/doc/servant-server-0.14.1 --with-gcc=gcc --package-db=/tmp/nix-build-servant-server-0.14.1.drv-0/package.conf.d --ghc-option=-j1 --disable-split-objs --disable-library-profiling --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --disable-tests --enable-library-vanilla --enable-library-for-ghci --ghc-option=-split-sections --enable-executable-static --extra-lib-dirs=/nix/store/5iymhqki24s9rr97xzq51mmiqm4b12a8-gmp-6.1.2/lib --extra-lib-dirs=/nix/store/gqnp2vc9apmjx86a6j57g8iip6nawx51-zlib-1.2.11-static/lib --extra-lib-dirs=/nix/store/i9b8pkiaj96xx687i1vq964swr8s56jh-ncurses-6.1/lib --extra-lib-dirs=/nix/store/1xwbnc903gymfi99zpvj8mdp5601yqz6-ncurses-6.1/lib --extra-lib-dirs=/nix/store/254rgj92dhkyg7sydb7al65gflnyjd7b-gmp-6.1.2/lib --extra-include-dirs=/nix/store/89lj7wjp81pbg4wv2yf8fwm4p5dzq27b-musl-iconv-1.1.19/include
  unrecognized 'configure' option `--enable-executable-static'
  builder for '/nix/store/v20ap5w4w52689m3lm442j0hjkpzxns1-servant-server-0.14.1.drv' failed with exit code 1
error: build of '/nix/store/w5zdv52hlnqpbycka291gpb9qqnzc2dl-hruby-0.3.5.4.drv' on 'ssh://root@remote-builder' failed: builder for ‘/nix/store/w5zdv52hlnqpbycka291gpb9qqnzc2dl-hruby-0.3.5.4.drv’ failed with exit code 1
builder for '/nix/store/w5zdv52hlnqpbycka291gpb9qqnzc2dl-hruby-0.3.5.4.drv' failed with exit code 1; last 10 log lines:
  Building test suite 'test-roundtrip' for hruby-0.3.5.4..
  [1 of 1] Compiling Main             ( test/roundtrip.hs, dist/build/test-roundtrip/test-roundtrip-tmp/Main.o )
  Linking dist/build/test-roundtrip/test-roundtrip ...
  running tests
  Running 1 test suites...
  Test suite test-roundtrip: RUNNING...
  Test suite test-roundtrip: FAIL
  Test suite logged to: dist/test/hruby-0.3.5.4-test-roundtrip.log
  0 of 1 test suites (0 of 1 test cases) passed.
  builder for ‘/nix/store/w5zdv52hlnqpbycka291gpb9qqnzc2dl-hruby-0.3.5.4.drv’ failed with exit code 1
cannot build derivation '/nix/store/srk1ai7yv4wl00si3lbwar8lj3wgcm2m-language-puppet-1.3.19.drv': 1 dependencies couldn't be built
error: build of '/nix/store/vd48y1d99rrd2d7qa14zqsvblcmrif32-svg-tree-0.6.2.2.drv' on 'ssh://root@remote-builderm' failed: builder for '/nix/store/vd48y1d99rrd2d7qa14zqsvblcmrif32-svg-tree-0.6.2.2.drv' failed with exit code 1
builder for '/nix/store/vd48y1d99rrd2d7qa14zqsvblcmrif32-svg-tree-0.6.2.2.drv' failed with exit code 1; last 10 log lines:
          collectNBinders
    1
    Call stack:
        CallStack (from HasCallStack):
          callStackDoc, called at compiler/utils/Outputable.hs:1150:37 in ghc:Outputable
          pprPanic, called at compiler/coreSyn/CoreSyn.hs:2025:25 in ghc:CoreSyn

  Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

  builder for '/nix/store/vd48y1d99rrd2d7qa14zqsvblcmrif32-svg-tree-0.6.2.2.drv' failed with exit code 1
cannot build derivation '/nix/store/2059r6kr9520b4721dzcjwhff8bwqc85-rasterific-svg-0.3.3.1.drv': 1 dependencies couldn't be built
warning: rewriting hashes in '/nix/store/rwdf342zwy3fgkbl97mq27pzqmarfv6c-sqlite-3.24.0-bin'; cross fingers
warning: rewriting hashes in '/nix/store/40qwlwn1kpr9s6r9svgllvmalri7z1rs-sqlite-3.24.0-debug'; cross fingers
warning: rewriting hashes in '/nix/store/cfdlm1dfqp9cdhws4gd8xrq7d4y4g152-sqlite-3.24.0-dev'; cross fingers
builder for '/nix/store/85cbh91578gybypphcrayrivbpnippwr-aern2-real-0.1.1.0.drv' failed with exit code 1; last 10 log lines:
  [32 of 32] Compiling AERN2.MPBallWithGlobalPrec ( src/AERN2/MPBallWithGlobalPrec.hs, dist/build/AERN2/MPBallWithGlobalPrec.o )
  ignoring (possibly broken) abi-depends field for packages
  Preprocessing test suite 'spec' for aern2-real-0.1.1.0..
  Building test suite 'spec' for aern2-real-0.1.1.0..
  [1 of 2] Compiling AERN2.RealSpec   ( test/AERN2/RealSpec.hs, dist/build/spec/spec-tmp/AERN2/RealSpec.o )
  [2 of 2] Compiling Main             ( test/Spec.hs, dist/build/spec/spec-tmp/Main.o )
  Linking dist/build/spec/spec ...
  /nix/store/3a74d03pq6d0cg3crkfw965k5s58hbn4-binutils-2.30/bin/ld: cannot find -lmpfr
  collect2: error: ld returned 1 exit status
  `cc' failed in phase `Linker'. (Exit code: 1)
error: build of '/nix/store/6i493rvlv9j4l8qhwg2h11j30kban19a-language-ecmascript-0.19.drv' on 'ssh://root@remote-builder' failed: builder for '/nix/store/6i493rvlv9j4l8qhwg2h11j30kban19a-language-ecmascript-0.19.drv' failed with exit code 1
builder for '/nix/store/6i493rvlv9j4l8qhwg2h11j30kban19a-language-ecmascript-0.19.drv' failed with exit code 1; last 10 log lines:
    configureFinalizedPackage, called at libraries/Cabal/Cabal/Distribution/Simple/Configure.hs:462:12 in Cabal-2.2.0.1:Distribution.Simple.Configure
    configure, called at libraries/Cabal/Cabal/Distribution/Simple.hs:596:20 in Cabal-2.2.0.1:Distribution.Simple
    confHook, called at libraries/Cabal/Cabal/Distribution/Simple/UserHooks.hs:67:5 in Cabal-2.2.0.1:Distribution.Simple.UserHooks
    configureAction, called at libraries/Cabal/Cabal/Distribution/Simple.hs:178:19 in Cabal-2.2.0.1:Distribution.Simple
    defaultMainHelper, called at libraries/Cabal/Cabal/Distribution/Simple.hs:115:27 in Cabal-2.2.0.1:Distribution.Simple
    defaultMain, called at Setup.hs:2:8 in main:Main
  Setup: Encountered missing dependencies:
  testing-feat >=0.4.0.2 && <1.1

  builder for '/nix/store/6i493rvlv9j4l8qhwg2h11j30kban19a-language-ecmascript-0.19.drv' failed with exit code 1
cannot build derivation '/nix/store/5qm7q8xya6hifvdmmnrbr9m46qvrnhib-fay-0.24.0.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/i2imvr98x8dzrg5fl7faqv8f9wpacks9-servant-js-0.9.3.2.drv': 1 dependencies couldn't be built
error: build of '/nix/store/v4ccg8390hq3sxbc207vg1dmsk6is02s-odbc-0.2.0.drv' on 'ssh://root@remote-builderm' failed: builder for '/nix/store/v4ccg8390hq3sxbc207vg1dmsk6is02s-odbc-0.2.0.drv' failed with exit code 1
builder for '/nix/store/v4ccg8390hq3sxbc207vg1dmsk6is02s-odbc-0.2.0.drv' failed with exit code 1; last 10 log lines:
  cbits/odbc.c:7:10: error:
       fatal error: odbcss.h: No such file or directory
       #include <odbcss.h>
                ^~~~~~~~~~
    |
  7 | #include <odbcss.h>
    |          ^
  compilation terminated.
  `cc' failed in phase `C Compiler'. (Exit code: 1)
  builder for '/nix/store/v4ccg8390hq3sxbc207vg1dmsk6is02s-odbc-0.2.0.drv' failed with exit code 1
error: build of '/nix/store/hppl3z4cyvxyad7yq366y5a6yfkb1m83-Hoed-0.5.1.drv' on 'ssh://root@remote-builder' failed: builder for '/nix/store/hppl3z4cyvxyad7yq366y5a6yfkb1m83-Hoed-0.5.1.drv' failed with exit code 1
builder for '/nix/store/hppl3z4cyvxyad7yq366y5a6yfkb1m83-Hoed-0.5.1.drv' failed with exit code 1; last 10 log lines:
  Test suite test-5: PASS
  Test suite logged to: dist/test/Hoed-0.5.1-test-5.log
  Test suite test-queens: RUNNING...
  Test suite test-queens: PASS
  Test suite logged to: dist/test/Hoed-0.5.1-test-queens.log
  Test suite test-1: RUNNING...
  Test suite test-1: PASS
  Test suite logged to: dist/test/Hoed-0.5.1-test-1.log
  8 of 9 test suites (8 of 9 test cases) passed.
  builder for '/nix/store/hppl3z4cyvxyad7yq366y5a6yfkb1m83-Hoed-0.5.1.drv' failed with exit code 1
cannot build derivation '/nix/store/d4ix7w2nvl2rhz6yi56d0fv1gwxnvn1y-debug-0.1.1.drv': 1 dependencies couldn't be built
error: build of '/nix/store/lwskgqa2kl4lmvl2356mwl0zrqmxyrh5-yesod-paginator-1.1.0.0.drv' on 'ssh://root@remote-builderm' failed: builder for '/nix/store/lwskgqa2kl4lmvl2356mwl0zrqmxyrh5-yesod-paginator-1.1.0.0.drv' failed with exit code 1
builder for '/nix/store/lwskgqa2kl4lmvl2356mwl0zrqmxyrh5-yesod-paginator-1.1.0.0.drv' failed with exit code 1; last 10 log lines:
  Test suite test: RUNNING...
  Test suite test: PASS
  Test suite logged to: dist/test/yesod-paginator-1.1.0.0-test.log
  Test suite doctests: RUNNING...
  doctests: /nix/store/hfi080vzqqzfip6bd6x4cxc2jgj56xn3-ghc-8.4.3/lib/ghc-8.4.3/ghc-prim-0.5.2.0/HSghc-prim-0.5.2.0.o: unknown symbol `exp'
  doctests: doctests: unable to load package `ghc-prim-0.5.2.0'
  Test suite doctests: FAIL
  Test suite logged to: dist/test/yesod-paginator-1.1.0.0-doctests.log
  1 of 2 test suites (1 of 2 test cases) passed.
  builder for '/nix/store/lwskgqa2kl4lmvl2356mwl0zrqmxyrh5-yesod-paginator-1.1.0.0.drv' failed with exit code 1
error: build of '/nix/store/pscyvcggfmq846zjydrsal2mj4my0pc7-glib-0.13.6.0.drv' on 'ssh://root@remote-builder' failed: builder for '/nix/store/pscyvcggfmq846zjydrsal2mj4my0pc7-glib-0.13.6.0.drv' failed with exit code 1
builder for '/nix/store/pscyvcggfmq846zjydrsal2mj4my0pc7-glib-0.13.6.0.drv' failed with exit code 1; last 10 log lines:
  /nix/store/ayif3snf0kslalc2d8b71dsn7gd4rqp5-pkg-config-0.29.2/bin/pkg-config --modversion gobject-2.0
  building
  Preprocessing library for glib-0.13.6.0..
  Setup: Error in C header file.

  /nix/store/cmmzc88f9ryhyyw24swvzmpj37i8rdrk-musl-1.1.19-dev/include/stdlib.h:44: (column 11) [FATAL] 
    >>> Syntax error!
    The symbol `void' does not fit here.

  builder for '/nix/store/pscyvcggfmq846zjydrsal2mj4my0pc7-glib-0.13.6.0.drv' failed with exit code 1
cannot build derivation '/nix/store/gpxw7m76gqcqpm6w94m0lxwnj3hjhrpq-gio-0.13.5.0.drv': 1 dependencies couldn't be built
error: build of '/nix/store/39wzf3s6f1yzbr0k26zqbh223yks8f02-squeal-postgresql-0.3.1.0.drv' on 'ssh://root@remote-builder' failed: builder for ‘/nix/store/39wzf3s6f1yzbr0k26zqbh223yks8f02-squeal-postgresql-0.3.1.0.drv’ failed with exit code 1
builder for '/nix/store/39wzf3s6f1yzbr0k26zqbh223yks8f02-squeal-postgresql-0.3.1.0.drv' failed with exit code 1; last 10 log lines:
  [12 of 12] Compiling Squeal.PostgreSQL.Migration ( src/Squeal/PostgreSQL/Migration.hs, dist/build/Squeal/PostgreSQL/Migration.o )
  ignoring (possibly broken) abi-depends field for packages
  Preprocessing executable 'squeal-postgresql-example' for squeal-postgresql-0.3.1.0..
  Building executable 'squeal-postgresql-example' for squeal-postgresql-0.3.1.0..
  [1 of 1] Compiling Main             ( exe/Example.hs, dist/build/squeal-postgresql-example/squeal-postgresql-example-tmp/Main.o )
  Linking dist/build/squeal-postgresql-example/squeal-postgresql-example ...
  /nix/store/3a74d03pq6d0cg3crkfw965k5s58hbn4-binutils-2.30/bin/ld: cannot find -lpq
  collect2: error: ld returned 1 exit status
  `cc' failed in phase `Linker'. (Exit code: 1)
  builder for ‘/nix/store/39wzf3s6f1yzbr0k26zqbh223yks8f02-squeal-postgresql-0.3.1.0.drv’ failed with exit code 1
warning: dumping very large path (> 256 MiB); this may run out of memory
cannot build derivation '/nix/store/ch5djiwsz3m3y7kmwsy7pia5ddkx69bd-wai-middleware-consul-0.1.0.2.drv': 1 dependencies couldn't be built
warning: dumping very large path (> 256 MiB); this may run out of memory
cannot build derivation '/nix/store/f72jpbwkwm2yrl4l8dc1nq8iijljxfmn-haskell-tools-demo-1.1.0.1.drv': 2 dependencies couldn't be built
error: build of '/nix/store/ffwlcjcf5wjrxpbv1yyzkfavd14126ll-o-clock-1.0.0.drv' on 'ssh://root@remote-builderm' failed: builder for '/nix/store/ffwlcjcf5wjrxpbv1yyzkfavd14126ll-o-clock-1.0.0.drv' failed with exit code 1
builder for '/nix/store/ffwlcjcf5wjrxpbv1yyzkfavd14126ll-o-clock-1.0.0.drv' failed with exit code 1; last 10 log lines:
    configureFinalizedPackage, called at ./Distribution/Simple/Configure.hs:467:12 in Cabal-2.2.0.1-302vnEvwKgd3FEKLIV6HbI:Distribution.Simple.Configure
    configure, called at ./Distribution/Simple.hs:596:20 in Cabal-2.2.0.1-302vnEvwKgd3FEKLIV6HbI:Distribution.Simple
    confHook, called at ./Distribution/Simple/UserHooks.hs:67:5 in Cabal-2.2.0.1-302vnEvwKgd3FEKLIV6HbI:Distribution.Simple.UserHooks
    configureAction, called at ./Distribution/Simple.hs:178:19 in Cabal-2.2.0.1-302vnEvwKgd3FEKLIV6HbI:Distribution.Simple
    defaultMainHelper, called at ./Distribution/Simple.hs:115:27 in Cabal-2.2.0.1-302vnEvwKgd3FEKLIV6HbI:Distribution.Simple
    defaultMain, called at Setup.hs:2:8 in main:Main
  Setup: Encountered missing dependencies:
  hedgehog >=0.5.1 && <0.6, tasty ==0.12.*, tasty-hedgehog ==0.1.*

  builder for '/nix/store/ffwlcjcf5wjrxpbv1yyzkfavd14126ll-o-clock-1.0.0.drv' failed with exit code 1
error: build of '/nix/store/b9zz207v8jbm721l7yi5s5kk8yixhzii-wreq-0.5.2.1.drv' on 'ssh://root@remote-builderm' failed: builder for '/nix/store/b9zz207v8jbm721l7yi5s5kk8yixhzii-wreq-0.5.2.1.drv' failed with exit code 1
builder for '/nix/store/b9zz207v8jbm721l7yi5s5kk8yixhzii-wreq-0.5.2.1.drv' failed with exit code 1; last 10 log lines:
  setting SOURCE_DATE_EPOCH to timestamp 1519860721 of file wreq-0.5.2.1/Network/Wreq.hs
  patching sources
  compileBuildDriverPhase
  setupCompileFlags: -package-db=/tmp/nix-build-wreq-0.5.2.1.drv-0/setup-package.conf.d -j1 -threaded
  [1 of 1] Compiling Main             ( Setup.hs, /tmp/nix-build-wreq-0.5.2.1.drv-0/Main.o )
  Linking Setup ...
  configuring
  configureFlags: --verbose --prefix=/nix/store/jwcmqk8ly6hbc9rs79486nmd8aql1d60-wreq-0.5.2.1 --libdir=$prefix/$compiler --libsubdir=$pkgid --docdir=/nix/store/lckfm7jkys7qn0s3m8d51l51cnlxa0wk-wreq-0.5.2.1-doc/share/doc/wreq-0.5.2.1 --with-gcc=gcc --package-db=/tmp/nix-build-wreq-0.5.2.1.drv-0/package.conf.d --ghc-option=-j1 --disable-split-objs --disable-library-profiling --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --disable-tests --enable-library-vanilla --enable-library-for-ghci --ghc-option=-split-sections --enable-executable-static --extra-lib-dirs=/nix/store/5iymhqki24s9rr97xzq51mmiqm4b12a8-gmp-6.1.2/lib --extra-lib-dirs=/nix/store/gqnp2vc9apmjx86a6j57g8iip6nawx51-zlib-1.2.11-static/lib --extra-lib-dirs=/nix/store/i9b8pkiaj96xx687i1vq964swr8s56jh-ncurses-6.1/lib --extra-lib-dirs=/nix/store/1xwbnc903gymfi99zpvj8mdp5601yqz6-ncurses-6.1/lib --extra-lib-dirs=/nix/store/254rgj92dhkyg7sydb7al65gflnyjd7b-gmp-6.1.2/lib --extra-include-dirs=/nix/store/89lj7wjp81pbg4wv2yf8fwm4p5dzq27b-musl-iconv-1.1.19/include
  unrecognized 'configure' option `--enable-executable-static'
  builder for '/nix/store/b9zz207v8jbm721l7yi5s5kk8yixhzii-wreq-0.5.2.1.drv' failed with exit code 1
error: build of '/nix/store/5qglvvz26lna6wpm89k3sf4ra9rw6s7m-gdax-0.6.0.0.drv' on 'ssh://root@remote-builder' failed: builder for ‘/nix/store/5qglvvz26lna6wpm89k3sf4ra9rw6s7m-gdax-0.6.0.0.drv’ failed with exit code 1
builder for '/nix/store/5qglvvz26lna6wpm89k3sf4ra9rw6s7m-gdax-0.6.0.0.drv' failed with exit code 1; last 10 log lines:
  [5 of 5] Compiling Main             ( test/Test.hs, dist/build/test-gdax/test-gdax-tmp/Main.o )
  Linking dist/build/test-gdax/test-gdax ...
  running tests
  Running 1 test suites...
  Test suite test-gdax: RUNNING...
  test-gdax: GDAX_SANDBOX_KEY: getEnv: does not exist (no environment variable)
  Test suite test-gdax: FAIL
  Test suite logged to: dist/test/gdax-0.6.0.0-test-gdax.log
  0 of 1 test suites (0 of 1 test cases) passed.
  builder for ‘/nix/store/5qglvvz26lna6wpm89k3sf4ra9rw6s7m-gdax-0.6.0.0.drv’ failed with exit code 1
error: build of '/nix/store/arb6qwpnga61imy7alpnh9swqfwsz9gy-microformats2-parser-1.0.1.8.drv' on 'ssh://root@remote-builder' failed: builder for '/nix/store/arb6qwpnga61imy7alpnh9swqfwsz9gy-microformats2-parser-1.0.1.8.drv' failed with exit code 1
builder for '/nix/store/arb6qwpnga61imy7alpnh9swqfwsz9gy-microformats2-parser-1.0.1.8.drv' failed with exit code 1; last 10 log lines:
  [6 of 6] Compiling Data.Microformats2.Parser ( library/Data/Microformats2/Parser.hs, dist/build/Data/Microformats2/Parser.o )
  ignoring (possibly broken) abi-depends field for packages
  Preprocessing executable 'microformats2-parser' for microformats2-parser-1.0.1.8..
  Building executable 'microformats2-parser' for microformats2-parser-1.0.1.8..
  [1 of 1] Compiling Main             ( executable/Main.hs, dist/build/microformats2-parser/microformats2-parser-tmp/Main.o )
  Linking dist/build/microformats2-parser/microformats2-parser ...
  /nix/store/3a74d03pq6d0cg3crkfw965k5s58hbn4-binutils-2.30/bin/ld: cannot find -lpcre
  collect2: error: ld returned 1 exit status
  `cc' failed in phase `Linker'. (Exit code: 1)
  builder for '/nix/store/arb6qwpnga61imy7alpnh9swqfwsz9gy-microformats2-parser-1.0.1.8.drv' failed with exit code 1
error: build of '/nix/store/3dq1dsd7nl7gb0dy1gzszaiqjhaiv5di-yoga-0.0.0.2.drv' on 'ssh://root@remote-builder' failed: builder for ‘/nix/store/3dq1dsd7nl7gb0dy1gzszaiqjhaiv5di-yoga-0.0.0.2.drv’ failed with exit code 1
builder for '/nix/store/3dq1dsd7nl7gb0dy1gzszaiqjhaiv5di-yoga-0.0.0.2.drv' failed with exit code 1; last 10 log lines:
  [2 of 3] Compiling Bindings.Yoga.Enums ( dist/build/Bindings/Yoga/Enums.hs, dist/build/Bindings/Yoga/Enums.o )
  [3 of 3] Compiling Yoga             ( lib/Yoga.hs, dist/build/Yoga.o )

  <command-line>:0:9: error:
       error: ‘NULL’ was not declared in this scope

  <command-line>:0:9: error:
       error: ‘NULL’ was not declared in this scope
  `cc' failed in phase `C Compiler'. (Exit code: 1)
  builder for ‘/nix/store/3dq1dsd7nl7gb0dy1gzszaiqjhaiv5di-yoga-0.0.0.2.drv’ failed with exit code 1
warning: rewriting hashes in '/nix/store/3av680ax7knrpll6iajqjk8hd8jx58b9-zlib-1.2.11-dev'; cross fingers
warning: rewriting hashes in '/nix/store/impzxaljb26gdyg5dr5gm49w1fil1896-zlib-1.2.11-static'; cross fingers
cannot build derivation '/nix/store/pz1n7yqlgrsy36jwk3ng6p5y50ygpqzn-wire-streams-0.1.1.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/hklb5ifbfyrsy64b2vwzhbnh2k6wk491-mysql-haskell-0.8.3.0.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/rzdspzcsv9b6xgsjyb8xkvax1ikqrp03-persistent-mysql-haskell-0.4.1.drv': 1 dependencies couldn't be built
builder for '/nix/store/fyl8zxglsml7mkvjhhxg8aplvqzx8if5-clash-prelude-0.99.2.drv' failed with exit code 1; last 10 log lines:

  src/Clash/Tutorial.hs:78:1: error:
      Could not find module ‘Clash.Explicit.Testbench’
      Use -v to see a list of the files searched for.
     |
  78 | import Clash.Explicit.Testbench
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  Test suite doctests: FAIL
  Test suite logged to: dist/test/clash-prelude-0.99.2-doctests.log
  0 of 1 test suites (0 of 1 test cases) passed.
cannot build derivation '/nix/store/g90h5v9igr3g4nsvhjbn9fynavwfz80g-clash-lib-0.99.2.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/5mc2qpndqbfa7j50dnrp8pdxrlanspri-clash-ghc-0.99.2.drv': 2 dependencies couldn't be built
error: build of '/nix/store/i03hyq18arrmwa2dj4bibkqm4w27i5gm-snap-server-1.1.0.0.drv' on 'ssh://root@remote-builder' failed: builder for '/nix/store/i03hyq18arrmwa2dj4bibkqm4w27i5gm-snap-server-1.1.0.0.drv' failed with exit code 1
builder for '/nix/store/i03hyq18arrmwa2dj4bibkqm4w27i5gm-snap-server-1.1.0.0.drv' failed with exit code 1; last 10 log lines:
  [28 of 31] Compiling Test.Common.Rot13 ( test/Test/Common/Rot13.hs, dist/build/testsuite/testsuite-tmp/Test/Common/Rot13.o )
  [29 of 31] Compiling Test.Common.TestHandler ( test/Test/Common/TestHandler.hs, dist/build/testsuite/testsuite-tmp/Test/Common/TestHandler.o )
  [30 of 31] Compiling Test.Blackbox    ( test/Test/Blackbox.hs, dist/build/testsuite/testsuite-tmp/Test/Blackbox.o )
  [31 of 31] Compiling Main             ( test/TestSuite.hs, dist/build/testsuite/testsuite-tmp/Main.o )
  Linking dist/build/testsuite/testsuite ...
  /nix/store/3a74d03pq6d0cg3crkfw965k5s58hbn4-binutils-2.30/bin/ld: cannot find -lcrypto
  /nix/store/3a74d03pq6d0cg3crkfw965k5s58hbn4-binutils-2.30/bin/ld: cannot find -lssl
  collect2: error: ld returned 1 exit status
  `cc' failed in phase `Linker'. (Exit code: 1)
  builder for '/nix/store/i03hyq18arrmwa2dj4bibkqm4w27i5gm-snap-server-1.1.0.0.drv' failed with exit code 1
builder for '/nix/store/hdpk49wsm4mlmsm7q35q6p4vj6m3llwy-gnutls-3.6.2.drv' failed with exit code 2; last 10 log lines:
  ============================================================================
  make[4]: *** [Makefile:6097: test-suite.log] Error 1
  make[4]: Leaving directory '/tmp/nix-build-gnutls-3.6.2.drv-0/gnutls-3.6.2/tests'
  make[3]: *** [Makefile:6205: check-TESTS] Error 2
  make[3]: Leaving directory '/tmp/nix-build-gnutls-3.6.2.drv-0/gnutls-3.6.2/tests'
  make[2]: *** [Makefile:8737: check-am] Error 2
  make[2]: Leaving directory '/tmp/nix-build-gnutls-3.6.2.drv-0/gnutls-3.6.2/tests'
  make[1]: *** [Makefile:5989: check-recursive] Error 1
  make[1]: Leaving directory '/tmp/nix-build-gnutls-3.6.2.drv-0/gnutls-3.6.2/tests'
  make: *** [Makefile:1460: check-recursive] Error 1
cannot build derivation '/nix/store/cfxafw86xcrsfl7p9x9hgx7hriblvngp-libmicrohttpd-0.9.59.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/h8wvnpbwpdbk45kg7a7qd9ggsdirqpfh-systemd-238.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/b3c2qmymsc6rgmg2j2j8jvnq432l4wgv-dbus-1.12.8.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/pspl42fg91ddmzfzlh893ssk08wrrd6s-libusb-1.0.22.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/549bjbfwb8ga458ykfky7pf5js89cblf-util-linux-2.32.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/8fazf5f5v5qrafh5nfrdrwax58a7csdh-avahi-0.7.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/mv1x8amla532gdxc9nzc7xfqmq8wr8d3-dbus-glib-0.110.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/9yw70hnhx2v4lywfv9vllqlad5shdbvx-http-parser-2.8.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/7avnylsf29h55pg2h5amhji8csyw8wv1-libpulseaudio-11.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/81gb1cv3l3hbarjg8zw3625hibx4jkfj-cups-2.2.6.drv': 5 dependencies couldn't be built
cannot build derivation '/nix/store/2i1jyb9izamrsbsnpgw982cxqm90wxd2-libao-1.2.2.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/bcc2154nmhy5iw0z5njkr5jnsy4086d8-sox-14.4.2.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/yxmhyqmqpaksd8n7fkzpkgglswsipa5l-soxlib-0.0.3.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/yxvgj036vn4dg6z4j7rd38nimxrwmyxa-libgit2-0.26.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/l2fvjfzs7g7p9zf9qlxp6hqq5msn9hnr-openal-soft-1.18.2.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/k26077czap67cs8xrp4xlsdwqiwj1ifn-freealut-1.1.0.drv': 1 dependencies couldn't be built
builder for '/nix/store/l2vgyq1i49q6pj1v4q286kb9fgnzk8sv-rustc-1.27.0.drv' failed with exit code 2; last 10 log lines:
  Error relocating /nix/store/yslsxq0vi5mz2vhrdcff9sz0anxm550w-rustc-bootstrap-1.26.2/bin/cargo: __register_atfork: symbol not found
  Error relocating /nix/store/yslsxq0vi5mz2vhrdcff9sz0anxm550w-rustc-bootstrap-1.26.2/bin/cargo: _Unwind_DeleteException: symbol not found
  Error relocating /nix/store/yslsxq0vi5mz2vhrdcff9sz0anxm550w-rustc-bootstrap-1.26.2/bin/cargo: _Unwind_RaiseException: symbol not found
  Error relocating /nix/store/yslsxq0vi5mz2vhrdcff9sz0anxm550w-rustc-bootstrap-1.26.2/bin/cargo: __strtok_r: symbol not found
  Error relocating /nix/store/yslsxq0vi5mz2vhrdcff9sz0anxm550w-rustc-bootstrap-1.26.2/bin/cargo: _Unwind_Backtrace: symbol not found
  Error relocating /nix/store/yslsxq0vi5mz2vhrdcff9sz0anxm550w-rustc-bootstrap-1.26.2/bin/cargo: _Unwind_GetLanguageSpecificData: symbol not found
  Error relocating /nix/store/yslsxq0vi5mz2vhrdcff9sz0anxm550w-rustc-bootstrap-1.26.2/bin/cargo: _Unwind_SetIP: symbol not found
  failed to run: /nix/store/yslsxq0vi5mz2vhrdcff9sz0anxm550w-rustc-bootstrap-1.26.2/bin/cargo build --manifest-path /tmp/nix-build-rustc-1.27.0.drv-0/rustc-1.27.0-src/src/bootstrap/Cargo.toml --frozen
  Build completed unsuccessfully in 0:00:00
  make: *** [Makefile:28: all] Error 1
cannot build derivation '/nix/store/3qnpsw5g5810rm6j06rrj3crixa3864j-cargo-1.27.0.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/gjkgnpm80n1fwczr1nbk8nabfp5nbhd7-libjack2-1.9.12.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/5zmg11bb8qrlh7ahbm37y9zdrr7r9mr4-fluidsynth-1.1.10.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/3g0h2rga1n3r6qp40x40m1qq998g8sj5-jack-0.7.1.3.drv': 1 dependencies couldn't be built
error: build of '/nix/store/lb1jfvsa0dyx14gmm78a77picdhpa1rk-zeromq4-patterns-0.3.1.0.drv' on 'ssh://root@remote-builderm' failed: builder for '/nix/store/lb1jfvsa0dyx14gmm78a77picdhpa1rk-zeromq4-patterns-0.3.1.0.drv' failed with exit code 1
builder for '/nix/store/lb1jfvsa0dyx14gmm78a77picdhpa1rk-zeromq4-patterns-0.3.1.0.drv' failed with exit code 1; last 10 log lines:
  (.text+0xa1b): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)'
  (.text+0xa66): undefined reference to `std::__throw_logic_error(char const*)'
  (.text+0xa7c): undefined reference to `operator delete(void*)'
  /nix/store/pqdg4msim4npx5lm8dcgd492v93bd9v9-zeromq-4.2.3/lib/libzmq.a(curve_mechanism_base.cpp.o):(.data.rel.ro._ZTIN3zmq22curve_mechanism_base_tE[_ZTIN3zmq22curve_mechanism_base_tE]+0x0): undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info'
  /nix/store/pqdg4msim4npx5lm8dcgd492v93bd9v9-zeromq-4.2.3/lib/libzmq.a(curve_mechanism_base.cpp.o):(.data.rel.ro._ZTVN3zmq22curve_mechanism_base_tE[_ZTVN3zmq22curve_mechanism_base_tE]+0x98): undefined reference to `__cxa_pure_virtual'
  /nix/store/pqdg4msim4npx5lm8dcgd492v93bd9v9-zeromq-4.2.3/lib/libzmq.a(curve_mechanism_base.cpp.o):(.data.rel.ro._ZTVN3zmq22curve_mechanism_base_tE[_ZTVN3zmq22curve_mechanism_base_tE]+0xa0): undefined reference to `__cxa_pure_virtual'
  /nix/store/pqdg4msim4npx5lm8dcgd492v93bd9v9-zeromq-4.2.3/lib/libzmq.a(curve_mechanism_base.cpp.o):(.data.rel.ro._ZTVN3zmq22curve_mechanism_base_tE[_ZTVN3zmq22curve_mechanism_base_tE]+0xc0): undefined reference to `__cxa_pure_virtual'
  collect2: error: ld returned 1 exit status
  `cc' failed in phase `Linker'. (Exit code: 1)
  builder for '/nix/store/lb1jfvsa0dyx14gmm78a77picdhpa1rk-zeromq4-patterns-0.3.1.0.drv' failed with exit code 1
error: build of '/nix/store/szs6lcs2xsvzkznrfbyls9kwh4d78xym-ihaskell-0.9.0.3.drv' on 'ssh://root@remote-builder' failed: builder for ‘/nix/store/szs6lcs2xsvzkznrfbyls9kwh4d78xym-ihaskell-0.9.0.3.drv’ failed with exit code 1
builder for '/nix/store/szs6lcs2xsvzkznrfbyls9kwh4d78xym-ihaskell-0.9.0.3.drv' failed with exit code 1; last 10 log lines:
  (.text+0xa1b): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)'
  (.text+0xa66): undefined reference to `std::__throw_logic_error(char const*)'
  (.text+0xa7c): undefined reference to `operator delete(void*)'
  /nix/store/pqdg4msim4npx5lm8dcgd492v93bd9v9-zeromq-4.2.3/lib/libzmq.a(curve_mechanism_base.cpp.o):(.data.rel.ro._ZTIN3zmq22curve_mechanism_base_tE[_ZTIN3zmq22curve_mechanism_base_tE]+0x0): undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info'
  /nix/store/pqdg4msim4npx5lm8dcgd492v93bd9v9-zeromq-4.2.3/lib/libzmq.a(curve_mechanism_base.cpp.o):(.data.rel.ro._ZTVN3zmq22curve_mechanism_base_tE[_ZTVN3zmq22curve_mechanism_base_tE]+0x98): undefined reference to `__cxa_pure_virtual'
  /nix/store/pqdg4msim4npx5lm8dcgd492v93bd9v9-zeromq-4.2.3/lib/libzmq.a(curve_mechanism_base.cpp.o):(.data.rel.ro._ZTVN3zmq22curve_mechanism_base_tE[_ZTVN3zmq22curve_mechanism_base_tE]+0xa0): undefined reference to `__cxa_pure_virtual'
  /nix/store/pqdg4msim4npx5lm8dcgd492v93bd9v9-zeromq-4.2.3/lib/libzmq.a(curve_mechanism_base.cpp.o):(.data.rel.ro._ZTVN3zmq22curve_mechanism_base_tE[_ZTVN3zmq22curve_mechanism_base_tE]+0xc0): undefined reference to `__cxa_pure_virtual'
  collect2: error: ld returned 1 exit status
  `cc' failed in phase `Linker'. (Exit code: 1)
  builder for ‘/nix/store/szs6lcs2xsvzkznrfbyls9kwh4d78xym-ihaskell-0.9.0.3.drv’ failed with exit code 1
error: build of '/nix/store/93q6lhykhnjymlnvyvikd9gsrc18a8gy-hmatrix-0.19.0.0.drv' on 'ssh://root@remote-builder' failed: builder for ‘/nix/store/93q6lhykhnjymlnvyvikd9gsrc18a8gy-hmatrix-0.19.0.0.drv’ failed with exit code 1
builder for '/nix/store/93q6lhykhnjymlnvyvikd9gsrc18a8gy-hmatrix-0.19.0.0.drv' failed with exit code 1; last 10 log lines:

  src/Internal/C/vector-aux.c:1100:24: error:
       warning: unused variable ‘buffer’ [-Wunused-variable]
           struct random_data buffer;
                              ^~~~~~
       |
  1100 |     struct random_data buffer;
       |                        ^
  `cc' failed in phase `C Compiler'. (Exit code: 1)
  builder for ‘/nix/store/93q6lhykhnjymlnvyvikd9gsrc18a8gy-hmatrix-0.19.0.0.drv’ failed with exit code 1
cannot build derivation '/nix/store/mvf5crxfsmz0lqfnfnxmqp8a4fx9b27c-hmatrix-gsl-0.19.0.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/z97xazcg8z1rn2qs1hwc818nmm91q38w-hmatrix-vector-sized-0.1.1.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/mbhvpc4balz788wcc1fdi1nskxvhvmm4-hamilton-0.1.0.3.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/l3x13ynvxblbcvc8vhrrkrbv0dqr9xv2-hmatrix-special-0.19.0.0.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/r8wxfpkpqgjyxp490idh01p4xgw8462j-hquantlib-0.0.4.0.drv': 3 dependencies couldn't be built
[2/921/998 built (47 failed), 3615 copied (16017.1 MiB), 210.7 MiB DL] building llvm-6.0.0 (buildPhase): [ 9cannot build derivation '/nix/store/1jxp3blga6g39ri145qhgs4nbpp1873p-SDL2-2.0.8.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/3hsddxr6hsl6bx65sr8ids9ac0xsb7bd-SDL2_gfx-1.0.4.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/dp77ipzghvk0xfqv4gxy0kiahswxczfl-SDL2_image-2.0.3.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/yy2kzdvdxbnzqn6l6pazpx3aw3hjwd66-SDL2_ttf-2.0.14.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/6dhsw14ndx0rl4fyp4jsc2ih4i0wzrph-sdl2-2.4.1.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/7cp76y7px6hqllb85lamr18xnjr5bf86-sdl2-2.4.1.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/jwssihhb6w3w6qm4hqykgy29c45cw8w2-smpeg2-svn412.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/8r4c6fbqj3bly2s0437l5dqx0qf7ffgb-SDL2_mixer-2.0.2.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/q8s42x56qp5xjv35kidd779rx4aisn8a-sdl2-gfx-0.2.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/2b1214n0vh9h80szljdr8ndjb476kica-sdl2-image-2.0.0.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/glj87jyrq9lf5i2im5l6xdpwgpigngrh-sdl2-ttf-2.1.0.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/hq75y2ixgshlznxqfbpxas378nf2y479-sdl2-ttf-2.1.0.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/81axgn6b9bz4ydai876n24y3jmwnvlix-LambdaHack-0.8.3.0.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/bjg5qxrnbfsx56c0kig4sb9lk0841b2l-LambdaHack-0.8.3.0.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/j70mxfzs1ld9j0dfama9myz518c26bcs-sdl2-mixer-1.1.0.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/f7ccpnf93g1gd1k2m1xlvriz63hycsnf-Allure-0.8.3.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/k79n4kspahn0bhpc75a5j2vvbf833mrr-at-spi2-core-2.28.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/y677l6pj8ga6s2cbvyzaash17w3amf38-at-spi2-atk-2.26.2.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/4azvhczlrj31bx68na55f4s8c3zgpkda-pango-0.13.5.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/balnkg6pi48xgbh0mc9yw20qdvm7gbf1-diagrams-cairo-1.4.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/nqm6b8b4k1kfvqvcmjz9vq4jqzib6i2z-diagrams-builder-0.8.0.3.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/cwyk1wd5nin8ilp1da4ng31hx8phy6js-OpenAL-1.7.0.4.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/f6rgrc8z1qxdffa125ibjxszvsaynqc9-OpenAL-1.7.0.4.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/h2k2pjbdkb24hmad1gz58n13glmahf95-ALUT-2.4.0.2.drv': 2 dependencies couldn't be built
error: build of '/nix/store/gypk1hwfy1cfpzpaly052fd20vi0hmyj-haskell-gi-0.21.3.drv' on 'ssh://root@remote-builderm' failed: builder for '/nix/store/gypk1hwfy1cfpzpaly052fd20vi0hmyj-haskell-gi-0.21.3.drv' failed with exit code 1
builder for '/nix/store/gypk1hwfy1cfpzpaly052fd20vi0hmyj-haskell-gi-0.21.3.drv' failed with exit code 1; last 10 log lines:
  [1 of 1] Compiling Main             ( cmdline/haskell-gi.hs, dist/build/haskell-gi/haskell-gi-tmp/Main.o )
  Linking dist/build/haskell-gi/haskell-gi ...
  /nix/store/3a74d03pq6d0cg3crkfw965k5s58hbn4-binutils-2.30/bin/ld: cannot find -lgirepository-1.0
  /nix/store/3a74d03pq6d0cg3crkfw965k5s58hbn4-binutils-2.30/bin/ld: cannot find -lgobject-2.0
  /nix/store/3a74d03pq6d0cg3crkfw965k5s58hbn4-binutils-2.30/bin/ld: cannot find -lglib-2.0
  /nix/store/3a74d03pq6d0cg3crkfw965k5s58hbn4-binutils-2.30/bin/ld: cannot find -lgobject-2.0
  /nix/store/3a74d03pq6d0cg3crkfw965k5s58hbn4-binutils-2.30/bin/ld: cannot find -lglib-2.0
  collect2: error: ld returned 1 exit status
  `cc' failed in phase `Linker'. (Exit code: 1)
  builder for '/nix/store/gypk1hwfy1cfpzpaly052fd20vi0hmyj-haskell-gi-0.21.3.drv' failed with exit code 1
cannot build derivation '/nix/store/39rncb4nkihihj1jj3ldjrbn778xjks9-learn-physics-0.6.2.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/qk06pyhv8caz43rnm2h5r4ra4b8ra3ll-csg-0.1.0.3.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/yl47lli0mbpbgqs6mnv86q0b5q14ck5v-gtk+3-3.22.30.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/xa66mpn26c3r0b7s851bp7046b1w3zrd-gtk3-0.14.9.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/gpjbz37dw4bm9mgpwzbr53jrx0j5m0yb-dconf-0.28.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/yz9fl4572fy8c3nlxyh0z0hq4cdw1vwh-librsvg-2.42.4.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/6z1qvla51ylpp81pb4l20qn41g0svbz8-hook.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/cq0j6bd5qdchgr0wyx043wigy039ngb0-emacs-26.1.drv': 5 dependencies couldn't be built
cannot build derivation '/nix/store/zmq9bzlxlfkhk8jnsmwxhnjk99bpa390-Agda-2.5.4.drv': 1 dependencies couldn't be built
error: build of '/nix/store/i7yjf2cav9j1ar45fs23s0x22183jx6n-hopenpgp-tools-0.21.1.drv' on 'ssh://root@remote-builder' failed: builder for '/nix/store/i7yjf2cav9j1ar45fs23s0x22183jx6n-hopenpgp-tools-0.21.1.drv' failed with exit code 1
builder for '/nix/store/i7yjf2cav9j1ar45fs23s0x22183jx6n-hopenpgp-tools-0.21.1.drv' failed with exit code 1; last 10 log lines:
  [5 of 5] Compiling Main             ( hkt.hs, dist/build/hkt/hkt-tmp/Main.o )

  <no location info>: warning: [-Wmissing-home-modules]
      These modules are needed for compilation but not listed in your .cabal file's other-modules: Paths_hopenpgp_tools
  Linking dist/build/hkt/hkt ...
  /nix/store/3a74d03pq6d0cg3crkfw965k5s58hbn4-binutils-2.30/bin/ld: cannot find -lnettle
  /nix/store/3a74d03pq6d0cg3crkfw965k5s58hbn4-binutils-2.30/bin/ld: cannot find -lbz2
  collect2: error: ld returned 1 exit status
  `cc' failed in phase `Linker'. (Exit code: 1)
  builder for '/nix/store/i7yjf2cav9j1ar45fs23s0x22183jx6n-hopenpgp-tools-0.21.1.drv' failed with exit code 1
error: build of '/nix/store/nxcl19kb9rqsrf73rmjz2fz12jc41d4h-darcs-2.14.1.drv' on 'ssh://root@remote-builder' failed: builder for ‘/nix/store/nxcl19kb9rqsrf73rmjz2fz12jc41d4h-darcs-2.14.1.drv’ failed with exit code 1
builder for '/nix/store/nxcl19kb9rqsrf73rmjz2fz12jc41d4h-darcs-2.14.1.drv' failed with exit code 1; last 10 log lines:
  [1 of 2] Compiling Version          ( dist/build/global-autogen/Version.hs, dist/build/darcs/darcs-tmp/Version.o )
  [2 of 2] Compiling Main             ( darcs/darcs.hs, dist/build/darcs/darcs-tmp/Main.o )

  <no location info>: warning: [-Wmissing-home-modules]
      These modules are needed for compilation but not listed in your .cabal file's other-modules: Version
  Linking dist/build/darcs/darcs ...
  /nix/store/3a74d03pq6d0cg3crkfw965k5s58hbn4-binutils-2.30/bin/ld: cannot find -lcurl
  collect2: error: ld returned 1 exit status
  `cc' failed in phase `Linker'. (Exit code: 1)
  builder for ‘/nix/store/nxcl19kb9rqsrf73rmjz2fz12jc41d4h-darcs-2.14.1.drv’ failed with exit code 1
[2/961/963 built (49 failed), 4245 copied (19215.1 MiB), 210.7 MiB DL] building darcs-2.14.1 on ssh://root@remote-

It took around 3 hours to get there (I built with 5 machines).

The final status line, [2/961/963 built (49 failed), 4245 copied (19215.1 MiB), 210.7 MiB DL] already gives us some information on the success.

The program didn't terminate; right now it's

Insights:

nh2 commented 6 years ago

I have now killed dist/build/test-courier/test-courier; this resulted in the nix build to terminate with remaining output:

builder for '/nix/store/nxcl19kb9rqsrf73rmjz2fz12jc41d4h-darcs-2.14.1.drv' failed with exit code 1; last 10 log lines:
  [1 of 2] Compiling Version          ( dist/build/global-autogen/Version.hs, dist/build/darcs/darcs-tmp/Version.o )
  [2 of 2] Compiling Main             ( darcs/darcs.hs, dist/build/darcs/darcs-tmp/Main.o )

  <no location info>: warning: [-Wmissing-home-modules]
      These modules are needed for compilation but not listed in your .cabal file's other-modules: Version
  Linking dist/build/darcs/darcs ...
  /nix/store/3a74d03pq6d0cg3crkfw965k5s58hbn4-binutils-2.30/bin/ld: cannot find -lcurl
  collect2: error: ld returned 1 exit status
  `cc' failed in phase `Linker'. (Exit code: 1)
  builder for ‘/nix/store/nxcl19kb9rqsrf73rmjz2fz12jc41d4h-darcs-2.14.1.drv’ failed with exit code 1
builder for '/nix/store/3n0w0x6hqkcbrkz32qqzb7pgnx5bvrwd-courier-0.1.1.5.drv' failed with exit code 1; last 10 log lines:
  Preprocessing executable 'echo-server' for courier-0.1.1.5..
  Building executable 'echo-server' for courier-0.1.1.5..
  [1 of 1] Compiling Main             ( echo/EchoServer.hs, dist/build/echo-server/echo-server-tmp/Main.o )
  Linking dist/build/echo-server/echo-server ...
  running tests
  Running 1 test suites...
  Test suite test-courier: RUNNING...
  Test suite test-courier: FAIL
  Test suite logged to: dist/test/courier-0.1.1.5-test-courier.log
  0 of 1 test suites (0 of 1 test cases) passed.
[961 built (51 failed), 4245 copied (19215.1 MiB), 210.7 MiB DL]
error: build of '/nix/store/0bqfmh7mp2bwilmbjc1c48pfkzsqm543-postgresql-simple-migration-0.1.12.0.drv', '/nix/store/2059r6kr9520b4721dzcjwhff8bwqc85-rasterific-svg-0.3.3.1.drv', '/nix/store/2b1214n0vh9h80szljdr8ndjb476kica-sdl2-image-2.0.0.drv', '/nix/store/2g84v9f7fw0x4l53kny87ry3pl97100s-hsyslog-5.0.1.drv', '/nix/store/39rncb4nkihihj1jj3ldjrbn778xjks9-learn-physics-0.6.2.drv', '/nix/store/39wzf3s6f1yzbr0k26zqbh223yks8f02-squeal-postgresql-0.3.1.0.drv', '/nix/store/3dq1dsd7nl7gb0dy1gzszaiqjhaiv5di-yoga-0.0.0.2.drv', '/nix/store/3g0h2rga1n3r6qp40x40m1qq998g8sj5-jack-0.7.1.3.drv', '/nix/store/3n0w0x6hqkcbrkz32qqzb7pgnx5bvrwd-courier-0.1.1.5.drv', '/nix/store/48haxah3sd16y0k8xrvpg4vzg3q0yrf5-rcu-0.2.2.drv', '/nix/store/5mc2qpndqbfa7j50dnrp8pdxrlanspri-clash-ghc-0.99.2.drv', '/nix/store/5qglvvz26lna6wpm89k3sf4ra9rw6s7m-gdax-0.6.0.0.drv', '/nix/store/5qm7q8xya6hifvdmmnrbr9m46qvrnhib-fay-0.24.0.1.drv', '/nix/store/6dhsw14ndx0rl4fyp4jsc2ih4i0wzrph-sdl2-2.4.1.0.drv', '/nix/store/6j7j5zxyf2s9cha8zrlgacibpkkh7v08-lens-regex-0.1.0.drv', '/nix/store/7j746bavqljymfh7yx06l8v6f5w00gh6-credential-store-0.1.2.drv', '/nix/store/85cbh91578gybypphcrayrivbpnippwr-aern2-real-0.1.1.0.drv', '/nix/store/8xhcklfilx02xw63x7qfzdf3dj7ks0f0-leveldb-haskell-0.6.5.drv', '/nix/store/a820g07cn62iywy5k2d9kj9f7qb6ll60-postgresql-schema-0.1.14.drv', '/nix/store/ajshmx0jh0nqnw1bq5dpzsjrj4d3w19x-xml-to-json-2.0.1.drv', '/nix/store/arb6qwpnga61imy7alpnh9swqfwsz9gy-microformats2-parser-1.0.1.8.drv', '/nix/store/axg62zra6a7w9ms9cyj9xcw4zxsxg4f7-doctest-driver-gen-0.2.0.3.drv', '/nix/store/b9zz207v8jbm721l7yi5s5kk8yixhzii-wreq-0.5.2.1.drv', '/nix/store/bjg5qxrnbfsx56c0kig4sb9lk0841b2l-LambdaHack-0.8.3.0.drv', '/nix/store/bwjngag7g9bg44s30d6lajhskrlr57z4-dotenv-0.5.2.5.drv', '/nix/store/ch5djiwsz3m3y7kmwsy7pia5ddkx69bd-wai-middleware-consul-0.1.0.2.drv', '/nix/store/d4ix7w2nvl2rhz6yi56d0fv1gwxnvn1y-debug-0.1.1.drv', '/nix/store/f6rgrc8z1qxdffa125ibjxszvsaynqc9-OpenAL-1.7.0.4.drv', '/nix/store/f72jpbwkwm2yrl4l8dc1nq8iijljxfmn-haskell-tools-demo-1.1.0.1.drv', '/nix/store/f7ccpnf93g1gd1k2m1xlvriz63hycsnf-Allure-0.8.3.0.drv', '/nix/store/ffwlcjcf5wjrxpbv1yyzkfavd14126ll-o-clock-1.0.0.drv', '/nix/store/g9zrnm3w8ls6qv21al5gpjhlx2fzyxyj-moesocks-1.0.0.44.drv', '/nix/store/gypk1hwfy1cfpzpaly052fd20vi0hmyj-haskell-gi-0.21.3.drv', '/nix/store/h2k2pjbdkb24hmad1gz58n13glmahf95-ALUT-2.4.0.2.drv', '/nix/store/hq75y2ixgshlznxqfbpxas378nf2y479-sdl2-ttf-2.1.0.drv', '/nix/store/i03hyq18arrmwa2dj4bibkqm4w27i5gm-snap-server-1.1.0.0.drv', '/nix/store/i2imvr98x8dzrg5fl7faqv8f9wpacks9-servant-js-0.9.3.2.drv', '/nix/store/i7yjf2cav9j1ar45fs23s0x22183jx6n-hopenpgp-tools-0.21.1.drv', '/nix/store/j70mxfzs1ld9j0dfama9myz518c26bcs-sdl2-mixer-1.1.0.drv', '/nix/store/k51mgxr37008kk8gvsfi0xz3d18kwhc9-file-modules-0.1.2.4.drv', '/nix/store/kaal9j9yfh4m95iyih0cy48vcji9pjkm-highlighting-kate-0.6.4.drv', '/nix/store/kgr080qfdr9zp1gf8m4j7yvvvikj5jl2-ghc-core-0.5.6.drv', '/nix/store/lb1jfvsa0dyx14gmm78a77picdhpa1rk-zeromq4-patterns-0.3.1.0.drv', '/nix/store/lwskgqa2kl4lmvl2356mwl0zrqmxyrh5-yesod-paginator-1.1.0.0.drv', '/nix/store/mbhvpc4balz788wcc1fdi1nskxvhvmm4-hamilton-0.1.0.3.drv', '/nix/store/mj92gpv8w8wg97vi3gxvzbvz35pdfqhz-haskell-tools-debug-1.1.0.1.drv', '/nix/store/nqm6b8b4k1kfvqvcmjz9vq4jqzib6i2z-diagrams-builder-0.8.0.3.drv', '/nix/store/nxcl19kb9rqsrf73rmjz2fz12jc41d4h-darcs-2.14.1.drv', '/nix/store/q4y644krar2xkx4blk5c2rm28hnsfiic-mercury-api-0.1.0.1.drv', '/nix/store/q8s42x56qp5xjv35kidd779rx4aisn8a-sdl2-gfx-0.2.drv', '/nix/store/qk06pyhv8caz43rnm2h5r4ra4b8ra3ll-csg-0.1.0.3.drv', '/nix/store/r8wxfpkpqgjyxp490idh01p4xgw8462j-hquantlib-0.0.4.0.drv', '/nix/store/rzdspzcsv9b6xgsjyb8xkvax1ikqrp03-persistent-mysql-haskell-0.4.1.drv', '/nix/store/s7rmz7zkgyyqnvgwc5zcmvb97ps47pqw-doctest-discover-0.1.0.9.drv', '/nix/store/srk1ai7yv4wl00si3lbwar8lj3wgcm2m-language-puppet-1.3.19.drv', '/nix/store/szs6lcs2xsvzkznrfbyls9kwh4d78xym-ihaskell-0.9.0.3.drv', '/nix/store/v20ap5w4w52689m3lm442j0hjkpzxns1-servant-server-0.14.1.drv', '/nix/store/v4ccg8390hq3sxbc207vg1dmsk6is02s-odbc-0.2.0.drv', '/nix/store/vaadmm3x0mqqxv94whv3my0k6qwhnysh-barrier-0.1.1.drv', '/nix/store/xa66mpn26c3r0b7s851bp7046b1w3zrd-gtk3-0.14.9.drv', '/nix/store/yxmhyqmqpaksd8n7fkzpkgglswsipa5l-soxlib-0.0.3.drv', '/nix/store/zligqfldcdr7qiwpwmh9s7x8i2zrli9q-influxdb-1.6.0.6.drv', '/nix/store/zmq9bzlxlfkhk8jnsmwxhnjk99bpa390-Agda-2.5.4.drv', '/nix/store/zs1vlm9npb8sx9bplprnk9p4rag88gbj-ersatz-0.4.3.drv' failed

Cleaned up, these packages failed the first try to build:

aern2-real-0.1.1.0
Agda-2.5.4
Allure-0.8.3.0
ALUT-2.4.0.2
barrier-0.1.1
clash-ghc-0.99.2
courier-0.1.1.5
credential-store-0.1.2
csg-0.1.0.3
darcs-2.14.1
debug-0.1.1
diagrams-builder-0.8.0.3
doctest-discover-0.1.0.9
doctest-driver-gen-0.2.0.3
dotenv-0.5.2.5
ersatz-0.4.3
fay-0.24.0.1
file-modules-0.1.2.4
gdax-0.6.0.0
ghc-core-0.5.6
gtk3-0.14.9
hamilton-0.1.0.3
haskell-gi-0.21.3
haskell-tools-debug-1.1.0.1
haskell-tools-demo-1.1.0.1
highlighting-kate-0.6.4
hopenpgp-tools-0.21.1
hquantlib-0.0.4.0
hsyslog-5.0.1
ihaskell-0.9.0.3
influxdb-1.6.0.6
jack-0.7.1.3
LambdaHack-0.8.3.0
language-puppet-1.3.19
learn-physics-0.6.2
lens-regex-0.1.0
leveldb-haskell-0.6.5
mercury-api-0.1.0.1
microformats2-parser-1.0.1.8
moesocks-1.0.0.44
o-clock-1.0.0
odbc-0.2.0
OpenAL-1.7.0.4
persistent-mysql-haskell-0.4.1
postgresql-schema-0.1.14
postgresql-simple-migration-0.1.12.0
rasterific-svg-0.3.3.1
rcu-0.2.2
sdl2-2.4.1.0
sdl2-gfx-0.2
sdl2-image-2.0.0
sdl2-mixer-1.1.0
sdl2-ttf-2.1.0
servant-js-0.9.3.2
servant-server-0.14.1
snap-server-1.1.0.0
soxlib-0.0.3
squeal-postgresql-0.3.1.0
wai-middleware-consul-0.1.0.2
wreq-0.5.2.1
xml-to-json-2.0.1
yesod-paginator-1.1.0.0
yoga-0.0.0.2
zeromq4-patterns-0.3.1.0

lib.length (lib.attrNames allStackageExecutables) is 312, so >= 248 Stackage executables succeeded being built statically.

nh2 commented 6 years ago

Edit: Newer numbers

Original numbers

I have further reduced the number of build errors as of commit 7e41d26eb.

I also added functionality to inform nix Haskell packages to dontCheck when Stackage says that the test is known to spuriously fail.

Statistics

By specifying some more dependencies, this can probably be reduced further significantly. But I think this is good enough for now. So I'm closing this ticket as done.

Non-building packages

The 30 packages that currently don't build are:

Agda
Allure
ALUT
clash-ghc
csg
debug
diagrams-builder
ersatz
gtk3
hamilton
haskell-gi
hquantlib
ihaskell
jack
LambdaHack
language-puppet
learn-physics
lens-regex
leveldb-haskell
odbc
OpenAL
rasterific-svg
sdl2
sdl2-gfx
sdl2-image
sdl2-mixer
sdl2-ttf
soxlib
yesod-paginator
yoga

Full build errors

``` error: build of '/nix/store/45ic4gjlnd5fghiabx4q1mzan7c4q6qw-lens-regex-0.1.0.drv' on 'ssh://root@benaco-node-3.benaco.com' failed: builder for '/nix/store/45ic4gjlnd5fghiabx4q1mzan7c4q6qw-lens-regex-0.1.0.drv' failed with exit code 1 builder for '/nix/store/45ic4gjlnd5fghiabx4q1mzan7c4q6qw-lens-regex-0.1.0.drv' failed with exit code 1; last 10 log lines: Linking dist/build/doctests/doctests ... running tests Running 1 test suites... Test suite doctests: RUNNING... doctests: /nix/store/hfi080vzqqzfip6bd6x4cxc2jgj56xn3-ghc-8.4.3/lib/ghc-8.4.3/ghc-prim-0.5.2.0/HSghc-prim-0.5.2.0.o: unknown symbol `exp' doctests: doctests: unable to load package `ghc-prim-0.5.2.0' Test suite doctests: FAIL Test suite logged to: dist/test/lens-regex-0.1.0-doctests.log 0 of 1 test suites (0 of 1 test cases) passed. builder for '/nix/store/45ic4gjlnd5fghiabx4q1mzan7c4q6qw-lens-regex-0.1.0.drv' failed with exit code 1 error: build of '/nix/store/k8gra4wvgayrl6bvzkl1xvf388hic3y2-csg-0.1.0.3.drv' on 'ssh://root@corp1.benaco.biz' failed: builder for ‘/nix/store/k8gra4wvgayrl6bvzkl1xvf388hic3y2-csg-0.1.0.3.drv’ failed with exit code 1 builder for '/nix/store/k8gra4wvgayrl6bvzkl1xvf388hic3y2-csg-0.1.0.3.drv' failed with exit code 1; last 10 log lines: Preprocessing executable 'csg-raycaster' for csg-0.1.0.3.. Building executable 'csg-raycaster' for csg-0.1.0.3.. [1 of 2] Compiling Paths_csg ( dist/build/csg-raycaster/autogen/Paths_csg.hs, dist/build/csg-raycaster/csg-raycaster-tmp/Paths_csg.o ) [2 of 2] Compiling Main ( exe/raycaster.hs, dist/build/csg-raycaster/csg-raycaster-tmp/Main.o ) Linking dist/build/csg-raycaster/csg-raycaster ... /nix/store/3a74d03pq6d0cg3crkfw965k5s58hbn4-binutils-2.30/bin/ld: cannot find -lGLU /nix/store/3a74d03pq6d0cg3crkfw965k5s58hbn4-binutils-2.30/bin/ld: cannot find -lGL collect2: error: ld returned 1 exit status `cc' failed in phase `Linker'. (Exit code: 1) builder for ‘/nix/store/k8gra4wvgayrl6bvzkl1xvf388hic3y2-csg-0.1.0.3.drv’ failed with exit code 1 error: build of '/nix/store/h4w2sjvsfh273wsn88dfmi68y4ljyzbi-ihaskell-0.9.0.3.drv' on 'ssh://root@benaco-node-2.benaco.com' failed: builder for '/nix/store/h4w2sjvsfh273wsn88dfmi68y4ljyzbi-ihaskell-0.9.0.3.drv' failed with exit code 1 builder for '/nix/store/h4w2sjvsfh273wsn88dfmi68y4ljyzbi-ihaskell-0.9.0.3.drv' failed with exit code 1; last 10 log lines: (.text+0xa1b): undefined reference to `std::__cxx11::basic_string, std::allocator >::_M_create(unsigned long&, unsigned long)' (.text+0xa66): undefined reference to `std::__throw_logic_error(char const*)' (.text+0xa7c): undefined reference to `operator delete(void*)' /nix/store/pqdg4msim4npx5lm8dcgd492v93bd9v9-zeromq-4.2.3/lib/libzmq.a(curve_mechanism_base.cpp.o):(.data.rel.ro._ZTIN3zmq22curve_mechanism_base_tE[_ZTIN3zmq22curve_mechanism_base_tE]+0x0): undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info' /nix/store/pqdg4msim4npx5lm8dcgd492v93bd9v9-zeromq-4.2.3/lib/libzmq.a(curve_mechanism_base.cpp.o):(.data.rel.ro._ZTVN3zmq22curve_mechanism_base_tE[_ZTVN3zmq22curve_mechanism_base_tE]+0x98): undefined reference to `__cxa_pure_virtual' /nix/store/pqdg4msim4npx5lm8dcgd492v93bd9v9-zeromq-4.2.3/lib/libzmq.a(curve_mechanism_base.cpp.o):(.data.rel.ro._ZTVN3zmq22curve_mechanism_base_tE[_ZTVN3zmq22curve_mechanism_base_tE]+0xa0): undefined reference to `__cxa_pure_virtual' /nix/store/pqdg4msim4npx5lm8dcgd492v93bd9v9-zeromq-4.2.3/lib/libzmq.a(curve_mechanism_base.cpp.o):(.data.rel.ro._ZTVN3zmq22curve_mechanism_base_tE[_ZTVN3zmq22curve_mechanism_base_tE]+0xc0): undefined reference to `__cxa_pure_virtual' collect2: error: ld returned 1 exit status `cc' failed in phase `Linker'. (Exit code: 1) builder for '/nix/store/h4w2sjvsfh273wsn88dfmi68y4ljyzbi-ihaskell-0.9.0.3.drv' failed with exit code 1 error: build of '/nix/store/64iqlgfjjgy2bhdkqw600ygnkhnvjm6r-glib-0.13.6.0.drv' on 'ssh://root@benaco-node-2.benaco.com' failed: builder for '/nix/store/64iqlgfjjgy2bhdkqw600ygnkhnvjm6r-glib-0.13.6.0.drv' failed with exit code 1 builder for '/nix/store/64iqlgfjjgy2bhdkqw600ygnkhnvjm6r-glib-0.13.6.0.drv' failed with exit code 1; last 10 log lines: /nix/store/ayif3snf0kslalc2d8b71dsn7gd4rqp5-pkg-config-0.29.2/bin/pkg-config --modversion gobject-2.0 building Preprocessing library for glib-0.13.6.0.. Setup: Error in C header file. /nix/store/cmmzc88f9ryhyyw24swvzmpj37i8rdrk-musl-1.1.19-dev/include/stdlib.h:44: (column 11) [FATAL] >>> Syntax error! The symbol `void' does not fit here. builder for '/nix/store/64iqlgfjjgy2bhdkqw600ygnkhnvjm6r-glib-0.13.6.0.drv' failed with exit code 1 cannot build derivation '/nix/store/w09lr4hclwl3lzg9zfrsy6ykw44dbc6s-gio-0.13.5.0.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/hg1xff41c6l45vli7dj4lvb4klgss70g-pango-0.13.5.0.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/z8s1zrzqv3ivsfc1plzkvz9qnqjp3gy5-diagrams-cairo-1.4.1.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/pj0y9rv2s9ajla2kdqwqi2m7vcsm75av-diagrams-builder-0.8.0.3.drv': 1 dependencies couldn't be built error: build of '/nix/store/7zkx5hg4rwmzhj97k0fdw19jkkcsw0xz-ersatz-0.4.3.drv' on 'ssh://root@corp2.benaco.biz' failed: builder for '/nix/store/7zkx5hg4rwmzhj97k0fdw19jkkcsw0xz-ersatz-0.4.3.drv' failed with exit code 1 builder for '/nix/store/7zkx5hg4rwmzhj97k0fdw19jkkcsw0xz-ersatz-0.4.3.drv' failed with exit code 1; last 10 log lines: z001: minisat: readCreateProcessWithExitCode: runInteractiveProcess: exec: does not exist (No such file or directory) Test suite z001: FAIL Test suite logged to: dist/test/ersatz-0.4.3-z001.log Test suite speed: RUNNING... n 50000 speed: minisat: readCreateProcessWithExitCode: runInteractiveProcess: exec: does not exist (No such file or directory) Test suite speed: FAIL Test suite logged to: dist/test/ersatz-0.4.3-speed.log 1 of 4 test suites (1 of 4 test cases) passed. builder for '/nix/store/7zkx5hg4rwmzhj97k0fdw19jkkcsw0xz-ersatz-0.4.3.drv' failed with exit code 1 error: build of '/nix/store/j52734kk3s7z2dkdf122acifm7lk56bl-hruby-0.3.5.4.drv' on 'ssh://root@corp2.benaco.biz' failed: builder for '/nix/store/j52734kk3s7z2dkdf122acifm7lk56bl-hruby-0.3.5.4.drv' failed with exit code 1 builder for '/nix/store/j52734kk3s7z2dkdf122acifm7lk56bl-hruby-0.3.5.4.drv' failed with exit code 1; last 10 log lines: Building test suite 'test-roundtrip' for hruby-0.3.5.4.. [1 of 1] Compiling Main ( test/roundtrip.hs, dist/build/test-roundtrip/test-roundtrip-tmp/Main.o ) Linking dist/build/test-roundtrip/test-roundtrip ... running tests Running 1 test suites... Test suite test-roundtrip: RUNNING... Test suite test-roundtrip: FAIL Test suite logged to: dist/test/hruby-0.3.5.4-test-roundtrip.log 0 of 1 test suites (0 of 1 test cases) passed. builder for '/nix/store/j52734kk3s7z2dkdf122acifm7lk56bl-hruby-0.3.5.4.drv' failed with exit code 1 cannot build derivation '/nix/store/7v1qhdzbk9z1m2ra3l0kzjk6g6j9i098-language-puppet-1.3.19.drv': 1 dependencies couldn't be built error: build of '/nix/store/pf2zjc8xzp788smrgdndzmy0mqq085d8-leveldb-haskell-0.6.5.drv' on 'ssh://root@corp2.benaco.biz' failed: builder for '/nix/store/pf2zjc8xzp788smrgdndzmy0mqq085d8-leveldb-haskell-0.6.5.drv' failed with exit code 1 builder for '/nix/store/pf2zjc8xzp788smrgdndzmy0mqq085d8-leveldb-haskell-0.6.5.drv' failed with exit code 1; last 10 log lines: (.text+0x30b): undefined reference to `operator new[](unsigned long)' (.text+0x353): undefined reference to `operator delete[](void*)' (.text+0x378): undefined reference to `operator delete[](void*)' (.text+0x3e8): undefined reference to `operator delete[](void*)' (.text+0x440): undefined reference to `operator delete[](void*)' (.text+0x467): undefined reference to `operator delete[](void*)' /nix/store/rar4awlxi8yba65m696vv9zzw8ap0h8b-leveldb-1.18/lib/libleveldb.a(format.o):(.text+0x49f): more undefined references to `operator delete[](void*)' follow collect2: error: ld returned 1 exit status `cc' failed in phase `Linker'. (Exit code: 1) builder for '/nix/store/pf2zjc8xzp788smrgdndzmy0mqq085d8-leveldb-haskell-0.6.5.drv' failed with exit code 1 error: build of '/nix/store/hppl3z4cyvxyad7yq366y5a6yfkb1m83-Hoed-0.5.1.drv' on 'ssh://root@corp1.benaco.biz' failed: builder for ‘/nix/store/hppl3z4cyvxyad7yq366y5a6yfkb1m83-Hoed-0.5.1.drv’ failed with exit code 1 builder for '/nix/store/hppl3z4cyvxyad7yq366y5a6yfkb1m83-Hoed-0.5.1.drv' failed with exit code 1; last 10 log lines: Test suite test-5: PASS Test suite logged to: dist/test/Hoed-0.5.1-test-5.log Test suite test-queens: RUNNING... Test suite test-queens: PASS Test suite logged to: dist/test/Hoed-0.5.1-test-queens.log Test suite test-1: RUNNING... Test suite test-1: PASS Test suite logged to: dist/test/Hoed-0.5.1-test-1.log 8 of 9 test suites (8 of 9 test cases) passed. builder for ‘/nix/store/hppl3z4cyvxyad7yq366y5a6yfkb1m83-Hoed-0.5.1.drv’ failed with exit code 1 cannot build derivation '/nix/store/bh9wr9z873ggscsqpl2vq2wg6r5zbbkx-debug-0.1.1.drv': 1 dependencies couldn't be built error: build of '/nix/store/hq76n02ikfwb54ywfr7ihwryy83j32lq-pciutils-3.6.0.drv' on 'ssh://root@corp1.benaco.biz' failed: builder for ‘/nix/store/hq76n02ikfwb54ywfr7ihwryy83j32lq-pciutils-3.6.0.drv’ failed with exit code 2 builder for '/nix/store/hq76n02ikfwb54ywfr7ihwryy83j32lq-pciutils-3.6.0.drv' failed with exit code 1; last 10 log lines: gcc -O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o ls-ecaps.o ls-ecaps.c gcc -O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -I/nix/store/bcgg6cp2zz8lzdbh20a20vvwfyy4ms4l-kmod-25/include -c -o ls-kernel.o ls-kernel.c gcc -O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o ls-tree.o ls-tree.c gcc -O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o ls-map.o ls-map.c gcc -O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o common.o common.c gcc lspci.o ls-vpd.o ls-caps.o ls-caps-vendor.o ls-ecaps.o ls-kernel.o ls-tree.o ls-map.o common.o lib/libpci.so.3.6.0 -L/nix/store/bcgg6cp2zz8lzdbh20a20vvwfyy4ms4l-kmod-25/lib -lkmod -o lspci lib/libpci.so.3.6.0: undefined reference to `canonicalize_file_name' collect2: error: ld returned 1 exit status make: *** [Makefile:99: lspci] Error 1 builder for ‘/nix/store/hq76n02ikfwb54ywfr7ihwryy83j32lq-pciutils-3.6.0.drv’ failed with exit code 2 cannot build derivation '/nix/store/qwia9yf3my21w986lk1a915a70s82141-gnu-efi-3.0.8.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/h8wvnpbwpdbk45kg7a7qd9ggsdirqpfh-systemd-238.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/b3c2qmymsc6rgmg2j2j8jvnq432l4wgv-dbus-1.12.8.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/pspl42fg91ddmzfzlh893ssk08wrrd6s-libusb-1.0.22.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/549bjbfwb8ga458ykfky7pf5js89cblf-util-linux-2.32.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/k79n4kspahn0bhpc75a5j2vvbf833mrr-at-spi2-core-2.28.0.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/8fazf5f5v5qrafh5nfrdrwax58a7csdh-avahi-0.7.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/mv1x8amla532gdxc9nzc7xfqmq8wr8d3-dbus-glib-0.110.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/9yw70hnhx2v4lywfv9vllqlad5shdbvx-http-parser-2.8.1.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/gjkgnpm80n1fwczr1nbk8nabfp5nbhd7-libjack2-1.9.12.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/7avnylsf29h55pg2h5amhji8csyw8wv1-libpulseaudio-11.1.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/1jxp3blga6g39ri145qhgs4nbpp1873p-SDL2-2.0.8.drv': 2 dependencies couldn't be built cannot build derivation '/nix/store/y677l6pj8ga6s2cbvyzaash17w3amf38-at-spi2-atk-2.26.2.drv': 2 dependencies couldn't be built cannot build derivation '/nix/store/81gb1cv3l3hbarjg8zw3625hibx4jkfj-cups-2.2.6.drv': 4 dependencies couldn't be built cannot build derivation '/nix/store/gpjbz37dw4bm9mgpwzbr53jrx0j5m0yb-dconf-0.28.0.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/5zmg11bb8qrlh7ahbm37y9zdrr7r9mr4-fluidsynth-1.1.10.drv': 2 dependencies couldn't be built cannot build derivation '/nix/store/071fqv20cim559kss2h4qp931jbqx6hc-jack-0.7.1.3.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/2i1jyb9izamrsbsnpgw982cxqm90wxd2-libao-1.2.2.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/yxvgj036vn4dg6z4j7rd38nimxrwmyxa-libgit2-0.26.0.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/l2fvjfzs7g7p9zf9qlxp6hqq5msn9hnr-openal-soft-1.18.2.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/cwyk1wd5nin8ilp1da4ng31hx8phy6js-OpenAL-1.7.0.4.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/khz9gr3d9b0imgxa9l8sa6jcjc2xcxcr-OpenAL-1.7.0.4.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/3hsddxr6hsl6bx65sr8ids9ac0xsb7bd-SDL2_gfx-1.0.4.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/dp77ipzghvk0xfqv4gxy0kiahswxczfl-SDL2_image-2.0.3.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/yy2kzdvdxbnzqn6l6pazpx3aw3hjwd66-SDL2_ttf-2.0.14.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/k26077czap67cs8xrp4xlsdwqiwj1ifn-freealut-1.1.0.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/yl47lli0mbpbgqs6mnv86q0b5q14ck5v-gtk+3-3.22.30.drv': 2 dependencies couldn't be built cannot build derivation '/nix/store/86pnm57bv9x64v178k6z5g4l8m8lcqh5-sdl2-2.4.1.0.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/cnvn0a734zps25c04ndazd8794309rnb-sdl2-2.4.1.0.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/jwssihhb6w3w6qm4hqykgy29c45cw8w2-smpeg2-svn412.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/bcc2154nmhy5iw0z5njkr5jnsy4086d8-sox-14.4.2.drv': 2 dependencies couldn't be built cannot build derivation '/nix/store/lchnhnpz0qbpfmm9x2za9qspcmnjph8k-ALUT-2.4.0.2.drv': 2 dependencies couldn't be built cannot build derivation '/nix/store/8r4c6fbqj3bly2s0437l5dqx0qf7ffgb-SDL2_mixer-2.0.2.drv': 3 dependencies couldn't be built cannot build derivation '/nix/store/zrzkvk0vh8aknj0h60bzbwlqw7gjxm0q-gtk3-0.14.9.drv': 4 dependencies couldn't be built cannot build derivation '/nix/store/1g4h2fwgpznv3z2fw4370lvh9781jdpd-sdl2-gfx-0.2.drv': 3 dependencies couldn't be built cannot build derivation '/nix/store/6x19rv3gcnjvxphscd6x30c1rka02r0n-sdl2-image-2.0.0.drv': 3 dependencies couldn't be built cannot build derivation '/nix/store/g49brcxdn17mrxdscx40g66fhkxirfsy-sdl2-ttf-2.1.0.drv': 3 dependencies couldn't be built cannot build derivation '/nix/store/j24sk3anqbc059vilpgjgpzd32lgjdix-sdl2-ttf-2.1.0.drv': 3 dependencies couldn't be built cannot build derivation '/nix/store/gdwk15i8vs3d6sflwnphajim04l7y6pp-soxlib-0.0.3.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/0xwb33pkizrf8q6fxa4h10qz375p5z54-LambdaHack-0.8.3.0.drv': 2 dependencies couldn't be built cannot build derivation '/nix/store/2jgr23f734iivv7kd8z949a2w0kx5wxi-LambdaHack-0.8.3.0.drv': 2 dependencies couldn't be built cannot build derivation '/nix/store/2kk42c9i1ppj81dadaj7wfgqha34mk33-sdl2-mixer-1.1.0.drv': 2 dependencies couldn't be built cannot build derivation '/nix/store/l1xk0d1gq51qp7msn3189hvlncjxfj4l-Allure-0.8.3.0.drv': 1 dependencies couldn't be built error: build of '/nix/store/rr5kc5wfwbi1ypw75jnmjgqsicxj2qhd-odbc-0.2.0.drv' on 'ssh://root@corp2.benaco.biz' failed: builder for '/nix/store/rr5kc5wfwbi1ypw75jnmjgqsicxj2qhd-odbc-0.2.0.drv' failed with exit code 1 builder for '/nix/store/rr5kc5wfwbi1ypw75jnmjgqsicxj2qhd-odbc-0.2.0.drv' failed with exit code 1; last 10 log lines: cbits/odbc.c:7:10: error: fatal error: odbcss.h: No such file or directory #include ^~~~~~~~~~ | 7 | #include | ^ compilation terminated. `cc' failed in phase `C Compiler'. (Exit code: 1) builder for '/nix/store/rr5kc5wfwbi1ypw75jnmjgqsicxj2qhd-odbc-0.2.0.drv' failed with exit code 1 error: build of '/nix/store/l2vgyq1i49q6pj1v4q286kb9fgnzk8sv-rustc-1.27.0.drv' on 'ssh://root@corp1.benaco.biz' failed: builder for ‘/nix/store/l2vgyq1i49q6pj1v4q286kb9fgnzk8sv-rustc-1.27.0.drv’ failed with exit code 2 builder for '/nix/store/l2vgyq1i49q6pj1v4q286kb9fgnzk8sv-rustc-1.27.0.drv' failed with exit code 1; last 10 log lines: Error relocating /nix/store/yslsxq0vi5mz2vhrdcff9sz0anxm550w-rustc-bootstrap-1.26.2/bin/cargo: _Unwind_DeleteException: symbol not found Error relocating /nix/store/yslsxq0vi5mz2vhrdcff9sz0anxm550w-rustc-bootstrap-1.26.2/bin/cargo: _Unwind_RaiseException: symbol not found Error relocating /nix/store/yslsxq0vi5mz2vhrdcff9sz0anxm550w-rustc-bootstrap-1.26.2/bin/cargo: __strtok_r: symbol not found Error relocating /nix/store/yslsxq0vi5mz2vhrdcff9sz0anxm550w-rustc-bootstrap-1.26.2/bin/cargo: _Unwind_Backtrace: symbol not found Error relocating /nix/store/yslsxq0vi5mz2vhrdcff9sz0anxm550w-rustc-bootstrap-1.26.2/bin/cargo: _Unwind_GetLanguageSpecificData: symbol not found Error relocating /nix/store/yslsxq0vi5mz2vhrdcff9sz0anxm550w-rustc-bootstrap-1.26.2/bin/cargo: _Unwind_SetIP: symbol not found failed to run: /nix/store/yslsxq0vi5mz2vhrdcff9sz0anxm550w-rustc-bootstrap-1.26.2/bin/cargo build --manifest-path /tmp/nix-build-rustc-1.27.0.drv-0/rustc-1.27.0-src/src/bootstrap/Cargo.toml --frozen Build completed unsuccessfully in 0:00:00 make: *** [Makefile:28: all] Error 1 builder for ‘/nix/store/l2vgyq1i49q6pj1v4q286kb9fgnzk8sv-rustc-1.27.0.drv’ failed with exit code 2 cannot build derivation '/nix/store/3qnpsw5g5810rm6j06rrj3crixa3864j-cargo-1.27.0.drv': 2 dependencies couldn't be built cannot build derivation '/nix/store/yz9fl4572fy8c3nlxyh0z0hq4cdw1vwh-librsvg-2.42.4.drv': 2 dependencies couldn't be built cannot build derivation '/nix/store/6z1qvla51ylpp81pb4l20qn41g0svbz8-hook.drv': 3 dependencies couldn't be built cannot build derivation '/nix/store/cq0j6bd5qdchgr0wyx043wigy039ngb0-emacs-26.1.drv': 4 dependencies couldn't be built cannot build derivation '/nix/store/kzzq1kmi3vhp7igskawxsh26rajkvc9m-Agda-2.5.4.drv': 1 dependencies couldn't be built error: build of '/nix/store/flx66darnv2c68hmab287gy8g372aria-haskell-gi-0.21.3.drv' on 'ssh://root@benaco-node-1.benaco.com' failed: builder for '/nix/store/flx66darnv2c68hmab287gy8g372aria-haskell-gi-0.21.3.drv' failed with exit code 1 builder for '/nix/store/flx66darnv2c68hmab287gy8g372aria-haskell-gi-0.21.3.drv' failed with exit code 1; last 10 log lines: [1 of 1] Compiling Main ( cmdline/haskell-gi.hs, dist/build/haskell-gi/haskell-gi-tmp/Main.o ) Linking dist/build/haskell-gi/haskell-gi ... /nix/store/3a74d03pq6d0cg3crkfw965k5s58hbn4-binutils-2.30/bin/ld: cannot find -lgirepository-1.0 /nix/store/3a74d03pq6d0cg3crkfw965k5s58hbn4-binutils-2.30/bin/ld: cannot find -lgobject-2.0 /nix/store/3a74d03pq6d0cg3crkfw965k5s58hbn4-binutils-2.30/bin/ld: cannot find -lglib-2.0 /nix/store/3a74d03pq6d0cg3crkfw965k5s58hbn4-binutils-2.30/bin/ld: cannot find -lgobject-2.0 /nix/store/3a74d03pq6d0cg3crkfw965k5s58hbn4-binutils-2.30/bin/ld: cannot find -lglib-2.0 collect2: error: ld returned 1 exit status `cc' failed in phase `Linker'. (Exit code: 1) builder for '/nix/store/flx66darnv2c68hmab287gy8g372aria-haskell-gi-0.21.3.drv' failed with exit code 1 error: build of '/nix/store/w0gb60xkg4sdrskwlbwqp6dm8qqfkay5-yesod-paginator-1.1.0.0.drv' on 'ssh://root@corp1.benaco.biz' failed: builder for ‘/nix/store/w0gb60xkg4sdrskwlbwqp6dm8qqfkay5-yesod-paginator-1.1.0.0.drv’ failed with exit code 1 builder for '/nix/store/w0gb60xkg4sdrskwlbwqp6dm8qqfkay5-yesod-paginator-1.1.0.0.drv' failed with exit code 1; last 10 log lines: Test suite test: RUNNING... Test suite test: PASS Test suite logged to: dist/test/yesod-paginator-1.1.0.0-test.log Test suite doctests: RUNNING... doctests: /nix/store/hfi080vzqqzfip6bd6x4cxc2jgj56xn3-ghc-8.4.3/lib/ghc-8.4.3/ghc-prim-0.5.2.0/HSghc-prim-0.5.2.0.o: unknown symbol `exp' doctests: doctests: unable to load package `ghc-prim-0.5.2.0' Test suite doctests: FAIL Test suite logged to: dist/test/yesod-paginator-1.1.0.0-doctests.log 1 of 2 test suites (1 of 2 test cases) passed. builder for ‘/nix/store/w0gb60xkg4sdrskwlbwqp6dm8qqfkay5-yesod-paginator-1.1.0.0.drv’ failed with exit code 1 error: build of '/nix/store/f2nf6263n100ia6sp8m67z8qzdm3pqgz-yoga-0.0.0.2.drv' on 'ssh://root@benaco-node-1.benaco.com' failed: builder for '/nix/store/f2nf6263n100ia6sp8m67z8qzdm3pqgz-yoga-0.0.0.2.drv' failed with exit code 1 builder for '/nix/store/f2nf6263n100ia6sp8m67z8qzdm3pqgz-yoga-0.0.0.2.drv' failed with exit code 1; last 10 log lines: [2 of 3] Compiling Bindings.Yoga.Enums ( dist/build/Bindings/Yoga/Enums.hs, dist/build/Bindings/Yoga/Enums.o ) [3 of 3] Compiling Yoga ( lib/Yoga.hs, dist/build/Yoga.o ) :0:9: error: error: ‘NULL’ was not declared in this scope :0:9: error: error: ‘NULL’ was not declared in this scope `cc' failed in phase `C Compiler'. (Exit code: 1) builder for '/nix/store/f2nf6263n100ia6sp8m67z8qzdm3pqgz-yoga-0.0.0.2.drv' failed with exit code 1 error: build of '/nix/store/bphcvc1a4lf8ddvrajpzlfs42whfv0bn-svg-tree-0.6.2.2.drv' on 'ssh://root@corp2.benaco.biz' failed: builder for '/nix/store/bphcvc1a4lf8ddvrajpzlfs42whfv0bn-svg-tree-0.6.2.2.drv' failed with exit code 1 builder for '/nix/store/bphcvc1a4lf8ddvrajpzlfs42whfv0bn-svg-tree-0.6.2.2.drv' failed with exit code 1; last 10 log lines: 1 Call stack: CallStack (from HasCallStack): callStackDoc, called at compiler/utils/Outputable.hs:1150:37 in ghc:Outputable pprPanic, called at compiler/coreSyn/CoreSyn.hs:2025:25 in ghc:CoreSyn Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug [2 of 8] Compiling Graphics.Svg.NamedColors ( src/Graphics/Svg/NamedColors.hs, dist/build/Graphics/Svg/NamedColors.p_o ) builder for '/nix/store/bphcvc1a4lf8ddvrajpzlfs42whfv0bn-svg-tree-0.6.2.2.drv' failed with exit code 1 cannot build derivation '/nix/store/q92qznc6vc4467brhc9a35b7ligs77fz-rasterific-svg-0.3.3.1.drv': 1 dependencies couldn't be built error: build of '/nix/store/kzr5rfqaspgzjvj1cpcaf9nnhixp1m4n-clash-prelude-0.99.2.drv' on 'ssh://root@benaco-node-3.benaco.com' failed: builder for '/nix/store/kzr5rfqaspgzjvj1cpcaf9nnhixp1m4n-clash-prelude-0.99.2.drv' failed with exit code 1 builder for '/nix/store/kzr5rfqaspgzjvj1cpcaf9nnhixp1m4n-clash-prelude-0.99.2.drv' failed with exit code 1; last 10 log lines: src/Clash/Tutorial.hs:78:1: error: Could not find module ‘Clash.Explicit.Testbench’ Use -v to see a list of the files searched for. | 78 | import Clash.Explicit.Testbench | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Test suite doctests: FAIL Test suite logged to: dist/test/clash-prelude-0.99.2-doctests.log 0 of 1 test suites (0 of 1 test cases) passed. builder for '/nix/store/kzr5rfqaspgzjvj1cpcaf9nnhixp1m4n-clash-prelude-0.99.2.drv' failed with exit code 1 cannot build derivation '/nix/store/j6vxfkiqa9hjps18y7vmmpllri9rnqhx-clash-lib-0.99.2.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/mkkfchjlibkdhagbp25bwk5apzil85q0-clash-ghc-0.99.2.drv': 2 dependencies couldn't be built error: build of '/nix/store/93q6lhykhnjymlnvyvikd9gsrc18a8gy-hmatrix-0.19.0.0.drv' on 'ssh://root@benaco-node-2.benaco.com' failed: builder for '/nix/store/93q6lhykhnjymlnvyvikd9gsrc18a8gy-hmatrix-0.19.0.0.drv' failed with exit code 1 builder for '/nix/store/93q6lhykhnjymlnvyvikd9gsrc18a8gy-hmatrix-0.19.0.0.drv' failed with exit code 1; last 10 log lines: src/Internal/C/vector-aux.c:1100:24: error: warning: unused variable ‘buffer’ [-Wunused-variable] struct random_data buffer; ^~~~~~ | 1100 | struct random_data buffer; | ^ `cc' failed in phase `C Compiler'. (Exit code: 1) builder for '/nix/store/93q6lhykhnjymlnvyvikd9gsrc18a8gy-hmatrix-0.19.0.0.drv' failed with exit code 1 cannot build derivation '/nix/store/mvf5crxfsmz0lqfnfnxmqp8a4fx9b27c-hmatrix-gsl-0.19.0.1.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/q5jb52f1rg8hwydpj116gk1f9h4z2z3s-hmatrix-vector-sized-0.1.1.0.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/51gr9cy7c0fwf6bmrfs8rax9kjp53l4a-learn-physics-0.6.2.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/j56184vnxrv6467x4rv4j2nklr7g04rk-hamilton-0.1.0.3.drv': 3 dependencies couldn't be built cannot build derivation '/nix/store/l3x13ynvxblbcvc8vhrrkrbv0dqr9xv2-hmatrix-special-0.19.0.0.drv': 2 dependencies couldn't be built cannot build derivation '/nix/store/rgsh09y994188w6i0wrf0c0955bx34nf-hquantlib-0.0.4.0.drv': 3 dependencies couldn't be built [0 built (17 failed), 20 copied (216.2 MiB), 0.0 MiB DL] ```
nh2 commented 6 years ago

With my update to https://github.com/NixOS/nixpkgs/commit/88ae8f7d55efa457c95187011eb410d097108445 as per #6, now 7 more packages fail but we also have 4 more executables, so with that we're at 315 executables.

Total set of 37 failing exes:

Agda
Allure
ALUT
clash-ghc
credential-store
csg
debug
diagrams-builder
dotenv
ersatz
filter-logger
gtk3
hamilton
haskell-gi
hquantlib
ihaskell
ipython-kernel
jack
LambdaHack
language-puppet
learn-physics
lens-regex
leveldb-haskell
microformats2-parser
mmark-cli
odbc
OpenAL
rasterific-svg
sdl2
sdl2-gfx
sdl2-image
sdl2-mixer
sdl2-ttf
soxlib
yesod-paginator
yoga
zeromq4-patterns
nh2 commented 5 years ago

builder for '/nix/store/sn7mhjz7bgsx622lzjcc60j7iligzkfs-ad-4.3.5.drv' failed with exit code 1

This ad test failure is fixed by https://github.com/ekmett/ad/pull/76; added comment

nh2 commented 5 years ago

With my new branch master-2019-05-11 just merged to master as commit 725ceb2479637b3b3ab29298a1bc0e48c54984c9, which moves static-haskell-nix to use overlays extensively, and upgrades to latest nixpkgs master, now only the following 29 of 273 total executables fail to build:

Agda
Allure
ALUT
clash-ghc
csg
cuda
debug
diagrams-builder
ersatz
gloss-examples
gtk3
hamilton
hquantlib
ihaskell
jack
LambdaHack
language-puppet
learn-physics
leveldb-haskell
odbc
OpenAL
qchas
sdl2
sdl2-gfx
sdl2-image
sdl2-mixer
sdl2-ttf
soxlib
yesod-paginator
nh2 commented 1 year ago

The error from above https://github.com/nh2/static-haskell-nix/issues/4#issuecomment-406612724

  Preprocessing library for glib-0.13.6.0..
  Setup: Error in C header file.

  /nix/store/cmmzc88f9ryhyyw24swvzmpj37i8rdrk-musl-1.1.19-dev/include/stdlib.h:44: (column 11) [FATAL] 
    >>> Syntax error!
    The symbol `void' does not fit here.

is: