[Build-common-hackers] Haskell packages failing with "dpkg-buildpackage -A"

Santiago Vila sanvila at unex.es
Tue May 31 11:51:50 UTC 2016

On Mon, 23 May 2016, Joachim Breitner wrote:

> hscolour probably needs this diff:
>  # Force generation of the wrapper script.
> -configure-ghc-stamp : hscolour-wrapper
> +build-ghc-stamp : hscolour-wrapper
> Does anyone want to try that out and prepare or do an upload?

Tried that today (patch attached for reference), but does not seem to work:

Running debian/hlibrary.setup configure --ghc -v2 --package-db=/var/lib/ghc/package.conf.d --prefix=/usr --libdir=/usr/lib/haskell-packages/ghc/lib --libexecdir=/usr/lib --builddir=dist-ghc --ghc-option=-optl-Wl\,-z\,relro --haddockdir=/usr/lib/ghc-doc/haddock/hscolour-1.23/ --datasubdir=hscolour --htmldir=/usr/share/doc/libghc-hscolour-doc/html/ --enable-library-profiling --with-hscolour=/build/hscolour-1.23/hscolour-wrapper
Configuring hscolour-1.23...
Dependency base <10: using base-
Dependency containers -any: using containers-
hlibrary.setup: Cannot find the program 'hscolour'. User-specified path
'/build/hscolour-1.23/hscolour-wrapper' does not refer to an executable and
the program is not on the system path.
/usr/share/cdbs/1/class/hlibrary.mk:142: recipe for target 'configure-ghc-stamp' failed
make: *** [configure-ghc-stamp] Error 1
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2

(That's the output of "dpkg-buildpackage -uc -us -A")

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hscolour.patch.txt
URL: <http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20160531/6fdef5e5/attachment.txt>

More information about the Build-common-hackers mailing list