meta-ros icon indicating copy to clipboard operation
meta-ros copied to clipboard

Building meta-ros foxy in PetaLinux 2020.2 (Yocto Zeus fails)

Open RocaPiedra opened this issue 3 years ago • 0 comments

Describe the bug I'm trying to build a minimal version of ROS 2 Foxy to use in an UltraScale+ and I want to use image transport, OpenCV bridge and the middleware capabilities. I've tried multiple approaches and solutions but I either find a Nothing RPROVIDES error or I get to bypass it and RMW fails to build.

To Reproduce Host: Ubuntu 16.04 Target: Xilinx Zynq UltraScale+ MPSoC PetaLinux: 2020.2 (Yocto 3.0 Zeus) ROS: Foxy (zeus branch)

Process:

  • Create the project

  • Edit the /project-spec/meta-user/conf/user_rootfsconfig and add every package

      CONFIG_ament-cmake
      CONFIG_ament-cmake-core
      CONFIG_ament-cmake-export-definitions
      CONFIG_ament-cmake-export-dependencies
      CONFIG_ament-cmake-export-include-directories
      CONFIG_ament-cmake-export-interfaces
      CONFIG_ament-cmake-export-libraries
      CONFIG_ament-cmake-export-link-flags
      CONFIG_ament-cmake-export-targets
      CONFIG_ament-cmake-gmock
      CONFIG_ament-cmake-google-benchmark
      CONFIG_ament-cmake-gtest
      CONFIG_ament-cmake-include-directories
      CONFIG_ament-cmake-libraries
      CONFIG_ament-cmake-pytest
      CONFIG_ament-cmake-python
      CONFIG_ament-cmake-target-dependencies
      CONFIG_ament-cmake-test
      CONFIG_ament-cmake-version
      CONFIG_ament-cmake-ros
      CONFIG_domain-coordinator
      CONFIG_ament-index-python
      CONFIG_ament-cmake-copyright
      CONFIG_ament-cmake-cppcheck
      CONFIG_ament-cmake-cpplint
      CONFIG_ament-cmake-flake8
      CONFIG_ament-cmake-lint-cmake
      CONFIG_ament-cmake-pep257
      CONFIG_ament-cmake-uncrustify
      CONFIG_ament-cmake-xmllint
      CONFIG_ament-copyright
      CONFIG_ament-cppcheck
      CONFIG_ament-cpplint
      CONFIG_ament-flake8
      CONFIG_ament-lint
      CONFIG_ament-lint-auto
      CONFIG_ament-lint-cmake
      CONFIG_ament-lint-common
      CONFIG_ament-pep257
      CONFIG_ament-uncrustify
      CONFIG_ament-xmllint
      CONFIG_ament-package
      CONFIG_geometry-msgs
      CONFIG_sensor-msgs
      CONFIG_std-msgs
      CONFIG_fastcdr
      CONFIG_fastrtps
      CONFIG_foonathan-memory-vendor
      CONFIG_google-benchmark-vendor
      CONFIG_gmock-vendor
      CONFIG_gtest-vendor
      CONFIG_launch
      CONFIG_launch-testing
      CONFIG_mimick-vendor
      CONFIG_osrf-pycommon
      CONFIG_osrf-testing-tools-cpp
      CONFIG_performance-test-fixture
      CONFIG_python-cmake-module
      CONFIG_builtin-interfaces
      CONFIG_rcpputils
      CONFIG_rcutils
      CONFIG_rmw
      CONFIG_rosidl-adapter
      CONFIG_rosidl-cmake
      CONFIG_rosidl-generator-c
      CONFIG_rosidl-generator-cpp
      CONFIG_rosidl-parser
      CONFIG_rosidl-runtime-c
      CONFIG_rosidl-runtime-cpp
      CONFIG_rosidl-typesupport-interface
      CONFIG_rosidl-typesupport-introspection-c
      CONFIG_rosidl-typesupport-introspection-cpp
      CONFIG_rosidl-default-generators
      CONFIG_rosidl-default-runtime
      CONFIG_rosidl-generator-dds-idl
      CONFIG_rosidl-generator-py
      CONFIG_rosidl-typesupport-c
      CONFIG_rosidl-typesupport-cpp
      CONFIG_connext-cmake-module
      CONFIG_fastrtps-cmake-module
      CONFIG_rosidl-typesupport-fastrtps-c
      CONFIG_rosidl-typesupport-fastrtps-cpp
      CONFIG_rpyutils
      CONFIG_test-interface-files
      CONFIG_uncrustify-vendor
      CONFIG_cv-bridge
      CONFIG_image-geometry
      CONFIG_vision-opencv
    
  • Copy the meta-ros folders to project_spec/

  • Add the layers using petalinux-config -p $PROJECT_NAME --get-hw-description=$XSA_FOLDER:

      1. ${PROOT}/project_spec/meta-ros-common
      2. ${PROOT}/project_spec/meta-ros-backports-dunfell
      3. ${PROOT}/project_spec/meta-ros2
      4. ${PROOT}/project_spec/meta-ros2-foxy
    
  • Include the user packages added to user_rootfsconfig using petalinux-config -p $PROJECT_NAME -c rootfs

  • Build the project with petalinux-build -p $PROJECT_NAME

