Skip to content

trying to build ghc 6.10.4 from src tarball: haddock: Can't find package.conf

Folks:

Trying to build from the ghc-6.10.4 source tarball on Ubuntu Hardy i686, the "make" step ends with:

Preprocessing library terminfo-0.3.1...
Running Haddock for terminfo-0.3.1...
Warning: The documentation for the following packages are not installed. No
links will be generated to these packages: rts-1.0
Documentation created: dist/doc/html/terminfo/index.html
if ifBuildable/ifBuildable /home/zooko/playground/ghc/ghc-6.10.4/packages haskeline; then \
          cd haskeline && /home/zooko/playground/ghc/ghc-6.10.4/libraries/cabal-bin /usr/bin/ghc /home/zooko/playground/ghc/ghc-6.10.4/libraries/bootstrapping.conf 1.6.0.3 haddock --html-location='../$pkg' \
                                    --with-haddock=/home/zooko/playground/ghc/ghc-6.10.4/utils/haddock/install-inplace/bin/haddock; \
        fi
./Setup haddock --html-location=../$pkg --with-haddock=/home/zooko/playground/ghc/ghc-6.10.4/utils/haddock/install-inplace/bin/haddock
Preprocessing library haskeline-0.6.1.5...
Running Haddock for haskeline-0.6.1.5...
Warning: The documentation for the following packages are not installed. No
links will be generated to these packages: rts-1.0
Warning: System.Console.Haskeline.History: could not find link destinations for:
    System.Console.Haskeline.Monads.MonadState
Warning: System.Console.Haskeline.MonadException: could not find link destinations for:
    System.Console.Haskeline.Backend.Terminfo.Draw System.Console.Haskeline.Backend.DumbTerm.DumbTerm GHC.IOBase.IOError GHC.IOBase.ioe_handle GHC.IOBase.ioe_type GHC.IOBase.ioe_location GHC.IOBase.ioe_description GHC.IOBase.ioe_filename
Warning: System.Console.Haskeline: could not find link destinations for:
    System.Console.Haskeline.Monads.MonadState System.Console.Haskeline.Monads.MonadReader System.Console.Haskeline.Term.RunTerm
Documentation created: dist/doc/html/haskeline/index.html
sh gen_contents_index --inplace
haddock: Can't find package.conf as /home/zooko/playground/ghc/ghc-6.10.4/utils/haddock/install-inplace/share/./inplace-datadir/package.conf
make[2]: *** [doc] Error 1
make[2]: Leaving directory `/home/zooko/playground/ghc/ghc-6.10.4/libraries'
make[1]: *** [stage2] Error 2
make[1]: Leaving directory `/home/zooko/playground/ghc/ghc-6.10.4'
make: *** [bootstrap2] Error 2

real    43m43.936s
user    36m2.463s
sys     7m22.284s

Googling for this error message shows me: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=538157

Trac metadata
Trac field Value
Version 6.10.4
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Build System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information