* How to fix file-rdes QA error for /usr/bin/python?
@ 2017-12-14 13:34 Steffen Sledz
2017-12-14 13:56 ` Vincent Prince
2017-12-14 13:59 ` How to fix file-rdes QA error for /usr/bin/python or /bin/bash? Steffen Sledz
0 siblings, 2 replies; 3+ messages in thread
From: Steffen Sledz @ 2017-12-14 13:34 UTC (permalink / raw)
To: openembedded-core
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@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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to fix file-rdes QA error for /usr/bin/python?
2017-12-14 13:34 How to fix file-rdes QA error for /usr/bin/python? Steffen Sledz
@ 2017-12-14 13:56 ` Vincent Prince
2017-12-14 13:59 ` How to fix file-rdes QA error for /usr/bin/python or /bin/bash? Steffen Sledz
1 sibling, 0 replies; 3+ messages in thread
From: Vincent Prince @ 2017-12-14 13:56 UTC (permalink / raw)
To: Steffen Sledz; +Cc: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 1319 bytes --]
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@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@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
>
[-- Attachment #2: Type: text/html, Size: 2526 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to fix file-rdes QA error for /usr/bin/python or /bin/bash?
2017-12-14 13:34 How to fix file-rdes QA error for /usr/bin/python? Steffen Sledz
2017-12-14 13:56 ` Vincent Prince
@ 2017-12-14 13:59 ` Steffen Sledz
1 sibling, 0 replies; 3+ messages in thread
From: Steffen Sledz @ 2017-12-14 13:59 UTC (permalink / raw)
To: openembedded-core
On 14.12.2017 14:34, Steffen Sledz wrote:
> 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?
BTW: Same problem with /bin/bash dependencies. :(
--
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:sledz@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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-12-14 13:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-14 13:34 How to fix file-rdes QA error for /usr/bin/python? Steffen Sledz
2017-12-14 13:56 ` Vincent Prince
2017-12-14 13:59 ` How to fix file-rdes QA error for /usr/bin/python or /bin/bash? Steffen Sledz
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.