Package: ghc6
Version: 6.10.1+dfsg1-5

Hi,

Most Haskell libraries packaged with haskell-utils do not build with
ghc6 from experimental.  For example, when I try to build
haskell-opengl:

$ debian/rules update-generated-files
updated-debian-haskell-files
update-haskell-control
Couldn't find a package to depend on for libghc6-base-dev
exit: ExitFailure 1
make: *** [update-generated-files] Erreur 1

The problem is that ghc6 no longer provides libghc6-base-dev.  In
fact, ghc6 no longer provides anything except for haskell-compiler and
ghc.

The 'build' recipes in ghc6 debian/rules include a
"PACKAGE=`utils/ghc-pkg/ghc-pkg-inplace list -f [...]" line to set
provided-devs.  There are two problems with this:

1) utils/ghc-pkg/ghc-pkg-inplace has moved to
utils/ghc-pkg/install-inplace/bin/ghc-pkg

2) Even though the ghc-pkg-inplace invocation fails, the error is
ignored because of the backticks and the build goes on.

This bug report is about 1).  Changing "ghc-pkg-inplace" to
"install-inplace/bin/ghc-pkg" somewhere near line 134 of debian/rules
should fix it.  The untested patch attached does exactly that.  I'll
report 2) separately.

If there is any other information I can provide that might be helpful,
please let me know.  Thanks for taking on ghc.

Attachment: ghc-pkg-path.diff
Description: Binary data

Reply via email to