Skip to content

noetic: build with vinca-rs, the shared pinning and Qt 6 - #246

Draft
Tobias-Fischer wants to merge 28 commits into
noetic/1-baselinefrom
noetic/2-monorepo
Draft

Tobias-Fischer wants to merge 28 commits into
noetic/1-baselinefrom
noetic/2-monorepo

Conversation

@Tobias-Fischer

@Tobias-Fischer Tobias-Fischer commented Nov 22, 2026 •

Copy link
Copy Markdown
Collaborator

Builds ros-noetic in this repository like the ROS 2 distributions: recipes from vinca-rs, the conda-forge pinning shared with them (Python 3.14, Boost 1.90, Eigen 5, PCL 1.15, CMake 4, clang 21 / GCC 15), and Qt 6 instead of Qt 5. OpenCV stays at 4.13 here; #247 moves to OpenCV 5.

Built locally, complete: osx-arm64 (601 recipes) and linux-aarch64 (616) with build number 26, recipe tests passing on both. Runtime checks: roscore, rostopic, rosbag on Python 3.14; rqt_topic/console/graph load on PyQt6; rviz runs on macOS. CI on #247 (this stack's tip) builds all of noetic on linux-64, linux-aarch64, osx-64, osx-arm64 and win-64, recipe tests included; the fixes the first builds of linux-64, osx-64 and win-64 needed are here (section below).

