Package: haskell-devscripts
Version: 0.6.15+nmu9

dh_haskell_shlibdeps fails if you are using GHC 6.10.2 (or
higher). The failure occurs because ghc-pkg now fails if the
package.conf does not already exist.

I have reported this to GHC, and they said that the new behaviour is
intended and will not be changed.

http://hackage.haskell.org/trac/ghc/ticket/3187

The fix is to create an empty package file by writing [] to the new
package conf. I have attached a patch for dh_haskell_shlibdeps which
does this.

This should be backwards compatible with GHC 6.10.1.

- jeremy shaw

Attachment: dh_haskell_shlibdeps_6102.patch
Description: Binary data



Reply via email to