<div dir="ltr">Kiitos Jussi!<div><br></div><div>That solved it. </div><div><br></div><div>I had DEPENDS += "python3-dev" and RDEPENDS += "libpython3"</div><div><br></div><div>now</div><div><br></div><div>I have DEPENDS += "python3" and RDEPENDS += "libpython3"<br></div><div><br></div><div>I'll check if libpython3 is implicit when the image builds.</div><div><br></div><div>Cheers,</div><div>-Damien</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 25, 2019 at 10:00 AM Jussi Kukkonen <<a href="mailto:jku@goto.fi">jku@goto.fi</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 25 Sep 2019 at 09:16, Damien LEFEVRE <<a href="mailto:lefevre.da@gmail.com" target="_blank">lefevre.da@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">> On 24/09/2019 10:36, Damien LEFEVRE wrote:<br>> > Hi,<br>> > <br>> > Migrating from poky:pyro to poky:warrior.<br>> > <br>> > It looks like the python3-dev package is generated from <br>> > python3-manifest.json:<br>> > <br>> > ? ? "dev": {<br>> > ? ? ? ? "cached": [],<br>> > ? ? ? ? "files": [<br>> > ? ? ? ? ? ? "${base_libdir}/*.a",<br>> > ? ? ? ? ? ? "${base_libdir}/*.o",<br>> > ? ? ? ? ? ? "${bindir}/python*-config",<br>> > ? ? ? ? ? ? "${datadir}/aclocal",<br>> > ? ? ? ? ? ? "${datadir}/pkgconfig",<br>> > ? ? ? ? ? ? "${includedir}",<br>> > ? ? ? ? ? ? "${libdir}/*.a",<br>> > ? ? ? ? ? ? "${libdir}/*.la",<br>> > ? ? ? ? ? ? "${libdir}/*.o",<br>> > ? ? ? ? ? ? "${libdir}/lib*${SOLIBSDEV}",<br>> > ? ? ? ? ? ? "${libdir}/pkgconfig"<br>> > ? ? ? ? ],<br>> > ? ? ? ? "rdepends": [<br>> > ? ? ? ? ? ? "core"<br>> > ? ? ? ? ],<br>> > ? ? ? ? "summary": "Python development package"<br>> > ? ? },<br>> > <br>> > and this is used in <a href="http://python3_3.7.2.bb/" rel="noreferrer" target="_blank">python3_3.7.2.bb</a> <<a href="http://python3_3.7.2.bb/" rel="noreferrer" target="_blank">http://python3_3.7.2.bb</a>>.<br>> > <br>> > Still I get this error: Nothing PROVIDES 'python3-dev'<br>> <br>> Are you trying to 'bitbake python3-dev'? You bitbake a recipe, not a <br>> package, so 'bitbake python3'.<br>> <br>> Ross<br><div><br></div><div>Hi Ross,</div><div><br></div><div>The issue is with the python3 recipe. It declares RDEPENDS_python3-dev, not DEPENDS_python3-dev.</div></div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div><div>I'm using the Python C API. So I need headers and so lib files at build time but only so lib at runtime. </div></div></blockquote><div><br></div><div>DEPENDing on python3 should give you the former (headers etc in sysroot at build time) and RDEPENDing on the correct package (maybe libpython3?) should give you the latter -- but RDEPENDS should be automatic if your app links to the library.</div><div><br></div><div>Is this not working?</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div><div>I can add python3-dev to my recipe's RDEPENDS list, but bitbake rightfully complains about installing -dev files to the image.</div><div><br></div><div>I'll check today how to fix that.</div><div><br></div><div>-Damien</div></div>
-- <br>
_______________________________________________<br>
yocto mailing list<br>
<a href="mailto:yocto@yoctoproject.org" target="_blank">yocto@yoctoproject.org</a><br>
<a href="https://lists.yoctoproject.org/listinfo/yocto" rel="noreferrer" target="_blank">https://lists.yoctoproject.org/listinfo/yocto</a><br>
</blockquote></div></div>
</blockquote></div>