diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2012-01-12 12:30:01 +0000 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-01-13 08:49:47 +0100 |
commit | 3aa79887e2476cc71fa8b9d0131898944b38338d (patch) | |
tree | 93cf73b4e01863fbb3de0e63c8bbcc76c1ff941d /meta-oe/recipes-navigation | |
parent | cbf65f7f0d3bda730473b409672353fd9f9ae8bb (diff) | |
download | meta-openembedded-3aa79887e2476cc71fa8b9d0131898944b38338d.tar.gz |
gpsd: disable xmlto
* xmlto is used if xsltproc test fails
xstlproc is found in sysroot right, but then it's tested like this:
sysroots/x86_64-linux/usr/bin/xsltproc --nonet --noout http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl conftest.xml
and that fails if there isn't right docbook.xsl on host
/usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl
* xmlto then fails with:
xmlto man './gps.xml'
| xmlto: /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gpsd-2.96-r1/gpsd-2.96/./gps.xml does not validate (status 3)
| xmlto: Fix document syntax or use --skip-validation option
| I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd
| /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gpsd-2.96-r1/gpsd-2.96/./gps.xml:8: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"
| "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
| ^
| /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gpsd-2.96-r1/gpsd-2.96/./gps.xml:133: parser error : Entity 'mdash' not defined
| should default to using for display — imperial, nautical, or
| ^
| I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd
| warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"
| validity error : Could not load the external subset "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"
| Document /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/gpsd-2.96-r1/gpsd-2.96/./gps.xml does not validate
* without xstlproc and xmlto it disables man pages building
configure:18182: WARNING: Neither xsltproc nor xmlto works: I will not build man pages.
configure:18184: WARNING: To build man pages, install xsltproc/xsltlib or xmlto and run autogen.sh again.
* this can be reverted as soon as there is working xmlto using OE
provided DTDs in DEPENDS
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-navigation')
-rw-r--r-- | meta-oe/recipes-navigation/gpsd/gpsd_2.96.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-navigation/gpsd/gpsd_2.96.bb b/meta-oe/recipes-navigation/gpsd/gpsd_2.96.bb index 0dc06a148..69b26b394 100644 --- a/meta-oe/recipes-navigation/gpsd/gpsd_2.96.bb +++ b/meta-oe/recipes-navigation/gpsd/gpsd_2.96.bb | |||
@@ -32,6 +32,8 @@ TARGET_CC_ARCH += "${LDFLAGS}" | |||
32 | do_configure_prepend() { | 32 | do_configure_prepend() { |
33 | # skip first | 33 | # skip first |
34 | sed -i "s#for pylibpath in '/usr/lib'#for pylibpath in #g" ${S}/configure.ac | 34 | sed -i "s#for pylibpath in '/usr/lib'#for pylibpath in #g" ${S}/configure.ac |
35 | # disable xmlto, in case xsltproc doesn't work xmlto is used and fails | ||
36 | sed -i "s#AC_CHECK_PROG(WITH_XMLTO#AC_CHECK_PROG(WITH_XMLTO_DISABLED_IN_OE#g" ${S}/configure.ac | ||
35 | } | 37 | } |
36 | 38 | ||
37 | do_compile_prepend() { | 39 | do_compile_prepend() { |