Public bug reported:

Binary package hint: ghc6

I have installed ghc6 and ghc6-prof on an updated Hardy Heron.

However, when I configure anything which uses the GHC API, or uses
something which eventually uses the GHC API, compilation fails because
no profiled GHC library is available. That is, there is no libHSghc_p.a,
although there is a libHSghc.a

So the failure looks like:
build
Creating dist/build (and its parents)
Creating dist/build/autogen (and its parents)
Preprocessing library haddock-2.1.0...
Preprocessing executables for haddock-2.1.0...
Building haddock-2.1.0...
Building library...
Creating dist/build (and its parents)
/usr/bin/ghc -package-name haddock-2.1.0 --make -hide-all-packages -split-objs 
-i -idist/build -i. -isrc -idist/build/autogen -Idist/build -odir dist/build 
-hidir dist/build -stubdir dist/build -package array-0.1.0.0 -package 
base-3.0.1.0 -package containers-0.1.0.1 -package directory-1.0.0.0 -package 
filepath-1.1.0.0 -package ghc-6.8.2 -package haskell98-1.0.1.0 -package 
pretty-1.0.0.0 -O -XCPP -XPatternGuards -XDeriveDataTypeable 
-XPatternSignatures -XMagicHash Distribution.Haddock Haddock.Types 
Haddock.InterfaceFile Haddock.Exception
/usr/bin/ghc -package-name haddock-2.1.0 --make -hide-all-packages -split-objs 
-i -idist/build -i. -isrc -idist/build/autogen -Idist/build -odir dist/build 
-hidir dist/build -stubdir dist/build -package array-0.1.0.0 -package 
base-3.0.1.0 -package containers-0.1.0.1 -package directory-1.0.0.0 -package 
filepath-1.1.0.0 -package ghc-6.8.2 -package haskell98-1.0.1.0 -package 
pretty-1.0.0.0 -O -XCPP -XPatternGuards -XDeriveDataTypeable 
-XPatternSignatures -XMagicHash Distribution.Haddock Haddock.Types 
Haddock.InterfaceFile Haddock.Exception -prof -hisuf p_hi -osuf p_o

src/Haddock/DocName.hs:20:7:
    Could not find module `Outputable':
      Perhaps you haven't installed the profiling libraries for package 
ghc-6.8.2?
      Use -v to see a list of the files searched for.

The GHC API is used by a number of things (Yi, Haddock, eventually
Lambdabot, Hint, Mueval, and so on), and some of them I'd like to be
able to profile. It's an unfortunate omission.

(I understand that this would require a slight modification to the build
process of the original GHC, according to
http://www.haskell.org/haskellwiki/GHC/As_a_library#Profiling .)

** Affects: ghc6 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
ghc-prof omits profiled library for GHC API
https://bugs.launchpad.net/bugs/240563
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to