Kiitos Jussi! That solved it.
I had DEPENDS += "python3-dev" and RDEPENDS += "libpython3" now I have DEPENDS += "python3" and RDEPENDS += "libpython3" I'll check if libpython3 is implicit when the image builds. Cheers, -Damien On Wed, Sep 25, 2019 at 10:00 AM Jussi Kukkonen <j...@goto.fi> wrote: > > > On Wed, 25 Sep 2019 at 09:16, Damien LEFEVRE <lefevre...@gmail.com> wrote: > >> > On 24/09/2019 10:36, Damien LEFEVRE wrote: >> > > Hi, >> > > >> > > Migrating from poky:pyro to poky:warrior. >> > > >> > > It looks like the python3-dev package is generated from >> > > python3-manifest.json: >> > > >> > > ? ? "dev": { >> > > ? ? ? ? "cached": [], >> > > ? ? ? ? "files": [ >> > > ? ? ? ? ? ? "${base_libdir}/*.a", >> > > ? ? ? ? ? ? "${base_libdir}/*.o", >> > > ? ? ? ? ? ? "${bindir}/python*-config", >> > > ? ? ? ? ? ? "${datadir}/aclocal", >> > > ? ? ? ? ? ? "${datadir}/pkgconfig", >> > > ? ? ? ? ? ? "${includedir}", >> > > ? ? ? ? ? ? "${libdir}/*.a", >> > > ? ? ? ? ? ? "${libdir}/*.la", >> > > ? ? ? ? ? ? "${libdir}/*.o", >> > > ? ? ? ? ? ? "${libdir}/lib*${SOLIBSDEV}", >> > > ? ? ? ? ? ? "${libdir}/pkgconfig" >> > > ? ? ? ? ], >> > > ? ? ? ? "rdepends": [ >> > > ? ? ? ? ? ? "core" >> > > ? ? ? ? ], >> > > ? ? ? ? "summary": "Python development package" >> > > ? ? }, >> > > >> > > and this is used in python3_3.7.2.bb <http://python3_3.7.2.bb>. >> > > >> > > Still I get this error: Nothing PROVIDES 'python3-dev' >> > >> > Are you trying to 'bitbake python3-dev'? You bitbake a recipe, not a >> > package, so 'bitbake python3'. >> > >> > Ross >> >> Hi Ross, >> >> The issue is with the python3 recipe. It declares RDEPENDS_python3-dev, >> not DEPENDS_python3-dev. >> > >> I'm using the Python C API. So I need headers and so lib files at build >> time but only so lib at runtime. >> > > 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. > > Is this not working? > > > >> >> I can add python3-dev to my recipe's RDEPENDS list, but bitbake >> rightfully complains about installing -dev files to the image. >> >> I'll check today how to fix that. >> >> -Damien >> -- >> _______________________________________________ >> yocto mailing list >> yocto@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/yocto >> >
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto