[GHC] #8981: ghc-pkg complains about missing haddock interface files

#8981: ghc-pkg complains about missing haddock interface files --------------------------+------------------------------------------------ Reporter: | Owner: thoughtpolice | Status: new Type: bug | Milestone: 7.8.2 Priority: normal | Version: 7.8.1 Component: | Operating System: MacOS X Compiler | Type of failure: Incorrect result at runtime Keywords: ghc- | Test Case: pkg | Blocking: Architecture: x86_64 | (amd64) | Difficulty: | Unknown | Blocked By: | Related Tickets: | --------------------------+------------------------------------------------ As Conal reported on the mailing list[1], `ghc-pkg check` on Mavericks allegedly returns: {{{ bash-3.2$ ghc-pkg check Warning: haddock-interfaces: /Users/conal/.cabal/share/doc/x86_64-osx- ghc-7.8.1/uniplate-1.6.12/html/uniplate.haddock doesn't exist or isn't a file Warning: haddock-interfaces: /Users/conal/.cabal/share/doc/x86_64-osx- ghc-7.8.1/polyparse-1.9/html/polyparse.haddock doesn't exist or isn't a file Warning: haddock-interfaces: /Users/conal/.cabal/share/doc/x86_64-osx- ghc-7.8.1/ghc-syb-utils-0.2.1.2/html/ghc-syb-utils.haddock doesn't exist or isn't a file Warning: haddock-interfaces: /Users/conal/.cabal/share/doc/x86_64-osx- ghc-7.8.1/constraints-0.3.5/html/constraints.haddock doesn't exist or isn't a file Warning: haddock-html: /Users/conal/.cabal/share/doc/x86_64-osx- ghc-7.8.1/constraints-0.3.5/html doesn't exist or isn't a directory Warning: haddock-interfaces: /Users/conal/.cabal/share/doc/x86_64-osx- ghc-7.8.1/newtype-0.2/html/newtype.haddock doesn't exist or isn't a file Warning: haddock-html: /Users/conal/.cabal/share/doc/x86_64-osx- ghc-7.8.1/newtype-0.2/html doesn't exist or isn't a directory }}} It's not fatal, but makes the output much more annoying. I figured this would have been caught by validate or somesuch, but apparently not. Marking for 7.8.2. I'm looking into this soon. [1]http://www.haskell.org/pipermail/glasgow-haskell- users/2014-April/024846.html -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8981 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8981: ghc-pkg complains about missing haddock interface files ------------------------------------------------+-------------------------- Reporter: thoughtpolice | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.8.2 Component: Compiler | Version: 7.8.1 Resolution: | Keywords: ghc- Operating System: MacOS X | pkg Type of failure: Incorrect result at runtime | Architecture: x86_64 Test Case: | (amd64) Blocking: | Difficulty: | Unknown | Blocked By: | Related Tickets: ------------------------------------------------+-------------------------- Changes (by SimonHengel): * cc: sol@… (added) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8981#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8981: ghc-pkg complains about missing haddock interface files ------------------------------------------------+-------------------------- Reporter: thoughtpolice | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.8.3 Component: Compiler | Version: 7.8.1 Resolution: | Keywords: ghc- Operating System: MacOS X | pkg Type of failure: Incorrect result at runtime | Architecture: x86_64 Test Case: | (amd64) Blocking: | Difficulty: | Unknown | Blocked By: | Related Tickets: ------------------------------------------------+-------------------------- Changes (by conal): * cc: conal@… (added) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8981#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8981: ghc-pkg complains about missing haddock interface files -------------------------------------+------------------------------------- Reporter: | Owner: thoughtpolice | Status: new Type: bug | Milestone: 7.10.1 Priority: normal | Version: 7.8.1 Component: ghc-pkg | Keywords: ghc-pkg Resolution: | Architecture: x86_64 (amd64) Operating System: | Difficulty: Unknown Unknown/Multiple | Blocked By: Type of failure: Incorrect | Related Tickets: result at runtime | Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Changes (by thomie): * os: MacOS X => Unknown/Multiple * component: Compiler => ghc-pkg Comment: I have the same problem on Ubuntu, with Haskell platform 2014.02 installed. {{{ # First remove .cabal and .ghc, then: $ cabal install random ... $ ghc-pkg check Warning: haddock-interfaces: /home/thomas/.cabal/share/doc/x86_64-linux- ghc-7.8.3/random-1.1/html/random.haddock doesn't exist or isn't a file Warning: haddock-html: /home/thomas/.cabal/share/doc/x86_64-linux- ghc-7.8.3/random-1.1/html doesn't exist or isn't a directory }}} Using `cabal install random --enable-documentation` instead makes the warnings go away. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8981#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8981: ghc-pkg complains about missing haddock interface files -------------------------------------+------------------------------------- Reporter: thoughtpolice | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.12.1 Component: ghc-pkg | Version: 7.8.1 Resolution: | Keywords: newcomer Operating System: Unknown/Multiple | Architecture: x86_64 Type of failure: Incorrect result | (amd64) at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by thomie): * keywords: ghc-pkg => newcomer Comment: Look at the `utils/ghc-pkg` directory. A solution might need coordination with cabal. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8981#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8981: ghc-pkg complains about missing haddock interface files -------------------------------------+------------------------------------- Reporter: thoughtpolice | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.12.1 Component: ghc-pkg | Version: 7.8.1 Resolution: | Keywords: newcomer Operating System: Unknown/Multiple | Architecture: x86_64 Type of failure: Incorrect result | (amd64) at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by thomie): See #10305 for an instance of this bug when running validate or a normal ghc build with `HADDOCK_DOCS=NO`. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8981#comment:9 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8981: ghc-pkg complains about missing haddock interface files -------------------------------------+------------------------------------- Reporter: thoughtpolice | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: ghc-pkg | Version: 7.8.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: x86_64 Type of failure: Incorrect result | (amd64) at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by thomie): * keywords: newcomer => Comment: Not a very fun task, and no takers for 1 year. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8981#comment:12 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC