Closed pojiro closed 1 year ago
以下、ログの抜粋
#0 16.80 --- stderr: cyclonedds #0 16.80 CMake Error at /usr/share/cmake-3.16/Modules/CMakeCompilerIdDetection.cmake:26 (list): #0 16.80 list sub-command REMOVE_ITEM requires two or more arguments. #0 16.80 Call Stack (most recent call first): #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake:211 (compiler_id_detection) #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake:230 (CMAKE_DETERMINE_COMPILER_ID_WRITE) #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake:32 (CMAKE_DETERMINE_COMPILER_ID_BUILD) #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCCompiler.cmake:116 (CMAKE_DETERMINE_COMPILER_ID) #0 16.80 CMakeLists.txt:13 (project)
関係のありそうなリンク
cmake を 3.16.3 から latest に変えることで解決
cmake の latest をインストールする方法は https://apt.kitware.com/
Closed by #2
以下、ログの抜粋
関係のありそうなリンク
すべてのログ
``` > [12/12] RUN cd /root/ros2_ws && colcon build --symlink-install: #0 9.855 Starting >>> ament_package #0 9.857 Starting >>> ament_lint #0 9.857 Starting >>> gtest_vendor #0 9.857 Starting >>> fastcdr #0 9.862 Starting >>> ament_cppcheck #0 9.926 Starting >>> cyclonedds #0 9.948 Starting >>> osrf_pycommon #0 10.01 Starting >>> osrf_testing_tools_cpp #0 10.04 Starting >>> google_benchmark_vendor #0 10.08 Starting >>> urdfdom_headers #0 10.10 Starting >>> ament_pycodestyle #0 16.45 Finished <<< gtest_vendor [6.59s] #0 16.48 Starting >>> gmock_vendor #0 16.80 --- stderr: cyclonedds #0 16.80 CMake Error at /usr/share/cmake-3.16/Modules/CMakeCompilerIdDetection.cmake:26 (list): #0 16.80 list sub-command REMOVE_ITEM requires two or more arguments. #0 16.80 Call Stack (most recent call first): #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake:211 (compiler_id_detection) #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake:230 (CMAKE_DETERMINE_COMPILER_ID_WRITE) #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake:32 (CMAKE_DETERMINE_COMPILER_ID_BUILD) #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCCompiler.cmake:116 (CMAKE_DETERMINE_COMPILER_ID) #0 16.80 CMakeLists.txt:13 (project) #0 16.80 #0 16.80 #0 16.80 CMake Error at /usr/share/cmake-3.16/Modules/CMakeCompilerIdDetection.cmake:26 (list): #0 16.80 list sub-command REMOVE_ITEM requires two or more arguments. #0 16.80 Call Stack (most recent call first): #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake:211 (compiler_id_detection) #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake:230 (CMAKE_DETERMINE_COMPILER_ID_WRITE) #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake:32 (CMAKE_DETERMINE_COMPILER_ID_BUILD) #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCCompiler.cmake:116 (CMAKE_DETERMINE_COMPILER_ID) #0 16.80 CMakeLists.txt:13 (project) #0 16.80 #0 16.80 #0 16.80 CMake Error at /usr/share/cmake-3.16/Modules/CMakeCompilerIdDetection.cmake:26 (list): #0 16.80 list sub-command REMOVE_ITEM requires two or more arguments. #0 16.80 Call Stack (most recent call first): #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake:211 (compiler_id_detection) #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake:230 (CMAKE_DETERMINE_COMPILER_ID_WRITE) #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake:32 (CMAKE_DETERMINE_COMPILER_ID_BUILD) #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCCompiler.cmake:116 (CMAKE_DETERMINE_COMPILER_ID) #0 16.80 CMakeLists.txt:13 (project) #0 16.80 #0 16.80 #0 16.80 CMake Error at /usr/share/cmake-3.16/Modules/CMakeCompilerIdDetection.cmake:26 (list): #0 16.80 list sub-command REMOVE_ITEM requires two or more arguments. #0 16.80 Call Stack (most recent call first): #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake:211 (compiler_id_detection) #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake:230 (CMAKE_DETERMINE_COMPILER_ID_WRITE) #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake:32 (CMAKE_DETERMINE_COMPILER_ID_BUILD) #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCCompiler.cmake:116 (CMAKE_DETERMINE_COMPILER_ID) #0 16.80 CMakeLists.txt:13 (project) #0 16.80 #0 16.80 #0 16.80 CMake Error at /usr/share/cmake-3.16/Modules/CMakeCompilerIdDetection.cmake:26 (list): #0 16.80 list sub-command REMOVE_ITEM requires two or more arguments. #0 16.80 Call Stack (most recent call first): #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake:211 (compiler_id_detection) #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake:230 (CMAKE_DETERMINE_COMPILER_ID_WRITE) #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake:32 (CMAKE_DETERMINE_COMPILER_ID_BUILD) #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCCompiler.cmake:116 (CMAKE_DETERMINE_COMPILER_ID) #0 16.80 CMakeLists.txt:13 (project) #0 16.80 #0 16.80 #0 16.80 CMake Error at /usr/share/cmake-3.16/Modules/CMakeCompilerIdDetection.cmake:26 (list): #0 16.80 list sub-command REMOVE_ITEM requires two or more arguments. #0 16.80 Call Stack (most recent call first): #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake:211 (compiler_id_detection) #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake:230 (CMAKE_DETERMINE_COMPILER_ID_WRITE) #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake:32 (CMAKE_DETERMINE_COMPILER_ID_BUILD) #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCCompiler.cmake:116 (CMAKE_DETERMINE_COMPILER_ID) #0 16.80 CMakeLists.txt:13 (project) #0 16.80 #0 16.80 #0 16.80 CMake Error at /usr/share/cmake-3.16/Modules/CMakeCompilerIdDetection.cmake:26 (list): #0 16.80 list sub-command REMOVE_ITEM requires two or more arguments. #0 16.80 Call Stack (most recent call first): #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake:211 (compiler_id_detection) #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake:230 (CMAKE_DETERMINE_COMPILER_ID_WRITE) #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake:32 (CMAKE_DETERMINE_COMPILER_ID_BUILD) #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCCompiler.cmake:116 (CMAKE_DETERMINE_COMPILER_ID) #0 16.80 CMakeLists.txt:13 (project) #0 16.80 #0 16.80 #0 16.80 CMake Error at /usr/share/cmake-3.16/Modules/CMakeCompilerIdDetection.cmake:26 (list): #0 16.80 list sub-command REMOVE_ITEM requires two or more arguments. #0 16.80 Call Stack (most recent call first): #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake:211 (compiler_id_detection) #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake:230 (CMAKE_DETERMINE_COMPILER_ID_WRITE) #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake:32 (CMAKE_DETERMINE_COMPILER_ID_BUILD) #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCCompiler.cmake:116 (CMAKE_DETERMINE_COMPILER_ID) #0 16.80 CMakeLists.txt:13 (project) #0 16.80 #0 16.80 #0 16.80 CMake Error at /usr/share/cmake-3.16/Modules/CMakeCompilerIdDetection.cmake:26 (list): #0 16.80 list sub-command REMOVE_ITEM requires two or more arguments. #0 16.80 Call Stack (most recent call first): #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake:211 (compiler_id_detection) #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake:230 (CMAKE_DETERMINE_COMPILER_ID_WRITE) #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake:32 (CMAKE_DETERMINE_COMPILER_ID_BUILD) #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCCompiler.cmake:116 (CMAKE_DETERMINE_COMPILER_ID) #0 16.80 CMakeLists.txt:13 (project) #0 16.80 #0 16.80 #0 16.80 CMake Error at /usr/share/cmake-3.16/Modules/CMakeCompilerIdDetection.cmake:26 (list): #0 16.80 list sub-command REMOVE_ITEM requires two or more arguments. #0 16.80 Call Stack (most recent call first): #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake:211 (compiler_id_detection) #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake:230 (CMAKE_DETERMINE_COMPILER_ID_WRITE) #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake:32 (CMAKE_DETERMINE_COMPILER_ID_BUILD) #0 16.80 /usr/share/cmake-3.16/Modules/CMakeDetermineCCompiler.cmake:116 (CMAKE_DETERMINE_COMPILER_ID) #0 16.80 CMakeLists.txt:13 (project) #0 16.80 #0 16.80 #0 16.80 CMake Error at CMakeLists.txt:66 (if): #0 16.80 if given arguments: #0 16.80 #0 16.80 "STREQUAL" "SunPro" #0 16.80 #0 16.80 Unknown arguments specified #0 16.80 #0 16.80 #0 16.80 --- #0 16.80 Failed <<< cyclonedds [6.87s, exited with code 1] #0 16.81 Aborted <<< gmock_vendor [0.32s] #0 16.88 Aborted <<< ament_lint [7.02s] #0 16.89 Aborted <<< osrf_pycommon [6.93s] #0 16.90 Aborted <<< ament_package [7.04s] #0 16.90 Aborted <<< ament_cppcheck [7.03s] #0 16.90 Aborted <<< ament_pycodestyle [6.80s] #0 17.44 Aborted <<< google_benchmark_vendor [7.40s] #0 20.49 Aborted <<< urdfdom_headers [10.4s] #0 22.29 Aborted <<< fastcdr [12.4s] #0 23.87 Aborted <<< osrf_testing_tools_cpp [13.9s] #0 24.06 #0 24.06 Summary: 1 package finished [22.1s] #0 24.06 1 package failed: cyclonedds #0 24.06 10 packages aborted: ament_cppcheck ament_lint ament_package ament_pycodestyle fastcdr gmock_vendor google_benchmark_vendor osrf_pycommon osrf_testing_tools_cpp urdfdom_headers #0 24.06 5 packages had stderr output: cyclonedds fastcdr google_benchmark_vendor osrf_testing_tools_cpp urdfdom_headers #0 24.06 299 packages not processed ------ ERROR: failed to solve: executor failed running [/bin/sh -c cd /root/ros2_ws && colcon build --symlink-install]: exit code: 1 ```