Skip to content
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

add meta-ros to existing Yocto project STM32MP1 #1012

Closed
SergeyFabric opened this issue May 14, 2022 · 3 comments
Closed

add meta-ros to existing Yocto project STM32MP1 #1012

SergeyFabric opened this issue May 14, 2022 · 3 comments

Comments

@SergeyFabric
Copy link

SergeyFabric commented May 14, 2022

Hi, I try to add meta-ros to an Existing OpenEmbedded Project (STM32MP1) by the wiki page.
first of all, I don't understand step 2 "Add meta-ros[12]-<ROS_DISTRO> to your conf/bblayers.conf." of "Add meta-ros to an Existing OpenEmbedded Project " What does the "12" stand for?

then I just added this layers in different constellations :
bitbake-layers add-layer ../layers/meta-ros/meta-ros2-foxy/
bitbake-layers add-layer ../layers/meta-ros/meta-ros-common/

and i got the same output:
unparsed line: 'ROS_SUPERFLORE_GENERATED_BUILDTOOLS:remove = "ament-cmake-google-benchmark-native"'

Layers without meta-ros:

Starting bitbake server...
meta-st-stm32mp-addons openstlinux-5.4-dunfell-mp1-20-11-12/layers/meta-st/meta-fabric/meta-st-stm32mp-addons 7
meta-oe openstlinux-5.4-dunfell-mp1-20-11-12/layers/meta-openembedded/meta-oe 6
meta-initramfs openstlinux-5.4-dunfell-mp1-20-11-12/layers/meta-openembedded/meta-initramfs 8
meta-multimedia openstlinux-5.4-dunfell-mp1-20-11-12/layers/meta-openembedded/meta-multimedia 6
meta-networking openstlinux-5.4-dunfell-mp1-20-11-12/layers/meta-openembedded/meta-networking 5
meta-webserver openstlinux-5.4-dunfell-mp1-20-11-12/layers/meta-openembedded/meta-webserver 6
meta-filesystems openstlinux-5.4-dunfell-mp1-20-11-12/layers/meta-openembedded/meta-filesystems 6
meta-perl openstlinux-5.4-dunfell-mp1-20-11-12/layers/meta-openembedded/meta-perl 6
meta-python openstlinux-5.4-dunfell-mp1-20-11-12/layers/meta-openembedded/meta-python 7
meta-st-stm32mp openstlinux-5.4-dunfell-mp1-20-11-12/layers/meta-st/meta-st-stm32mp 6
meta-qt5 openstlinux-5.4-dunfell-mp1-20-11-12/layers/meta-qt5 7
meta-st-openstlinux-cv openstlinux-5.4-dunfell-mp1-20-11-12/layers/meta-st/meta-fabric/meta-st-openstlinux-cv 6
meta-st-openstlinux openstlinux-5.4-dunfell-mp1-20-11-12/layers/meta-st/meta-st-openstlinux 5
meta-mt9v034 openstlinux-5.4-dunfell-mp1-20-11-12/layers/meta-st/meta-fabric/meta-mt9v034 7
meta-wl18xx-layer openstlinux-5.4-dunfell-mp1-20-11-12/layers/meta-st/meta-fabric/meta-wl18xx-layer 7
meta-csr openstlinux-5.4-dunfell-mp1-20-11-12/layers/meta-st/meta-fabric/meta-csr 6
meta openstlinux-5.4-dunfell-mp1-20-11-12/layers/openembedded-core/meta 5

when i add meta-ros , meta-ros2-foxy to bblayers the output are:
NOTE: Starting bitbake server...
ERROR: Unable to start bitbake server (None)
ERROR: Server log for this session (/home/sergey/yoctoWorkspace/openstlinux-5.4-dunfell-mp1-20-11-12/build-openstlinuxcv-stm32mp1-ground4-mx/bitbake-cookerdaemon.log):
--- Starting bitbake server pid 27353 at 2022-05-14 19:18:16.683520 ---
ERROR: ParseError at /home/sergey/yoctoWorkspace/openstlinux-5.4-dunfell-mp1-20-11-12/layers/meta-ros/meta-ros2-foxy/conf/ros-distro/include/foxy/ros-distro.inc:43: unparsed line: 'ROS_SUPERFLORE_GENERATED_BUILDTOOLS:remove = "ament-cmake-google-benchmark-native"'
ERROR: ParseError at /home/sergey/yoctoWorkspace/openstlinux-5.4-dunfell-mp1-20-11-12/layers/meta-ros/meta-ros2-foxy/conf/ros-distro/include/foxy/ros-distro.inc:43: unparsed line: 'ROS_SUPERFLORE_GENERATED_BUILDTOOLS:remove = "ament-cmake-google-benchmark-native"'
ERROR: ParseError at /home/sergey/yoctoWorkspace/openstlinux-5.4-dunfell-mp1-20-11-12/layers/meta-ros/meta-ros2-foxy/conf/ros-distro/include/foxy/ros-distro.inc:43: unparsed line: 'ROS_SUPERFLORE_GENERATED_BUILDTOOLS:remove = "ament-cmake-google-benchmark-native"'

or when I run the same error :
bitbake -p ros-core
ERROR: Unable to start bitbake server (None)
ERROR: Server log for this session (/home/sergey/yoctoWorkspace/openstlinux-5.4-dunfell-mp1-20-11-12/build-openstlinuxcv-stm32mp1-ground4-mx/bitbake-cookerdaemon.log):
--- Starting bitbake server pid 27408 at 2022-05-14 19:20:02.620360 ---
ERROR: ParseError at /home/sergey/yoctoWorkspace/openstlinux-5.4-dunfell-mp1-20-11-12/layers/meta-ros/meta-ros2-foxy/conf/ros-distro/include/foxy/ros-distro.inc:43: unparsed line: 'ROS_SUPERFLORE_GENERATED_BUILDTOOLS:remove = "ament-cmake-google-benchmark-native"'

why this meta so difficult to add ? it should be simple task like add to local.conf only the ros2-foxy or something like this at the end its only SW ...

@shr-project
Copy link
Contributor

your bitbake is too old, read:
#902

@SergeyFabric
Copy link
Author

So if I update my STLinux to the last version that ST has it will help?
:openstlinux-5.10-dunfell-mp1-21-11-17
Build process
OpenEmbedded LTS Dunfell (v3.1.11) - NEW

@erikboto
Copy link
Contributor

Yeah dunfell should be new enough, at least I use meta-ros with dunfell. Just make sure to use the dunfell branch of meta-ros.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants