[Buildroot] [PATCH v3 4/4] gendoc infra: disable pdf manual generation if xsltproc is buggy

Thomas De Schampheleire patrickdepinguin at gmail.com
Fri Aug 29 05:58:13 UTC 2014


Samuel Martin <s.martin49 at gmail.com> schreef:
>The PDF manual generation reaches the default xsltproc's template
>recursion limit when processing the target package list; this makes the
>PDF manual generation fail [1-3].
>This limit can be raised with the '--maxvars' option. Unfortunately,
>this option is not correctly handled in the latest xsltproc/libxslt
>release (1.1.28), but this bug is already fixed in the libxslt
>repository [4].
>This patch disables the PDF manual generation (makes it fail with a
>meaningful error message) when the xsltproc program found in the PATH
>does not support the --maxvars option.
>So, one can still generate the PDF manual if he/she extends PATH with
>the location of a working xsltproc, by running:
>  $ PATH=/path/to/custom-xsltproc/bin:${PATH} make manual-pdf
>[1] http://lists.busybox.net/pipermail/buildroot/2014-August/104390.html
>[2] http://lists.busybox.net/pipermail/buildroot/2014-August/104418.html
>[3] http://lists.busybox.net/pipermail/buildroot/2014-August/104421.html
>[4] https://gitorious.org/libxslt/libxslt/commit/5af7ad745323004984287e48b42712e7305de35c
>Reported-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
>Cc: Thomas De Schampheleire <thomas.de.schampheleire at gmail.com>
>Signed-off-by: Samuel Martin <s.martin49 at gmail.com>

Short question about this patch series: do we still consider it for
2014.08 or not?

Assuming that Peter does not yet have a patched xsltproc, it would be
better to generate a pdf manual but without tables, rather than having
no pdf manual at all, right?
In this case it makes sense to postpone this patch series to 2014.11.

Best regards,

More information about the buildroot mailing list