Skip to content

CMake Error at /usr/local/share/cmake-4.2/Modules/CMakeTestCCompiler.cmake:67 (message): The C compiler "/usr/bin/gcc" is not able to compile a simple test program. It fails with the following output: #321

@junjun-25

Description

@junjun-25

im trying to build microros component library and it showing

-- Found Git: /usr/bin/git (found version "2.43.0")
-- Minimal build - OFF
-- The C compiler identification is GNU 14.2.0
-- The CXX compiler identification is GNU 14.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/kenji/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20251107/xtensa-esp-elf/bin/xtensa-esp32s3-elf-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/kenji/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20251107/xtensa-esp-elf/bin/xtensa-esp32s3-elf-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/kenji/.espressif/tools/xtensa-esp-elf/esp-14.2.0_20251107/xtensa-esp-elf/bin/xtensa-esp32s3-elf-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- git rev-parse returned 'fatal: not a git repository (or any of the parent directories): .git'
-- Could not use 'git describe' to determine PROJECT_VER.
-- Building ESP-IDF components for target esp32s3
NOTICE: Processing 2 dependencies:
NOTICE: [1/2] espressif/esp-dsp (1.7.0)
NOTICE: [2/2] idf (5.5.2)
-- ESP-TEE is currently supported only on the esp32c6;esp32h2;esp32c5 SoCs
-- Project sdkconfig file /home/kenji/LAKBAY_ROVER/Robot_Arm/sdkconfig
-- Compiler supported targets: xtensa-esp-elf
-- Found Python3: /home/kenji/.espressif/tools/python/v5.5.2/venv/bin/python (found version "3.12.3") found components: Interpreter
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS - Success
-- USING O3
-- App "Robot_Arm" version: 1
-- Adding linker script /home/kenji/LAKBAY_ROVER/Robot_Arm/build/esp-idf/esp_system/ld/memory.ld
-- Adding linker script /home/kenji/LAKBAY_ROVER/Robot_Arm/build/esp-idf/esp_system/ld/sections.ld.in
-- Adding linker script /home/kenji/.espressif/v5.5.2/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.ld
-- Adding linker script /home/kenji/.espressif/v5.5.2/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.api.ld
-- Adding linker script /home/kenji/.espressif/v5.5.2/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.bt_funcs.ld
-- Adding linker script /home/kenji/.espressif/v5.5.2/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.libgcc.ld
-- Adding linker script /home/kenji/.espressif/v5.5.2/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.wdt.ld
-- Adding linker script /home/kenji/.espressif/v5.5.2/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.version.ld
-- Adding linker script /home/kenji/.espressif/v5.5.2/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.ble_master.ld
-- Adding linker script /home/kenji/.espressif/v5.5.2/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.ble_50.ld
-- Adding linker script /home/kenji/.espressif/v5.5.2/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.ble_smp.ld
-- Adding linker script /home/kenji/.espressif/v5.5.2/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.ble_dtm.ld
-- Adding linker script /home/kenji/.espressif/v5.5.2/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.ble_test.ld
-- Adding linker script /home/kenji/.espressif/v5.5.2/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.ble_scan.ld
-- Adding linker script /home/kenji/.espressif/v5.5.2/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.libc.ld
-- Adding linker script /home/kenji/.espressif/v5.5.2/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.newlib.ld
-- Adding linker script /home/kenji/.espressif/v5.5.2/esp-idf/components/soc/esp32s3/ld/esp32s3.peripherals.ld
-- Using Micro XRCE-DDS middleware
rm -f /home/kenji/LAKBAY_ROVER/Robot_Arm/components/micro_ros_espidf_component/esp32_toolchain.cmake; \
cat /home/kenji/LAKBAY_ROVER/Robot_Arm/components/micro_ros_espidf_component/esp32_toolchain.cmake.in | \
        sed "s/@CMAKE_C_COMPILER@/\/home\/kenji\/.espressif\/tools\/xtensa-esp-elf\/esp-14.2.0_20251107\/xtensa-esp-elf\/bin\/xtensa-esp32s3-elf-gcc/g" | \
        sed "s/@CMAKE_CXX_COMPILER@/\/home\/kenji\/.espressif\/tools\/xtensa-esp-elf\/esp-14.2.0_20251107\/xtensa-esp-elf\/bin\/xtensa-esp32s3-elf-g++/g" | \
        sed "s/@CFLAGS@/-mlongcalls  -fno-builtin-memcpy -fno-builtin-memset -fno-builtin-bzero -fno-builtin-stpcpy -fno-builtin-strncpy -ffunction-sections -fdata-sections/g" | \
        sed "s/@CXXFLAGS@/-mlongcalls  -fno-builtin-memcpy -fno-builtin-memset -fno-builtin-bzero -fno-builtin-stpcpy -fno-builtin-strncpy -ffunction-sections -fdata-sections/g" | \
        sed "s/@IDF_TARGET@/esp32s3/g" | \
        sed "s/@IDF_PATH@/\/home\/kenji\/.espressif\/v5.5.2\/esp-idf/g" | \
        sed "s/@BUILD_CONFIG_DIR@/\/home\/kenji\/LAKBAY_ROVER\/Robot_Arm\/build\/config/g" \
        > /home/kenji/LAKBAY_ROVER/Robot_Arm/components/micro_ros_espidf_component/esp32_toolchain.cmake
rm -rf micro_ros_dev; \
mkdir micro_ros_dev; cd micro_ros_dev; \
git clone -b jazzy https://github.com/ament/ament_cmake src/ament_cmake; \
git clone -b jazzy https://github.com/ament/ament_lint src/ament_lint; \
git clone -b jazzy https://github.com/ament/ament_package src/ament_package; \
git clone -b jazzy https://github.com/ament/googletest src/googletest; \
git clone -b jazzy https://github.com/ros2/ament_cmake_ros src/ament_cmake_ros; \
git clone -b jazzy https://github.com/ament/ament_index src/ament_index; \
colcon build --cmake-args -DBUILD_TESTING=OFF -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=gcc;
rm -rf micro_ros_src; \
mkdir micro_ros_src; cd micro_ros_src; \
if [ "microxrcedds" = "embeddedrtps" ]; then \
        git clone -b main https://github.com/micro-ROS/embeddedRTPS src/embeddedRTPS; \
        git clone -b main https://github.com/micro-ROS/rmw_embeddedrtps src/rmw_embeddedrtps; \
else \
        git clone -b ros2 https://github.com/eProsima/Micro-XRCE-DDS-Client src/Micro-XRCE-DDS-Client; \
        git clone -b jazzy https://github.com/micro-ROS/rmw_microxrcedds src/rmw_microxrcedds; \
fi; \
git clone -b ros2 https://github.com/eProsima/micro-CDR src/micro-CDR; \
git clone -b jazzy https://github.com/micro-ROS/rcl src/rcl; \
git clone -b jazzy https://github.com/ros2/rclc src/rclc; \
git clone -b jazzy https://github.com/micro-ROS/rcutils src/rcutils; \
git clone -b jazzy https://github.com/micro-ROS/micro_ros_msgs src/micro_ros_msgs; \
git clone -b jazzy https://github.com/micro-ROS/rosidl_typesupport src/rosidl_typesupport; \
git clone -b jazzy https://github.com/micro-ROS/rosidl_typesupport_microxrcedds src/rosidl_typesupport_microxrcedds; \
git clone -b jazzy https://github.com/ros2/rosidl src/rosidl; \
git clone -b jazzy https://github.com/ros2/rosidl_dynamic_typesupport src/rosidl_dynamic_typesupport; \
git clone -b jazzy https://github.com/ros2/rmw src/rmw; \
git clone -b jazzy https://github.com/ros2/rcl_interfaces src/rcl_interfaces; \
git clone -b jazzy https://github.com/ros2/rosidl_defaults src/rosidl_defaults; \
git clone -b jazzy https://github.com/ros2/unique_identifier_msgs src/unique_identifier_msgs; \
git clone -b jazzy https://github.com/ros2/common_interfaces src/common_interfaces; \
git clone -b jazzy https://github.com/ros2/example_interfaces src/example_interfaces; \
git clone -b jazzy https://github.com/ros2/test_interface_files src/test_interface_files; \
git clone -b jazzy https://github.com/ros2/rmw_implementation src/rmw_implementation; \
git clone -b jazzy https://github.com/ros2/rcl_logging src/rcl_logging; \
git clone -b jazzy https://github.com/ros2/ros2_tracing src/ros2_tracing; \
git clone -b jazzy https://github.com/micro-ROS/micro_ros_utilities src/micro_ros_utilities; \
git clone -b jazzy https://github.com/ros2/rosidl_core src/rosidl_core; \
    touch src/rosidl/rosidl_typesupport_introspection_cpp/COLCON_IGNORE; \
    touch src/rcl_logging/rcl_logging_log4cxx/COLCON_IGNORE; \
    touch src/rcl_logging/rcl_logging_spdlog/COLCON_IGNORE; \
    touch src/rclc/rclc_examples/COLCON_IGNORE; \
