Bug#1053179: libavif: drop doc generation on arches without pandoc
Source: libavif
Version: 0.11.1-3
Severity: normal
The libavif build attempts to build docs (the man page) using pandoc
for each architecture. This is a problem since pandoc is not available
on several architectures.
debian/rules for libavif contains doc logic, defining MAN_PAGES_FLAG.
Currently it is only switched off if nodoc is used.
It would be helpful for the arches which don't have pandoc to switch
off the MAN_PAGES_FLAG for these selected architectures, similar to
the architecture-specific configuration already used to set SVT_FLAG.
The affected architectures are summarised on the build page
https://buildd.debian.org/status/package.php?p=libavif :
hppa
hurd-i386
loong64
sparc64
pandoc is only used to generate the man page. I guess it does not
significantly differ between architectures. Perhaps a copy of the
amd64 man page could be stored in the debian dir and used for these
architectures that can't generate their own man page.
Reply to: