Repository navigation
Conversation
docs.ros.org builds each package with rosdoc2, and every warning or error marks the doc job unstable. - README links that leave the package now point to the published documentation or to GitHub, so they resolve on docs.ros.org. - Code blocks that are not valid JSON are marked as text. - doc/conf.py drops the duplicate declarations of nested types (Exhale documents them on their own page and on the page of the enclosing class) with a logging filter, because Sphinx before 8.2, used by the Humble doc job, gives this warning no type. It keeps the class and file tree views unminified, so docutils does not drop them, and sets myst_heading_anchors, so links to a heading of the same README resolve with MyST 4. - rosdoc2.yaml for the gateway keeps GCC attributes, variable template specializations of the DTO traits and field_enum out of the Doxygen output; Breathe and Sphinx cannot render them. kLinksDescription hides its initializer, which Sphinx cannot parse. - rosdoc2.yaml for the integration tests keeps write_literal out of the Doxygen output and skips the Python API page: the Python package holds test helpers only. - pre-commit check-yaml accepts the two YAML documents that rosdoc2.yaml needs.
Humble on RHEL 8 builds with GCC 8.5 and glibc 2.28. - Link stdc++fs for GCC before 9.1 in gateway_core, fault_manager_core and medkit_linux_utils, through the new medkit_link_std_filesystem() helper where ros2_medkit_cmake is available. - Ignore a CMake-config cpp-httplib older than 0.14 (EPEL ships 0.12) and use the vendored copy instead, in ROS2MedkitCompat and in gateway_core. - Give the atomic time_point member of GatewayNode an explicit value: GCC 8 deletes the default constructor of std::atomic<time_point>. - Ignore -Winfinite-recursion only on GCC 12 and newer. - The host check of gateway_core now fails at configure time when the core picks the wrong httplib, also on a system that has httplib.h. New cases cover 0.12 and both ends of the range, 0.14.0 and 0.19.9. - The installation guide now names GCC 8 as the minimum, and the gateway README the httplib range the code accepts.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
Summary
This fixes two things the ROS buildfarm shows for ros2_medkit.
Humble on RHEL 8 builds with GCC 8.5 and glibc 2.28, and ros2_medkit does not build there:
std::filesystemin a separatelibstdc++fs, sofault_manager, the gateway andlinux_introspectionfail to link.gateway_coreandfault_manager_corelinkstdc++fsfor GCC before 9.1, andmedkit_linux_utilsuses the newmedkit_link_std_filesystem()helper fromros2_medkit_cmake.httplibConfig.cmakefor cpp-httplib 0.12. Our version check had only an upper bound, so 0.12 passed and the gateway failed to compile against it. A version before 0.14 now falls back to the vendored copy, inROS2MedkitCompatand ingateway_core.cmake.std::atomic<std::chrono::steady_clock::time_point>. The member inGatewayNodenow starts from an explicit value.-Winfinite-recursionexists since GCC 12, so the pragma that ignores it is now guarded.The host check in
scripts/check_cores_without_ros/hostsnow fails at configure time whengateway_corepicks the wrong httplib target. Before, a wrong pick only failed the build when the system had nohttplib.h. New cases cover 0.12 and both ends of the supported range, 0.14.0 and 0.19.9.The doc jobs on docs.ros.org are unstable because rosdoc2 reports warnings and errors for most packages, 448 of them for the gateway. The Humble job uses older tools (Sphinx 8.1, MyST 4, Doxygen 1.9.1) than Jazzy and Lyrical, so each fix below works with both:
docs/are relative and do not resolve on docs.ros.org. They now point to the published docs or to GitHub.jsonthat are not valid JSON are now markedtext.doc/conf.pyin the packages with C++ API pages drops that warning with a logging filter, because Sphinx before 8.2 gives it no type forsuppress_warnings. It also keeps the class and file tree views unminified: docutils dropped the gateway class hierarchy because the minified view is one line longer than its line limit. And it setsmyst_heading_anchors, so links to a heading of the same README resolve with MyST 4.rosdoc2.yamlin the gateway keeps symbols out of Doxygen that Breathe and Sphinx cannot render: GCC attributes, the variable template specializations of the DTO traits, andfield_enum.kLinksDescriptionkeeps its page;@hideinitializerhides the string literals that Sphinx cannot parse. Inros2_medkit_integration_testsit keeps outwrite_literaland skips the Python API page, because the Python package holds test helpers only.check-yamlnow accepts the two YAML documents thatrosdoc2.yamlneeds.The installation guide named GCC 11 and GCC 13 as the minimum. It now names GCC 8. The gateway README states the httplib range the code accepts.
Issue
No issue.
Type
Testing
colcon buildof the released packages with tests:mainfails onros2_medkit_fault_manager, this branch builds all of them.AggregationManagerDiscoveredPlace.*passes there. Without thestdc++fslink ingateway_coreor inmedkit_linux_utils, the build fails again.scripts/check_cores_without_rosas in CI (ubuntu:20.04, g++-9), with the hosts. With the 0.14 lower bound removed, the 0.12 host case fails at configure time. With 0.14.0 dropped from the range, or with every versioned target ignored, the in-range cases fail.ros2_medkit_opcuakeeps one warning with the Humble tools, which main has too: Doxygen 1.9.1 cannot parse thestd::functionmember ofPollerConfig. opcua is not released, so it has no doc job. The gateway docs lose only the pages that failed to render.To check the docs of one package:
rosdoc2 build --package-path src/ros2_medkit_gateway.Checklist