Code Monkey home page Code Monkey logo

Comments (7)

RyanGlScott avatar RyanGlScott commented on July 30, 2024

It sounds like something is screwed up wkth your installation of cabal-doctest. Does ghc-pkg check say anything about it?

from cabal-doctest.

testexplode avatar testexplode commented on July 30, 2024

No it says nothing about it.

It says:

[me@computer ~]$ ghc-pkg check
Warning: haddock-interfaces: /home/me/.cabal/share/doc/x86_64-linux-ghc-8.2.1/fail-4.9.0.0/html/fail.haddock doesn't exist or isn't a file
Warning: haddock-interfaces: /usr/share/doc/haskell-zlib/html/zlib.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-zlib/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-text/html/text.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-text/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-tar/html/tar.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-tar/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-stm/html/stm.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-stm/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-random/html/random.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-random/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-parsec/html/parsec.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-parsec/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-network/html/network.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-network/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-network-uri/html/network-uri.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-network-uri/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-mtl/html/mtl.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-mtl/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-http/html/HTTP.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-http/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-hashable/html/hashable.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-hashable/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-hackage-security/html/hackage-security.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-hackage-security/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-edit-distance/html/edit-distance.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-edit-distance/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-ed25519/html/ed25519.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-ed25519/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-echo/html/echo.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-echo/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-cryptohash-sha256/html/cryptohash-sha256.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-cryptohash-sha256/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-base64-bytestring/html/base64-bytestring.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-base64-bytestring/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-base16-bytestring/html/base16-bytestring.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-base16-bytestring/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/haskell-async/html/async.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/haskell-async/html doesn't exist or isn't a directory

from cabal-doctest.

RyanGlScott avatar RyanGlScott commented on July 30, 2024

OK. I'm grasping at straws a bit here, because I'm unable to reproduce the issue. Can you try uninstalling and reinstalling cabal-doctest to see if that makes a difference?

from cabal-doctest.

testexplode avatar testexplode commented on July 30, 2024

I tried to reinstall doctest, no change.
I made the installation of idris cabal install idris again on a virtual machine that has just been updated to ghc 8.2.1 (so no old packages): no change, same error

Perhaps it has something to do with the new dynamic linking in arch and manjaro ?

I had to change the ~/.cabal/config with

library-vanilla: False
shared: True
executable-dynamic: True

from cabal-doctest.

RyanGlScott avatar RyanGlScott commented on July 30, 2024

Ah! Thank you, that ~/.cabal/config info was very helpful. I'm now able to reproduce the issue locally on my Ubuntu machine if I run:

$ cabal install --disable-library-vanilla distributive-0.5.3

I'm not sure yet why exactly this is failing, though.

from cabal-doctest.

RyanGlScott avatar RyanGlScott commented on July 30, 2024

My gut feeling is that cabal is to blame here, given that this seems to happen specifically with custom-setup scripts. I've opened haskell/cabal#4812 to track this. (EDIT: Which, it turns out, is a duplicate of haskell/cabal#1720.)

from cabal-doctest.

RyanGlScott avatar RyanGlScott commented on July 30, 2024

Alas, there's nothing more we can do on cabal-doctest's end, so I'll close this in favor of haskell/cabal#1720.

from cabal-doctest.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.