Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linux-64 - rebuild Christmas 2024 - switch to rattler-build #229

Open
wants to merge 60 commits into
base: main
Choose a base branch
from

Conversation

traversaro
Copy link
Member

@traversaro traversaro commented Dec 17, 2024

@traversaro
Copy link
Member Author

@traversaro
Copy link
Member Author

+The upstream https://github.com/facontidavide/rosx_introspection/blob/master/CMakeLists.txt does not include the required target_link_libraries etc for rapidjson

Yes, but the dependency is header-only, so I think it will work without CMake modifications.

@traversaro
Copy link
Member Author

 │ │ -- Found motion_capture_tracking_interfaces: 1.0.5 ($PREFIX/share/motion_capture_tracking_interfaces/cmake)
 │ │ -- Found eigen3_cmake_module: 0.1.1 ($PREFIX/share/eigen3_cmake_module/cmake)
 │ │ -- Found Eigen3: TRUE (found version "3.4.0")
 │ │ CMake Warning (dev) at $PREFIX/share/pcl-1.14/PCLConfig.cmake:121 (find_package):
 │ │   Policy CMP0167 is not set: The FindBoost module is removed.  Run "cmake
 │ │   --help-policy CMP0167" for policy details.  Use the cmake_policy command to
 │ │   set the policy and suppress this warning.
 │ │ Call Stack (most recent call first):
 │ │   $PREFIX/share/pcl-1.14/PCLConfig.cmake:294 (find_boost)
 │ │   $PREFIX/share/pcl-1.14/PCLConfig.cmake:559 (find_external_library)
 │ │   CMakeLists.txt:19 (find_package)
 │ │ This warning is for project developers.  Use -Wno-dev to suppress it.
 │ │
 │ │ -- Could NOT find Boost (missing: Boost_INCLUDE_DIR system iostreams filesystem) (Required is at least version "1.65.0")
 │ │ CMake Error at $PREFIX/share/pcl-1.14/PCLConfig.cmake:59 (message):
 │ │   common is required but boost was not found
 │ │ Call Stack (most recent call first):
 │ │   $PREFIX/share/pcl-1.14/PCLConfig.cmake:370 (pcl_report_not_found)
 │ │   $PREFIX/share/pcl-1.14/PCLConfig.cmake:559 (find_external_library)
 │ │   CMakeLists.txt:19 (find_package)
 │ │
 │ │ -- Configuring incomplete, errors occurred!
 │ │ ninja: error: loading 'build.ninja': No such file or directory
 │ │ × error Script failed with status 1
 │ │ × error Work directory: '/home/straversaro-iit.local/ros-humble/output/bld/rattler-build_ros-humble-motion-capture-tracking_1734641871/work'
 │ │ × error To debug the build, run it manually in the work directory (execute the `./conda_build.sh` or `conda_build.bat` script)

This is a missing aspect of PCL packaging in conda-forge, as we do not have a pcl-devel that can depend on libboost-devel. I think we can just add this transitive dependency manually.

@traversaro
Copy link
Member Author

 │ │ -- Build files have been written to: $SRC_DIR/build
 │ │ [1/9] Building CXX object CMakeFiles/moveit_ros_benchmarks.dir/src/BenchmarkOptions.cpp.o
 │ │ [4/9] Building CXX object CMakeFiles/moveit_ros_benchmarks.dir/src/BenchmarkExecutor.cpp.o
 │ │ FAILED: CMakeFiles/moveit_ros_benchmarks.dir/src/BenchmarkExecutor.cpp.o
 │ │ $BUILD_PREFIX/bin/x86_64-conda-linux-gnu-c++ -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_ │ │ LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_L │ │ INK -DBOOST_REGEX_NO_LIB -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SERIALIZATION_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THR │ │ EAD_NO_LIB -DDEFAULT_RMW_IMPLEMENTATION=rmw_fastrtps_cpp -DFMT_SHARED -DTINYXML2_IMPORT -D_FILE_OFFSET_BITS=64 -Dmoveit_ros_benchmarks_EXPORTS -I$SRC_DIR/ros-humble-m │ │ oveit-ros-benchmarks/src/work/include -isystem $PREFIX/include/rclcpp -isystem $PREFIX/include/tf2_eigen -isystem $PREFIX/include/bullet -isystem $PREFIX/include/move │ │ it_butterworth_parameters -isystem $PREFIX/include/eigen3 -isystem $PREFIX/include/pluginlib -isystem $PREFIX/include/ament_index_cpp -isystem $PREFIX/include/libstat │ │ istics_collector -isystem $PREFIX/include/builtin_interfaces -isystem $PREFIX/include/rosidl_runtime_c -isystem $PREFIX/include/rcutils -isystem $PREFIX/include/rosid │ │ l_typesupport_interface -isystem $PREFIX/include/rosidl_runtime_cpp -isystem $PREFIX/include/rosidl_typesupport_fastrtps_cpp -isystem $PREFIX/include/rmw -isystem $PR │ │ EFIX/include/rosidl_typesupport_fastrtps_c -isystem $PREFIX/include/rosidl_typesupport_introspection_c -isystem $PREFIX/include/rosidl_typesupport_introspection_cpp - │ │ isystem $PREFIX/include/rcl -isystem $PREFIX/include/rcl_interfaces -isystem $PREFIX/include/rcl_logging_interface -isystem $PREFIX/include/rcl_yaml_param_parser -isy │ │ stem $PREFIX/include/tracetools -isystem $PREFIX/include/rcpputils -isystem $PREFIX/include/statistics_msgs -isystem $PREFIX/include/rosgraph_msgs -isystem $PREFIX/in │ │ clude/rosidl_typesupport_cpp -isystem $PREFIX/include/rosidl_typesupport_c -isystem $PREFIX/include/geometry_msgs -isystem $PREFIX/include/std_msgs -isystem $PREFIX/i │ │ nclude/tf2 -isystem $PREFIX/include/tf2_ros -isystem $PREFIX/include/message_filters -isystem $PREFIX/include/rclcpp_action -isystem $PREFIX/include/action_msgs -isys │ │ tem $PREFIX/include/unique_identifier_msgs -isystem $PREFIX/include/rcl_action -isystem $PREFIX/include/tf2_msgs -isystem $PREFIX/include/urdf -isystem $PREFIX/includ │ │ e/urdf_parser_plugin -isystem $PREFIX/include/urdfdom_headers -isystem $PREFIX/include/urdfdom -isystem $PREFIX/include/class_loader -isystem $PREFIX/include/visualiz │ │ ation_msgs -isystem $PREFIX/include/sensor_msgs -isystem $PREFIX/include/octomap_msgs -isystem $PREFIX/include/geometric_shapes -isystem $PREFIX/include/resource_retr
 │ │ iever -isystem $PREFIX/include/shape_msgs -isystem $PREFIX/include/tf2_geometry_msgs -isystem $PREFIX/include/angles -isystem $PREFIX/include/moveit_msgs -isystem $PR │ │ EFIX/include/object_recognition_msgs -isystem $PREFIX/include/trajectory_msgs -isystem $PREFIX/include/parameter_traits -isystem $PREFIX/include/rsl -isystem $PREFIX/ │ │ include/rclcpp_lifecycle -isystem $PREFIX/include/rcl_lifecycle -isystem $PREFIX/include/lifecycle_msgs -isystem $PREFIX/include/kdl_parser -fvisibility-inlines-hidde │ │ n -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem $PREFIX/include -fde │ │ bug-prefix-map=$SRC_DIR=/usr/local/src/conda/ros-humble-moveit-ros-benchmarks-2.5.6 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix -D__STDC_FORMAT_MACROS=1 -O │ │ 3 -DNDEBUG -std=c++17 -fPIC -fdiagnostics-color=always -Wall -Wextra -Wwrite-strings -Wunreachable-code -Wpointer-arith -Wredundant-decls -Wcast-qual -Wno-maybe-unini │ │ tialized -mfpmath=sse -msse -msse2 -msse3 -mssse3 -MD -MT CMakeFiles/moveit_ros_benchmarks.dir/src/BenchmarkExecutor.cpp.o -MF CMakeFiles/moveit_ros_benchmarks.dir/sr │ │ c/BenchmarkExecutor.cpp.o.d -o CMakeFiles/moveit_ros_benchmarks.dir/src/BenchmarkExecutor.cpp.o -c $SRC_DIR/ros-humble-moveit-ros-benchmarks/src/work/src/BenchmarkExe │ │ cutor.cpp
 │ │ In file included from $SRC_DIR/ros-humble-moveit-ros-benchmarks/src/work/src/BenchmarkExecutor.cpp:47:
 │ │ $PREFIX/include/boost/progress.hpp:23:3: error: #error This header is deprecated and will be removed. (You can define BOOST_TIMER_ENABLE_DEPRECATED to suppress this e │ │ rror.)
 │ │    23 | # error This header is deprecated and will be removed. (You can define BOOST_TIMER_ENABLE_DEPRECATED to suppress this error.)
 │ │       |   ^~~~~
 │ │ In file included from $PREFIX/include/boost/progress.hpp:29:
 │ │ $PREFIX/include/boost/timer.hpp:21:3: error: #error This header is deprecated and will be removed. (You can define BOOST_TIMER_ENABLE_DEPRECATED to suppress this erro │ │ r.)
 │ │    21 | # error This header is deprecated and will be removed. (You can define BOOST_TIMER_ENABLE_DEPRECATED to suppress this error.)
 │ │       |   ^~~~~
 │ │ ninja: build stopped: subcommand failed.
 │ │ × error Script failed with status 1
 │ │ × error Work directory: '/home/straversaro-iit.local/ros-humble/output/bld/rattler-build_ros-humble-moveit-ros-benchmarks_1734645048/work'
 │ │ × error To debug the build, run it manually in the work directory (execute the `./conda_build.sh` or `conda_build.bat` script)
 │ │

