Source: elinks
Version: 0.13.1-1
Severity: serious
Tags: ftbfs patch

https://buildd.debian.org/status/fetch.php?pkg=elinks&arch=arm64&ver=0.13.1-3&stamp=1589105703&raw=0
https://buildd.debian.org/status/fetch.php?pkg=elinks&arch=powerpc&ver=0.13.1-3&stamp=1589106691&raw=0
https://buildd.debian.org/status/fetch.php?pkg=elinks&arch=armhf&ver=0.13.1-2&stamp=1589038536&raw=0

...
# Build docs:
dh_auto_build --builddir doc -- all-docs
        cd doc && make -j4 all-docs
make[2]: Entering directory '/<<PKGBUILDDIR>>/doc'
 [CONF2DOC]   doc/features.txt
 [KEYS2DOC]   doc/keymap-actions.txt
 [KEYS2DOC]   doc/keymap-defaults.txt
 [HELP2XML]   doc/option-command.frag.xml
 [HELP2XML]   doc/option-config.frag.xml
 [ASCIIDOC]   doc/elinkskeys.5.xml
 [HELP2XML]   doc/option-command.frag.xhtml
 [HELP2XML]   doc/option-config.frag.xhtml
ERROR: elinkskeys.5.txt: line 97: empty section is not valid
make[2]: *** [Makefile:185: elinkskeys.5.xml] Error 1


Ideally, whatevver is the problem in the Makefile should get fixed.

If this isn't easily possible, the following patch to build the
documentation non-parallel should work around the problem:

--- debian/rules.old    2020-05-10 19:53:08.156267190 +0000
+++ debian/rules        2020-05-10 19:53:22.504260239 +0000
@@ -12,7 +12,7 @@
 override_dh_auto_build:
        make V=1
        # Build docs:
-       dh_auto_build --builddir doc -- all-docs
+       dh_auto_build --no-parallel --builddir doc -- all-docs
 
 override_dh_installexamples:
        dh_installexamples --exclude=.gitignore

Reply via email to