I'm installing using the recipe. Running Sumo and the meson recipe has: RDEPENDS_${PN} = "ninja python3-core python3-modules"
I'll try to add python3-misc to RDEPENDS. // Einar On Fri, Dec 21, 2018 at 2:58 PM Burton, Ross <ross.bur...@intel.com> wrote: > > pathlib is in python3-misc: > > $ oe-pkgdata-util find-path */pathlib.py > python3-misc: /usr/lib/python3.5/pathlib.py > > And Meson in Thud at least has a dependency on python3-misc, so you > shoudn't need to do anything. > > What release are you using? > > Or, are you trying to install Meson from source inside the image, > instead of using the recipe? In that case ensure that you have all of > Python installed, easiest way is to add python3 to IMAGE_INSTALL. > > Ross > > On Fri, 21 Dec 2018 at 13:17, Einar Vading <yocto...@vading.se> wrote: > > > > Hi, > > > > I was trying to install meson on target for a machine that creates a > > docker image for us. When I try to start meson however I get an error > > message that pathlib can't be found. With the patch below I got it to > > work but my question is if there is another way? Or if the patch would > > be acceptable upstream? > > > > Best regards, > > Einar > > > > diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json > > b/meta/recipes-devtools/python/python3/python3-manifest.json > > index 2491f36db2..42a5680c65 100644 > > --- a/meta/recipes-devtools/python/python3/python3-manifest.json > > +++ b/meta/recipes-devtools/python/python3/python3-manifest.json > > @@ -154,10 +154,12 @@ > > "${libdir}/python3.5/__pycache__/keyword.*.pyc", > > "${libdir}/python3.5/__pycache__/linecache.*.pyc", > > "${libdir}/python3.5/__pycache__/locale.*.pyc", > > + "${libdir}/python3.5/__pycache__/ntpath.*.pyc", > > "${libdir}/python3.5/__pycache__/opcode.*.pyc", > > "${libdir}/python3.5/__pycache__/operator.*.pyc", > > "${libdir}/python3.5/__pycache__/optparse.*.pyc", > > "${libdir}/python3.5/__pycache__/os.*.pyc", > > + "${libdir}/python3.5/__pycache__/pathlib.*.pyc", > > "${libdir}/python3.5/__pycache__/platform.*.pyc", > > "${libdir}/python3.5/__pycache__/posixpath.*.pyc", > > "${libdir}/python3.5/__pycache__/re.*.pyc", > > @@ -269,10 +271,12 @@ > > "${libdir}/python3.5/linecache.py", > > "${libdir}/python3.5/locale.py", > > "${libdir}/python3.5/new.py", > > + "${libdir}/python3.5/ntpath.py", > > "${libdir}/python3.5/opcode.py", > > "${libdir}/python3.5/operator.py", > > "${libdir}/python3.5/optparse.py", > > "${libdir}/python3.5/os.py", > > + "${libdir}/python3.5/pathlib.py", > > "${libdir}/python3.5/platform.py", > > "${libdir}/python3.5/posixpath.py", > > "${libdir}/python3.5/re.py", > > @@ -1146,4 +1150,4 @@ > > ], > > "summary": "Python XML-RPC support" > > } > > -} > > \ No newline at end of file > > +} > > -- > > _______________________________________________ > > yocto mailing list > > yocto@yoctoproject.org > > https://lists.yoctoproject.org/listinfo/yocto -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto