[OE-core] [PATCH] xmlto: adds libxslt to DEPENDS

Ming Liu liu.ming50 at gmail.com
Tue Aug 9 07:53:08 UTC 2016


From: Ming Liu <peter.x.liu at external.atlascopco.com>

The native libxslt-bin is needed by xmlto-native, but it's not in either
DEPENDS or RDEPENDS of native xmlto.

This fixes a following error per test:
| xmlto: Can't continue, xsltproc tool not found or not executable.
| make[2]: *** [/mnt/OE/build/tmp-glibc/work/qemux86-oe-linux/perf/1.0-r9/perf-1.0/perf-annotate.1] Error 3
| make[2]: *** Waiting for unfinished jobs....

Signed-off-by: Ming Liu <peter.x.liu at external.atlascopco.com>
---
 meta/recipes-devtools/xmlto/xmlto_0.0.28.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb b/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb
index 886e7b4..cc4bccd 100644
--- a/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb
+++ b/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb
@@ -14,6 +14,9 @@ SRC_URI[sha256sum] = "2f986b7c9a0e9ac6728147668e776d405465284e13c74d4146c9cbc51f
 
 inherit autotools
 
+# xmlto-native needs libxslt-native
+DEPENDS = "libxslt"
+
 # xmlto needs getopt/xmllint/xsltproc/bash/tail at runtime
 RDEPENDS_${PN} = "docbook-xml-dtd4 \
                   docbook-xsl-stylesheets \
-- 
1.9.1




More information about the Openembedded-core mailing list