touch src/rcl/rcl_yaml_param_parser/COLCON_IGNORE; \
touch src/ros2_tracing/test_tracetools/COLCON_IGNORE; \
touch src/ros2_tracing/lttngpy/COLCON_IGNORE; \
cp -rf /home/kenji/LAKBAY_ROVER/Robot_Arm/components/micro_ros_espidf_component/extra_packages src/extra_packages || :; \
test -f src/extra_packages/extra_packages.repos && cd src/extra_packages && vcs import --input extra_packages.repos || :;
Cloning into 'src/Micro-XRCE-DDS-Client'...
Cloning into 'src/ament_cmake'...
Cloning into 'src/rmw_microxrcedds'...
Cloning into 'src/micro-CDR'...
Cloning into 'src/ament_lint'...
Cloning into 'src/rcl'...
Cloning into 'src/ament_package'...
Cloning into 'src/googletest'...
Cloning into 'src/rclc'...
Cloning into 'src/rcutils'...
Cloning into 'src/micro_ros_msgs'...
Cloning into 'src/rosidl_typesupport'...
Cloning into 'src/ament_cmake_ros'...
Cloning into 'src/rosidl_typesupport_microxrcedds'...
Cloning into 'src/ament_index'...
Cloning into 'src/rosidl'...
Starting >>> ament_package
Starting >>> ament_lint
Starting >>> ament_pycodestyle
Starting >>> gtest_vendor
Cloning into 'src/rosidl_dynamic_typesupport'...
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: Apache Software License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: Apache Software License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
--- stderr: gtest_vendor
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


CMake Warning:
  Manually-specified variables were not used by the project:

    BUILD_TESTING
    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER


---
Finished <<< gtest_vendor [2.23s]
Starting >>> gmock_vendor
Cloning into 'src/rmw'...
--- stderr: gmock_vendor
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


CMake Warning:
  Manually-specified variables were not used by the project:

    BUILD_TESTING
    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER


---
Finished <<< gmock_vendor [0.77s]
Cloning into 'src/rcl_interfaces'...
--- stderr: ament_lint
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: Apache Software License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
---
Finished <<< ament_lint [5.30s]
Starting >>> ament_flake8
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: Apache Software License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
Finished <<< ament_package [6.44s]
Starting >>> ament_cmake_core
--- stderr: ament_pycodestyle
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: Apache Software License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
---
Finished <<< ament_pycodestyle [7.60s]
Starting >>> ament_pyflakes
Cloning into 'src/rosidl_defaults'...
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: Apache Software License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
--- stderr: ament_cmake_core
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER


---
Finished <<< ament_cmake_core [2.47s]
Starting >>> ament_cmake_python
Starting >>> ament_cmake_libraries
Cloning into 'src/unique_identifier_msgs'...
--- stderr: ament_flake8
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: Apache Software License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
---
Finished <<< ament_flake8 [5.61s]
Starting >>> ament_pep257
Cloning into 'src/common_interfaces'...
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: Apache Software License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
--- stderr: ament_cmake_libraries
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER


---
Finished <<< ament_cmake_libraries [3.27s]
Starting >>> ament_cmake_export_dependencies
--- stderr: ament_pep257
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: Apache Software License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
---
Finished <<< ament_pep257 [3.24s]
Starting >>> ament_copyright
--- stderr: ament_cmake_python
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER


---
Finished <<< ament_cmake_python [5.43s]
Starting >>> ament_cmake_test
Cloning into 'src/example_interfaces'...
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: Apache Software License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
--- stderr: ament_pyflakes
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: Apache Software License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
---
Finished <<< ament_pyflakes [7.46s]
Starting >>> ament_cmake_export_libraries
Cloning into 'src/test_interface_files'...
--- stderr: ament_cmake_export_dependencies
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER


