Changes between Initial Version and Version 3 of Ticket #7879


Ignore:
Timestamp:
May 18, 2013 6:57:15 PM (11 months ago)
Author:
igloo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7879

    • Property Status changed from new to patch
    • Property Difficulty changed from to Unknown
  • Ticket #7879 – Description

    initial v3  
    11I setup my build tree using the instructions here http://hackage.haskell.org/trac/ghc/wiki/Building/Using .  After booting and configuring, I ran "sh validate" which eventually halted on the following command with the following error:  
    2  
     2{{{ 
    33"/Users/andreas/repos/temp-ghc-3/ghc-build/inplace/bin/haddock" --odir="libraries/ghc-prim/dist-install/doc/html/ghc-prim" --no-tmp-comp-dir --dump-interface=libraries/ghc-prim/dist-install/doc/html/ghc-prim/ghc-prim.haddock --html --hoogle --title="ghc-prim-0.3.1.0: GHC primitives" --prologue="libraries/ghc-prim/dist-install/haddock-prologue.txt"   --optghc=-hisuf --optghc=dyn_hi --optghc=-osuf --optghc=dyn_o --optghc=-hcsuf --optghc=dyn_hc --optghc=-fPIC --optghc=-dynamic --optghc=-H32m --optghc=-O --optghc=-Werror --optghc=-Wall --optghc=-H64m --optghc=-O0 --optghc=-package-name --optghc=ghc-prim-0.3.1.0 --optghc=-hide-all-packages --optghc=-i --optghc=-ilibraries/ghc-prim/. --optghc=-ilibraries/ghc-prim/dist-install/build --optghc=-ilibraries/ghc-prim/dist-install/build/autogen --optghc=-Ilibraries/ghc-prim/dist-install/build --optghc=-Ilibraries/ghc-prim/dist-install/build/autogen --optghc=-Ilibraries/ghc-prim/. --optghc=-optP-include --optghc=-optPlibraries/ghc-prim/dist-install/build/autogen/cabal_macros.h --optghc=-package --optghc=rts-1.0 --optghc=-package-name --optghc=ghc-prim --optghc=-XHaskell98 --optghc=-XCPP --optghc=-XMagicHash --optghc=-XForeignFunctionInterface --optghc=-XUnliftedFFITypes --optghc=-XUnboxedTuples --optghc=-XEmptyDataDecls --optghc=-XNoImplicitPrelude --optghc=-O2 --optghc=-O --optghc=-dcore-lint --optghc=-fno-warn-deprecated-flags --optghc=-no-user-package-db --optghc=-rtsopts --optghc=-odir --optghc=libraries/ghc-prim/dist-install/build --optghc=-hidir --optghc=libraries/ghc-prim/dist-install/build --optghc=-stubdir --optghc=libraries/ghc-prim/dist-install/build    libraries/ghc-prim/./GHC/Classes.hs  libraries/ghc-prim/./GHC/CString.hs  libraries/ghc-prim/./GHC/Debug.hs  libraries/ghc-prim/./GHC/Magic.hs  libraries/ghc-prim/dist-install/build/GHC/PrimopWrappers.hs  libraries/ghc-prim/./GHC/IntWord64.hs  libraries/ghc-prim/./GHC/Tuple.hs  libraries/ghc-prim/./GHC/Types.hs libraries/ghc-prim/dist-install/build/autogen/GHC/Prim.hs +RTS -tlibraries/ghc-prim/dist-install/doc/html/ghc-prim/ghc-prim.haddock.t --machine-readable 
    44Haddock coverage: 
     
    1515  38% (  6 / 16) in 'GHC.Classes' 
    1616haddock: internal error: /Users/andreas/repos/temp-ghc-3/ghc-build/inplace/lib/html/Ocean.std-theme/hslogo-16.png: copyFile: does not exist (No such file or directory) 
    17  
     17}}} 
    1818Apparently it can't find /Users/andreas/repos/temp-ghc-3/ghc-build/inplace/lib/html/Ocean.std-theme/hslogo-16.png. That file is in fact there, but it is linked to another file:  
    19  
     19{{{ 
    2020ls -lh /Users/andreas/repos/temp-ghc-3/ghc-build/inplace/lib/html/Ocean.std-theme 
    2121total 40 
     
    2626lrwxr-xr-x  1 andreas  staff    79B Apr 28 13:13 synopsis.png -> ../../../../../../ghc/utils/haddock/resources/html/Ocean.std-theme/synopsis.png 
    2727piz-sardona:ghc-build andreas$ cd /Users/andreas/repos/temp-ghc-3/ghc-build/inplace/lib/html/Ocean.std-theme 
    28  
     28}}} 
    2929It seems to be trying to link to utils/haddock/resources/html/Ocean.std-theme/hslogo-16.png in my source tree.  But the problem is that there is one too many ".." in the links.  If there were one fewer ".." in the path, then it would work fine.  
    3030