Skip to content

Conversation

@traversaro
Copy link
Member

@traversaro traversaro commented Apr 16, 2025

It was outdated after the latest mutex update, and anyhow this was not necessary.

Fix #43

@traversaro
Copy link
Member Author

Ok, the error was reproduced:

2025-04-16T09:12:20.3622428Z  │ │ -- Found visualization_msgs: 5.3.6 ($PREFIX/share/visualization_msgs/cmake)
2025-04-16T09:12:20.7106352Z  │ │ -- Configuring done (2.4s)
2025-04-16T09:12:20.9421108Z  │ │ CMake Error at $PREFIX/share/cartographer/cmake/CartographerTargets.cmake:61 (set_target_properties):
2025-04-16T09:12:20.9431259Z  │ │   The link interface of target "cartographer" contains:
2025-04-16T09:12:20.9431749Z  │ │     protobuf::libprotobuf
2025-04-16T09:12:20.9432106Z  │ │   but the target was not found.  Possible reasons include:
2025-04-16T09:12:20.9432439Z  │ │     * There is a typo in the target name.
2025-04-16T09:12:20.9433250Z  │ │     * A find_package call is missing for an IMPORTED target.
2025-04-16T09:12:20.9433566Z  │ │     * An ALIAS target is missing.
2025-04-16T09:12:20.9433835Z  │ │ Call Stack (most recent call first):
2025-04-16T09:12:20.9434240Z  │ │   $PREFIX/share/cartographer/cartographer-config.cmake:71 (include)
2025-04-16T09:12:20.9434621Z  │ │   CMakeLists.txt:32 (find_package)
2025-04-16T09:12:20.9541965Z  │ │ -- Generating done (0.2s)
2025-04-16T09:12:20.9542390Z  │ │ CMake Warning:
2025-04-16T09:12:20.9543333Z  │ │   Manually-specified variables were not used by the project:
2025-04-16T09:12:20.9544557Z  │ │     AMENT_PREFIX_PATH
2025-04-16T09:12:20.9545246Z  │ │     CATKIN_SKIP_TESTING
2025-04-16T09:12:20.9545951Z  │ │     CMAKE_INSTALL_LIBDIR
2025-04-16T09:12:20.9546556Z  │ │     CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP
2025-04-16T09:12:20.9547203Z  │ │     PYTHON_EXECUTABLE
2025-04-16T09:12:20.9547869Z  │ │     PYTHON_INSTALL_DIR
2025-04-16T09:12:20.9548507Z  │ │     Python_EXECUTABLE
2025-04-16T09:12:20.9549171Z  │ │     SETUPTOOLS_DEB_LAYOUT
2025-04-16T09:12:20.9551190Z  │ │ CMake Generate step failed.  Build files cannot be regenerated correctly.
2025-04-16T09:12:20.9713422Z  │ │ × error Script failed with status 1
2025-04-16T09:12:20.9714333Z  │ │ × error Work directory: '/home/runner/work/ros-jazzy/ros-jazzy/output/bld/rattler-build_ros-jazzy-cartographer-ros_1744791933/work'
2025-04-16T09:12:20.9715334Z  │ │ × error To debug the build, run it manually in the work directory (execute the `./conda_build.sh` or `conda_build.bat` script)
2025-04-16T09:12:20.9715823Z  │ │

@traversaro
Copy link
Member Author

This sound a lot like the problems triggered in moveit/moveit2#3440 (and similar issue), but I actually did not understood what caused that.

@traversaro traversaro changed the title Remove version from pixi.toml Remove version from pixi.toml and fix build on unix platforms Apr 16, 2025
@traversaro
Copy link
Member Author

Hopefully this will be fixed by conda-forge/cartographer-feedstock#75 .

@traversaro
Copy link
Member Author

I also added ef48d7a to fix #44 .

@traversaro traversaro changed the title Remove version from pixi.toml and fix build on unix platforms Remove version from pixi.toml and fix build Apr 16, 2025
@traversaro
Copy link
Member Author

I also added ef48d7a to fix #44 .

Apparently it still fails, however I would merge to at least fix the windows build bug.

@Tobias-Fischer Tobias-Fischer merged commit ebbf209 into main Apr 17, 2025
0 of 5 checks passed
@Tobias-Fischer Tobias-Fischer deleted the traversaro-patch-2 branch November 11, 2025 01:50
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.

Build on main branch broken [unix]

3 participants