Bug#903332: happy: FTBFS in buster/sid (dh_installdocs: Cannot find "README")

Santiago Vila sanvila at debian.org
Sun Jul 8 21:26:52 BST 2018


Package: src:happy
Version: 1.19.9-3
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-arch
CDBS WARNING:  copyright-check disabled - touch debian/copyright_hints to enable.
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

Scanning upstream source for new/changed copyright notices...

set -e; LC_ALL=C.UTF-8 /usr/bin/licensecheck --check '.*' --recursive --copyright --deb-fmt --ignore '^(debian/(changelog|copyright(|_hints|_newhints)))$' --lines 0 * | /usr/lib/cdbs/licensecheck2dep5 > debian/copyright_newhints
/bin/bash: /usr/bin/licensecheck: No such file or directory
0 combinations of copyright and licensing found.
diff: debian/copyright_hints: No such file or directory
No new copyright notices found - assuming no news is good news...

[... snipped ...]

 fakeroot debian/rules binary-arch
CDBS WARNING:  copyright-check disabled - touch debian/copyright_hints to enable.
test -x debian/rules
dh_testroot
dh_prep 
dh_installdirs -A 
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

Scanning upstream source for new/changed copyright notices...

set -e; LC_ALL=C.UTF-8 /usr/bin/licensecheck --check '.*' --recursive --copyright --deb-fmt --ignore '^(debian/(changelog|copyright(|_hints|_newhints)))$' --lines 0 * | /usr/lib/cdbs/licensecheck2dep5 > debian/copyright_newhints
/bin/bash: /usr/bin/licensecheck: No such file or directory
0 combinations of copyright and licensing found.
diff: debian/copyright_hints: No such file or directory
No new copyright notices found - assuming no news is good news...
touch debian/stamp-copyright-check
touch debian/stamp-upstream-cruft
# doc/configure is not shipped, generate it
cd doc && autoconf && rm -r autom4te.cache &&  ./configure --prefix=/usr
checking for xmllint... no
configure: WARNING: cannot find xmllint in your PATH, you will not be able to validate your documentation
checking for xsltproc... /usr/bin/xsltproc
checking for DocBook XSL stylesheet directory... /usr/share/xml/docbook/stylesheet/nwalsh
checking for dblatex... no
configure: creating ./config.status
config.status: creating config.mk
config.status: creating happy.1
# used in build to stick version into man page
ghc --make debian/get_version.hs -o debian/get_version
/usr/bin/make -C doc html
make[1]: Entering directory '/<<PKGBUILDDIR>>/doc'
make[1]: Nothing to be done for 'html'.
make[1]: Leaving directory '/<<PKGBUILDDIR>>/doc'
sed -e "s#@LIBDIR@#/usr/share/happy-`debian/get_version`#g" \
    -e "s#@DOCDIR@#/usr/share/doc/happy#g" \
    -e "s#@VERSION@#`debian/get_version`#g" \
  doc/happy.1.in > doc/happy.1
Adding cdbs dependencies to debian/happy.substvars
dh_installdirs -phappy \
	
dh_haskell_blurbs "ghc" -phappy
dh_installdocs -phappy ./TODO
dh_installdocs: Cannot find (any matches for) "README" (tried in .)

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

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

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/happy.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