---
Finished <<< ament_cmake_export_dependencies [4.80s]
Starting >>> ament_cmake_include_directories
--- stderr: ament_cmake_export_libraries
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER


---
Finished <<< ament_cmake_export_libraries [2.77s]
Starting >>> ament_cmake_export_definitions
Cloning into 'src/rmw_implementation'...
--- stderr: ament_copyright
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: Apache Software License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
---
Finished <<< ament_copyright [4.19s]
Starting >>> ament_lint_cmake
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: Apache Software License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
--- stderr: ament_cmake_export_definitions
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER


---
Finished <<< ament_cmake_export_definitions [1.47s]
Starting >>> ament_cmake_export_include_directories
--- stderr: ament_cmake_include_directories
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER


---
Finished <<< ament_cmake_include_directories [2.44s]
Starting >>> ament_cmake_export_link_flags
Cloning into 'src/rcl_logging'...
--- stderr: ament_cmake_test
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER


---
Finished <<< ament_cmake_test [6.61s]
Starting >>> ament_cmake_gtest
--- stderr: ament_cmake_export_include_directories
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER


---
Finished <<< ament_cmake_export_include_directories [2.14s]
Starting >>> ament_cmake_version
Cloning into 'src/ros2_tracing'...
--- stderr: ament_cmake_export_link_flags
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER


---
Finished <<< ament_cmake_export_link_flags [2.45s]
Starting >>> ament_cmake_export_interfaces
--- stderr: ament_lint_cmake
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: Apache Software License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
---
Finished <<< ament_lint_cmake [4.45s]
Starting >>> ament_cmake_lint_cmake
--- stderr: ament_cmake_gtest
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER


---
Finished <<< ament_cmake_gtest [2.30s]
Starting >>> ament_cmake_export_targets
--- stderr: ament_cmake_export_interfaces
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER


---
Finished <<< ament_cmake_export_interfaces [1.95s]
Starting >>> ament_cmake_target_dependencies
--- stderr: ament_cmake_version
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER


---
Finished <<< ament_cmake_version [2.79s]
Starting >>> ament_cppcheck
Cloning into 'src/micro_ros_utilities'...
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: Apache Software License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
--- stderr: ament_cmake_lint_cmake
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER


---
Finished <<< ament_cmake_lint_cmake [2.62s]
Starting >>> ament_cmake_copyright
--- stderr: ament_cmake_export_targets
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER


---
Finished <<< ament_cmake_export_targets [2.46s]
Starting >>> ament_cpplint
Cloning into 'src/rosidl_core'...
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: Apache Software License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
--- stderr: ament_cmake_target_dependencies
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER


---
Finished <<< ament_cmake_target_dependencies [3.07s]
Starting >>> ament_uncrustify
touch: cannot touch 'src/rcl_logging/rcl_logging_log4cxx/COLCON_IGNORE': No such file or directory
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: Apache Software License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
--- stderr: ament_cmake_copyright
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_C_COMPILER


---
Finished <<< ament_cmake_copyright [2.77s]
--- stderr: ament_cppcheck
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: Apache Software License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
---
Finished <<< ament_cppcheck [4.01s]
Starting >>> ament_xmllint
Starting >>> ament_cmake_gen_version_h
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: Apache Software License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
--- stderr: ament_cpplint
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: Apache Software License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
---
Finished <<< ament_cpplint [4.77s]
Starting >>> ament_cmake_cppcheck
--- stderr: ament_uncrustify
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/home/kenji/.espressif/tools/python/v5.5.2/venv/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: Apache Software License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
---
Finished <<< ament_uncrustify [4.32s]
Starting >>> ament_cmake_cpplint
--- stderr: ament_cmake_gen_version_h
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