Then, the error for ament-cmake-google-benchmark appears. The package is not blacklisted (other packages had given me the same issue previously and I eliminated them from user_rootfsconfig) but looking in the meta-ros repository using vscode's search I couldn't find any reference to the package, could that be the issue? I find it odd that nobody has experienced the same problem if that was the case and it was missing in the layer.

Nothing RPROVIDES 'ament-cmake-google-benchmark' (but /home/user/ROS/scripts_petalinux/ros_test_with_recipes/components/yocto/layers/meta-petalinux/recipes-core/images/[petalinux-image-minimal.bb](http://petalinux-image-minimal.bb/) RDEPENDS on or otherwise requires it)

Next, I did not include the package in the user packages and then it passed that section fine and started building the project but ultimately fails when it gets to RMW. I've tried to search for info in the error log but I don't understand anything about the error. Could it be related to missing the ament-cmake-google-benchmark (it is a dependency)? I don't really need ament-cmake-google-benchmark so if meta-ros can be built without it, it's fine for me.

Full error log.

RMW Error

rmw-native-1.0.1-1-r0 do_compile: Execution of '/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/temp/run.do_compile.8438' failed with exit code 1:
[1/18] /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/hosttools/gcc -DROS_PACKAGE_NAME=\"rmw\" -Drmw_EXPORTS -I/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include -isystem/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/recipe-sysroot-native/usr/include -O2 -pipe -fPIC   -fvisibility=hidden -Wall -Wextra -Wpedantic -std=gnu99 -MD -MT CMakeFiles/rmw.dir/src/init.c.o -MF CMakeFiles/rmw.dir/src/init.c.o.d -o CMakeFiles/rmw.dir/src/init.c.o   -c /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/init.c
[2/18] /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/hosttools/gcc -DROS_PACKAGE_NAME=\"rmw\" -Drmw_EXPORTS -I/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include -isystem/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/recipe-sysroot-native/usr/include -O2 -pipe -fPIC   -fvisibility=hidden -Wall -Wextra -Wpedantic -std=gnu99 -MD -MT CMakeFiles/rmw.dir/src/init_options.c.o -MF CMakeFiles/rmw.dir/src/init_options.c.o.d -o CMakeFiles/rmw.dir/src/init_options.c.o   -c /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/init_options.c
[3/18] /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/hosttools/gcc -DROS_PACKAGE_NAME=\"rmw\" -Drmw_EXPORTS -I/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include -isystem/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/recipe-sysroot-native/usr/include -O2 -pipe -fPIC   -fvisibility=hidden -Wall -Wextra -Wpedantic -std=gnu99 -MD -MT CMakeFiles/rmw.dir/src/allocators.c.o -MF CMakeFiles/rmw.dir/src/allocators.c.o.d -o CMakeFiles/rmw.dir/src/allocators.c.o   -c /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/allocators.c
FAILED: CMakeFiles/rmw.dir/src/allocators.c.o
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/hosttools/gcc -DROS_PACKAGE_NAME=\"rmw\" -Drmw_EXPORTS -I/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include -isystem/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/recipe-sysroot-native/usr/include -O2 -pipe -fPIC   -fvisibility=hidden -Wall -Wextra -Wpedantic -std=gnu99 -MD -MT CMakeFiles/rmw.dir/src/allocators.c.o -MF CMakeFiles/rmw.dir/src/allocators.c.o.d -o CMakeFiles/rmw.dir/src/allocators.c.o   -c /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/allocators.c
In file included from /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/allocators.h:23:0,
                 from /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/allocators.c:15:
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/types.h:392:49: error: expected ‘,’ or ‘}’ before ‘__attribute__’
 # define RMW_DECLARE_DEPRECATED(name, msg) name __attribute__((deprecated(msg)))
                                                 ^
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/types.h:412:3: note: in expansion of macro ‘RMW_DECLARE_DEPRECATED’
   RMW_DECLARE_DEPRECATED(
   ^
[4/18] /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/hosttools/gcc -DROS_PACKAGE_NAME=\"rmw\" -Drmw_EXPORTS -I/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include -isystem/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/recipe-sysroot-native/usr/include -O2 -pipe -fPIC   -fvisibility=hidden -Wall -Wextra -Wpedantic -std=gnu99 -MD -MT CMakeFiles/rmw.dir/src/convert_rcutils_ret_to_rmw_ret.c.o -MF CMakeFiles/rmw.dir/src/convert_rcutils_ret_to_rmw_ret.c.o.d -o CMakeFiles/rmw.dir/src/convert_rcutils_ret_to_rmw_ret.c.o   -c /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/convert_rcutils_ret_to_rmw_ret.c
FAILED: CMakeFiles/rmw.dir/src/convert_rcutils_ret_to_rmw_ret.c.o
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/hosttools/gcc -DROS_PACKAGE_NAME=\"rmw\" -Drmw_EXPORTS -I/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include -isystem/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/recipe-sysroot-native/usr/include -O2 -pipe -fPIC   -fvisibility=hidden -Wall -Wextra -Wpedantic -std=gnu99 -MD -MT CMakeFiles/rmw.dir/src/convert_rcutils_ret_to_rmw_ret.c.o -MF CMakeFiles/rmw.dir/src/convert_rcutils_ret_to_rmw_ret.c.o.d -o CMakeFiles/rmw.dir/src/convert_rcutils_ret_to_rmw_ret.c.o   -c /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/convert_rcutils_ret_to_rmw_ret.c
In file included from /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/convert_rcutils_ret_to_rmw_ret.h:25:0,
                 from /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/convert_rcutils_ret_to_rmw_ret.c:15:
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/types.h:392:49: error: expected ‘,’ or ‘}’ before ‘__attribute__’
 # define RMW_DECLARE_DEPRECATED(name, msg) name __attribute__((deprecated(msg)))
                                                 ^
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/types.h:412:3: note: in expansion of macro ‘RMW_DECLARE_DEPRECATED’
   RMW_DECLARE_DEPRECATED(
   ^
[5/18] /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/hosttools/gcc -DROS_PACKAGE_NAME=\"rmw\" -Drmw_EXPORTS -I/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include -isystem/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/recipe-sysroot-native/usr/include -O2 -pipe -fPIC   -fvisibility=hidden -Wall -Wextra -Wpedantic -std=gnu99 -MD -MT CMakeFiles/rmw.dir/src/event.c.o -MF CMakeFiles/rmw.dir/src/event.c.o.d -o CMakeFiles/rmw.dir/src/event.c.o   -c /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/event.c
FAILED: CMakeFiles/rmw.dir/src/event.c.o
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/hosttools/gcc -DROS_PACKAGE_NAME=\"rmw\" -Drmw_EXPORTS -I/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include -isystem/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/recipe-sysroot-native/usr/include -O2 -pipe -fPIC   -fvisibility=hidden -Wall -Wextra -Wpedantic -std=gnu99 -MD -MT CMakeFiles/rmw.dir/src/event.c.o -MF CMakeFiles/rmw.dir/src/event.c.o.d -o CMakeFiles/rmw.dir/src/event.c.o   -c /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/event.c
In file included from /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/event.h:28:0,
                 from /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/event.c:18:
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/types.h:392:49: error: expected ‘,’ or ‘}’ before ‘__attribute__’
 # define RMW_DECLARE_DEPRECATED(name, msg) name __attribute__((deprecated(msg)))
                                                 ^
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/types.h:412:3: note: in expansion of macro ‘RMW_DECLARE_DEPRECATED’
   RMW_DECLARE_DEPRECATED(
   ^
[6/18] /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/hosttools/gcc -DROS_PACKAGE_NAME=\"rmw\" -Drmw_EXPORTS -I/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include -isystem/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/recipe-sysroot-native/usr/include -O2 -pipe -fPIC   -fvisibility=hidden -Wall -Wextra -Wpedantic -std=gnu99 -MD -MT CMakeFiles/rmw.dir/src/message_sequence.c.o -MF CMakeFiles/rmw.dir/src/message_sequence.c.o.d -o CMakeFiles/rmw.dir/src/message_sequence.c.o   -c /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/message_sequence.c
FAILED: CMakeFiles/rmw.dir/src/message_sequence.c.o
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/hosttools/gcc -DROS_PACKAGE_NAME=\"rmw\" -Drmw_EXPORTS -I/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include -isystem/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/recipe-sysroot-native/usr/include -O2 -pipe -fPIC   -fvisibility=hidden -Wall -Wextra -Wpedantic -std=gnu99 -MD -MT CMakeFiles/rmw.dir/src/message_sequence.c.o -MF CMakeFiles/rmw.dir/src/message_sequence.c.o.d -o CMakeFiles/rmw.dir/src/message_sequence.c.o   -c /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/message_sequence.c
In file included from /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/message_sequence.h:22:0,
                 from /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/message_sequence.c:15:
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/types.h:392:49: error: expected ‘,’ or ‘}’ before ‘__attribute__’
 # define RMW_DECLARE_DEPRECATED(name, msg) name __attribute__((deprecated(msg)))
                                                 ^
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/types.h:412:3: note: in expansion of macro ‘RMW_DECLARE_DEPRECATED’
   RMW_DECLARE_DEPRECATED(
   ^
[7/18] /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/hosttools/gcc -DROS_PACKAGE_NAME=\"rmw\" -Drmw_EXPORTS -I/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include -isystem/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/recipe-sysroot-native/usr/include -O2 -pipe -fPIC   -fvisibility=hidden -Wall -Wextra -Wpedantic -std=gnu99 -MD -MT CMakeFiles/rmw.dir/src/names_and_types.c.o -MF CMakeFiles/rmw.dir/src/names_and_types.c.o.d -o CMakeFiles/rmw.dir/src/names_and_types.c.o   -c /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/names_and_types.c
FAILED: CMakeFiles/rmw.dir/src/names_and_types.c.o
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/hosttools/gcc -DROS_PACKAGE_NAME=\"rmw\" -Drmw_EXPORTS -I/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include -isystem/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/recipe-sysroot-native/usr/include -O2 -pipe -fPIC   -fvisibility=hidden -Wall -Wextra -Wpedantic -std=gnu99 -MD -MT CMakeFiles/rmw.dir/src/names_and_types.c.o -MF CMakeFiles/rmw.dir/src/names_and_types.c.o.d -o CMakeFiles/rmw.dir/src/names_and_types.c.o   -c /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/names_and_types.c
In file included from /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/names_and_types.h:28:0,
                 from /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/names_and_types.c:15:
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/types.h:392:49: error: expected ‘,’ or ‘}’ before ‘__attribute__’
 # define RMW_DECLARE_DEPRECATED(name, msg) name __attribute__((deprecated(msg)))
                                                 ^
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/types.h:412:3: note: in expansion of macro ‘RMW_DECLARE_DEPRECATED’
   RMW_DECLARE_DEPRECATED(
   ^
[8/18] /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/hosttools/gcc -DROS_PACKAGE_NAME=\"rmw\" -Drmw_EXPORTS -I/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include -isystem/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/recipe-sysroot-native/usr/include -O2 -pipe -fPIC   -fvisibility=hidden -Wall -Wextra -Wpedantic -std=gnu99 -MD -MT CMakeFiles/rmw.dir/src/publisher_options.c.o -MF CMakeFiles/rmw.dir/src/publisher_options.c.o.d -o CMakeFiles/rmw.dir/src/publisher_options.c.o   -c /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/publisher_options.c
FAILED: CMakeFiles/rmw.dir/src/publisher_options.c.o
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/hosttools/gcc -DROS_PACKAGE_NAME=\"rmw\" -Drmw_EXPORTS -I/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include -isystem/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/recipe-sysroot-native/usr/include -O2 -pipe -fPIC   -fvisibility=hidden -Wall -Wextra -Wpedantic -std=gnu99 -MD -MT CMakeFiles/rmw.dir/src/publisher_options.c.o -MF CMakeFiles/rmw.dir/src/publisher_options.c.o.d -o CMakeFiles/rmw.dir/src/publisher_options.c.o   -c /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/publisher_options.c
In file included from /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/publisher_options.h:23:0,
                 from /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/publisher_options.c:15:
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/types.h:392:49: error: expected ‘,’ or ‘}’ before ‘__attribute__’
 # define RMW_DECLARE_DEPRECATED(name, msg) name __attribute__((deprecated(msg)))
                                                 ^
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/types.h:412:3: note: in expansion of macro ‘RMW_DECLARE_DEPRECATED’
   RMW_DECLARE_DEPRECATED(
   ^
[9/18] /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/hosttools/gcc -DROS_PACKAGE_NAME=\"rmw\" -Drmw_EXPORTS -I/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include -isystem/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/recipe-sysroot-native/usr/include -O2 -pipe -fPIC   -fvisibility=hidden -Wall -Wextra -Wpedantic -std=gnu99 -MD -MT CMakeFiles/rmw.dir/src/subscription_options.c.o -MF CMakeFiles/rmw.dir/src/subscription_options.c.o.d -o CMakeFiles/rmw.dir/src/subscription_options.c.o   -c /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/subscription_options.c
FAILED: CMakeFiles/rmw.dir/src/subscription_options.c.o
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/hosttools/gcc -DROS_PACKAGE_NAME=\"rmw\" -Drmw_EXPORTS -I/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include -isystem/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/recipe-sysroot-native/usr/include -O2 -pipe -fPIC   -fvisibility=hidden -Wall -Wextra -Wpedantic -std=gnu99 -MD -MT CMakeFiles/rmw.dir/src/subscription_options.c.o -MF CMakeFiles/rmw.dir/src/subscription_options.c.o.d -o CMakeFiles/rmw.dir/src/subscription_options.c.o   -c /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/subscription_options.c
In file included from /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/subscription_options.h:23:0,
                 from /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/subscription_options.c:15:
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/types.h:392:49: error: expected ‘,’ or ‘}’ before ‘__attribute__’
 # define RMW_DECLARE_DEPRECATED(name, msg) name __attribute__((deprecated(msg)))
                                                 ^
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/types.h:412:3: note: in expansion of macro ‘RMW_DECLARE_DEPRECATED’
   RMW_DECLARE_DEPRECATED(
   ^
[10/18] /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/hosttools/gcc -DROS_PACKAGE_NAME=\"rmw\" -Drmw_EXPORTS -I/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include -isystem/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/recipe-sysroot-native/usr/include -O2 -pipe -fPIC   -fvisibility=hidden -Wall -Wextra -Wpedantic -std=gnu99 -MD -MT CMakeFiles/rmw.dir/src/topic_endpoint_info_array.c.o -MF CMakeFiles/rmw.dir/src/topic_endpoint_info_array.c.o.d -o CMakeFiles/rmw.dir/src/topic_endpoint_info_array.c.o   -c /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/topic_endpoint_info_array.c
FAILED: CMakeFiles/rmw.dir/src/topic_endpoint_info_array.c.o
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/hosttools/gcc -DROS_PACKAGE_NAME=\"rmw\" -Drmw_EXPORTS -I/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include -isystem/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/recipe-sysroot-native/usr/include -O2 -pipe -fPIC   -fvisibility=hidden -Wall -Wextra -Wpedantic -std=gnu99 -MD -MT CMakeFiles/rmw.dir/src/topic_endpoint_info_array.c.o -MF CMakeFiles/rmw.dir/src/topic_endpoint_info_array.c.o.d -o CMakeFiles/rmw.dir/src/topic_endpoint_info_array.c.o   -c /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/topic_endpoint_info_array.c
In file included from /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/topic_endpoint_info.h:24:0,
                 from /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/topic_endpoint_info_array.h:24,
                 from /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/topic_endpoint_info_array.c:15:
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/types.h:392:49: error: expected ‘,’ or ‘}’ before ‘__attribute__’
 # define RMW_DECLARE_DEPRECATED(name, msg) name __attribute__((deprecated(msg)))
                                                 ^
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/types.h:412:3: note: in expansion of macro ‘RMW_DECLARE_DEPRECATED’
   RMW_DECLARE_DEPRECATED(
   ^
[11/18] /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/hosttools/gcc -DROS_PACKAGE_NAME=\"rmw\" -Drmw_EXPORTS -I/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include -isystem/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/recipe-sysroot-native/usr/include -O2 -pipe -fPIC   -fvisibility=hidden -Wall -Wextra -Wpedantic -std=gnu99 -MD -MT CMakeFiles/rmw.dir/src/topic_endpoint_info.c.o -MF CMakeFiles/rmw.dir/src/topic_endpoint_info.c.o.d -o CMakeFiles/rmw.dir/src/topic_endpoint_info.c.o   -c /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/topic_endpoint_info.c
FAILED: CMakeFiles/rmw.dir/src/topic_endpoint_info.c.o
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/hosttools/gcc -DROS_PACKAGE_NAME=\"rmw\" -Drmw_EXPORTS -I/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include -isystem/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/recipe-sysroot-native/usr/include -O2 -pipe -fPIC   -fvisibility=hidden -Wall -Wextra -Wpedantic -std=gnu99 -MD -MT CMakeFiles/rmw.dir/src/topic_endpoint_info.c.o -MF CMakeFiles/rmw.dir/src/topic_endpoint_info.c.o.d -o CMakeFiles/rmw.dir/src/topic_endpoint_info.c.o   -c /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/topic_endpoint_info.c
In file included from /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/topic_endpoint_info.h:24:0,
                 from /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/topic_endpoint_info.c:15:
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/types.h:392:49: error: expected ‘,’ or ‘}’ before ‘__attribute__’
 # define RMW_DECLARE_DEPRECATED(name, msg) name __attribute__((deprecated(msg)))
                                                 ^
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/types.h:412:3: note: in expansion of macro ‘RMW_DECLARE_DEPRECATED’
   RMW_DECLARE_DEPRECATED(
   ^
[12/18] /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/hosttools/gcc -DROS_PACKAGE_NAME=\"rmw\" -Drmw_EXPORTS -I/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include -isystem/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/recipe-sysroot-native/usr/include -O2 -pipe -fPIC   -fvisibility=hidden -Wall -Wextra -Wpedantic -std=gnu99 -MD -MT CMakeFiles/rmw.dir/src/sanity_checks.c.o -MF CMakeFiles/rmw.dir/src/sanity_checks.c.o.d -o CMakeFiles/rmw.dir/src/sanity_checks.c.o   -c /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/sanity_checks.c
FAILED: CMakeFiles/rmw.dir/src/sanity_checks.c.o
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/hosttools/gcc -DROS_PACKAGE_NAME=\"rmw\" -Drmw_EXPORTS -I/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include -isystem/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/recipe-sysroot-native/usr/include -O2 -pipe -fPIC   -fvisibility=hidden -Wall -Wextra -Wpedantic -std=gnu99 -MD -MT CMakeFiles/rmw.dir/src/sanity_checks.c.o -MF CMakeFiles/rmw.dir/src/sanity_checks.c.o.d -o CMakeFiles/rmw.dir/src/sanity_checks.c.o   -c /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/sanity_checks.c
In file included from /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/sanity_checks.h:26:0,
                 from /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/sanity_checks.c:15:
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/types.h:392:49: error: expected ‘,’ or ‘}’ before ‘__attribute__’
 # define RMW_DECLARE_DEPRECATED(name, msg) name __attribute__((deprecated(msg)))
                                                 ^
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/types.h:412:3: note: in expansion of macro ‘RMW_DECLARE_DEPRECATED’
   RMW_DECLARE_DEPRECATED(
   ^
[13/18] /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/hosttools/gcc -DROS_PACKAGE_NAME=\"rmw\" -Drmw_EXPORTS -I/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include -isystem/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/recipe-sysroot-native/usr/include -O2 -pipe -fPIC   -fvisibility=hidden -Wall -Wextra -Wpedantic -std=gnu99 -MD -MT CMakeFiles/rmw.dir/src/security_options.c.o -MF CMakeFiles/rmw.dir/src/security_options.c.o.d -o CMakeFiles/rmw.dir/src/security_options.c.o   -c /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/security_options.c
[14/18] /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/hosttools/gcc -DROS_PACKAGE_NAME=\"rmw\" -Drmw_EXPORTS -I/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include -isystem/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/recipe-sysroot-native/usr/include -O2 -pipe -fPIC   -fvisibility=hidden -Wall -Wextra -Wpedantic -std=gnu99 -MD -MT CMakeFiles/rmw.dir/src/types.c.o -MF CMakeFiles/rmw.dir/src/types.c.o.d -o CMakeFiles/rmw.dir/src/types.c.o   -c /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/types.c
FAILED: CMakeFiles/rmw.dir/src/types.c.o
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/hosttools/gcc -DROS_PACKAGE_NAME=\"rmw\" -Drmw_EXPORTS -I/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include -isystem/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/recipe-sysroot-native/usr/include -O2 -pipe -fPIC   -fvisibility=hidden -Wall -Wextra -Wpedantic -std=gnu99 -MD -MT CMakeFiles/rmw.dir/src/types.c.o -MF CMakeFiles/rmw.dir/src/types.c.o.d -o CMakeFiles/rmw.dir/src/types.c.o   -c /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/types.c
In file included from /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/types.c:15:0:
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/types.h:392:49: error: expected ‘,’ or ‘}’ before ‘__attribute__’
 # define RMW_DECLARE_DEPRECATED(name, msg) name __attribute__((deprecated(msg)))
                                                 ^
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/types.h:412:3: note: in expansion of macro ‘RMW_DECLARE_DEPRECATED’
   RMW_DECLARE_DEPRECATED(
   ^
[15/18] /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/hosttools/gcc -DROS_PACKAGE_NAME=\"rmw\" -Drmw_EXPORTS -I/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include -isystem/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/recipe-sysroot-native/usr/include -O2 -pipe -fPIC   -fvisibility=hidden -Wall -Wextra -Wpedantic -std=gnu99 -MD -MT CMakeFiles/rmw.dir/src/validate_full_topic_name.c.o -MF CMakeFiles/rmw.dir/src/validate_full_topic_name.c.o.d -o CMakeFiles/rmw.dir/src/validate_full_topic_name.c.o   -c /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/validate_full_topic_name.c
FAILED: CMakeFiles/rmw.dir/src/validate_full_topic_name.c.o
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/hosttools/gcc -DROS_PACKAGE_NAME=\"rmw\" -Drmw_EXPORTS -I/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include -isystem/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/recipe-sysroot-native/usr/include -O2 -pipe -fPIC   -fvisibility=hidden -Wall -Wextra -Wpedantic -std=gnu99 -MD -MT CMakeFiles/rmw.dir/src/validate_full_topic_name.c.o -MF CMakeFiles/rmw.dir/src/validate_full_topic_name.c.o.d -o CMakeFiles/rmw.dir/src/validate_full_topic_name.c.o   -c /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/validate_full_topic_name.c
In file included from /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/validate_full_topic_name.h:24:0,
                 from /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/validate_full_topic_name.c:15:
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/types.h:392:49: error: expected ‘,’ or ‘}’ before ‘__attribute__’
 # define RMW_DECLARE_DEPRECATED(name, msg) name __attribute__((deprecated(msg)))
                                                 ^
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/types.h:412:3: note: in expansion of macro ‘RMW_DECLARE_DEPRECATED’
   RMW_DECLARE_DEPRECATED(
   ^
[16/18] /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/hosttools/gcc -DROS_PACKAGE_NAME=\"rmw\" -Drmw_EXPORTS -I/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include -isystem/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/recipe-sysroot-native/usr/include -O2 -pipe -fPIC   -fvisibility=hidden -Wall -Wextra -Wpedantic -std=gnu99 -MD -MT CMakeFiles/rmw.dir/src/validate_node_name.c.o -MF CMakeFiles/rmw.dir/src/validate_node_name.c.o.d -o CMakeFiles/rmw.dir/src/validate_node_name.c.o   -c /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/validate_node_name.c
FAILED: CMakeFiles/rmw.dir/src/validate_node_name.c.o
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/hosttools/gcc -DROS_PACKAGE_NAME=\"rmw\" -Drmw_EXPORTS -I/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include -isystem/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/recipe-sysroot-native/usr/include -O2 -pipe -fPIC   -fvisibility=hidden -Wall -Wextra -Wpedantic -std=gnu99 -MD -MT CMakeFiles/rmw.dir/src/validate_node_name.c.o -MF CMakeFiles/rmw.dir/src/validate_node_name.c.o.d -o CMakeFiles/rmw.dir/src/validate_node_name.c.o   -c /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/validate_node_name.c
In file included from /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/validate_node_name.h:24:0,
                 from /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/validate_node_name.c:15:
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/types.h:392:49: error: expected ‘,’ or ‘}’ before ‘__attribute__’
 # define RMW_DECLARE_DEPRECATED(name, msg) name __attribute__((deprecated(msg)))
                                                 ^
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/types.h:412:3: note: in expansion of macro ‘RMW_DECLARE_DEPRECATED’
   RMW_DECLARE_DEPRECATED(
   ^
[17/18] /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/hosttools/gcc -DROS_PACKAGE_NAME=\"rmw\" -Drmw_EXPORTS -I/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include -isystem/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/recipe-sysroot-native/usr/include -O2 -pipe -fPIC   -fvisibility=hidden -Wall -Wextra -Wpedantic -std=gnu99 -MD -MT CMakeFiles/rmw.dir/src/validate_namespace.c.o -MF CMakeFiles/rmw.dir/src/validate_namespace.c.o.d -o CMakeFiles/rmw.dir/src/validate_namespace.c.o   -c /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/validate_namespace.c
FAILED: CMakeFiles/rmw.dir/src/validate_namespace.c.o
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/hosttools/gcc -DROS_PACKAGE_NAME=\"rmw\" -Drmw_EXPORTS -I/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include -isystem/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/recipe-sysroot-native/usr/include -O2 -pipe -fPIC   -fvisibility=hidden -Wall -Wextra -Wpedantic -std=gnu99 -MD -MT CMakeFiles/rmw.dir/src/validate_namespace.c.o -MF CMakeFiles/rmw.dir/src/validate_namespace.c.o.d -o CMakeFiles/rmw.dir/src/validate_namespace.c.o   -c /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/validate_namespace.c
In file included from /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/validate_namespace.h:24:0,
                 from /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/src/validate_namespace.c:15:
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/types.h:392:49: error: expected ‘,’ or ‘}’ before ‘__attribute__’
 # define RMW_DECLARE_DEPRECATED(name, msg) name __attribute__((deprecated(msg)))
                                                 ^
/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/git/include/rmw/types.h:412:3: note: in expansion of macro ‘RMW_DECLARE_DEPRECATED’
   RMW_DECLARE_DEPRECATED(
   ^
ninja: build stopped: subcommand failed.
WARNING: /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/temp/run.do_compile.8438:1 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} }VERBOSE=1 cmake --build '/home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/build' "$@" -- -j 32'

ERROR: Logfile of failure stored in: /home/user/ROS/scripts_petalinux/ros_test_with_recipes/build/tmp/work/x86_64-linux/rmw-native/1.0.1-1-r0/temp/log.do_compile.8438

RocaPiedra avatar Sep 13 '22 09:09 RocaPiedra