@traversaro
Copy link
Member Author

 │ │ -- Build files have been written to: $SRC_DIR/build
 │ │ [1/9] Building CXX object CMakeFiles/moveit_ros_benchmarks.dir/src/BenchmarkOptions.cpp.o
 │ │ [4/9] Building CXX object CMakeFiles/moveit_ros_benchmarks.dir/src/BenchmarkExecutor.cpp.o
 │ │ FAILED: CMakeFiles/moveit_ros_benchmarks.dir/src/BenchmarkExecutor.cpp.o
 │ │ $BUILD_PREFIX/bin/x86_64-conda-linux-gnu-c++ -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_ │ │ LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_L │ │ INK -DBOOST_REGEX_NO_LIB -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SERIALIZATION_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THR │ │ EAD_NO_LIB -DDEFAULT_RMW_IMPLEMENTATION=rmw_fastrtps_cpp -DFMT_SHARED -DTINYXML2_IMPORT -D_FILE_OFFSET_BITS=64 -Dmoveit_ros_benchmarks_EXPORTS -I$SRC_DIR/ros-humble-m │ │ oveit-ros-benchmarks/src/work/include -isystem $PREFIX/include/rclcpp -isystem $PREFIX/include/tf2_eigen -isystem $PREFIX/include/bullet -isystem $PREFIX/include/move │ │ it_butterworth_parameters -isystem $PREFIX/include/eigen3 -isystem $PREFIX/include/pluginlib -isystem $PREFIX/include/ament_index_cpp -isystem $PREFIX/include/libstat │ │ istics_collector -isystem $PREFIX/include/builtin_interfaces -isystem $PREFIX/include/rosidl_runtime_c -isystem $PREFIX/include/rcutils -isystem $PREFIX/include/rosid │ │ l_typesupport_interface -isystem $PREFIX/include/rosidl_runtime_cpp -isystem $PREFIX/include/rosidl_typesupport_fastrtps_cpp -isystem $PREFIX/include/rmw -isystem $PR │ │ EFIX/include/rosidl_typesupport_fastrtps_c -isystem $PREFIX/include/rosidl_typesupport_introspection_c -isystem $PREFIX/include/rosidl_typesupport_introspection_cpp - │ │ isystem $PREFIX/include/rcl -isystem $PREFIX/include/rcl_interfaces -isystem $PREFIX/include/rcl_logging_interface -isystem $PREFIX/include/rcl_yaml_param_parser -isy │ │ stem $PREFIX/include/tracetools -isystem $PREFIX/include/rcpputils -isystem $PREFIX/include/statistics_msgs -isystem $PREFIX/include/rosgraph_msgs -isystem $PREFIX/in │ │ clude/rosidl_typesupport_cpp -isystem $PREFIX/include/rosidl_typesupport_c -isystem $PREFIX/include/geometry_msgs -isystem $PREFIX/include/std_msgs -isystem $PREFIX/i │ │ nclude/tf2 -isystem $PREFIX/include/tf2_ros -isystem $PREFIX/include/message_filters -isystem $PREFIX/include/rclcpp_action -isystem $PREFIX/include/action_msgs -isys │ │ tem $PREFIX/include/unique_identifier_msgs -isystem $PREFIX/include/rcl_action -isystem $PREFIX/include/tf2_msgs -isystem $PREFIX/include/urdf -isystem $PREFIX/includ │ │ e/urdf_parser_plugin -isystem $PREFIX/include/urdfdom_headers -isystem $PREFIX/include/urdfdom -isystem $PREFIX/include/class_loader -isystem $PREFIX/include/visualiz │ │ ation_msgs -isystem $PREFIX/include/sensor_msgs -isystem $PREFIX/include/octomap_msgs -isystem $PREFIX/include/geometric_shapes -isystem $PREFIX/include/resource_retr
 │ │ iever -isystem $PREFIX/include/shape_msgs -isystem $PREFIX/include/tf2_geometry_msgs -isystem $PREFIX/include/angles -isystem $PREFIX/include/moveit_msgs -isystem $PR │ │ EFIX/include/object_recognition_msgs -isystem $PREFIX/include/trajectory_msgs -isystem $PREFIX/include/parameter_traits -isystem $PREFIX/include/rsl -isystem $PREFIX/ │ │ include/rclcpp_lifecycle -isystem $PREFIX/include/rcl_lifecycle -isystem $PREFIX/include/lifecycle_msgs -isystem $PREFIX/include/kdl_parser -fvisibility-inlines-hidde │ │ n -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem $PREFIX/include -fde │ │ bug-prefix-map=$SRC_DIR=/usr/local/src/conda/ros-humble-moveit-ros-benchmarks-2.5.6 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix -D__STDC_FORMAT_MACROS=1 -O │ │ 3 -DNDEBUG -std=c++17 -fPIC -fdiagnostics-color=always -Wall -Wextra -Wwrite-strings -Wunreachable-code -Wpointer-arith -Wredundant-decls -Wcast-qual -Wno-maybe-unini │ │ tialized -mfpmath=sse -msse -msse2 -msse3 -mssse3 -MD -MT CMakeFiles/moveit_ros_benchmarks.dir/src/BenchmarkExecutor.cpp.o -MF CMakeFiles/moveit_ros_benchmarks.dir/sr │ │ c/BenchmarkExecutor.cpp.o.d -o CMakeFiles/moveit_ros_benchmarks.dir/src/BenchmarkExecutor.cpp.o -c $SRC_DIR/ros-humble-moveit-ros-benchmarks/src/work/src/BenchmarkExe │ │ cutor.cpp
 │ │ In file included from $SRC_DIR/ros-humble-moveit-ros-benchmarks/src/work/src/BenchmarkExecutor.cpp:47:
 │ │ $PREFIX/include/boost/progress.hpp:23:3: error: #error This header is deprecated and will be removed. (You can define BOOST_TIMER_ENABLE_DEPRECATED to suppress this e │ │ rror.)
 │ │    23 | # error This header is deprecated and will be removed. (You can define BOOST_TIMER_ENABLE_DEPRECATED to suppress this error.)
 │ │       |   ^~~~~
 │ │ In file included from $PREFIX/include/boost/progress.hpp:29:
 │ │ $PREFIX/include/boost/timer.hpp:21:3: error: #error This header is deprecated and will be removed. (You can define BOOST_TIMER_ENABLE_DEPRECATED to suppress this erro │ │ r.)
 │ │    21 | # error This header is deprecated and will be removed. (You can define BOOST_TIMER_ENABLE_DEPRECATED to suppress this error.)
 │ │       |   ^~~~~
 │ │ ninja: build stopped: subcommand failed.
 │ │ × error Script failed with status 1
 │ │ × error Work directory: '/home/straversaro-iit.local/ros-humble/output/bld/rattler-build_ros-humble-moveit-ros-benchmarks_1734645048/work'
 │ │ × error To debug the build, run it manually in the work directory (execute the `./conda_build.sh` or `conda_build.bat` script)
 │ │

