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

Haddock documentation not building properly #2

Open
rrnewton opened this issue Feb 8, 2011 · 1 comment
Open

Haddock documentation not building properly #2

rrnewton opened this issue Feb 8, 2011 · 1 comment

Comments

@rrnewton
Copy link
Owner

rrnewton commented Feb 8, 2011

I'm having a variety of different problems trying to build
documentation for this package. If I do "runhaskell Setup.hs haddock"
I get the following:

 GHCi runtime linker: fatal error: I found a duplicate definition for symbol
__hscore_S_IFDIR
 whilst processing object file
/home/newton/.cabal/lib/directory-1.0.1.2/ghc-7.0.1/HSdirectory-1.0.1.2.o
 This could be caused by:
* Loading two different object files which export the same symbol
* Specifying the same object file twice on the GHCi command line
* An incorrect `package.conf' entry, causing some object to be
  loaded twice.
 GHCi cannot safely continue in this situation.  Exiting now.  Sorry.

If I try "cabal haddock" it fails silently with error code 127.

But if I run "haddock" by hand on the .hs files it seems to work ok.

At one point I thought I was dealing with this problem:
http://hackage.haskell.org/trac/hackage/ticket/656

In particular I believe I ran into this error:
cabal: Can't find transitive deps for haddock

@rrnewton
Copy link
Owner Author

rrnewton commented Feb 8, 2011

The error code 127 was a separate cabal-install bug.
The "cabal haddock" option above DOES result in the transitive deps error.

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