[OE-core] How to fix file-rdes QA error for /usr/bin/python?

Steffen Sledz sledz at dresearch-fe.de
Thu Dec 14 13:34:59 UTC 2017


With rocko some builds are rejected because of the following package QA error (formerly it was just a warning).

 ERROR: foo-1_gitrAUTOINC+2595b80a79-r17 do_package_qa: QA Issue: /..../foo.py contained in package foo requires /usr/bin/python, but no providers found in RDEPENDS_for? [file-rdeps]

But the recipe still contains an rdep for python in recipe foo_git.bb

 RDEPENDS_{PN} += " ... python "

I assume the problem is that /usr/bin/python is not provided by any package but is just a symlink (created via u-a?).

How can/should this be fixed?

-- 
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:sledz at dresearch-fe.de
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058



More information about the Openembedded-core mailing list