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 <sl...@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:sl...@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@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to