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

Vincent Prince vincent.prince.fr at gmail.com
Thu Dec 14 13:56:27 UTC 2017


Steffen,

I maybe wrong but foo.py should start with
#!/usr/bin/env python

instead of
#!/usr/bin/python

Best regards,
Vincent



2017-12-14 14:34 GMT+01:00 Steffen Sledz <sledz at dresearch-fe.de>:

> 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
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20171214/681b8e07/attachment-0002.html>


More information about the Openembedded-core mailing list