Skip to content

doctest is broken #66

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

Closed
angerman opened this issue Feb 23, 2019 · 2 comments
Closed

doctest is broken #66

angerman opened this issue Feb 23, 2019 · 2 comments

Comments

@angerman
Copy link
Collaborator

When building plutus, which depends on doctest, we are greeted with the following

building '/nix/store/dsb4ms3cl8zbmiz75vhs22bzv79ycc1p-doctest-0.16.0.1-lib-doctest.drv'...
unpacking sources
unpacking source archive /nix/store/5bq470x5a3livhakypg1f366cizj5j4n-doctest-0.16.0.1.tar.gz
source root is doctest-0.16.0.1
setting SOURCE_DATE_EPOCH to timestamp 1537720725 of file doctest-0.16.0.1/test/sandbox/cabal.sandbox.config
patching sources
configuring
Configure flags:
--prefix=/nix/store/7pbi41yrc2c7cwxm3hzmwrf8i81lbgdr-doctest-0.16.0.1-lib-doctest lib:doctest --package-db=clear --package-db=/nix/store/78lh5qp3k319g6a7f43givydc89mx0hb-doctest-0.16.0.1-lib-doctest-config/package.conf.d --with-ghc=ghc --with-ghc-pkg=ghc-pkg --with-hsc2hs=hsc2hs --with-gcc=cc --with-ld=ld --with-ar=ar --with-strip=strip --enable-executable-stripping --enable-library-stripping --docdir=/nix/store/0car37r8vml0z0531l13pvwah8bf2ala-doctest-0.16.0.1-lib-doctest-doc/share/doc/doctest
Configuring library for doctest-0.16.0.1..
Loaded package environment from /nix/store/78lh5qp3k319g6a7f43givydc89mx0hb-doctest-0.16.0.1-lib-doctest-config/ghc-environment
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
Error:
    The following packages are broken because other packages they depend on are missing. These broken packages must be rebuilt before they can be used.
installed package ghc-8.4.4 is broken due to missing package directory-1.3.1.5, process-1.6.3.0, bytestring-0.10.8.2, binary-0.8.5.1, time-1.8.0.2, containers-0.5.11.0, filepath-1.4.2, hpc-0.6.0.3, transformers-0.5.5.0, ghc-boot-8.4.4, ghci-8.4.4, unix-2.7.2.2, terminfo-0.4.1.1

builder for '/nix/store/dsb4ms3cl8zbmiz75vhs22bzv79ycc1p-doctest-0.16.0.1-lib-doctest.drv' failed with exit code 1
cannot build derivation '/nix/store/ca251jy00nj1csx9i7f4l4c54waw3xdj-doctest-0.16.0.1-exe-doctest-config.drv': 1 dependencies couldn't be built
building '/nix/store/01kwh9lhghhf8wvvfmp1v1b1csizrkll-resourcet-1.2.2-lib-resourcet-config.drv'...
cannot build derivation '/nix/store/v94kl14rh1gx3fkyrdgn0v7bh67g2f7i-doctest-0.16.0.1-exe-doctest.drv': 1 dependencies couldn't be built
@angerman
Copy link
Collaborator Author

I believe this will be an issue for any package that depends on the ghc library.

I'm a bit puzzled because I thought we did build doctest for cardano-sl. I might be misremembering something here...

@angerman angerman changed the title dockets is broken doctest is broken Feb 27, 2019
@angerman
Copy link
Collaborator Author

This was fixed with input-output-hk/iohk-nix#42

@nc6 nc6 mentioned this issue Aug 8, 2019
andreabedini pushed a commit to andreabedini/haskell.nix that referenced this issue Sep 14, 2022
andreabedini pushed a commit to andreabedini/haskell.nix that referenced this issue Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant