Package: src:haskell-glib Version: 0.13.2.1-4 User: sanv...@debian.org Usertags: binary-indep Severity: important
Dear maintainer: I tried to build this package with "dpkg-buildpackage -A" (i.e. only architecture-independent packages), and it failed: -------------------------------------------------------------------------------- [...] debian/rules build-indep test -x debian/rules mkdir -p "." /usr/share/cdbs/1/rules/buildcore.mk:110: 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 2] Compiling SetupWrapper ( SetupWrapper.hs, SetupWrapper.o ) [2 of 2] Compiling Main ( Setup.hs, Setup.o ) Linking debian/hlibrary.setup ... . /usr/share/haskell-devscripts/Dh_Haskell.sh && \ configure_recipe [... snipped ...] Using strip version 2.25 found on system at: /usr/bin/strip Using tar found on system at: /bin/tar No uhc found /usr/bin/pkg-config --modversion glib-2.0 /usr/bin/pkg-config --modversion gobject-2.0 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 --hyperlink-source /usr/bin/haddock --version /usr/bin/ghc --numeric-version Running Haddock for glib-0.13.2.1... /usr/bin/haddock --ghc-version creating dist-ghc/build creating dist-ghc/build/autogen Running hscolour for glib-0.13.2.1... creating dist-ghc/doc/html/glib creating dist-ghc/doc/html creating dist-ghc/doc creating dist-ghc/doc/html creating dist-ghc/doc/html/glib Preprocessing library glib-0.13.2.1... creating dist-ghc/build/System/Glib creating dist-ghc/build/System creating dist-ghc/build/System/Glib /usr/bin/gtk2hsC2hs '--include=dist-ghc/build' '--include=/usr/lib/ghc/base_HQfYBxpPvuw8OunzQu6JGM' '--include=/usr/lib/ghc/bytes_6VWy06pWzJq9evDvK2d4w6' '--include=/usr/lib/ghc/conta_2C3ZI8RgPO2LBMidXKTvIU' '--include=/usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-7.10.3/text-1.2.1.3-FGvB6qqz81tFju4pBPAqne' '--include=/usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-7.10.3/utf8-string-1.0.1.1-L8eKHa7Iv9q7FVKUYW6u4b' '--cpp=/usr/bin/gcc' '--cppopts=-E' '--cppopts=-Idist-ghc/build/autogen' '--cppopts=-Idist-ghc/build' '--cppopts=-ISystem/Glib' '--cppopts=-I/usr/include/glib-2.0' '--cppopts=-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '--cppopts=-U__BLOCKS__' '--cppopts=-D__attribute__(A)=' '--cppopts=-DUSE_GCLOSURE_SIGNALS_IMPL' '--cppopts=-D__GLASGOW_HASKELL__=710' '--output-dir=dist-ghc/build/System/Glib/' '--output=GError.hs' '--precomp=dist-ghc/build/precompchs.bin' glib-object.h ./System/Glib/GError.chs creating dist-ghc/build/System/Glib /usr/bin/gtk2hsC2hs '--include=dist-ghc/build' '--include=/usr/lib/ghc/base_HQfYBxpPvuw8OunzQu6JGM' '--include=/usr/lib/ghc/bytes_6VWy06pWzJq9evDvK2d4w6' '--include=/usr/lib/ghc/conta_2C3ZI8RgPO2LBMidXKTvIU' '--include=/usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-7.10.3/text-1.2.1.3-FGvB6qqz81tFju4pBPAqne' '--include=/usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-7.10.3/utf8-string-1.0.1.1-L8eKHa7Iv9q7FVKUYW6u4b' '--cpp=/usr/bin/gcc' '--cppopts=-E' '--cppopts=-Idist-ghc/build/autogen' '--cppopts=-Idist-ghc/build' '--cppopts=-ISystem/Glib' '--cppopts=-I/usr/include/glib-2.0' '--cppopts=-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '--cppopts=-U__BLOCKS__' '--cppopts=-D__attribute__(A)=' '--cppopts=-DUSE_GCLOSURE_SIGNALS_IMPL' '--cppopts=-D__GLASGOW_HASKELL__=710' '--output-dir=dist-ghc/build/System/Glib/' '--output=Properties.hs' '--precomp=dist-ghc/build/precompchs.bin' glib-object.h ./System/Glib/Properties.chs gtk2hsC2hs: System/Glib/Types.chi not found in: /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-7.10.3/utf8-string-1.0.1.1-L8eKHa7Iv9q7FVKUYW6u4b /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-7.10.3/text-1.2.1.3-FGvB6qqz81tFju4pBPAqne /usr/lib/ghc/conta_2C3ZI8RgPO2LBMidXKTvIU /usr/lib/ghc/bytes_6VWy06pWzJq9evDvK2d4w6 /usr/lib/ghc/base_HQfYBxpPvuw8OunzQu6JGM dist-ghc/build . Haddock failed (no modules?), refusing to create empty documentation package. /usr/share/cdbs/1/class/hlibrary.mk:173: recipe for target 'build-haddock-stamp' failed make: *** [build-haddock-stamp] Error 1 dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2 -------------------------------------------------------------------------------- Sorry not to have a fix, as I am reporting many bugs similar to this one. The common hints are: * If the only architecture-independent packages are dummy transitional ones and they were released with jessie, the easy fix is to drop them now. * When using "dh", it is allowed to use (independently) optional targets override_dh_foo-arch and override_dh_foo-indep (for several values of "foo"). Once that both "dpkg-buildpackage -A" and "dpkg-buildpackage -B" work properly, the package would be suitable to be uploaded in source-only form if you wish. Thanks.