-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Yocto Kirkstone OpenDDS do_package Errors #47
Comments
Is this a problem with the most recent version of OpenDDS (3.29.1)? |
Hello @jrw972, Yes, unfortunately I get the same errors with OpenDDS (3.29.1). I did a fresh Ubuntu installation and started a Yocto Scarthgap build. I added OpenDDS to my local.conf file as "IMAGE_INSTALL:append = "opendds", but I still get the same errors. You can find the errors below. There are 347 of these errors and due to the comment character limit I could only add these. Best regards. Error Logs: |
@vermaete Any ideas on this one? Am I reading it correctly that the opendds and opendds-dev package are both providing libACE.so.6.5.21 and the others? |
Well, it's indeed a problem of the meta-opendds layer. Or how OpenDDS is compiled (=mpc). I'm not sure. What I do know is that there is some technical dept in what to be placed in the -dev package. I'm not the export in the topic. But this is not the case in meta-opendds. And Yocto is complaining the so files are packed in to packages (opendds and opendds-dev). I will put a patch on my fork how to solve it. BUT....
So it looks like it tries to open the .so file. The not versioned version. The one that should not be on a system. ldd doesn't show this:
If somebody could help figuring out why ishapes is trying to open the .so. |
This patch, for now.
|
There are libraries that can be loaded at runtime (via |
If you want you can try this patch at the master of meta-opendds. @mitza-oci could you point me in a direction about the crash of Ishapes? Could you let me know if it works, or not.
|
Hi all, I still have do_package errors with opendds_3.24. After adding opendds to distro, why publisher and subscriber runnables are not included in rootfs? Could you please help me with this issue? Best regards. |
Hi @cebele I have tried it at the latest version. This could be a difference. I assume publisher and subscriber are applications (mostly for testing) that using OpenDDS as communication layer. But you have a point that an example Bitbake/Yocto recipe how to write an application could be useful in this meta layer. If you still would like to have the examples and tests installed you can enable the PACAGECONFIG[tests]. Br |
That's why I posted #47 (comment) For more context:
This is what
|
Is this also related? As I understand OpenDDS is using ACE to load the shared libraries: Now that the unversioned version of the library (*.so) is not assumed to be installed anymore in Yocto and Debian this could cause issues. |
It is, by design, not looking for the versioned so. |
Hi @vermaete, Unfortunately, this method did not work. Because there is no such line in the opendds 3.24 recipe. What changes should I make in the recipes to avoid getting these errors? Could you please help me with this issue? Best regards. |
@cebele I believe your reported error 'Multiple shlib providers' should be fixed in the current master of meta-opendds. |
Thank you for your support. However, due to my Yocto version (Kirkstone) I can use OpenDDS version 3.24. How can I fix these errors in OpenDDS version 3.24. Although there are errors, the Yocto image is created and the .so files with these errors appear in my image. How can I fix these errors? Best regards. |
The key should be here: https://github.com/OpenDDS/meta-opendds/blob/master/recipes-connectivity/opendds/opendds.inc#L128 br |
Hello,
I started bitbake for the Yocto Kirkstone version. I added the meta-opendds layer to my distro.
I clone the layer from the OpenDDS kirkstone branch and added the layer to my bblayers.conf file.
However, when I start bitbake, I get the following errors in the opendds-3.24-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.
Best regards.
Error Logs:
ERROR: opendds-3.24-r0 do_package: opendds-dev: Multiple shlib providers for libTAO.so.2.5.19: opendds-dev, opendds (used by files: /home/yocto/imx-yocto-bsp/build-yocto/tmp/work/armv8a-poky-linux/opendds/3.24-r0/packages-split/opendds-dev/usr/share/DDS_ROOT/ACE_wrappers/TAO/tao/ImR_Client/libTAO_ImR_Client.so.2.5.19)
ERROR: opendds-3.24-r0 do_package: opendds-dev: Multiple shlib providers for libTAO.so.2.5.19: opendds-dev, opendds (used by files: /home/yocto/imx-yocto-bsp/build-yocto/tmp/work/armv8a-poky-linux/opendds/3.24-r0/packages-split/opendds-dev/usr/share/DDS_ROOT/ACE_wrappers/TAO/tao/IORTable/libTAO_IORTable.so.2.5.19)
ERROR: opendds-3.24-r0 do_package: opendds-dev: Multiple shlib providers for libACE.so.6.5.19: opendds-dev, opendds (used by files: /home/yocto/imx-yocto-bsp/build-yocto/tmp/work/armv8a-poky-linux/opendds/3.24-r0/packages-split/opendds-dev/usr/share/DDS_ROOT/dds/DCPS/transport/udp/libOpenDDS_Udp.so.3.24.1)
ERROR: opendds-3.24-r0 do_package: opendds-dev: Multiple shlib providers for libACE.so.6.5.19: opendds-dev, opendds (used by files: /home/yocto/imx-yocto-bsp/build-yocto/tmp/work/armv8a-poky-linux/opendds/3.24-r0/packages-split/opendds-dev/usr/share/DDS_ROOT/dds/DCPS/transport/shmem/libOpenDDS_Shmem.so.3.24.1)
ERROR: opendds-3.24-r0 do_package: opendds-dev: Multiple shlib providers for libTAO.so.2.5.19: opendds-dev, opendds (used by files: /home/yocto/imx-yocto-bsp/build-yocto/tmp/work/armv8a-poky-linux/opendds/3.24-r0/packages-split/opendds-dev/usr/share/DDS_ROOT/tools/repoctl/repoctl)
ERROR: opendds-3.24-r0 do_package: opendds-dev: Multiple shlib providers for libTAO.so.2.5.19: opendds-dev, opendds (used by files: /home/yocto/imx-yocto-bsp/build-yocto/tmp/work/armv8a-poky-linux/opendds/3.24-r0/packages-split/opendds-dev/usr/share/DDS_ROOT/dds/InfoRepo/libOpenDDS_InfoRepoServ.so.3.24.1)
ERROR: opendds-3.24-r0 do_package: opendds-dev: Multiple shlib providers for libTAO_PI.so.2.5.19: opendds-dev, opendds (used by files: /home/yocto/imx-yocto-bsp/build-yocto/tmp/work/armv8a-poky-linux/opendds/3.24-r0/packages-split/opendds-dev/usr/share/DDS_ROOT/ACE_wrappers/TAO/tao/Messaging/libTAO_Messaging.so.2.5.19)
ERROR: opendds-3.24-r0 do_package: opendds-dev: Multiple shlib providers for libTAO.so.2.5.19: opendds-dev, opendds (used by files: /home/yocto/imx-yocto-bsp/build-yocto/tmp/work/armv8a-poky-linux/opendds/3.24-r0/packages-split/opendds-dev/usr/share/DDS_ROOT/tools/modeling/codegen/model/libOpenDDS_Model.so.3.24.1)
ERROR: opendds-3.24-r0 do_package: opendds-dev: Multiple shlib providers for libTAO_Valuetype.so.2.5.19: opendds-dev, opendds (used by files: /home/yocto/imx-yocto-bsp/build-yocto/tmp/work/armv8a-poky-linux/opendds/3.24-r0/packages-split/opendds-dev/usr/share/DDS_ROOT/dds/InfoRepo/libOpenDDS_InfoRepoServ.so.3.24.1)
ERROR: opendds-3.24-r0 do_package: opendds-dev: Multiple shlib providers for libTAO_AnyTypeCode.so.2.5.19: opendds-dev, opendds (used by files: /home/yocto/imx-yocto-bsp/build-yocto/tmp/work/armv8a-poky-linux/opendds/3.24-r0/packages-split/opendds-dev/usr/share/DDS_ROOT/ACE_wrappers/TAO/tao/PortableServer/libTAO_PortableServer.so.2.5.19)
ERROR: opendds-3.24-r0 do_package: opendds-dev: Multiple shlib providers for libTAO_CodecFactory.so.2.5.19: opendds-dev, opendds (used by files: /home/yocto/imx-yocto-bsp/build-yocto/tmp/work/armv8a-poky-linux/opendds/3.24-r0/packages-split/opendds-dev/usr/share/DDS_ROOT/ACE_wrappers/TAO/tao/CSD_Framework/libTAO_CSD_Framework.so.2.5.19)
ERROR: opendds-3.24-r0 do_package: opendds-dev: Multiple shlib providers for libTAO_AnyTypeCode.so.2.5.19: opendds-dev, opendds (used by files: /home/yocto/imx-yocto-bsp/build-yocto/tmp/work/armv8a-poky-linux/opendds/3.24-r0/packages-split/opendds-dev/usr/share/DDS_ROOT/ACE_wrappers/TAO/tao/DynamicInterface/libTAO_DynamicInterface.so.2.5.19)
ERROR: opendds-3.24-r0 do_package: opendds-dev: Multiple shlib providers for libTAO_PortableServer.so.2.5.19: opendds-dev, opendds (used by files: /home/yocto/imx-yocto-bsp/build-yocto/tmp/work/armv8a-poky-linux/opendds/3.24-r0/packages-split/opendds-dev/usr/share/DDS_ROOT/ACE_wrappers/TAO/tao/DynamicInterface/libTAO_DynamicInterface.so.2.5.19)
ERROR: opendds-3.24-r0 do_package: opendds-dev: Multiple shlib providers for libACE.so.6.5.19: opendds-dev, opendds (used by files: /home/yocto/imx-yocto-bsp/build-yocto/tmp/work/armv8a-poky-linux/opendds/3.24-r0/packages-split/opendds-dev/usr/share/DDS_ROOT/ACE_wrappers/TAO/tao/IORTable/libTAO_IORTable.so.2.5.19)
ERROR: opendds-3.24-r0 do_package: opendds-dev: Multiple shlib providers for libTAO_Valuetype.so.2.5.19: opendds-dev, opendds (used by files: /home/yocto/imx-yocto-bsp/build-yocto/tmp/work/armv8a-poky-linux/opendds/3.24-r0/packages-split/opendds-dev/usr/share/DDS_ROOT/dds/DCPS/RTPS/libOpenDDS_Rtps.so.3.24.1)
ERROR: opendds-3.24-r0 do_package: opendds-dev: Multiple shlib providers for libOpenDDS_InfoRepoDiscovery.so.3.24.1: opendds, opendds-dev (used by files: /home/yocto/imx-yocto-bsp/build-yocto/tmp/work/armv8a-poky-linux/opendds/3.24-r0/packages-split/opendds-dev/usr/share/DDS_ROOT/dds/InfoRepo/libOpenDDS_Federator.so.3.24.1)
ERROR: opendds-3.24-r0 do_package: opendds-dev: Multiple shlib providers for libTAO.so.2.5.19: opendds-dev, opendds (used by files: /home/yocto/imx-yocto-bsp/build-yocto/tmp/work/armv8a-poky-linux/opendds/3.24-r0/packages-split/opendds-dev/usr/share/DDS_ROOT/dds/DCPS/transport/rtps_udp/libOpenDDS_Rtps_Udp.so.3.24.1)
ERROR: opendds-3.24-r0 do_package: opendds-dev: Multiple shlib providers for libTAO_Valuetype.so.2.5.19: opendds-dev, opendds (used by files: /home/yocto/imx-yocto-bsp/build-yocto/tmp/work/armv8a-poky-linux/opendds/3.24-r0/packages-split/opendds-dev/usr/share/DDS_ROOT/dds/DCPS/transport/rtps_udp/libOpenDDS_Rtps_Udp.so.3.24.1)
ERROR: opendds-3.24-r0 do_package: opendds-dev: Multiple shlib providers for libTAO.so.2.5.19: opendds-dev, opendds (used by files: /home/yocto/imx-yocto-bsp/build-yocto/tmp/work/armv8a-poky-linux/opendds/3.24-r0/packages-split/opendds-dev/usr/share/DDS_ROOT/dds/DCPS/security/libOpenDDS_Security.so.3.24.1)
ERROR: opendds-3.24-r0 do_package: opendds-dev: Multiple shlib providers for libACE.so.6.5.19: opendds-dev, opendds (used by files: /home/yocto/imx-yocto-bsp/build-yocto/tmp/work/armv8a-poky-linux/opendds/3.24-r0/packages-split/opendds-dev/usr/share/DDS_ROOT/tools/modeling/codegen/model/libOpenDDS_Model.so.3.24.1)
ERROR: opendds-3.24-r0 do_package: opendds-dev: Multiple shlib providers for libTAO.so.2.5.19: opendds-dev, opendds (used by files: /home/yocto/imx-yocto-bsp/build-yocto/tmp/work/armv8a-poky-linux/opendds/3.24-r0/packages-split/opendds-dev/usr/share/DDS_ROOT/dds/DCPS/transport/udp/libOpenDDS_Udp.so.3.24.1)
ERROR: opendds-3.24-r0 do_package: opendds-dev: Multiple shlib providers for libTAO_Valuetype.so.2.5.19: opendds-dev, opendds (used by files: /home/yocto/imx-yocto-bsp/build-yocto/tmp/work/armv8a-poky-linux/opendds/3.24-r0/packages-split/opendds-dev/usr/share/DDS_ROOT/dds/DCPS/security/libOpenDDS_Security.so.3.24.1)
ERROR: opendds-3.24-r0 do_package: opendds-dev: Multiple shlib providers for libTAO_Valuetype.so.2.5.19: opendds-dev, opendds (used by files: /home/yocto/imx-yocto-bsp/build-yocto/tmp/work/armv8a-poky-linux/opendds/3.24-r0/packages-split/opendds-dev/usr/share/DDS_ROOT/dds/DCPS/transport/udp/libOpenDDS_Udp.so.3.24.1)
ERROR: opendds-3.24-r0 do_package: opendds-dev: Multiple shlib providers for libACE.so.6.5.19: opendds-dev, opendds (used by files: /home/yocto/imx-yocto-bsp/build-yocto/tmp/work/armv8a-poky-linux/opendds/3.24-r0/packages-split/opendds-dev/usr/share/DDS_ROOT/dds/InfoRepo/libOpenDDS_InfoRepoLib.so.3.24.1)
ERROR: opendds-3.24-r0 do_package: opendds-dev: Multiple shlib providers for libACE.so.6.5.19: opendds-dev, opendds (used by files: /home/yocto/imx-yocto-bsp/build-yocto/tmp/work/armv8a-poky-linux/opendds/3.24-r0/packages-split/opendds-dev/usr/share/DDS_ROOT/dds/libOpenDDS_Dcps.so.3.24.1)
ERROR: opendds-3.24-r0 do_package: opendds-dev: Multiple shlib providers for libOpenDDS_Tcp.so.3.24.1: opendds, opendds-dev (used by files: /home/yocto/imx-yocto-bsp/build-yocto/tmp/work/armv8a-poky-linux/opendds/3.24-r0/packages-split/opendds-dev/usr/share/DDS_ROOT/dds/InfoRepo/libOpenDDS_InfoRepoServ.so.3.24.1)
ERROR: opendds-3.24-r0 do_package: opendds-dev: Multiple shlib providers for libOpenDDS_Dcps.so.3.24.1: opendds-dev, opendds (used by files: /home/yocto/imx-yocto-bsp/build-yocto/tmp/work/armv8a-poky-linux/opendds/3.24-r0/packages-split/opendds-dev/usr/share/DDS_ROOT/dds/DCPS/RTPS/libOpenDDS_Rtps.so.3.24.1)
ERROR: opendds-3.24-r0 do_package: opendds-dev: Multiple shlib providers for libOpenDDS_Federator.so.3.24.1: opendds-dev, opendds (used by files: /home/yocto/imx-yocto-bsp/build-yocto/tmp/work/armv8a-poky-linux/opendds/3.24-r0/packages-split/opendds-dev/usr/share/DDS_ROOT/dds/InfoRepo/libOpenDDS_InfoRepoServ.so.3.24.1)
ERROR: opendds-3.24-r0 do_package: opendds-dev: Multiple shlib providers for libTAO.so.2.5.19: opendds-dev, opendds (used by files: /home/yocto/imx-yocto-bsp/build-yocto/tmp/work/armv8a-poky-linux/opendds/3.24-r0/packages-split/opendds-dev/usr/share/DDS_ROOT/dds/DCPS/transport/multicast/libOpenDDS_Multicast.so.3.24.1)
ERROR: opendds-3.24-r0 do_package: opendds-dev: Multiple shlib providers for libTAO_Valuetype.so.2.5.19: opendds-dev, opendds (used by files: /home/yocto/imx-yocto-bsp/build-yocto/tmp/work/armv8a-poky-linux/opendds/3.24-r0/packages-split/opendds-dev/usr/share/DDS_ROOT/dds/DCPS/transport/multicast/libOpenDDS_Multicast.so.3.24.1)
ERROR: opendds-3.24-r0 do_package: opendds-dev: Multiple shlib providers for libTAO_Valuetype.so.2.5.19: opendds-dev, opendds (used by files: /home/yocto/imx-yocto-bsp/build-yocto/tmp/work/armv8a-poky-linux/opendds/3.24-r0/packages-split/opendds-dev/usr/share/DDS_ROOT/ACE_wrappers/TAO/tao/Messaging/libTAO_Messaging.so.2.5.19)
ERROR: opendds-3.24-r0 do_package: opendds-dev: Multiple shlib providers for libTAO_BiDirGIOP.so.2.5.19: opendds-dev, opendds (used by files: /home/yocto/imx-yocto-bsp/build-yocto/tmp/work/armv8a-poky-linux/opendds/3.24-r0/packages-split/opendds-dev/usr/share/DDS_ROOT/dds/DCPS/InfoRepoDiscovery/libOpenDDS_InfoRepoDiscovery.so.3.24.1)
ERROR: opendds-3.24-r0 do_package: opendds-dev: Multiple shlib providers for libTAO_AnyTypeCode.so.2.5.19: opendds-dev, opendds (used by files: /home/yocto/imx-yocto-bsp/build-yocto/tmp/work/armv8a-poky-linux/opendds/3.24-r0/packages-split/opendds-dev/usr/share/DDS_ROOT/dds/DCPS/InfoRepoDiscovery/libOpenDDS_InfoRepoDiscovery.so.3.24.1)
ERROR: opendds-3.24-r0 do_package: opendds-dev: Multiple shlib providers for libTAO_Valuetype.so.2.5.19: opendds-dev, opendds (used by files: /home/yocto/imx-yocto-bsp/build-yocto/tmp/work/armv8a-poky-linux/opendds/3.24-r0/packages-split/opendds-dev/usr/share/DDS_ROOT/dds/FACE/libOpenDDS_FACE.so.3.24.1)
ERROR: opendds-3.24-r0 do_package: opendds-dev: Multiple shlib providers for libTAO_PortableServer.so.2.5.19: opendds-dev, opendds (used by files: /home/yocto/imx-yocto-bsp/build-yocto/tmp/work/armv8a-poky-linux/opendds/3.24-r0/packages-split/opendds-dev/usr/share/DDS_ROOT/dds/InfoRepo/libOpenDDS_InfoRepoLib.so.3.24.1)
ERROR: opendds-3.24-r0 do_package: opendds-dev: Multiple shlib providers for libACE_XML_Utils.so.6.5.19: opendds-dev, opendds (used by files: /home/yocto/imx-yocto-bsp/build-yocto/tmp/work/armv8a-poky-linux/opendds/3.24-r0/packages-split/opendds-dev/usr/share/DDS_ROOT/dds/DCPS/security/libOpenDDS_Security.so.3.24.1)
ERROR: opendds-3.24-r0 do_package: opendds-dev: Multiple shlib providers for libOpenDDS_Dcps.so.3.24.1: opendds-dev, opendds (used by files: /home/yocto/imx-yocto-bsp/build-yocto/tmp/work/armv8a-poky-linux/opendds/3.24-r0/packages-split/opendds-dev/usr/share/DDS_ROOT/dds/monitor/libOpenDDS_monitor.so.3.24.1)
ERROR: opendds-3.24-r0 do_package: opendds-dev: Multiple shlib providers for libACE.so.6.5.19: opendds-dev, opendds (used by files: /home/yocto/imx-yocto-bsp/build-yocto/tmp/work/armv8a-poky-linux/opendds/3.24-r0/packages-split/opendds-dev/usr/share/DDS_ROOT/dds/DCPS/transport/multicast/libOpenDDS_Multicast.so.3.24.1)
ERROR: opendds-3.24-r0 do_package: opendds-dev: Multiple shlib providers for libTAO_Valuetype.so.2.5.19: opendds-dev, opendds (used by files: /home/yocto/imx-yocto-bsp/build-yocto/tmp/work/armv8a-poky-linux/opendds/3.24-r0/packages-split/opendds-dev/usr/share/DDS_ROOT/tools/modeling/codegen/model/libOpenDDS_Model.so.3.24.1)
ERROR: opendds-3.24-r0 do_package: opendds-dev: Multiple shlib providers for libTAO.so.2.5.19: opendds-dev, opendds (used by files: /home/yocto/imx-yocto-bsp/build-yocto/tmp/work/armv8a-poky-linux/opendds/3.24-r0/packages-split/opendds-dev/usr/share/DDS_ROOT/dds/libOpenDDS_Dcps.so.3.24.1)
The text was updated successfully, but these errors were encountered: