Skip to content

Full Rebuild June 2025: bump ros2-distro-mutex to 0.9.0 and build_number to 7 #54

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

Merged
merged 37 commits into from
Jun 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
1d299d8
update snapshot
wep21 May 1, 2025
ee97de4
update for rebuild
wep21 May 1, 2025
0f492ee
update pixi actions
wep21 May 1, 2025
226e6b4
update patch
wep21 May 1, 2025
641fc12
delete patch
wep21 May 1, 2025
10f96d4
remove patch
wep21 May 1, 2025
d0bd83b
bump build number
wep21 May 1, 2025
fd1b88a
update snapshot
wep21 May 18, 2025
d31e8b8
remove patch
wep21 May 18, 2025
147e4c0
remove patch
wep21 May 18, 2025
d3576f9
update snapshot
wep21 May 24, 2025
884cef9
update patch
wep21 May 24, 2025
ea2362b
update dependencies
wep21 May 25, 2025
44cf658
update constraint
wep21 May 27, 2025
243c740
update snapshot
wep21 May 28, 2025
2dc7706
update patch for osx
wep21 May 28, 2025
84e6b48
update patch
wep21 May 28, 2025
88e131b
Delete patch/ros-jazzy-hardware-interface.win.patch
Tobias-Fischer May 28, 2025
bd5b592
update patch
wep21 Jun 4, 2025
fc06b74
update snapshot
wep21 Jun 4, 2025
09d392f
update patch
wep21 Jun 5, 2025
eaf179e
add patch
wep21 Jun 5, 2025
6d9e446
remove patch
wep21 Jun 5, 2025
a6518f4
update patch
wep21 Jun 5, 2025
e20f005
add patch
wep21 Jun 5, 2025
d31c73c
add patch
wep21 Jun 5, 2025
5f5b9c9
Update ros-jazzy-autoware-utils-debug.patch
Tobias-Fischer Jun 5, 2025
0820d8b
add fmt dep for autoware-utils-debug
Tobias-Fischer Jun 5, 2025
599b14c
add patch
wep21 Jun 6, 2025
da5826f
update patch
wep21 Jun 6, 2025
4c881da
add patch
wep21 Jun 6, 2025
6db437b
Update libzenohc and libzenohcxx to 1.3.4
traversaro Jun 7, 2025
be1a710
update snapshot
wep21 Jun 7, 2025
0621ca7
remove patch
wep21 Jun 7, 2025
489b0ca
add patch
wep21 Jun 7, 2025
9982d29
update patch
wep21 Jun 7, 2025
47ebdf4
add patch
wep21 Jun 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/testpr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ jobs:
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo

- uses: prefix-dev/[email protected].1
- uses: prefix-dev/[email protected].8
with:
pixi-version: v0.41.1
pixi-version: v0.44.0
environments: beta
frozen: true

Expand Down
5 changes: 3 additions & 2 deletions additional_recipes/ros2-distro-mutex/recipe.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package:
name: ros2-distro-mutex
version: 0.8.0
version: 0.9.0

build:
number: 0
Expand Down Expand Up @@ -30,10 +30,11 @@ requirements:
run_constraints:
- libboost 1.86.*
- libboost-devel 1.86.*
- pcl 1.14.1.*
- pcl 1.15.0.*
- gazebo 11.*
- libprotobuf 5.29.3.*
- libxml2 2.13.*
- vtk 9.4.2.*

run_exports:
weak:
Expand Down
4 changes: 2 additions & 2 deletions conda_build_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ cxx_compiler_version: # [unix]
- 18 # [osx]

libzenohc:
- 1.2.1
- 1.3.4
libzenohcxx:
- 1.2.1
- 1.3.4
libcap:
- 2.71
4 changes: 4 additions & 0 deletions patch/dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -239,3 +239,7 @@ zenoh_cpp_vendor:
add_host: ["libzenohc", "libzenohcxx"]
rmw_zenoh_cpp:
add_host: ["libzenohc", "libzenohcxx"]
autoware_utils_pcl:
add_host: ["REQUIRE_OPENGL"]
autoware_utils_debug:
add_host: ["fmt"]
16 changes: 16 additions & 0 deletions patch/ros-jazzy-autoware-cmake.win.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
diff --git a/cmake/autoware_package.cmake b/cmake/autoware_package.cmake
index 2f46006..3d63a70 100644
--- a/cmake/autoware_package.cmake
+++ b/cmake/autoware_package.cmake
@@ -78,6 +78,11 @@ macro(autoware_package)
)
endif()