CMake Error at /usr/local/share/cmake-4.2/Modules/CMakeTestCCompiler.cmake:67 (message):
  The C compiler

    "/usr/bin/gcc"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: '/home/kenji/LAKBAY_ROVER/Robot_Arm/components/micro_ros_espidf_component/micro_ros_dev/build/ament_cmake_gen_version_h/CMakeFiles/CMakeScratch/TryCompile-RP0utg'
    
    Run Build Command(s): /usr/local/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_a4029/fast
    gmake[1]: Entering directory '/home/kenji/LAKBAY_ROVER/Robot_Arm/components/micro_ros_espidf_component/micro_ros_dev/build/ament_cmake_gen_version_h/CMakeFiles/CMakeScratch/TryCompile-RP0utg'
    /usr/bin/gmake  -f CMakeFiles/cmTC_a4029.dir/build.make CMakeFiles/cmTC_a4029.dir/build
    gmake[2]: Entering directory '/home/kenji/LAKBAY_ROVER/Robot_Arm/components/micro_ros_espidf_component/micro_ros_dev/build/ament_cmake_gen_version_h/CMakeFiles/CMakeScratch/TryCompile-RP0utg'
    Building C object CMakeFiles/cmTC_a4029.dir/testCCompiler.c.o
    /usr/bin/gcc    -o CMakeFiles/cmTC_a4029.dir/testCCompiler.c.o -c /home/kenji/LAKBAY_ROVER/Robot_Arm/components/micro_ros_espidf_component/micro_ros_dev/build/ament_cmake_gen_version_h/CMakeFiles/CMakeScratch/TryCompile-RP0utg/testCCompiler.c
    as: unrecognized option '--64'
    gmake[2]: *** [CMakeFiles/cmTC_a4029.dir/build.make:81: CMakeFiles/cmTC_a4029.dir/testCCompiler.c.o] Error 1
    gmake[2]: Leaving directory '/home/kenji/LAKBAY_ROVER/Robot_Arm/components/micro_ros_espidf_component/micro_ros_dev/build/ament_cmake_gen_version_h/CMakeFiles/CMakeScratch/TryCompile-RP0utg'
    gmake[1]: *** [Makefile:134: cmTC_a4029/fast] Error 2
    gmake[1]: Leaving directory '/home/kenji/LAKBAY_ROVER/Robot_Arm/components/micro_ros_espidf_component/micro_ros_dev/build/ament_cmake_gen_version_h/CMakeFiles/CMakeScratch/TryCompile-RP0utg'
    
    



  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:2 (project)


---
Failed   <<< ament_cmake_gen_version_h [3.53s, exited with code 1]
Aborted  <<< ament_xmllint [3.69s]
Aborted  <<< ament_cmake_cppcheck [2.03s]
Aborted  <<< ament_cmake_cpplint [1.56s]

(notify-send:151126): libnotify-WARNING **: 11:19:15.366: Running in confined mode, using Portal notifications. Some features and hints won't be supported
libnotify-Message: 11:19:15.367: Category is not available when using Portal Notifications
libnotify-Message: 11:19:15.367: App Name is not available when using Portal Notifications

Summary: 30 packages finished [33.6s]
  1 package failed: ament_cmake_gen_version_h
  3 packages aborted: ament_cmake_cppcheck ament_cmake_cpplint ament_xmllint
  33 packages had stderr output: ament_cmake_copyright ament_cmake_core ament_cmake_cppcheck ament_cmake_cpplint ament_cmake_export_definitions ament_cmake_export_dependencies ament_cmake_export_include_directories ament_cmake_export_interfaces ament_cmake_export_libraries ament_cmake_export_link_flags ament_cmake_export_targets ament_cmake_gen_version_h ament_cmake_gtest ament_cmake_include_directories ament_cmake_libraries ament_cmake_lint_cmake ament_cmake_python ament_cmake_target_dependencies ament_cmake_test ament_cmake_version ament_copyright ament_cppcheck ament_cpplint ament_flake8 ament_lint ament_lint_cmake ament_pep257 ament_pycodestyle ament_pyflakes ament_uncrustify ament_xmllint gmock_vendor gtest_vendor
  26 packages not processed
make: *** [libmicroros.mk:38: /home/kenji/LAKBAY_ROVER/Robot_Arm/components/micro_ros_espidf_component/micro_ros_dev/install] Error 1
CMake Error at components/micro_ros_espidf_component/CMakeLists.txt:90 (message):
  FAILED: 2


-- Configuring incomplete, errors occurred!

 *  The terminal process "/usr/local/bin/cmake '-G', 'Ninja', '-DPYTHON_DEPS_CHECKED=1', '-DESP_PLATFORM=1', '-B', '/home/kenji/LAKBAY_ROVER/Robot_Arm/build', '-S', '/home/kenji/LAKBAY_ROVER/Robot_Arm', '-DSDKCONFIG='/home/kenji/LAKBAY_ROVER/Robot_Arm/sdkconfig''" terminated with exit code: 1. 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions