i.MX8DXL OpenDDS do_package error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX8DXL OpenDDS do_package error

Jump to solution
263 Views
cebel
Contributor II

Hello,

I started bitbake for the Yocto Scarthgap version. I added the meta-opendds layer to my distro.

I clone the layer from the OpenDDS added the layer to my bblayers.conf file.

I added OpenDDS to my local.conf file as "IMAGE_INSTALL:append = "opendds"

However, when I start bitbake, I get the following errors in the opendds-3.29.1-r0 do_package step.

After this error, the yocto image is created but none of the subscriber or publisher example applications in opendds are added to my rootfs.

Error Logs:
ERROR: opendds-3.29.1-r0 do_package: opendds-dev: Multiple shlib providers for libTAO_Valuetype.so.2.5.21: opendds-dev, opendds (used by files: /home/yocto/yocto-nxp/build-nxp/tmp/work/armv8a-poky-linux/opendds/3.29.1/packages-split/opendds-dev/usr/share/DDS_ROOT/tests/DCPS/FindTopic/findtopic)
ERROR: opendds-3.29.1-r0 do_package: opendds-dev: Multiple shlib providers for libOpenDDS_Dcps.so.3.29.1: opendds, opendds-dev (used by files: /home/yocto/yocto-nxp/build-nxp/tmp/work/armv8a-poky-linux/opendds/3.29.1/packages-split/opendds-dev/usr/share/DDS_ROOT/tests/DCPS/FooType/libDcpsFooType.so.3.29.1)
ERROR: opendds-3.29.1-r0 do_package: opendds-dev: Multiple shlib providers for libTAO_Valuetype.so.2.5.21: opendds-dev, opendds (used by files: /home/yocto/yocto-nxp/build-nxp/tmp/work/armv8a-poky-linux/opendds/3.29.1/packages-split/opendds-dev/usr/share/DDS_ROOT/tests/security/IDL_Serialization/Security_IDL_Serialization)
ERROR: opendds-3.29.1-r0 do_package: opendds-dev: Multiple shlib providers for libACE.so.6.5.21: opendds, opendds-dev (used by files: /home/yocto/yocto-nxp/build-nxp/tmp/work/armv8a-poky-linux/opendds/3.29.1/packages-split/opendds-dev/usr/share/DDS_ROOT/ACE_wrappers/TAO/tao/PI/libTAO_PI.so.2.5.21)
ERROR: opendds-3.29.1-r0 do_package: opendds-dev: Multiple shlib providers for libOpenDDS_Rtps.so.3.29.1: opendds, opendds-dev (used by files: /home/yocto/yocto-nxp/build-nxp/tmp/work/armv8a-poky-linux/opendds/3.29.1/packages-split/opendds-dev/usr/share/DDS_ROOT/tests/DCPS/RtpsDurableReplay/publisher)
ERROR: opendds-3.29.1-r0 do_package: opendds-dev: Multiple shlib providers for libTAO_PortableServer.so.2.5.21: opendds, opendds-dev (used by files: /home/yocto/yocto-nxp/build-nxp/tmp/work/armv8a-poky-linux/opendds/3.29.1/packages-split/opendds-dev/usr/share/DDS_ROOT/ACE_wrappers/TAO/orbsvcs/ImplRepo_Service/tao_imr)
ERROR: opendds-3.29.1-r0 do_package: opendds-dev: Multiple shlib providers for libOpenDDS_Dcps.so.3.29.1: opendds, opendds-dev (used by files: /home/yocto/yocto-nxp/build-nxp/tmp/work/armv8a-poky-linux/opendds/3.29.1/packages-split/opendds-dev/usr/share/DDS_ROOT/tests/DCPS/Reliability/IDL/libReliability.so.3.29.1)
ERROR: opendds-3.29.1-r0 do_package: opendds-dev: Multiple shlib providers for libOpenDDS_Dcps.so.3.29.1: opendds, opendds-dev (used by files: /home/yocto/yocto-nxp/build-nxp/tmp/work/armv8a-poky-linux/opendds/3.29.1/packages-split/opendds-dev/usr/share/DDS_ROOT/tests/DCPS/Prst_delayed_subscriber/publisher)
ERROR: opendds-3.29.1-r0 do_package: opendds-dev: Multiple shlib providers for libOpenDDS_Dcps.so.3.29.1: opendds, opendds-dev (used by files: /home/yocto/yocto-nxp/build-nxp/tmp/work/armv8a-poky-linux/opendds/3.29.1/packages-split/opendds-dev/usr/share/DDS_ROOT/tests/security/ConcurrentAuthLimit/ConcurrentAuthLimit)
ERROR: opendds-3.29.1-r0 do_package: opendds-dev: Multiple shlib providers for libACE.so.6.5.21: opendds, opendds-dev (used by files: /home/yocto/yocto-nxp/build-nxp/tmp/work/armv8a-poky-linux/opendds/3.29.1/packages-split/opendds-dev/usr/share/DDS_ROOT/tests/DCPS/KeyTest/IsBounded)
ERROR: opendds-3.29.1-r0 do_package: opendds-dev: Multiple shlib providers for libTAO.so.2.5.21: opendds, opendds-dev (used by files: /home/yocto/yocto-nxp/build-nxp/tmp/work/armv8a-poky-linux/opendds/3.29.1/packages-split/opendds-dev/usr/share/DDS_ROOT/tests/FACE/CallbackAndReceive/Publisher/publisher)
ERROR: opendds-3.29.1-r0 do_package: opendds-dev: Multiple shlib providers for libACE.so.6.5.21: opendds, opendds-dev (used by files: /home/yocto/yocto-nxp/build-nxp/tmp/work/armv8a-poky-linux/opendds/3.29.1/packages-split/opendds-dev/usr/share/DDS_ROOT/tests/DCPS/LivelinessTimeout/publisher)

Could you please help me these errors?

Best regards.

0 Kudos
Reply
1 Solution
39 Views
cebel
Contributor II

Hi @pengyong_zhang,

Thank you very much for your support.

I solved the OpenDDS 3.24 do_package issue in Kirkstone thanks to the GitHub issue in the link below.

Link: https://github.com/OpenDDS/meta-opendds/issues/47

Best regards.

View solution in original post

0 Kudos
Reply
2 Replies
233 Views
pengyong_zhang
NXP Employee
NXP Employee

HI @cebel 

This is because there are multiple shared library (shlib) providers in the opendds-dev package, which can cause file conflicts. The specific problem is that multiple library files (such as libACE.so, libOpenDDS_Dcps.so, etc.) may be provided by multiple packages, resulting in conflicts during build.

Here are some solution suggestions:

1. Check the dependencies of the OpenDDS package to ensure that there are no duplicate dependency library files.
2. Check the Yocto configuration to ensure that all library files are linked correctly.
3. Use Yocto's dependency management tool to resolve library file conflicts.

B.R

0 Kudos
Reply
40 Views
cebel
Contributor II

Hi @pengyong_zhang,

Thank you very much for your support.

I solved the OpenDDS 3.24 do_package issue in Kirkstone thanks to the GitHub issue in the link below.

Link: https://github.com/OpenDDS/meta-opendds/issues/47

Best regards.

0 Kudos
Reply