Repository navigation
Foxy build failure #19
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description
Foxy build fails with a CMake Error.
ament_python_install_package() called with unused arguments:
SETUP_CFG;topic_tools/setup.cfg
Expected Behavior
Foxy build does not fail.
Actual Behavior
Foxy build fails.
To Reproduce
- Add this
topic_toolsrepo to an existing Foxy colcon/ament workspace. colcon build
System (please complete the following information)
- OS: Ubuntu Focal
- ROS 2 Distro: Foxy
# git log -n1
commit 41511029241805da470beb77703d7c3ef1801141 (HEAD -> main, origin/main, origin/HEAD)
Author: Daisuke Nishimatsu <42202095+wep21@users.noreply.github.com>
Date: Tue Nov 30 08:37:28 2021 +0900
Workaround for galactic build (#18)
Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>
Additional context
# colcon build --packages-up-to topic_tools
Starting >>> topic_tools
Not searching for unused variables given on the command line.
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
Not searching for unused variables given on the command line. [0/91149]
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found ament_cmake_auto: 0.9.9 (/opt/ros/foxy/share/ament_cmake_auto/cmake)
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.10", minimum required is "3")
-- Using PYTHON_EXECUTABLE: /usr/bin/python3
-- Using all available rosidl_typesupport_c: rosidl_typesupport_fastrtps_c;rosidl_typesupport_introspection_c
-- Found rosidl_adapter: 1.2.1 (/opt/ros/foxy/share/rosidl_adapter/cmake)
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.1.1f")
-- Found FastRTPS: /opt/ros/foxy/include
-- Using all available rosidl_typesupport_cpp: rosidl_typesupport_fastrtps_cpp;rosidl_typesupport_introspection_cpp
-- Found rmw_implementation_cmake: 1.0.3 (/opt/ros/foxy/share/rmw_implementation_cmake/cmake)
-- Using RMW implementation 'rmw_fastrtps_cpp' as default
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
CMake Error at /opt/ros/foxy/share/ament_cmake_python/cmake/ament_python_install_package.cmake:34 (message):
ament_python_install_package() called with unused arguments:
SETUP_CFG;topic_tools/setup.cfg
Call Stack (most recent call first):
/opt/ros/foxy/share/ament_cmake_python/cmake/ament_python_install_package.cmake:28 (_ament_cmake_python_install_package)
CMakeLists.txt:24 (ament_python_install_package)
-- Configuring incomplete, errors occurred!
See also "/root/colcon_ws/build/topic_tools/CMakeFiles/CMakeOutput.log".
See also "/root/colcon_ws/build/topic_tools/CMakeFiles/CMakeError.log".
--- stderr: topic_tools
CMake Error at /opt/ros/foxy/share/ament_cmake_python/cmake/ament_python_install_package.cmake:34 (message):
ament_python_install_package() called with unused arguments:
SETUP_CFG;topic_tools/setup.cfg
Call Stack (most recent call first):
/opt/ros/foxy/share/ament_cmake_python/cmake/ament_python_install_package.cmake:28 (_ament_cmake_python_install_package)
CMakeLists.txt:24 (ament_python_install_package)
---
Failed <<< topic_tools [5.82s, exited with code 1]
Summary: 0 packages finished [7.84s]
1 package failed: topic_tools
1 package had stderr output: topic_tools
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Fields
Priority
None yet
Activity
dustingooding commentedon Nov 30, 2021
Whoops. Foxy can't be supported, it seems. GenericSubscription and GenericPublisher aren't in Foxy, so this will never work. 😞