Bug#906602: haskell-hashable: FTBFS when built with dpkg-buildpackage -A

Santiago Vila sanvila at debian.org
Sat Aug 18 17:41:28 BST 2018


Package: src:haskell-hashable
Version: 1.2.7.0-2
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster with "dpkg-buildpackage -A" but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
test -x debian/rules
mkdir -p "."
CDBS WARNING:    DEB_DH_STRIP_ARGS is deprecated since 0.4.85
CDBS WARNING:    DEB_COMPRESS_EXCLUDE is deprecated since 0.4.85
. /usr/share/haskell-devscripts/Dh_Haskell.sh && \
make_setup_recipe
Running ghc --make Setup.hs -o debian/hlibrary.setup
[1 of 1] Compiling Main             ( Setup.hs, Setup.o )
Linking debian/hlibrary.setup ...
. /usr/share/haskell-devscripts/Dh_Haskell.sh && \
configure_recipe
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/hashable-1.2.7.0/ --datasubdir=hashable --htmldir=/usr/share/doc/libghc-hashable-doc/html/ --enable-library-profiling --hsc2hs-options= --gcc-options= --ghc-options=\  --enable-tests
Configuring hashable-1.2.7.0...

[... snipped ...]

Using hpc version 0.67 found on system at: /usr/bin/hpc
Using hsc2hs version 0.68.2 found on system at: /usr/bin/hsc2hs
Using hscolour version 1.24 found on system at: /usr/bin/HsColour
No jhc found
Using ld found on system at: /usr/bin/ld.gold
No lhc found
No lhc-pkg found
No pkg-config found
Using runghc version 8.2.2 found on system at: /usr/bin/runghc
Using strip version 2.31 found on system at: /usr/bin/strip
Using tar found on system at: /bin/tar
No uhc found
touch configure-ghc-stamp
. /usr/share/haskell-devscripts/Dh_Haskell.sh &&\
haddock_recipe
Running debian/hlibrary.setup haddock --builddir=dist-ghc --with-haddock=/usr/bin/haddock --with-ghc=ghc --verbose=2 --html --hoogle --haddock-options=\"--mathjax=file:///usr/share/javascript/mathjax/MathJax.js\" --hyperlink-source
/usr/bin/haddock --version
/usr/bin/ghc --numeric-version
/usr/bin/haddock --ghc-version '--mathjax=file:///usr/share/javascript/mathjax/MathJax.js'
Running hscolour for hashable-1.2.7.0...
creating dist-ghc/doc/html/hashable
creating dist-ghc/doc/html
creating dist-ghc/doc
creating dist-ghc/doc/html
creating dist-ghc/doc/html/hashable
creating dist-ghc/build
creating dist-ghc/build/autogen
creating dist-ghc/build/autogen
Preprocessing library for hashable-1.2.7.0..
creating dist-ghc/doc/html/hashable/src
/usr/bin/HsColour -print-css -odist-ghc/doc/html/hashable/src/hscolour.css
/usr/bin/HsColour -css -anchor -odist-ghc/doc/html/hashable/src/Data-Hashable.html Data/Hashable.hs
/usr/bin/HsColour -css -anchor -odist-ghc/doc/html/hashable/src/Data-Hashable-Lifted.html Data/Hashable/Lifted.hs
/usr/bin/HsColour -css -anchor -odist-ghc/doc/html/hashable/src/Data-Hashable-Class.html Data/Hashable/Class.hs
/usr/bin/HsColour -css -anchor -odist-ghc/doc/html/hashable/src/Data-Hashable-Generic.html Data/Hashable/Generic.hs
creating dist-ghc/build/tests
creating dist-ghc/build/tests/autogen
creating dist-ghc/build/tests/autogen
Preprocessing test suite 'tests' for hashable-1.2.7.0..
creating dist-ghc/build/tests/tests-tmp/Regress
creating dist-ghc/build/tests/tests-tmp
creating dist-ghc/build/tests/tests-tmp/Regress
ppHsc2hs: broken closure: []
CallStack (from HasCallStack):
  error, called at libraries/Cabal/Cabal/Distribution/Simple/PreProcess.hs:460:17 in Cabal-2.0.1.0:Distribution.Simple.PreProcessHaddock failed (no modules?), refusing to create empty documentation package.
make: *** [/usr/share/cdbs/1/class/hlibrary.mk:173: build-haddock-stamp] Error 1
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

To reproduce, please try "dpkg-buildpackage -A".

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.

Thanks.



More information about the Pkg-haskell-maintainers mailing list