grpc has build dependencies that are also in meta-oe, add the layer to conf/bblayers.conf instead of just copying it piece by piece.
Ross On 23 July 2018 at 21:45, Simon Chamlian <simon.chaml...@mpbc.ca> wrote: > So I cloned the git meta-networking. > > Copied the whole > meta-openembedded/meta-networking/recipes-devtools/grpc > > into my layer. Ran bitbake and I get the following errors: > > > $ bitbake grpc > Loading cache: 100% > |#################################################################################| > Time: 0:00:01 > Loaded 3076 entries from dependency cache. > Parsing recipes: 100% > |###############################################################################| > Time: 0:00:01 > Parsing of 2334 .bb files complete (2333 cached, 1 parsed). 3064 targets, > 288 skipped, 2 masked, 0 errors. > WARNING: No bb files matched BBFILE_PATTERN_phytec > '^/opt/PHYTEC_BSPs/yocto_imx7/sources/meta-phytec/common/' > NOTE: Resolving any missing task queue dependencies > ERROR: Nothing PROVIDES 'gflags-native' (but > virtual:native:/opt/PHYTEC_BSPs/yocto_imx7/sources/meta-openembedded/meta-networking/recipes-devtools/grpc/grpc_1.8.5.bb > DEPENDS on or otherwise requires it). Close matches: > glslang-native > slang-native > lua-native > ERROR: Required build target 'grpc' has no buildable providers. > Missing or unbuildable dependency chain was: ['grpc', 'grpc-native', > 'gflags-native'] > > Summary: There was 1 WARNING message shown. > Summary: There were 2 ERROR messages shown, returning a non-zero exit code. > $ > > > There is no instructions on how we can compile this grpc into image? > > Thanks, > S > > > > > On Tue, Jul 17, 2018 at 3:11 AM, Paul Eggleton > <paul.eggle...@linux.intel.com> wrote: >> >> On Thursday, 12 July 2018 7:51:35 PM CEST Burton, Ross wrote: >> > On 12 July 2018 at 18:49, Simon Chamlian <simon.chaml...@mpbc.ca> wrote: >> > > for grpc, there are 2 of them: >> > > >> > > http://layers.openembedded.org/layerindex/recipe/72419/ >> > > Layer meta-oe >> > > >> > > <http://layers.openembedded.org/layerindex/branch/master/layer/meta-oe/> >> > > (master branch) >> > >> > That's a bug in the tool, as meta-networking is a sublayer of meta-oe. >> > If >> > you look at the paths, they're the same file. >> >> That is indeed a bug in the layer index update script - at some point in >> the >> past the recipe was moved and the move wasn't handled properly. I have a >> fix >> and will be sending it shortly. >> >> Cheers, >> Paul >> >> -- >> >> Paul Eggleton >> Intel Open Source Technology Centre >> >> > -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto