I got an error during building perf tool xmlto: Can't continue, xsltproc tool not found or not executable. | make[2]: *** [/work/ram/myimage/tmp-glibc/work/mymachine-oe-linux/perf/1.0-r9/perf-1.0/perf-annotate.1] Error 3 | make[2]: *** Waiting for unfinished jobs.... | make[1]: *** [try-install-man] Error 2 | make: *** [install] Error 2 | make: Leaving directory `/work/ram/myimage/tmp-glibc/work-shared/mymachine/kernel-source/tools/perf' | ERROR: Function failed: do_install (log file is located at /work/ram/myimage/tmp-glibc/work/mymachine-oe-linux/perf/1.0-r9/temp/log.do_install.6782) ERROR: Task (/work/openembedded/meta/recipes-kernel/perf/perf.bb:do_install) failed with exit code '1' It seems that there is a missing dependency, but I am not sure if this is a bug. I resolved this for myself with this patch diff --git a/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb b/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb index 886e7b4..a2cee10 100644 --- a/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb +++ b/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb @@ -19,6 +19,7 @@ RDEPENDS_${PN} = "docbook-xml-dtd4 \ docbook-xsl-stylesheets \ util-linux \ libxml2 \ + libxslt \ bash \ " RDEPENDS_${PN}_append_class-target = " \ I do not know if it is a correct solution and I will be grateful if someone points to right solution I use master branch from git://git.openembedded.org/openembedded-core
Sorry, I forgot to say that this trouble appears during image build which is a custom image and recipe contains the following: IMAGE_INSTALL = " \ base-files \ base-passwd \ busybox \ busybox-mdev \ netbase \ netperf \ openssh \ initscripts \ perf \ " IMAGE_FSTYPES += "${INITRAMFS_FSTYPES}" IMAGE_FEATURES = "" IMAGE_LINGUAS = "" USE_DEVFS = "0" IMAGE_DEVICE_TABLES = "files/device_table-boot.txt" inherit core-image IMAGE_ROOTFS_SIZE = "8192" BAD_RECOMMENDATIONS += "busybox-syslog"
At the very least the dependency is wrong since its a build failure and should depend on xslt-native for tools which are run. The target dependency doesn't make sense for a build time issue.
I think the correct patch is for a build DEPENDS, since xsltproc is needed for xmlto, my host happen to provide it, when removed it from my host I got the dependency failure. DEPENDS_class-native += "libxslt"
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=e96af0c0b9a11234cd1f0c75ebe1dfec3e59c183