I can't work on this more today, but I wonder if we need to back port https://github.com/moveit/moveit2/pull/2811/files .

@Tobias-Fischer
Copy link
Contributor

New failure:

2024-12-20T02:48:02.1192801Z  │ │ In file included from /usr/include/python3.12/Python.h:12,
2024-12-20T02:48:02.1194322Z  │ │                  from $SRC_DIR/ros-humble-webots-ros2-driver/src/work/include/webots_ros2_driver/PythonPlugin.hpp:18,
2024-12-20T02:48:02.1195873Z  │ │                  from $SRC_DIR/ros-humble-webots-ros2-driver/src/work/src/WebotsNode.cpp:39:
2024-12-20T02:48:02.1197530Z  │ │ /usr/include/python3.12/pyconfig.h:3:12: fatal error: x86_64-linux-gnu/python3.12/pyconfig.h: No such file or directory
2024-12-20T02:48:02.1205015Z  │ │     3 | #  include <x86_64-linux-gnu/python3.12/pyconfig.h>

This is because of:

2024-12-20T02:47:35.7800525Z  │ │ -- Found Python: /usr/include/python3.12 (found version "3.12.3") found components: Development Development.Module Development.Embed

Note we already have: https://github.com/traversaro/ros-humble/blob/rebuild-christmas-2024-linux-64-rattler-build/patch/ros-humble-webots-ros2-driver.patch

