Re : rdepends upon non-existent task do_package_write_deb


Poornesh G ( India - Bangalore )
 

Greetings !
I am trying to add go.opentelemetry.io-proto-otlp-native package in yocto (krikstone) .

When I give :  bitbake go.opentelemetry.io-proto-otlp-native  , it is successfully compiling .  But when I trying to add in local.conf as IMAGE_INSTALL:append += "go.opentelemetry.io-proto-otlp-native" , it is giving the below error .

-------------------------------------------------

ERROR: Task do_populate_sdk in /home/user/yocto/imx_krikstone/sources/poky/meta/recipes-core/images/core-image-minimal.bb rdepends upon non-existent task do_package_write_deb in /home/user/yocto/imx_krikstone/sources/meta-sca/recipes-go/go.opentelemetry.io-proto-otlp-native_0.12.0.bb
ERROR: Command execution failed: 1

-------------------------------------------------

Requesting you to help me out to solve this issue .

Thanks in advance .


Khem Raj
 

On Fri, Jul 29, 2022 at 2:36 AM <poornesh.g@...> wrote:

Greetings !
I am trying to add go.opentelemetry.io-proto-otlp-native package in yocto (krikstone) .

When I give : bitbake go.opentelemetry.io-proto-otlp-native , it is successfully compiling . But when I trying to add in local.conf as IMAGE_INSTALL:append += "go.opentelemetry.io-proto-otlp-native" , it is giving the below error .
you don't add native packages to image, native packages are for
supporting cross builds of target packages to avoid build host
specific issues etc. If you want opentelemetry in your image you want
to do something like

MAGE_INSTALL:append = " go.opentelemetry.io-proto-otlp"


-------------------------------------------------

ERROR: Task do_populate_sdk in /home/user/yocto/imx_krikstone/sources/poky/meta/recipes-core/images/core-image-minimal.bb rdepends upon non-existent task do_package_write_deb in /home/user/yocto/imx_krikstone/sources/meta-sca/recipes-go/go.opentelemetry.io-proto-otlp-native_0.12.0.bb
ERROR: Command execution failed: 1

-------------------------------------------------

Requesting you to help me out to solve this issue .

Thanks in advance .




Poornesh G ( India - Bangalore )
 

Thanks for your valuable reply .

I followed the procedure which you have mentioned i.e added IMAGE_INSTALL:append = " go.opentelemetry.io-proto-otlp" in local.conf file. After that I am getting this error , can you please suggest me where I need to modify .

------------------------------------------------------------------------

user@user-Latitude-3490:~/yocto/imx_krikstone/build$ bitbake core-image-minimal
WARNING: You have included the meta-virtualization layer, but 'virtualization' has not been enabled in your DISTRO_FEATURES. Some bbappend files may not take effect. See the meta-virtualization README for details on enabling virtualization support.
Loading cache: 100% |############################################################################################################| Time: 0:00:00
Loaded 5514 entries from dependency cache.
Parsing recipes: 100% |##########################################################################################################| Time: 0:00:00
Parsing of 3954 .bb files complete (3953 cached, 1 parsed). 5514 targets, 658 skipped, 5 masked, 0 errors.
Removing 1 recipes from the cortexa7t2hf-neon sysroot: 100% |####################################################################| Time: 0:00:00
Removing 1 recipes from the imx6ul_pds sysroot: 100% |###########################################################################| Time: 0:00:00
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'go.opentelemetry.io-proto-otlp' (but /home/user/yocto/imx_krikstone/sources/poky/meta/recipes-core/images/core-image-minimal.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'go.opentelemetry.io-proto-otlp' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['go.opentelemetry.io-proto-otlp']
ERROR: Required build target 'core-image-minimal' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-minimal', 'go.opentelemetry.io-proto-otlp']

------------------------------------------------------------------------

Thanks in advance