Bug#903361: haskell-tagsoup: FTBFS in buster/sid (dh_installexamples: Cannot find "Main.hs")

Santiago Vila sanvila at debian.org
Mon Jul 9 00:52:07 BST 2018


Package: src:haskell-tagsoup
Version: 0.14.6-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster 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/tagsoup-0.14.6/ --datasubdir=tagsoup --htmldir=/usr/share/doc/libghc-tagsoup-doc/html/ --enable-library-profiling -f download
Configuring tagsoup-0.14.6...

[... snipped ...]

[ 4 of 13] Compiling Text.HTML.TagSoup.Match ( src/Text/HTML/TagSoup/Match.hs, dist-ghc/build/Text/HTML/TagSoup/Match.o )
[ 5 of 13] Compiling Text.HTML.TagSoup.Render ( src/Text/HTML/TagSoup/Render.hs, dist-ghc/build/Text/HTML/TagSoup/Render.o )
[ 6 of 13] Compiling Text.HTML.TagSoup.Options ( src/Text/HTML/TagSoup/Options.hs, dist-ghc/build/Text/HTML/TagSoup/Options.o )
[ 7 of 13] Compiling Text.HTML.TagSoup.Implementation ( src/Text/HTML/TagSoup/Implementation.hs, dist-ghc/build/Text/HTML/TagSoup/Implementation.o )
[ 8 of 13] Compiling Text.HTML.TagSoup.Specification ( src/Text/HTML/TagSoup/Specification.hs, dist-ghc/build/Text/HTML/TagSoup/Specification.o )
[ 9 of 13] Compiling Text.HTML.TagSoup.Manual ( src/Text/HTML/TagSoup/Manual.hs, dist-ghc/build/Text/HTML/TagSoup/Manual.o )
[10 of 13] Compiling Text.HTML.TagSoup.Generated ( src/Text/HTML/TagSoup/Generated.hs, dist-ghc/build/Text/HTML/TagSoup/Generated.o )
[11 of 13] Compiling Text.HTML.TagSoup.Parser ( src/Text/HTML/TagSoup/Parser.hs, dist-ghc/build/Text/HTML/TagSoup/Parser.o )
[12 of 13] Compiling Text.HTML.TagSoup ( src/Text/HTML/TagSoup.hs, dist-ghc/build/Text/HTML/TagSoup.o )
[13 of 13] Compiling Text.HTML.TagSoup.Tree ( src/Text/HTML/TagSoup/Tree.hs, dist-ghc/build/Text/HTML/TagSoup/Tree.o )
[ 1 of 13] Compiling Text.HTML.TagSoup.Entity ( src/Text/HTML/TagSoup/Entity.hs, dist-ghc/build/Text/HTML/TagSoup/Entity.p_o )
[ 2 of 13] Compiling Text.StringLike  ( src/Text/StringLike.hs, dist-ghc/build/Text/StringLike.p_o )
[ 3 of 13] Compiling Text.HTML.TagSoup.Type ( src/Text/HTML/TagSoup/Type.hs, dist-ghc/build/Text/HTML/TagSoup/Type.p_o )
[ 4 of 13] Compiling Text.HTML.TagSoup.Match ( src/Text/HTML/TagSoup/Match.hs, dist-ghc/build/Text/HTML/TagSoup/Match.p_o )
[ 5 of 13] Compiling Text.HTML.TagSoup.Render ( src/Text/HTML/TagSoup/Render.hs, dist-ghc/build/Text/HTML/TagSoup/Render.p_o )
[ 6 of 13] Compiling Text.HTML.TagSoup.Options ( src/Text/HTML/TagSoup/Options.hs, dist-ghc/build/Text/HTML/TagSoup/Options.p_o )
[ 7 of 13] Compiling Text.HTML.TagSoup.Implementation ( src/Text/HTML/TagSoup/Implementation.hs, dist-ghc/build/Text/HTML/TagSoup/Implementation.p_o )
[ 8 of 13] Compiling Text.HTML.TagSoup.Specification ( src/Text/HTML/TagSoup/Specification.hs, dist-ghc/build/Text/HTML/TagSoup/Specification.p_o )
[ 9 of 13] Compiling Text.HTML.TagSoup.Manual ( src/Text/HTML/TagSoup/Manual.hs, dist-ghc/build/Text/HTML/TagSoup/Manual.p_o )
[10 of 13] Compiling Text.HTML.TagSoup.Generated ( src/Text/HTML/TagSoup/Generated.hs, dist-ghc/build/Text/HTML/TagSoup/Generated.p_o )
[11 of 13] Compiling Text.HTML.TagSoup.Parser ( src/Text/HTML/TagSoup/Parser.hs, dist-ghc/build/Text/HTML/TagSoup/Parser.p_o )
[12 of 13] Compiling Text.HTML.TagSoup ( src/Text/HTML/TagSoup.hs, dist-ghc/build/Text/HTML/TagSoup.p_o )
[13 of 13] Compiling Text.HTML.TagSoup.Tree ( src/Text/HTML/TagSoup/Tree.hs, dist-ghc/build/Text/HTML/TagSoup/Tree.p_o )
touch build-ghc-stamp
debian/hlibrary.setup copy --builddir=dist-ghc --destdir=debian/tmp-inst-ghc
Installing library in debian/tmp-inst-ghc/usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-8.2.2/tagsoup-0.14.6-Jl6qrF2IhECHKiNpGpgAS2
. /usr/share/haskell-devscripts/Dh_Haskell.sh && \
extra_depends_recipe ghc
Running dh_haskell_extra_depends ghc tagsoup-0.14.6.conf
. /usr/share/haskell-devscripts/Dh_Haskell.sh && \
install_doc_recipe "libghc-tagsoup-doc"
Running mkdir -p debian/libghc-tagsoup-doc/usr/share/doc/libghc-tagsoup-doc/html/
Running cd debian/tmp-inst-ghc/
Running find ./usr/share/doc/libghc-tagsoup-doc/html/ \! -name \*.haddock \! -type d -exec install -Dm 644 \{\} ../libghc-tagsoup-doc/\{\} \;
Running mkdir -p debian/libghc-tagsoup-doc/usr/lib/ghc-doc/haddock/tagsoup-0.14.6/
Running cp -r debian/tmp-inst-ghc/usr/lib/ghc-doc/haddock/tagsoup-0.14.6//tagsoup.haddock debian/libghc-tagsoup-doc/usr/lib/ghc-doc/haddock/tagsoup-0.14.6/
Running mkdir -p debian/libghc-tagsoup-doc/usr/lib/ghc-doc/hoogle
Running ln -rs -T debian/libghc-tagsoup-doc/usr/share/doc/libghc-tagsoup-doc/html/tagsoup.txt debian/libghc-tagsoup-doc/usr/share/doc/libghc-tagsoup-doc/html/CHANGES.txt debian/libghc-tagsoup-doc/usr/lib/ghc-doc/hoogle/libghc-tagsoup-doc.txt
ln: extra operand 'debian/libghc-tagsoup-doc/usr/lib/ghc-doc/hoogle/libghc-tagsoup-doc.txt'
Try 'ln --help' for more information.
Running dh_haskell_depends -plibghc-tagsoup-doc
dh_haskell_blurbs "ghc" -plibghc-tagsoup-doc
dh_installdocs -plibghc-tagsoup-doc 
dh_installexamples -plibghc-tagsoup-doc 
dh_installexamples: Cannot find (any matches for) "Main.hs" (tried in .)

/usr/share/cdbs/1/rules/debhelper.mk:233: recipe for target 'binary-install/libghc-tagsoup-doc' failed
make: *** [binary-install/libghc-tagsoup-doc] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

The build was made with "dpkg-buildpackage -A" in my autobuilder.
Most probably, it also fails here in reproducible builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/haskell-tagsoup.html

[ Note: There has been a recent change in debhelper behaviour, the current
  behaviour is the intended one. See Bug #903133 for details ].

Thanks.



More information about the Pkg-haskell-maintainers mailing list