I wonder if $ENV{ROS_DISTRO} is properly set?

@traversaro
Copy link
Member Author

I wonder if $ENV{ROS_DISTRO} is properly set?

In theory that is set in the activation scripts of ros-humble-ros-environment , and that is installed in the host dependencies of the failing package. I will check with conda_build.sh locally to understand why it is failing.

@traversaro
Copy link
Member Author

Great, I could not reproduce this locally.

@traversaro
Copy link
Member Author

Great, I could not reproduce this locally.

I also tried to print the ROS_DISTRO env, and it was working for me:

 │ │ -- ====================> ROS_DISTRO: humble

@traversaro
Copy link
Member Author

New local failure:

 │ │ -- Configuring done (2.1s)
 │ │ CMake Warning:
 │ │ -- Generating done (0.0s)
 │ │   Manually-specified variables were not used by the project:
 │ │     AMENT_PREFIX_PATH
 │ │     CATKIN_SKIP_TESTING
 │ │     CMAKE_INSTALL_LIBDIR
 │ │     CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP
 │ │     PYTHON_EXECUTABLE
 │ │     PYTHON_INSTALL_DIR
 │ │     Python_EXECUTABLE
 │ │     SETUPTOOLS_DEB_LAYOUT
 │ │
 │ │ -- Build files have been written to: $SRC_DIR/build
 │ │ [1/5] Building CXX object CMakeFiles/spacenav.dir/src/spacenav.cpp.o
 │ │ FAILED: CMakeFiles/spacenav.dir/src/spacenav.cpp.o
 │ │ $BUILD_PREFIX/bin/x86_64-conda-linux-gnu-c++ -DDEFAULT_RMW_IMPLEMENTATION=rmw_fastrtps_cpp -Dspacenav_EXPORTS -I$SRC_DIR/ros-humble-spacenav/src/work/include -isyste
 │ │ m $PREFIX/include/geometry_msgs -isystem $PREFIX/include/std_msgs -isystem $PREFIX/include/builtin_interfaces -isystem $PREFIX/include/rosidl_runtime_c -isystem $PRE
 │ │ FIX/include/rcutils -isystem $PREFIX/include/rosidl_typesupport_interface -isystem $PREFIX/include/rosidl_runtime_cpp -isystem $PREFIX/include/rosidl_typesupport_fas
 │ │ trtps_cpp -isystem $PREFIX/include/rmw -isystem $PREFIX/include/rosidl_typesupport_fastrtps_c -isystem $PREFIX/include/rosidl_typesupport_introspection_c -isystem $P
 │ │ REFIX/include/rosidl_typesupport_introspection_cpp -isystem $PREFIX/include/rclcpp -isystem $PREFIX/include/ament_index_cpp -isystem $PREFIX/include/libstatistics_co
 │ │ llector -isystem $PREFIX/include/rcl -isystem $PREFIX/include/rcl_interfaces -isystem $PREFIX/include/rcl_logging_interface -isystem $PREFIX/include/rcl_yaml_param_p
 │ │ arser -isystem $PREFIX/include/tracetools -isystem $PREFIX/include/rcpputils -isystem $PREFIX/include/statistics_msgs -isystem $PREFIX/include/rosgraph_msgs -isystem
 │ │  $PREFIX/include/rosidl_typesupport_cpp -isystem $PREFIX/include/rosidl_typesupport_c -isystem $PREFIX/include/sensor_msgs -isystem $PREFIX/include/rclcpp_components
 │ │  -isystem $PREFIX/include/class_loader -fvisibility-inlines-hidden -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -f
 │ │ no-plt -O2 -ffunction-sections -pipe -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/ros-humble-spacenav-3.3.0 -fdebug-prefix-map=$PREFIX=/
 │ │ usr/local/src/conda-prefix -D__STDC_FORMAT_MACROS=1 -O3 -DNDEBUG -std=gnu++17 -fPIC -fdiagnostics-color=always -Wall -Wextra -Wpedantic -MD -MT CMakeFiles/spacenav.d
 │ │ ir/src/spacenav.cpp.o -MF CMakeFiles/spacenav.dir/src/spacenav.cpp.o.d -o CMakeFiles/spacenav.dir/src/spacenav.cpp.o -c $SRC_DIR/ros-humble-spacenav/src/work/src/spa
 │ │ cenav.cpp
 │ │ In file included from $PREFIX/include/spnav.h:33,
 │ │                  from $SRC_DIR/ros-humble-spacenav/src/work/include/spacenav/spacenav.hpp:41,
 │ │                  from $SRC_DIR/ros-humble-spacenav/src/work/src/spacenav.cpp:34:
 │ │ $PREFIX/include/X11/Xlib.h:44:10: fatal error: X11/X.h: No such file or directory
 │ │    44 | #include <X11/X.h>
 │ │       |          ^~~~~~~~~
 │ │ compilation terminated.
 │ │ [2/5] Building CXX object CMakeFiles/spacenav_node.dir/rclcpp_components/node_main_spacenav_node.cpp.o
 │ │ ninja: build stopped: subcommand failed.
 │ │ × error Script failed with status 1
 │ │ × error Work directory: '/home/straversaro-iit.local/ros-humble/output/bld/rattler-build_ros-humble-spacenav_1734738670/work'
 │ │ × error To debug the build, run it manually in the work directory (execute the `./conda_build.sh` or `conda_build.bat` script)