Distribution

  • vinca.yaml: its own package selection (ROS 1 doesn't extend shared/vinca.yaml), build number 26, ros-distro-mutex 0.8.0 without run_constraints (as the other distributions); 15 Linux-only packages that build on macOS move to not win (rosmon stays Linux-only: prctl, pty.h).
  • rosdistro_snapshot.yaml regenerated with vinca-rs: the same versions, now with their dependencies. Sources for release repositories that are gone (ackermann_msgs, graph_msgs, rosparam_shortcuts, rqt_shell, ruckig, rviz_visual_tools); find_object_2d from upstream 0.7.5 (noetic's 0.7.0 is Qt 5 code; 0.7.5 builds with Qt 6 and still supports catkin).
  • distro.yaml: ogre 1.10.12 (rviz 1.14 and Gazebo 11 use Ogre 1.10's API) and, until noetic: OpenCV 5 #247, libopencv 4.13.
  • robostack.yaml: Qt 6 for the Qt rosdep keys, as in the other distributions.
  • PowerShell activation scripts for catkin.

Central fixes in catkin (ros-noetic-catkin.patch)

Most packages build unchanged because catkin adapts the old CMake idioms:

  • a boost_system CMake config: Boost 1.89 dropped the component that ROS 1 packages ask for;
  • a C++17 floor: -std=c++11/14 and CMAKE_CXX_STANDARD 11/14 become the compiler default (Eigen 5 and PCL 1.15 need C++14/17); clang's template-keyword warning and -Wno-register;
  • find_package(Eigen3 3.x) finds Eigen 5 and sets EIGEN3_INCLUDE_DIR(S);
  • Qt5*_DIR forwarding configs: find_package(Qt5 ...) gets Qt 6 (with Core5Compat, the tool targets, component dependencies and qt5_use_modules).

Qt 6

  • python_qt_binding: PyQt6 and sip 6 (bindings compiled by CMake), with a PyQt5 compatibility layer for the rqt plugins, which aren't ported (enums, exec_, QRegExp, signal overloads, ...); icon theme fallback to Adwaita's -symbolic icons (Missing icons on rqt applications ros-noetic#225).
  • qt_gui_cpp, rqt_gui_cpp, rviz (rviz on macOS: stale aspect ratio fixed, rviz canvas doesn't update when window size changes ros-noetic#538), turtlesim, rqt_image_view, jsk_rviz_plugins, rtabmap_viz / rtabmap_rviz_plugins, moveit_setup_assistant, swri_console, rqt_rosmon, find_object_2d.
  • PlotJuggler 3.9 and plotjuggler_ros stay on Qt 5, as in lyrical (PlotJuggler is Qt 5 only).

Package fixes for the new compilers and libraries

libg2o, ecl, euslisp/jskeus/roseus, rospack on macOS (C++ programs couldn't load it), rosserial_server, sick_tim, vrpn/vrpn_client_ros, spatio_temporal_voxel_layer, teb_local_planner, movie_publisher, ros_type_introspection, cras_cpp_common, gps_common, apriltag. Patches for packages that left the distribution are removed (and the Windows python_qt_binding patch, which the new CMake sip build replaces).

Windows (MSVC), from the first CI builds

  • catkin:
    • CMP0219 NEW in its and the packages' config files, so macro arguments keep the backslashes of Windows paths.
    • /utf-8 for fmt.
    • C++17 when a package sets no standard (MSVC's default is C++14).
    • BOOST_ALL_DYN_LINK/BOOST_ALL_NO_LIB: conda-forge's Boost is shared on Windows, and packages that link ${Boost_LIBRARIES} instead of the Boost:: targets need its data imported from the DLL.
  • python_qt_binding / rqt:
    • The sip pyproject.toml takes Windows paths as TOML literal strings.
    • sip-build runs outside its build directory.
    • The icon theme is found in Library/share/icons (and the test checks it).
  • vrpn:
    • -Wno-register moves from additional_cmake_args, which reach MSVC too, into its CMakeLists for clang; ecl_core_apps no longer needs the flag.
    • Static libraries on Windows (.win.patch).
  • Other packages:
    • tf2: two-phase lookup.
    • ira_laser_tools: sleep.
    • image_transport and ros_type_introspection: DLLs in Library/bin.
    • spatio_temporal_voxel_layer: uint.
    • teb_local_planner: g2o's CMake config.
    • chomp_motion_planner: the not token.

Regression tests (distros/noetic/tests/)

  • catkin: a catkin project that asks for C++11, boost_system, Eigen3 3.3 and Qt 5 is built with C++17, Boost 1.90, Eigen 5 and Qt 6, and runs;
  • ros_base: roscore, rostopic pub/echo, rosbag record/info (on macOS the C++ tools load librospack);
  • cv_bridge: an image through cv_bridge and back;
  • python_qt_binding: the PyQt5 API the rqt plugins use (enums, QRegExp, QModelIndex.child, filterRegExp, QComboBox signal overloads, Qt.SHIFT + key, ...) and the -symbolic icon fallback;
  • qt_gui_cpp, rviz: their sip bindings load.

CI

Stacked on #245 (the baseline copy). Draft with build:none until pixi-build-ros is in.

🤖 Generated with Claude Code

@Tobias-Fischer Tobias-Fischer added the build:none PR build: build no packages, only run the checks (tooling, CI or docs changes) label Nov 22, 2026
@Tobias-Fischer
Tobias-Fischer force-pushed the noetic/2-monorepo branch 2 times, most recently from 8e3ded0 to e5d0c3c Compare November 22, 2026 18:09
Tobias-Fischer and others added 21 commits November 24, 2026 08:12
vinca-rs 0.1.11 pins pixi-build-ros with two fixes for its catkin build
scripts, which noetic needs: they dropped a package's additional CMake
arguments (Tobias-Fischer/vinca-rs#10), and on Windows they lacked
-DCMAKE_POLICY_VERSION_MINIMUM=3.5, so CMake 4 rejected old
cmake_minimum_required calls (Tobias-Fischer/vinca-rs#11). The ROS 2
distributions' recipes are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…in's patch

No change in content: the order and format that `pixi run sort` keeps, and
catkin's patch as `git diff` writes it (short blob hashes), so that the
following commits show only real changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
rs check reports them: the packages left noetic (or were never built here), so
their entries and patches do nothing. cartographer's and urdfdom_headers'
dummy packages go too: noetic has neither.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- rosdistro_snapshot.yaml regenerated with vinca-rs: the same versions, now
  with each package's dependencies, which vinca-rs reads from the snapshot
- rosdistro_additional_recipes.yaml: the jackal entries duplicate released
  packages of the same version, which vinca-rs rejects
- packages-ignore.yaml: ROS 2 keys only; shared/robostack.yaml covers the
  rosdep mappings

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- conda_build_config.yaml rendered from the pinning shared with the ROS 2
  distributions (Python 3.14, Boost 1.90, Eigen 5, PCL 1.15, OpenCV 5, CMake 4,
  clang 21 / GCC 15), with one noetic pin: ogre 1.10.12, whose API rviz 1.14
  and Gazebo 11 use
- build number 26 for all packages, so the per-package build number of
  ros_type_introspection goes
- ros-distro-mutex 0.8.0 without run_constraints, as in the other
  distributions: the pins live in the pinning, not in the mutex

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ackermann_msgs, graph_msgs (mirrored in ros2-gbp), rosparam_shortcuts, rqt_shell,
ruckig and rviz_visual_tools (upstream tags): their release repositories no
longer exist, so the snapshot's URLs can't be fetched.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- catkin, genmsg: their em templates use empy 3's API (em.RAW_OPT, ...):
  empy <4 at run time
- pybind11_catkin repackages conda-forge's pybind11 instead of downloading
  pybind11 2.10, which is too old for Python 3.14 and whose CMake files need
  CMake < 4

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- catkin installs a boost_system CMake config: Boost 1.89 dropped the
  component, which ROS 1 packages ask for (find_package(Boost COMPONENTS system))
- rosserial_server, sick_tim: boost::asio::deadline_timer is no longer in
  <boost/asio.hpp>

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Eigen 5 needs C++14 and PCL 1.15 C++17, but many ROS 1 packages ask for C++11
or C++14. catkin drops -std=c++11/14 and CMAKE_CXX_STANDARD 11/14, so they build
with the compiler's default (C++17). With clang, catkin also turns off two
errors of older code: `template` before a name without template arguments
(clang >= 19) and `register` (C++17).

- ecl_build sets C++14 itself: C++17
- ecl_core_apps: its benchmarks use `register`
- ros_type_introspection: no std::ptr_fun in C++17

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GCC 15 defaults to C23, where `void (*f)()` declares a function without
arguments, which K&R-style C code calls with some:

- apriltag: C11
- euslisp, jskeus, roseus: gnu17 (and no incompatible-pointer-types error)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- catkin: find_package(Eigen3 3.x) finds Eigen 5 (its CMake config only accepts
  requests of its own major version) and sets EIGEN3_INCLUDE_DIR(S), which
  Eigen 5 no longer sets
- ecl_eigen, libg2o, rtabmap: Eigen's CMake config instead of their own
  FindEigen3, which can't read Eigen 5's version
- grid_map_core: EIGEN_EMPTY_STRUCT_CTOR is gone

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- teb_local_planner: g2o's own CMake config (libg2o installs it)
- rtabmap: libxml2-devel, which VTK's CMake config needs
- gps_common: target names without `/`, which CMake 4 rejects

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
OpenCV 5 drops the C API (CV_BGR2GRAY, opencv2/imgproc/types_c.h, ...) that
ROS 1 code uses throughout, and moves calib3d: pin libopencv 4.13, the newest
OpenCV 4 (a later pull request moves to OpenCV 5).

- cv_bridge keeps types_c.h (its users rely on the CV_* constants it brings)
- image_geometry: no calib3d C header

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ROS 1 packages ask for Qt 5 (find_package(Qt5 COMPONENTS ...), Qt5::Widgets,
qt5_use_modules). catkin puts Qt5*Config.cmake forwarding configs first in
CMAKE_PREFIX_PATH: they find the Qt 6 module and define the Qt5:: targets
(with Core5Compat for the removed Qt 5 classes, the tool targets and the
components each one depends on), so most packages build with Qt 6 unchanged.

- robostack.yaml: Qt 6 for the Qt rosdep keys, like the other distributions;
  QtWebEngine for rqt_web (RoboStack/ros-noetic#509)
- libg2o: no apps and examples (g2o_viewer needs Qt 5 and libQGLViewer)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- PyQt6 and sip 6: sip_helper.cmake runs sip-build for the bindings and builds
  the module with CMake (Python3_add_library WITH_SOABI)
- a PyQt5 compatibility layer, as noetic's rqt plugins aren't ported: enums,
  exec_, QAction in QtWidgets, QRegExp, signal overloads, Qt.SHIFT + key, ...
- icon themes: conda-forge's Adwaita has only the -symbolic icons; fall back to
  them, so rqt's title bars show icons (RoboStack/ros-noetic#225)
- the Windows patch went with the old sip build

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Their sip bindings with PyQt6 (sip, pyqt-builder, pyqt6 in host), Qt 6 API
changes (Q_ARG/Q_RETURN_ARG, QMap::unite), and rviz built for Qt 6
(RVIZ_QT_VERSIONS); qt_gui_cpp keeps its Qt 5 API flag.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The osx patch overrode RenderPanel::resizeEvent and skipped
QtOgreRenderWindow::resizeEvent, which left a stale aspect ratio
(RoboStack/ros-noetic#538).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Qt 6 in turtlesim, rqt_image_view, jsk_rviz_plugins, rtabmap_viz,
rtabmap_rviz_plugins, moveit_setup_assistant, swri_console and rqt_rosmon:
API changes (QRegExp -> QRegularExpression, QFontMetrics::width ->
horizontalAdvance, QString::SkipEmptyParts, QStringRef, QVariant) and Qt 6's
CMake packages where a package picks the Qt version itself. find_object_2d from upstream 0.7.5: noetic's release 0.7.0 is Qt 5
code; 0.7.5 builds with Qt 6 and still supports catkin.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PlotJuggler is Qt 5 only (3.9 here, 3.17 too): plotjuggler and plotjuggler_ros
build with qt-main instead of qt6-main, as in lyrical.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- ira_laser_tools, moveit_chomp_optimizer_adapter,
  roboticsgroup_upatras_gazebo_plugins, spatio_temporal_voxel_layer,
  vrpn_client_ros, visp (RoboStack/ros-noetic#508, #354, #349); visp from
  conda-forge (3.7)
- spatio_temporal_voxel_layer: oneTBB, tf2_sensor_msgs for
  tf2::doTransform(PointCloud2)
- vrpn: its shared quatlib, no hand-written Python bindings (PyEval_CallObject is
  gone since Python 3.13), -Wno-register; vrpn_client_ros without -std=c++11
- joy_node on macOS and Windows with SDL2 (RoboStack/ros-noetic#548)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CRAS, compass/magnetometer, movie_publisher, rosbash_params, rosmsg_cpp,
static_transform_mux and dynamic_robot_state_publisher build on osx-arm64: from
the Linux-only selection to "not win". rosmon and rosmon_core stay Linux-only
(prctl, pty.h).

- movie_publisher: macOS's st_ctimespec/st_mtimespec, FFmpeg 7.1
- rospack: no Py_None. On macOS librospack takes Python's symbols from the
  process (-undefined dynamic_lookup), and a data symbol is bound at load time,
  so C++ programs that link it (rosbag record via roslib) couldn't start.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Tobias-Fischer and others added 7 commits November 24, 2026 08:12
activate.ps1/deactivate.ps1 run catkin's local_setup.bat and take over the
variables it sets (RoboStack/ros-noetic#21); activate.sh skips setup.sh where
there is none (Windows).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- catkin: a catkin project that asks for C++11, boost_system, Eigen3 3.3 and
  Qt 5 builds with C++17, Boost 1.90, Eigen 5 and Qt 6, and runs
- ros_base: roscore, rostopic pub/echo, rosbag record/info
- cv_bridge: an image through cv_bridge and back
- python_qt_binding: the PyQt5 API that the rqt plugins use, and the -symbolic
  icon fallback
- qt_gui_cpp, rviz: their sip bindings load

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- CMP0219 NEW in catkin's and the packages' config files: macro arguments keep
  their backslashes, which Windows paths have.
- /utf-8 for C++ (fmt requires it).
- C++17 when a package sets no standard (MSVC defaults to C++14).
- BOOST_ALL_DYN_LINK and BOOST_ALL_NO_LIB: conda-forge's Boost is shared on Windows,
  and its data (program_options' arg, ...) needs dllimport also for packages that link
  ${Boost_LIBRARIES} instead of the Boost:: targets; no auto-linking, as the targets.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- pyproject.toml.in takes the paths as TOML literal strings (backslashes).
- sip-build runs in a project directory of its own, not in its build directory.
- rqt finds the icon theme in share/icons and Library/share/icons, falling back to
  sys.prefix; the test checks it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
additional_cmake_args reach every platform, and MSVC rejects -Wno-register
("invalid numeric argument '/Wno-register'").

- vrpn (not a catkin package): the flag moves into its CMakeLists, for clang. It
  builds static libraries on Windows (win patch): quatlib marks no exports, and
  WINDOWS_EXPORT_ALL_SYMBOLS doesn't export its data.
- ecl_core_apps: dropped; catkin adds -Wno-register for clang itself since the
  C++17 floor.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- tf2: toMsg/fromMsg declared before impl/convert.h uses them (two-phase lookup).
- ira_laser_tools: ros::Duration's sleep instead of POSIX sleep.
- image_transport, ros_type_introspection: DLLs in Library/bin, where Python
  extension modules (librviz_sip) find them.
- spatio_temporal_voxel_layer: uint isn't defined on Windows.
- teb_local_planner: FindG2O uses g2o's CMake config and falls back to the search on
  Windows too; the win patch links ${G2O_LIBRARIES}.
- chomp_motion_planner: ! instead of the alternative token not (MSVC accepts it only
  under /permissive-, and a forced <ciso646> breaks Boost.Python).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
They need libabseil 20260817; the pinning is on 20260526.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build:none PR build: build no packages, only run the checks (tooling, CI or docs changes)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant