Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests fail via nix #447

Open
idontgetoutmuch opened this issue Sep 29, 2019 · 1 comment
Open

Tests fail via nix #447

idontgetoutmuch opened this issue Sep 29, 2019 · 1 comment

Comments

@idontgetoutmuch
Copy link

@tmcdonell - this is just to record my progress for now.

Preprocessing test suite 'doctest' for accelerate-1.3.0.0..
Building test suite 'doctest' for accelerate-1.3.0.0..
[1 of 2] Compiling Build_doctests   ( dist/build/doctest/autogen/Build_doctests.hs, dist/build/doctest/doctest-tmp/Build_doctests.o )
[2 of 2] Compiling Main             ( test/doctest/Main.hs, dist/build/doctest/doctest-tmp/Main.o )
Linking dist/build/doctest/doctest ...
Preprocessing test suite 'nofib-interpreter' for accelerate-1.3.0.0..
Building test suite 'nofib-interpreter' for accelerate-1.3.0.0..
[1 of 1] Compiling Main             ( test/nofib/Main.hs, dist/build/nofib-interpreter/nofib-interpreter-tmp/Main.o )
Linking dist/build/nofib-interpreter/nofib-interpreter ...
running tests
Running 2 test suites...
Test suite doctest: RUNNING...
Test suite doctest: PASS
Test suite logged to: dist/test/accelerate-1.3.0.0-doctest.log
Test suite nofib-interpreter: RUNNING...
nofib-interpreter: Data.Array.Accelerate: the nofib test-suite has been disabled.
Reinstall package 'accelerate' with '-fnofib' to enable it.

CallStack (from HasCallStack):
  error, called at src/Data/Array/Accelerate/Test/NoFib.hs:45:14 in accelerate-1.3.0.0-J5N7VhAalHFCQfUrU9zJOH:Data.Array.Accelerate.Test.NoFib
Test suite nofib-interpreter: FAIL
Test suite logged to: dist/test/accelerate-1.3.0.0-nofib-interpreter.log
1 of 2 test suites (1 of 2 test cases) passed.
builder for '/nix/store/a6c50g866xq3ilb4m1wbs492fv6b3hrx-accelerate-1.3.0.0.drv' failed with exit code 1
error: build of '/nix/store/a6c50g866xq3ilb4m1wbs492fv6b3hrx-accelerate-1.3.0.0.drv' failed
@idontgetoutmuch
Copy link
Author

sundials@sundials:~/chebApprox$ nix-shell
these derivations will be built:
  /nix/store/f1fys4k09vs4iha2agrdm889xpxjnb4p-accelerate-1.2.0.1.drv
  /nix/store/1mvl4qp3g4762ajf5myglss0c458dw30-accelerate-llvm-1.2.0.1.drv
  /nix/store/yvq0vv0vd0g09zhap27ykg12jswk5j1s-lens-accelerate-0.2.0.0.drv
  /nix/store/z291241ayl2b3fval89clrdx6i8h5rzz-accelerate-llvm-native-1.2.0.1.drv
  /nix/store/zgnydsxalihrc42yig7p32r9hj52lk3y-accelerate-llvm-ptx-1.2.0.1.drv
  /nix/store/ykn97xjrfj6vi40527xp1zwm3d0irvga-accelerate-fft-1.2.0.0.drv
  /nix/store/z18c8lxrry8nai3hha9sk56a71jrgm1d-ghc-8.6.5-with-packages.drv
building '/nix/store/f1fys4k09vs4iha2agrdm889xpxjnb4p-accelerate-1.2.0.1.drv'...
setupCompilerEnvironmentPhase
Build with /nix/store/44zyylbbhabj2d62f7lbb6wmjlllcv10-ghc-8.6.5.
unpacking sources
unpacking source archive /nix/store/fckavr187s1a1mbd0nwzx8hvlhdml467-accelerate
source root is accelerate
patching sources
compileBuildDriverPhase
setupCompileFlags: -package-db=/build/setup-package.conf.d -j2 -threaded
[1 of 1] Compiling Main             ( Setup.hs, /build/Main.o )
Linking Setup ...
configuring
configureFlags: --verbose --prefix=/nix/store/00cgal5vjn4961bda0b190d9rfzyh40n-accelerate-1.2.0.1 --libdir=$prefix/lib/$compiler --libsubdir=$abi/$libname --docdir=/nix/store/9fqk030bvx87khl156j1ixrp03lvf738-accelerate-1.2.0.1-doc/share/doc/accelerate-1.2.0.1 --with-gcc=gcc --package-db=/build/package.conf.d --ghc-option=-j2 --disable-split-objs --enable-library-profiling --profiling-detail=exported-functions --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --enable-tests --disable-benchmarks --enable-library-vanilla --disable-library-for-ghci --ghc-option=-split-sections --extra-lib-dirs=/nix/store/58zg3ya4ap9s13sjkgv1v6ga2q5s2g5w-ncurses-6.1-20190112/lib --extra-lib-dirs=/nix/store/rr52rxkzn8w4pidxp8g49649yysa726h-libffi-3.2.1/lib --extra-lib-dirs=/nix/store/vdw4zkdvdcpca3bn0z7i3a2na48pr38a-gmp-6.1.2/lib --extra-lib-dirs=/nix/store/44zyylbbhabj2d62f7lbb6wmjlllcv10-ghc-8.6.5/lib
Using Parsec parser
Configuring accelerate-1.3.0.0...
CallStack (from HasCallStack):
  die', called at libraries/Cabal/Cabal/Distribution/Simple/Configure.hs:950:20 in Cabal-2.4.0.1:Distribution.Simple.Configure
  configureFinalizedPackage, called at libraries/Cabal/Cabal/Distribution/Simple/Configure.hs:460:12 in Cabal-2.4.0.1:Distribution.Simple.Configure
  configure, called at libraries/Cabal/Cabal/Distribution/Simple.hs:596:20 in Cabal-2.4.0.1:Distribution.Simple
  confHook, called at libraries/Cabal/Cabal/Distribution/Simple/UserHooks.hs:67:5 in Cabal-2.4.0.1:Distribution.Simple.UserHooks
  confHook, called at libraries/Cabal/Cabal/Distribution/Simple/UserHooks.hs:67:5 in Cabal-2.4.0.1:Distribution.Simple.UserHooks
  configureAction, called at libraries/Cabal/Cabal/Distribution/Simple.hs:178:19 in Cabal-2.4.0.1:Distribution.Simple
  defaultMainHelper, called at libraries/Cabal/Cabal/Distribution/Simple.hs:124:42 in Cabal-2.4.0.1:Distribution.Simple
  defaultMainWithHooks, called at src/Distribution/Extra/Doctest.hs:135:27 in cabal-doctest-1.0.6-JO6c4A1pILcGBoq3P7Luma:Distribution.Extra.Doctest
Setup: Encountered missing dependencies:
prettyprinter >=1.2, prettyprinter-ansi-terminal >=1.0

builder for '/nix/store/f1fys4k09vs4iha2agrdm889xpxjnb4p-accelerate-1.2.0.1.drv' failed with exit code 1
cannot build derivation '/nix/store/z18c8lxrry8nai3hha9sk56a71jrgm1d-ghc-8.6.5-with-packages.drv': 1 dependencies couldn't be built
error: build of '/nix/store/z18c8lxrry8nai3hha9sk56a71jrgm1d-ghc-8.6.5-with-packages.drv' failed

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

No branches or pull requests

2 participants