I know this, it is a missing xorg-xorgproto, see conda-forge/conda-forge-pinning-feedstock#6688 and conda-forge/conda-forge-pinning-feedstock#6816 for more details.

@traversaro
Copy link
Member Author

Again, like for qt5, vtk and pcl this is another case of package having a non-obvious header dependencies without a *-devel package to capture them: https://github.com/conda-forge/libspnav-feedstock .

@traversaro
Copy link
Member Author

Again, like for qt5, vtk and pcl this is another case of package having a non-obvious header dependencies without a *-devel package to capture them: https://github.com/conda-forge/libspnav-feedstock .

Workaround in 832d69a . Long-term issue for avoid forgetting: RoboStack/robostack.github.io#65 .

@traversaro
Copy link
Member Author

At least locally now all the linux-64 packages pass fine:

straversaro@iitbmp014srv002:~/ros-humble$ ls ./output/linux-64/*.conda  | wc -l
651

@Tobias-Fischer do you think it would make sense if I look into integrating the snapshot system introduced in RoboStack/vinca#59 here? Now that we have a fully working build on linux (modulo the GitHub Actions webots failure, but I want to look into that) this may be a good time to take a snapshot and just iterate on that.

@Tobias-Fischer
Copy link
Contributor

At least locally now all the linux-64 packages pass fine:

straversaro@iitbmp014srv002:~/ros-humble$ ls ./output/linux-64/*.conda  | wc -l
651

@Tobias-Fischer do you think it would make sense if I look into integrating the snapshot system introduced in RoboStack/vinca#59 here? Now that we have a fully working build on linux (modulo the GitHub Actions webots failure, but I want to look into that) this may be a good time to take a snapshot and just iterate on that.

Thanks a lot for all your work on this! And yes, let’s take a snapshot, hopefully this will help with package requests etc

@traversaro
Copy link
Member Author

There seems to be some error in the new fastrtps patch:

2024-12-22T08:42:05.0332220Z  ╭─ Running build for recipe: ros-humble-fastrtps-2.6.9-np126py311h15c07e3_7
2024-12-22T08:42:05.0332856Z  │
2024-12-22T08:42:05.0333225Z  │ ╭─ Fetching source code
2024-12-22T08:42:05.0333925Z  │ │ Fetching source from git repo: https://github.com/ros2-gbp/fastrtps-release.git
2024-12-22T08:42:07.2625478Z  │ │ Fetching repository from https://github.com/ros2-gbp/fastrtps-release.git at refs/tags/release/humble/fastrtps/2.6.9-1 into /home/runner/work/ros-humble/ro
2024-12-22T08:42:07.2626566Z  │ │ s-humble/output/src_cache/fastrtps-release.git
2024-12-22T08:42:08.3501453Z  │ │ Checked out revision: 'refs/tags/release/humble/fastrtps/2.6.9-1' at 'd63e02f31b4e41fe665c59c062b0e40513350bb8'
2024-12-22T08:42:08.7096722Z  │ │ Copied 5246 files into isolated environment
2024-12-22T08:42:08.7098553Z thread 'main' panicked at /home/conda/feedstock_root/build_artifacts/rattler-build_1734476637676/_build_env/.cargo/registry/src/index.crates.io-6f17d22bba15001f/patch-0.7.0/src/parser.rs:84:5:
2024-12-22T08:42:08.7099471Z bug: failed to parse entire input. Remaining: ' if(SM_COMPILE_RESULT AND NOT SM_RUN_RESULT)
2024-12-22T08:42:08.7100095Z -    string(STRIP ${SM_RUN_OUTPUT} SM_RUN_OUTPUT)
2024-12-22T08:42:08.7100408Z +    string(STRIP "${SM_RUN_OUTPUT}" SM_RUN_OUTPUT)
2024-12-22T08:42:08.7100753Z      message(STATUS "Framework's shared_mutex is ${SM_RUN_OUTPUT}")
2024-12-22T08:42:08.7101143Z  endif()
2024-12-22T08:42:08.7101307Z '
2024-12-22T08:42:08.7101589Z note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2024-12-22T08:42:08.7102641Z  │ │
2024-12-22T08:42:08.7103188Z  │ ╰─────────────────── (took 4 seconds)
2024-12-22T08:42:08.7103623Z  │
2024-12-22T08:42:08.7103978Z  ╰─────────────────── (took 4 seconds)
2024-12-22T08:42:08.7826468Z ##[error]Process completed with exit code 101.

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

Successfully merging this pull request may close these issues.

Package request: ur_calibration>=2.2.13
5 participants