[yocto] RDEPENDS error for itstool recipe

Q. Gouès qgoues at actia-pcs.fr
Mon Dec 17 07:59:01 PST 2018


Hi,

I am trying to create the recipe for the package itstool (available 
https://github.com/itstool/itstool) for Yocto.

Here is my recipe file (itstool_git.bb):

----------------------------------------------------------------------------------------------------------------------

SUMMARY = "Translate XML with PO files using W3C Internationalization 
Tag Set rules"
HOMEPAGE = "https://github.com/itstool/itstool"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=59c57b95fd7d0e9e238ebbc7ad47c5a5"
DEPENDS = ""

inherit autotools pkgconfig distro_features_check

SRCREV = "bc5724ed98eb591d4b82dff1b4b47ed77ec47eda"
SRC_URI = "git://github.com/itstool/itstool.git"

S = "${WORKDIR}/git"

RDEPENDS_${PN} = "python"

-----------------------------------------------------------------------------------------------------------------------

Unfortunately when i try to compile this package with "bitbake itstool", 
I get the following error:

ERROR: itstool-git-r0 do_package_qa: QA Issue: /usr/bin/itstool 
contained in package itstool requires tmp/hosttools/python, but no 
providers found in RDEPENDS_itstool? [file-rdeps]
ERROR: itstool-git-r0 do_package_qa: QA run found fatal errors. Please 
consider fixing them.
ERROR: itstool-git-r0 do_package_qa: Function failed: do_package_qa
ERROR: Logfile of failure stored in: 
tmp/work/corei7-64-poky-linux/itstool/git-r0/temp/log.do_package_qa.13188
ERROR: Task 
(custom-meta/recipes-devtools/itstool/itstool_git.bb:do_package_qa) 
failed with exit code '1'

Do you know how I can solve my issue ?

I am building this recipe for a processor intel core i7 x86 64-bit.

Thanks in advance

Quentin





More information about the yocto mailing list