+ if(MSVC)
+ add_compile_definitions(_USE_MATH_DEFINES)
+ set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
+ endif()
+
# Find test dependencies
if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)
18 changes: 18 additions & 0 deletions patch/ros-jazzy-autoware-utils-debug.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
diff --git a/autoware_utils_debug/CMakeLists.txt b/autoware_utils_debug/CMakeLists.txt
index a823eda..92f0906 100644
--- a/autoware_utils_debug/CMakeLists.txt
+++ b/autoware_utils_debug/CMakeLists.txt
@@ -2,11 +2,13 @@ cmake_minimum_required(VERSION 3.14)
project(autoware_utils_debug)

find_package(autoware_cmake REQUIRED)
+find_package(fmt REQUIRED)
autoware_package()

ament_auto_add_library(${PROJECT_NAME} SHARED
"src/time_keeper.cpp"
)
+target_link_libraries(${PROJECT_NAME} fmt::fmt)

if(BUILD_TESTING)
file(GLOB_RECURSE test_files test/*.cpp)
32 changes: 32 additions & 0 deletions patch/ros-jazzy-autoware-utils-system.win.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
diff --git a/src/backtrace.cpp b/src/backtrace.cpp
index 3bdfa8f..ee27f35 100644
--- a/src/backtrace.cpp
+++ b/src/backtrace.cpp
@@ -16,7 +16,9 @@

#include <rclcpp/rclcpp.hpp>

+#if !defined(_MSC_VER)
#include <execinfo.h>
+#endif

#include <iostream>
#include <memory>
@@ -29,6 +31,7 @@ namespace autoware_utils_system
// cppcheck-suppress unusedFunction
void print_backtrace()
{
+#if !defined(_MSC_VER)
constexpr size_t max_frames = 100;
void * addrlist[max_frames + 1];

@@ -49,5 +52,9 @@ void print_backtrace()

free(symbol_list);
}
+#else
+ return;
+}
+#endif

} // namespace autoware_utils_system
13 changes: 0 additions & 13 deletions patch/ros-jazzy-behaviortree-cpp.patch

This file was deleted.

24 changes: 0 additions & 24 deletions patch/ros-jazzy-behaviortree-cpp.win.patch

This file was deleted.

13 changes: 13 additions & 0 deletions patch/ros-jazzy-controller-interface.osx.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/src/controller_interface_base.cpp b/src/controller_interface_base.cpp
index 532544ab3..22229eb8a 100644
--- a/src/controller_interface_base.cpp
+++ b/src/controller_interface_base.cpp
@@ -153,7 +153,7 @@ const rclcpp_lifecycle::State & ControllerInterfaceBase::configure()
{
RCLCPP_WARN(
get_node()->get_logger(),
- "The update rate of the controller : '%ld Hz' cannot be higher than the update rate of the "
+ "The update rate of the controller : '%lld Hz' cannot be higher than the update rate of the "
"controller manager : '%d Hz'. Setting it to the update rate of the controller manager.",
update_rate, update_rate_);
}
16 changes: 0 additions & 16 deletions patch/ros-jazzy-controller-interface.patch

This file was deleted.

54 changes: 4 additions & 50 deletions patch/ros-jazzy-ffmpeg-encoder-decoder.unix.patch
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,10 @@ index 0e2521c..94625e5 100644
};
} // namespace ffmpeg_encoder_decoder
diff --git a/src/decoder.cpp b/src/decoder.cpp
index 0a12d25..9737ffe 100644
index 5458f21..a2762aa 100644
--- a/src/decoder.cpp
+++ b/src/decoder.cpp
@@ -38,7 +38,11 @@ Decoder::~Decoder() { reset(); }
void Decoder::reset()
{
if (codecContext_) {
+#if LIBAVFORMAT_VERSION_MAJOR < 59
avcodec_close(codecContext_);
+#else
+ avcodec_free_context(&codecContext_);
+#endif
av_free(codecContext_);
codecContext_ = NULL;
}
@@ -255,7 +259,7 @@ bool Decoder::decodePacket(
@@ -256,7 +256,7 @@ bool Decoder::decodePacket(
image->header.stamp = it->second;
ptsToStamp_.erase(it);
#ifdef USE_AV_FLAGS
Expand All @@ -37,22 +25,10 @@ index 0a12d25..9737ffe 100644
callback_(image, decodedFrame_->key_frame); // deliver callback
#endif
diff --git a/src/encoder.cpp b/src/encoder.cpp
index d5c15ca..1086f35 100644
index ed6ca85..0aa3412 100644
--- a/src/encoder.cpp
+++ b/src/encoder.cpp
@@ -54,7 +54,11 @@ static void free_frame(AVFrame ** frame)
void Encoder::closeCodec()
{
if (codecContext_) {
+#if LIBAVFORMAT_VERSION_MAJOR < 59
avcodec_close(codecContext_);
+#else
+ avcodec_free_context(&codecContext_);
+#endif
codecContext_ = nullptr;
}
free_frame(&frame_);
@@ -208,11 +212,19 @@ void Encoder::doOpenCodec(int width, int height)
@@ -211,11 +211,19 @@ void Encoder::doOpenCodec(int width, int height)
setAVOption("tune", tune_);
setAVOption("delay", delay_);
setAVOption("crf", crf_);
Expand All @@ -72,25 +48,3 @@ index d5c15ca..1086f35 100644

err = avcodec_open2(codecContext_, codec, NULL);
utils::check_for_err("cannot open codec", err);
diff --git a/src/utils.cpp b/src/utils.cpp
index da089e4..01e8eea 100644
--- a/src/utils.cpp
+++ b/src/utils.cpp
@@ -104,8 +104,15 @@ enum AVPixelFormat get_preferred_pixel_format(
std::vector<enum AVPixelFormat> get_encoder_formats(const AVCodec * c)
{
std::vector<enum AVPixelFormat> formats;
- if (c && c->pix_fmts) {
- for (const auto * p = c->pix_fmts; *p != AV_PIX_FMT_NONE; ++p) {
+#if LIBAVUTIL_VERSION_MAJOR > 59 || (LIBAVUTIL_VERSION_MAJOR == 59 && LIBAVUTIL_VERSION_MINOR >= 39)
+ const enum AVPixelFormat *pix_fmts = NULL;
+ avcodec_get_supported_config(NULL, c, AV_CODEC_CONFIG_PIX_FORMAT, 0, (const void **) &pix_fmts, NULL);
+ if (c && pix_fmts) {
+#else
+ const enum AVPixelFormat *pix_fmts = c->pix_fmts;
+ if (c && pix_fmts) {
+#endif
+ for (const auto * p = pix_fmts; *p != AV_PIX_FMT_NONE; ++p) {
formats.push_back(*p);
}
}
16 changes: 0 additions & 16 deletions patch/ros-jazzy-hardware-interface.unix.patch
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b4e0f6cab..896175fad 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,11 +1,6 @@
cmake_minimum_required(VERSION 3.16)
project(hardware_interface LANGUAGES CXX)

-if(CMAKE_CXX_COMPILER_ID MATCHES "(GNU|Clang)")
- add_compile_options(-Wall -Wextra -Werror=conversion -Werror=unused-but-set-variable -Werror=return-type -Werror=shadow
- -Werror=missing-braces)
-endif()
-
# using this instead of visibility macros
# S1 from https://github.com/ros-controls/ros2_controllers/issues/1053
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
diff --git a/include/hardware_interface/async_components.hpp b/include/hardware_interface/async_components.hpp
index 052c4ba92..85efed01f 100644
--- a/include/hardware_interface/async_components.hpp
Expand Down
28 changes: 20 additions & 8 deletions patch/ros-jazzy-hardware-interface.win.patch
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
diff --git a/hardware_interface/CMakeLists.txt b/hardware_interface/CMakeLists.txt
index b4e0f6cab0..50120726bb 100644
--- a/hardware_interface/CMakeLists.txt
+++ b/hardware_interface/CMakeLists.txt
@@ -57,3 +57,4 @@ target_include_directories(mock_components PUBLIC
+target_link_libraries(mock_components PUBLIC hardware_interface)
ament_target_dependencies(mock_components PUBLIC ${THIS_PACKAGE_INCLUDE_DEPENDS})

diff --git a/include/hardware_interface/handle.hpp b/include/hardware_interface/handle.hpp
index 6fbb547e6..372895a18 100644
--- a/include/hardware_interface/handle.hpp
+++ b/include/hardware_interface/handle.hpp
@@ -39,10 +39,15 @@ namespace
template <typename T>
std::string get_type_name()
{
+#ifdef _MSC_VER
+ const char* name = typeid(T).name();
+ return std::string(name);
+#else
int status = 0;
std::unique_ptr<char[], void (*)(void *)> res{
abi::__cxa_demangle(typeid(T).name(), nullptr, nullptr, &status), std::free};
return (status == 0) ? res.get() : typeid(T).name();
+#endif
}
} // namespace

12 changes: 12 additions & 0 deletions patch/ros-jazzy-plotjuggler.osx.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/3rdparty/qwt/src/CMakeLists.txt b/3rdparty/qwt/src/CMakeLists.txt
index 51e6f088..8971ecab 100644
--- a/3rdparty/qwt/src/CMakeLists.txt
+++ b/3rdparty/qwt/src/CMakeLists.txt
@@ -201,6 +201,7 @@ target_link_libraries(plotjuggler_qwt
Qt5::Widgets
Qt5::Concurrent
Qt5::Svg
+ Qt5::Xml
)

target_compile_definitions(plotjuggler_qwt PUBLIC QWT_MOC_INCLUDE)
Loading
Loading