Bug#916444: lintian: FTBFS on master ("pod2man: unable to format lib/Test/State.pm")
Package: lintian
Version: 2.5.116
Severity: important
X-Debbugs-CC: Felix Lechner <felix.lechner@lease-up.com>,
Hi,
I just went to build Lintian for a release but got:
[..]
# docbook does not set a charset and we rely on UTF-8. Make this explicit to avoid #802721
find doc/lintian.html/ -type f -name '*.html' -exec perl -pe 's/(<TITLE[\s\r\n])/<meta charset="UTF-8">$1/' -i {} +
mkdir -p man/man1/ man/man3/
private/generate-lintian-pod | \
pod2man --center "Debian Package Checker" --release "Lintian v2.5.117" --name lintian --section=1 > man/man1/lintian.1
set -e ; for POD in man/lintian-lab-tool.pod man/lintian-info.pod man/spellintian.pod ; do \
BASENAME=$(basename "$POD" .pod) ; \
pod2man --center "Debian Package Checker" --release "Lintian v2.5.117" --section=1 "$POD" > "man/man1/$BASENAME".1 ; \
done
set -e ; for POD in $(find doc/tutorial lib/Lintian lib/Test -type f '!' -path '*/Internal/*' '!' -path '*/Output/*' '!' -path '*/Tag/TextUtil.pm' ) ; do \
BASENAME=$(echo "$POD" | perl -pe 's@^(doc/tutorial|lib)/@@; s@/@::@g; s/\.(pod|pm)$//') ; \
pod2man --center "Debian Package Checker" --release "Lintian v2.5.117" --name="$BASENAME" --section=3 "$POD" > "man/man3/$BASENAME".3 ; \
done
pod2man: unable to format lib/Test/State.pm
make[1]: *** [debian/rules:73: generate-docs-stamp] Error 1
make[1]: Leaving directory '/tmp/buildd/lintian-2.5.117'
make: *** [debian/rules:114: binary] Error 2
Felix, can you help? I suspect it was something in this commit:
https://salsa.debian.org/lintian/lintian/commit/09d86b2fd208f95a816430e8ce5595b08fe0f3b3
Best wishes,
--
,''`.
: :' : Chris Lamb
`. `'` lamby@debian.org / chris-lamb.co.uk
`-
Reply to: