Hi Ming,

I sent a similar patch yesterday:

[OE-core] [PATCH 0/1] xmlto: fix depends for native

http://cgit.openembedded.org/openembedded-core-contrib/commit/?h=rbt/xml&id=0b7f903f8c74204bb48cc74ce1a6957534ac9ede

// Robert

On 08/09/2016 03:53 PM, Ming Liu wrote:
From: Ming Liu <[email protected]>

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 <[email protected]>
---
  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 \

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to