Package: src:haskell-pango
Version: 0.13.1.0-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 ...]

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 pango-0.13.1.0...
/usr/bin/haddock --ghc-version
creating dist-ghc/build
creating dist-ghc/build/autogen
Running hscolour for pango-0.13.1.0...
creating dist-ghc/doc/html/pango
creating dist-ghc/doc/html
creating dist-ghc/doc
creating dist-ghc/doc/html
creating dist-ghc/doc/html/pango
Preprocessing library pango-0.13.1.0...
creating dist-ghc/build/Graphics/Rendering
creating dist-ghc/build/Graphics
creating dist-ghc/build/Graphics/Rendering
/usr/bin/gtk2hsC2hs '--include=dist-ghc/build' 
'--include=/usr/lib/ghc/array_67iodizgJQIIxYVTp4emlA' 
'--include=/usr/lib/ghc/base_HQfYBxpPvuw8OunzQu6JGM' 
'--include=/usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-7.10.3/cairo-0.13.1.0-CO34qv2s2W7AU4FA0T6Uvf'
 '--include=/usr/lib/ghc/conta_2C3ZI8RgPO2LBMidXKTvIU' 
'--include=/usr/lib/ghc/direc_0hFG6ZxK1nk4zsyOqbNHfm' 
'--include=/usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-7.10.3/glib-0.13.2.1-6yvXMlzClJxEuh8gxxrtxl'
 
'--include=/usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-7.10.3/mtl-2.2.1-Aue4leSeVkpKLsfHIV51E8'
 '--include=/usr/lib/ghc/prett_JItwetRppk1H5Uq3xbjDGC' 
'--include=/usr/lib/ghc/proce_52AgREEfSrnJLlkGV9YZZJ' 
'--include=/usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-7.10.3/text-1.2.1.3-FGvB6qqz81tFju4pBPAqne'
 '--cpp=/usr/bin/gcc' '--cppopts=-E' '--cppopts=-Idist-ghc/build/autogen' 
'--cppopts=-Idist-ghc/build' '--cppopts=-I.' 
'--cppopts=-I/usr/include/pango-1.0' '--cppopts=-I/usr/include/harfbuzz' 
'--cppopts=-I
 /usr/include/cairo' '--cppopts=-I/usr/include/pixman-1' 
'--cppopts=-I/usr/include/freetype2' '--cppopts=-I/usr/include/libpng12' 
'--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=-DHAVE_NEW_CONTROL_EXCEPTION' '--cppopts=-D__GLASGOW_HASKELL__=710' 
'--output-dir=dist-ghc/build/Graphics/Rendering/' '--output=Pango.hs' 
'--precomp=dist-ghc/build/precompchs.bin' hspango.h 
./Graphics/Rendering/Pango.chs
creating dist-ghc/build/Graphics/Rendering/Pango
/usr/bin/gtk2hsC2hs '--include=dist-ghc/build' 
'--include=/usr/lib/ghc/array_67iodizgJQIIxYVTp4emlA' 
'--include=/usr/lib/ghc/base_HQfYBxpPvuw8OunzQu6JGM' 
'--include=/usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-7.10.3/cairo-0.13.1.0-CO34qv2s2W7AU4FA0T6Uvf'
 '--include=/usr/lib/ghc/conta_2C3ZI8RgPO2LBMidXKTvIU' 
'--include=/usr/lib/ghc/direc_0hFG6ZxK1nk4zsyOqbNHfm' 
'--include=/usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-7.10.3/glib-0.13.2.1-6yvXMlzClJxEuh8gxxrtxl'
 
'--include=/usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-7.10.3/mtl-2.2.1-Aue4leSeVkpKLsfHIV51E8'
 '--include=/usr/lib/ghc/prett_JItwetRppk1H5Uq3xbjDGC' 
'--include=/usr/lib/ghc/proce_52AgREEfSrnJLlkGV9YZZJ' 
'--include=/usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-7.10.3/text-1.2.1.3-FGvB6qqz81tFju4pBPAqne'
 '--cpp=/usr/bin/gcc' '--cppopts=-E' '--cppopts=-Idist-ghc/build/autogen' 
'--cppopts=-Idist-ghc/build' '--cppopts=-I.' 
'--cppopts=-I/usr/include/pango-1.0' '--cppopts=-I/usr/include/harfbuzz' 
'--cppopts=-I
 /usr/include/cairo' '--cppopts=-I/usr/include/pixman-1' 
'--cppopts=-I/usr/include/freetype2' '--cppopts=-I/usr/include/libpng12' 
'--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=-DHAVE_NEW_CONTROL_EXCEPTION' '--cppopts=-D__GLASGOW_HASKELL__=710' 
'--output-dir=dist-ghc/build/Graphics/Rendering/Pango/' '--output=Font.hs' 
'--precomp=dist-ghc/build/precompchs.bin' hspango.h 
./Graphics/Rendering/Pango/Font.chs
gtk2hsC2hs: Graphics/Rendering/Pango/BasicTypes.chi not found in:
/usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-7.10.3/text-1.2.1.3-FGvB6qqz81tFju4pBPAqne
/usr/lib/ghc/proce_52AgREEfSrnJLlkGV9YZZJ
/usr/lib/ghc/prett_JItwetRppk1H5Uq3xbjDGC
/usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-7.10.3/mtl-2.2.1-Aue4leSeVkpKLsfHIV51E8
/usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-7.10.3/glib-0.13.2.1-6yvXMlzClJxEuh8gxxrtxl
/usr/lib/ghc/direc_0hFG6ZxK1nk4zsyOqbNHfm
/usr/lib/ghc/conta_2C3ZI8RgPO2LBMidXKTvIU
/usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-7.10.3/cairo-0.13.1.0-CO34qv2s2W7AU4FA0T6Uvf
/usr/lib/ghc/base_HQfYBxpPvuw8OunzQu6JGM
/usr/lib/ghc/array_67iodizgJQIIxYVTp4emlA
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.

Reply via email to