Closed orensbruli closed 1 year ago
https://build.ros2.org/job/Rbin_uJ64__rmf_traffic_ros2__ubuntu_jammy_amd64__binary https://build.ros2.org/job/Rbin_uJ64__rmf_traffic_examples__ubuntu_jammy_amd64__binary/ https://build.ros2.org/job/Rbin_uJ64__rmf_task_sequence__ubuntu_jammy_amd64__binary/ https://build.ros2.org/job/Rbin_uJ64__rmf_obstacle_msgs__ubuntu_jammy_amd64__binary/ https://build.ros2.org/job/Rbin_uJ64__rmf_demos_maps__ubuntu_jammy_amd64__binary/ https://build.ros2.org/job/Rbin_uJ64__pybind11_json_vendor__ubuntu_jammy_amd64__binary/
:warning: https://build.ros2.org/job/Rbin_uJ64__rmf_demos_gz__ubuntu_jammy_amd64__binary/23/console ==>
:warning: https://build.ros2.org/job/Rbin_uJ64__rmf_demos__ubuntu_jammy_amd64__binary/52/console ==>
:x: https://build.ros2.org/job/Rbin_uJ64__rmf_demos_maps__ubuntu_jammy_amd64__binary/209/console ==>
but :ok: in the current rmf_demos release
:warning: https://build.ros2.org/job/Rbin_uJ64__rmf_visualization_schedule__ubuntu_jammy_amd64__binary/ ==>
:x: https://build.ros2.org/job/Rbin_uJ64__rmf_traffic_ros2__ubuntu_jammy_amd64__binary/219/console ==>
but :ok: in the current rmf_internal_msgs release
:warning: https://build.ros2.org/job/Rbin_uJ64__rmf_visualization__ubuntu_jammy_amd64__binary/ ==>
:warning: https://build.ros2.org/job/Rbin_uJ64__rmf_visualization_rviz2_plugins__ubuntu_jammy_amd64__binary/ ==>
:warning: https://build.ros2.org/job/Rbin_uJ64__rmf_traffic_ros2__ubuntu_jammy_amd64__binary/219/ ==>
but :ok: in the current rmf_internal_msgs release
:warning: https://build.ros2.org/job/Rbin_uJ64__rmf_fleet_adapter__ubuntu_jammy_amd64__binary ==>
https://build.ros2.org/job/Rbin_uJ64__rmf_task_ros2__ubuntu_jammy_amd64__binary/45/ ==>
:warning: https://build.ros2.org/job/Rbin_uJ64__rmf_traffic_ros2__ubuntu_jammy_amd64__binary/219/ ==>
but :ok: in the current rmf_traffic release
:warning: https://build.ros2.org/job/Rbin_uJ64__rmf_fleet_adapter_python__ubuntu_jammy_amd64__binary/ ==>
:x: https://build.ros2.org/job/Rbin_uJ64__pybind11_json_vendor__ubuntu_jammy_amd64__binary/ ==>
but :ok: with the Nlohmann_json_schema_validator_vendor
:warning: https://build.ros2.org/job/Rbin_uJ64__rmf_demos__ubuntu_jammy_amd64__binary/ ==>
:x: https://build.ros2.org/job/Rbin_uJ64__rmf_demos_maps__ubuntu_jammy_amd64__binary/ ==>
but :ok: in the current rmf_demos release
graph TD;
rmf_visualization_schedule --> rmf_traffic_ros2
rmf_traffic_ros2 --> rmf_internal_msgs_FIX
rmf_demos_gz --> rmf_demos_maps
rmf_demos_maps --> rmf_demos_FIX
rmf_visualization_rviz2 --> rmf_traffic_ros2
rmf_visualization --> rmf_visualization_rviz2
rmf_task_ros2 --> rmf_traffic_ros2
rmf_fleet_adapter_python --> pybind11_json_vendor
pybind11_json_vendor --> nlohmann_json_schema_validator_vendor_FIX
rmf_fleet_adapter --> rmf_task_ros2
rmf_demos --> rmf_demos_maps
rmf_demos => rmf_simulation
https://github.com/open-rmf/rmf_simulation
https://github.com/open-rmf/rmf_demos
https://github.com/open-rmf/rmf_visualization
Could not resolve rosdep key 'rmf_obstacle_msgs' Failed to resolve rmf_obstacle_msgs on ubuntu:jammy with: Error running generator: Failed to resolve rosdep key 'rmf_obstacle_msgs', aborting. rmf_obstacle_msgs is depended on by these packages: ['rmf_visualization_obstacles'] <== Failed
Checking errors in https://build.ros2.org/job/Rbin_uJ64__rmf_websocket__ubuntu_jammy_amd64__binary/1/console
In Rolling:
graph TD;
rmf_visualization_schedule --> rmf_traffic_ros2
rmf_traffic_ros2 --> rmf_internal_msgs_FIX
rmf_demos_gz --> rmf_demos_maps
rmf_demos_maps --> rmf_demos_FIX
rmf_visualization_rviz2 --> rmf_traffic_ros2
rmf_visualization --> rmf_visualization_rviz2
rmf_task_ros2 --> rmf_traffic_ros2
rmf_fleet_adapter_python --> pybind11_json_vendor
pybind11_json_vendor --> nlohmann_json_schema_validator_vendor_FIX
rmf_fleet_adapter --> rmf_task_ros2
rmf_demos --> rmf_demos_maps
rmf_demos --> rmf_demos_gz_classic
rmf_demos_gz_classic --> rmf_robot_sim_gz_classic_plugins
rmf_robot_sim_gz_classic_plugins --> RMF_SIMULATION_CHANGELOGS_UPDATE
https://github.com/ros/rosdistro/pulls?q=is%3Apr+author%3Aorensbruli
Problem:
bloom-release --rosdistro rolling --track rolling --edit rmf_simulation
Could not resolve rosdep key 'ignition-fortress' for distro 'bullseye':
No definition of [ignition-fortress] for OS version [bullseye]
rosdep key : ignition-fortress
OS name : debian
OS version : bullseye
Data:
debian:
buster:
- ignition-fortress
ubuntu:
focal:
- ignition-fortress
jammy:
- ignition-fortress
Failed to resolve ignition-fortress on debian:bullseye with: Error running generator: Failed to resolve rosdep key 'ignition-fortress', aborting.
ignition-fortress is depended on by these packages: ['rmf_robot_sim_gz_plugins', 'rmf_building_sim_gz_plugins']
<== Failed
continued with the release without debian-bullseye and rhel8 packages.
bloom-release --rosdistro humble --track humble --edit rmf_simulation
Could not resolve rosdep key 'ignition-edifice' for distro 'jammy':
No definition of [ignition-edifice] for OS version [jammy]
rosdep key : ignition-edifice
OS name : ubuntu
OS version : jammy
Data:
debian:
buster:
- ignition-edifice
ubuntu:
focal:
- ignition-edifice
Failed to resolve ignition-edifice on ubuntu:jammy with: Error running generator: Failed to resolve rosdep key 'ignition-edifice', aborting.
ignition-edifice is depended on by these packages: ['rmf_robot_sim_ignition_plugins', 'rmf_building_sim_ignition_plugins']
<== Failed
Could not resolve rosdep key 'rmf_task_sequence'
Failed to resolve rmf_task_sequence on ubuntu:jammy with: Error running generator: Failed to resolve rosdep key 'rmf_task_sequence', aborting.
rmf_task_sequence is depended on by these packages: ['rmf_fleet_adapter']
<== Failed
rmf_task_sequence
in rmf_task
needs to be released for humble before this
Could not resolve rosdep key 'rmf_api_msgs'
Failed to resolve rmf_api_msgs on ubuntu:jammy with: Error running generator: Failed to resolve rosdep key 'rmf_api_msgs', aborting.
rmf_api_msgs is depended on by these packages: ['rmf_task_sequence']
<== Failed
rmf_api_msgs
in rmf_api_msgs
needs to be released for humble before this
Investigating. 2 errors
00:01:32.889 CMake Error at /opt/ros/rolling/lib/cmake/nlohmann_json_schema_validator/nlohmann_json_schema_validatorTargets.cmake:74 (message):
00:01:32.890 The imported target "nlohmann_json_schema_validator" references the file
00:01:32.890
00:01:32.890 "/tmp/binarydeb/ros-rolling-nlohmann-json-schema-validator-vendor-0.1.0/.obj-x86_64-linux-gnu/nlohmann_json_schema_validator/lib/libnlohmann_json_schema_validator.so.2.1.0"
00:01:32.890
00:01:32.890 but this file does not exist. Possible reasons include:
00:01:32.890
00:01:32.890 * The file was deleted, renamed, or moved to another location.
00:01:32.890
00:01:32.890 * An install or uninstall procedure did not complete successfully.
00:01:32.890
00:01:32.890 * The installation package was faulty and contained
00:01:32.890
00:01:32.890 "/opt/ros/rolling/lib/cmake/nlohmann_json_schema_validator/nlohmann_json_schema_validatorTargets.cmake"
00:01:32.890
00:01:32.890 but not all the files it references.
00:01:32.890
00:01:32.890 Call Stack (most recent call first):
00:01:32.890 /opt/ros/rolling/lib/cmake/nlohmann_json_schema_validator/nlohmann_json_schema_validatorConfig.cmake:12 (include)
00:01:32.890 /opt/ros/rolling/share/nlohmann_json_schema_validator_vendor/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package)
00:01:32.890 /opt/ros/rolling/share/nlohmann_json_schema_validator_vendor/cmake/nlohmann_json_schema_validator_vendorConfig.cmake:41 (include)
00:01:32.890 CMakeLists.txt:21 (find_package)
00:01:32.890
00:01:32.890
00:01:32.890 -- Configuring incomplete, errors occurred!
00:01:32.905 /usr/lib/ccache/cc -g -O2 -ffile-prefix-map=/tmp/binarydeb/ros-rolling-rmf-websocket-2.1.1=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 CMakeFiles/cmTC_dc2c2.dir/src.c.o -o cmTC_dc2c2
00:01:32.905 gmake[3]: Leaving directory '/tmp/binarydeb/ros-rolling-rmf-websocket-2.1.1/.obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'
00:01:32.905 gmake[2]: Leaving directory '/tmp/binarydeb/ros-rolling-rmf-websocket-2.1.1/.obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'
00:01:32.905
00:01:32.905
00:01:32.905 Source file was:
00:01:32.905 #include <pthread.h>
00:01:32.905
00:01:32.905 static void* test_func(void* data)
00:01:32.905 {
00:01:32.905 return data;
00:01:32.905 }
00:01:32.905
00:01:32.905 int main(void)
00:01:32.905 {
00:01:32.905 pthread_t thread;
00:01:32.905 pthread_create(&thread, NULL, test_func, NULL);
00:01:32.905 pthread_detach(thread);
00:01:32.905 pthread_cancel(thread);
00:01:32.905 pthread_join(thread, NULL);
00:01:32.905 pthread_atfork(NULL, NULL, NULL);
00:01:32.905 pthread_exit(NULL);
00:01:32.905
00:01:32.905 return 0;
00:01:32.905 }
00:01:32.905
00:01:32.905 dh_auto_configure: error: cd .obj-x86_64-linux-gnu && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DCMAKE_INSTALL_PREFIX=/opt/ros/rolling -DAMENT_PREFIX_PATH=/opt/ros/rolling -DCMAKE_PREFIX_PATH=/opt/ros/rolling .. returned exit code 1
00:01:32.905 make[1]: *** [debian/rules:33: override_dh_auto_configure] Error 2
00:01:32.907 make[1]: Leaving directory '/tmp/binarydeb/ros-rolling-rmf-websocket-2.1.1'
00:01:32.907 make: *** [debian/rules:27: build] Error 2
00:01:32.911 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
00:01:32.911 E: Building failed
00:01:32.916 Traceback (most recent call last):
00:01:32.925 File "/tmp/ros_buildfarm/ros_buildfarm/binarydeb_job.py", line 147, in build_binarydeb
00:01:32.925 subprocess.check_call(cmd, cwd=source_dir, env=env)
00:01:32.925 File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
00:01:32.925 raise CalledProcessError(retcode, cmd)
00:01:32.925 subprocess.CalledProcessError: Command '['apt-src', 'build', 'ros-rolling-rmf-websocket']' returned non-zero exit status 1.
00:01:32.925 # END SUBSECTION
Failing because of the change in the needed version of rmf_traffic
is 2 but 3 provided.
CMake Error at CMakeLists.txt:29 (find_package):
00:03:10.536 By not providing "Findnlohmann_json.cmake" in CMAKE_MODULE_PATH this
00:03:10.536 project has asked CMake to find a package configuration file provided by
00:03:10.536 "nlohmann_json", but CMake did not find one.
00:03:10.536
00:03:10.536 Could not find a package configuration file provided by "nlohmann_json"
00:03:10.536 (requested version 3.2.0) with any of the following names:
00:03:10.536
00:03:10.536 nlohmann_jsonConfig.cmake
00:03:10.536 nlohmann_json-config.cmake
00:03:10.536
00:03:10.536 Add the installation prefix of "nlohmann_json" to CMAKE_PREFIX_PATH or set
00:03:10.536 "nlohmann_json_DIR" to a directory containing one of the above files. If
00:03:10.536 "nlohmann_json" provides a separate development package or SDK, be sure it
00:03:10.536 has been installed.
00:03:10.536
00:03:10.536
00:03:10.536 -- Configuring incomplete, errors occurred!
So it's not installing or not detecting nlohmann_json package installation. but nlohmann_json_schema_validator is building ok in rolling.
Gonna run a rolling container install nlohmann_json package and check for nlohmann_jsonConfig
root@0aee7be3e7b5:/# apt install nlohmann-json3-dev/jammy
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Selected version '3.10.5-2' (Ubuntu:22.04/jammy [all]) for 'nlohmann-json3-dev'
The following NEW packages will be installed:
nlohmann-json3-dev
0 upgraded, 1 newly installed, 0 to remove and 227 not upgraded.
Need to get 167 kB of archives.
After this operation, 1247 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu jammy/universe amd64 nlohmann-json3-dev all 3.10.5-2 [167 kB]
Fetched 167 kB in 1s (207 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package nlohmann-json3-dev.
(Reading database ... 37527 files and directories currently installed.)
Preparing to unpack .../nlohmann-json3-dev_3.10.5-2_all.deb ...
Unpacking nlohmann-json3-dev (3.10.5-2) ...
Setting up nlohmann-json3-dev (3.10.5-2) ...
root@0aee7be3e7b5:/# find . | grep nlohman | grep ".cmake"
./usr/lib/cmake/nlohmann_json
./usr/lib/cmake/nlohmann_json/nlohmann_jsonTargets.cmake
./usr/lib/cmake/nlohmann_json/nlohmann_jsonConfig.cmake
./usr/lib/cmake/nlohmann_json/nlohmann_jsonConfigVersion.cmake
It looks like the find_package(nlohmann_json REQUIRED)
could be missing in the pybind11_json_vendor/CMakeLists.txt
file.
0.2.0
release pybind11_json_vendor
for rolling
:
0.2.0
release pybind11_json_vendor
for humble
:The source of this package has not been updated since Feb 9, 2022 3:38 PM. Need to release rmf_demos:
Humble branch needed to be rested to the same point as rolling (was behind)
CMake Error at /opt/ros/rolling/share/nlohmann_json_schema_validator_vendor/cmake/ament_cmake_export_dependencies-extras.cmake:5 (find_package):
00:01:15.606 By not providing "Findament_cmake_libraries.cmake" in CMAKE_MODULE_PATH
00:01:15.606 this project has asked CMake to find a package configuration file provided
00:01:15.606 by "ament_cmake_libraries", but CMake did not find one.
00:01:15.606
00:01:15.606 Could not find a package configuration file provided by
00:01:15.606 "ament_cmake_libraries" with any of the following names:
00:01:15.606
00:01:15.606 ament_cmake_librariesConfig.cmake
00:01:15.606 ament_cmake_libraries-config.cmake
00:01:15.606
00:01:15.606 Add the installation prefix of "ament_cmake_libraries" to CMAKE_PREFIX_PATH
00:01:15.606 or set "ament_cmake_libraries_DIR" to a directory containing one of the
00:01:15.606 above files. If "ament_cmake_libraries" provides a separate development
00:01:15.606 package or SDK, be sure it has been installed.
00:01:15.606 Call Stack (most recent call first):
00:01:15.606 /opt/ros/rolling/share/nlohmann_json_schema_validator_vendor/cmake/nlohmann_json_schema_validator_vendorConfig.cmake:41 (include)
00:01:15.606 CMakeLists.txt:26 (find_package)
00:01:15.606
00:01:15.606
00:01:15.606 -- Configuring incomplete, errors occurred!
Several packages depending on nlohmann_json_schema_validator are failing with:
00:01:15.601 CMake Error at /opt/ros/rolling/share/nlohmann_json_schema_validator_vendor/cmake/ament_cmake_export_dependencies-extras.cmake:5 (find_package):
00:01:15.606 By not providing "Findament_cmake_libraries.cmake" in CMAKE_MODULE_PATH
00:01:15.606 this project has asked CMake to find a package configuration file provided
00:01:15.606 by "ament_cmake_libraries", but CMake did not find one.
00:01:15.606
00:01:15.606 Could not find a package configuration file provided by
00:01:15.606 "ament_cmake_libraries" with any of the following names:
00:01:15.606
00:01:15.606 ament_cmake_librariesConfig.cmake
00:01:15.606 ament_cmake_libraries-config.cmake
00:01:15.606
00:01:15.606 Add the installation prefix of "ament_cmake_libraries" to CMAKE_PREFIX_PATH
00:01:15.606 or set "ament_cmake_libraries_DIR" to a directory containing one of the
00:01:15.606 above files. If "ament_cmake_libraries" provides a separate development
00:01:15.606 package or SDK, be sure it has been installed.
00:01:15.606 Call Stack (most recent call first):
00:01:15.606 /opt/ros/rolling/share/nlohmann_json_schema_validator_vendor/cmake/nlohmann_json_schema_validator_vendorConfig.cmake:41 (include)
00:01:15.606 CMakeLists.txt:26 (find_package)
00:01:15.606
00:01:15.606
00:01:15.606 -- Configuring incomplete, errors occurred!
Trying to fix with b3bbc750372cf520a3724c300ea54f11cdc1af01
0.1.1 for humble
Failed.
Trying this: https://forum.openwrt.org/t/problem-with-packaging-a-cmake-based-library/121603/4
Fixed https://github.com/ros/rosdistro/pull/34752#pullrequestreview-1129222846
Need to recheck status of rmf_ros2
https://github.com/open-rmf/rmf/blob/emartinena/build_boards/reports/builds.md
nlohmann_json_schema_validator_vendor
00:03:01.563 -- Installing: /opt/ros/rolling/lib/libnlohmann_json_schema_validator.so.2.1.0
00:03:01.563 CMake Error at cmake_install.cmake:57 (file):
00:03:01.564 file INSTALL cannot copy file
00:03:01.564 "/tmp/binarydeb/ros-rolling-nlohmann-json-schema-validator-vendor-0.1.1/.obj-x86_64-linux-gnu/nlohmann_json_schema_validator/src/nlohmann_json_schema_validator-build/libnlohmann_json_schema_validator.so.2.1.0"
00:03:01.564 to "/opt/ros/rolling/lib/libnlohmann_json_schema_validator.so.2.1.0":
00:03:01.564 Permission denied.
00:03:01.564
00:03:01.564
00:03:01.564 make[5]: *** [Makefile:110: install] Error 1
It is failing because of the new CMakelist.txt install. It tries to install in the build process and has no permissions when building in Debian.
00:02:37.637 ros2 run rmf_building_map_tools building_crowdsim /tmp/binarydeb/ros-rolling-rmf-demos-maps-2.0.0/maps/airport_terminal/airport_terminal.building.yaml /tmp/binarydeb/ros-rolling-rmf-demos-maps-2.0.0/.obj-x86_64-linux-gnu/maps/airport_terminal/config_resource/ /tmp/binarydeb/ros-rolling-rmf-demos-maps-2.0.0/.obj-x86_64-linux-gnu/maps/airport_terminal/airport_terminal.world
00:02:37.637 Traceback (most recent call last):
00:02:37.966 File "/opt/ros/rolling/lib/rmf_building_map_tools/building_crowdsim", line 33, in <module>
00:02:37.966 sys.exit(load_entry_point('rmf-building-map-tools==1.5.1', 'console_scripts', 'building_crowdsim')())
00:02:37.966 File "/opt/ros/rolling/lib/rmf_building_map_tools/building_crowdsim", line 25, in importlib_load_entry_point
00:02:37.966 return next(matches).load()
00:02:37.966 File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
00:02:37.966 module = import_module(match.group('module'))
00:02:37.966 File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
00:02:37.966 return _bootstrap._gcd_import(name[level:], package, level)
00:02:37.967 File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
00:02:37.967 File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
00:02:37.967 File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
00:02:37.967 File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
00:02:37.967 File "<frozen importlib._bootstrap_external>", line 883, in exec_module
00:02:37.967 File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
00:02:37.967 File "/opt/ros/rolling/lib/python3.10/site-packages/building_crowdsim/building_crowdsim.py", line 34, in <module>
00:02:37.967 from .navmesh.navmesh_generator import navmesh_main
00:02:37.967 File "/opt/ros/rolling/lib/python3.10/site-packages/building_crowdsim/navmesh/navmesh_generator.py", line 4, in <module>
00:02:37.967 from .build_navmesh import BuildNavmesh
00:02:37.968 File "/opt/ros/rolling/lib/python3.10/site-packages/building_crowdsim/navmesh/build_navmesh.py", line 2, in <module>
00:02:37.968 from .polygon_factory import PolygonFactory
00:02:37.968 File "/opt/ros/rolling/lib/python3.10/site-packages/building_crowdsim/navmesh/polygon_factory.py", line 1, in <module>
00:02:37.968 from collections import Iterable
00:02:37.968 ImportError: cannot import name 'Iterable' from 'collections' (/usr/lib/python3.10/collections/__init__.py)
It looks like some iterable is used in https://github.com/open-rmf/rmf_traffic_editor/blob/main/rmf_building_map_tools/building_crowdsim/navmesh/polygon_factory.py But it's already changed so, it must be a problem with the release of rmf_building_map. The problem is that https://github.com/open-rmf/rmf_traffic_editor has not been released this time https://github.com/open-rmf/rmf/issues/246#issuecomment-1268201999
Fixing https://github.com/open-rmf/rmf/issues/246#issuecomment-1268121802
00:01:15.601 CMake Error at /opt/ros/rolling/share/nlohmann_json_schema_validator_vendor/cmake/ament_cmake_export_dependencies-extras.cmake:5 (find_package):
00:01:15.606 By not providing "Findament_cmake_libraries.cmake" in CMAKE_MODULE_PATH
00:01:15.606 this project has asked CMake to find a package configuration file provided
00:01:15.606 by "ament_cmake_libraries", but CMake did not find one.
00:01:15.606
00:01:15.606 Could not find a package configuration file provided by
00:01:15.606 "ament_cmake_libraries" with any of the following names:
00:01:15.606
00:01:15.606 ament_cmake_librariesConfig.cmake
00:01:15.606 ament_cmake_libraries-config.cmake
00:01:15.606
00:01:15.606 Add the installation prefix of "ament_cmake_libraries" to CMAKE_PREFIX_PATH
00:01:15.606 or set "ament_cmake_libraries_DIR" to a directory containing one of the
00:01:15.606 above files. If "ament_cmake_libraries" provides a separate development
00:01:15.606 package or SDK, be sure it has been installed.
00:01:15.606 Call Stack (most recent call first):
00:01:15.606 /opt/ros/rolling/share/nlohmann_json_schema_validator_vendor/cmake/nlohmann_json_schema_validator_vendorConfig.cmake:41 (include)
00:01:15.606 CMakeLists.txt:26 (find_package)
00:01:15.606
00:01:15.606
00:01:15.606 -- Configuring incomplete, errors occurred!
nlohmann_json_schema_validator_vendor
depends on ament_cmake_libraries
but not found.
Fix needed:
Releasing:
Added ament_cmake_libraries dependence.
Trying to find the way to correctly install nlohmann_json_schema_validator_vendor Need to install the files in the right place:
lib/libnlohmann_json_schema_validator.so.2.1.0
lib/libnlohmann_json_schema_validator.so.1
lib/libnlohmann_json_schema_validator.so
include/nlohmann/json-schema.hpp
bin/json-schema-validate
lib/cmake/nlohmann_json_schema_validator/nlohmann_json_schema_validatorConfig.cmake
lib/cmake/nlohmann_json_schema_validator/nlohmann_json_schema_validatorConfigVersion.cmake
lib/cmake/nlohmann_json_schema_validator/nlohmann_json_schema_validatorTargets.cmake
lib/cmake/nlohmann_json_schema_validator/nlohmann_json_schema_validatorTargets-noconfig.cmake
rmf_websocket has this problem https://build.ros2.org/job/Rbin_uJ64__rmf_websocket__ubuntu_jammy_amd64__binary/8/console#console-section-2 Related information: https://forum.openwrt.org/t/problem-with-packaging-a-cmake-based-library/121603/5 Searches https://www.google.com/search?q=_IMPORT_PREFIX&oq=_IMPORT_PREFIX&aqs=chrome..69i57j0i13i19i512l5j0i19i30j0i15i19i30j0i19i30l2.815j0j4&sourceid=chrome&ie=UTF-8
Trying to fix with:
https://github.com/open-rmf/rmf/blob/main/reports/builds.md#h
nlohmann_json_schema_validator_vendor
00:01:53.316 Invoking 'git clone --branch debian/ros-humble-rmf-demos-fleet-adapter_2.0.0-1_jammy --depth 1 --no-single-branch https://github.com/ros2-gbp/rmf_demos-release.git /tmp/sourcedeb/source'
00:01:54.873 Cloning into '/tmp/sourcedeb/source'...
00:01:54.875 fatal: Remote branch debian/ros-humble-rmf-demos-fleet-adapter_2.0.0-1_jammy not found in upstream origin
00:01:55.302 Traceback (most recent call last):
00:01:55.315 File "/tmp/ros_buildfarm/scripts/release/get_sources.py", line 21, in <module>
00:01:55.315 run_module('ros_buildfarm.scripts.release.get_sources', run_name='__main__')
00:01:55.315 File "/usr/lib/python3.10/runpy.py", line 227, in run_module
00:01:55.315 return _run_code(code, {}, init_globals, run_name, mod_spec)
00:01:55.315 File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
00:01:55.315 exec(code, run_globals)
00:01:55.315 File "/tmp/ros_buildfarm/ros_buildfarm/scripts/release/get_sources.py", line 48, in <module>
00:01:55.315 main()
00:01:55.315 File "/tmp/ros_buildfarm/ros_buildfarm/scripts/release/get_sources.py", line 42, in main
00:01:55.315 return get_sources(
00:01:55.315 File "/tmp/ros_buildfarm/ros_buildfarm/sourcedeb_job.py", line 52, in get_sources
00:01:55.315 subprocess.check_call(cmd)
00:01:55.315 File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
00:01:55.315 raise CalledProcessError(retcode, cmd)
00:01:55.315 subprocess.CalledProcessError: Command '['git', 'clone', '--branch', 'debian/ros-humble-rmf-demos-fleet-adapter_2.0.0-1_jammy', '--depth', '1', '--no-single-branch', 'https://github.com/ros2-gbp/rmf_demos-release.git', '/tmp/sourcedeb/source']' returned non-zero exit status 128.
The solution applied: re-released:
Was not previously released because of a dependence on rmf_api_msg (https://github.com/open-rmf/rmf/issues/246#issuecomment-1267990495)
Still failing: rmf_traffic_ros2
00:03:36.285 /tmp/binarydeb/ros-humble-rmf-traffic-ros2-1.4.0/src/rmf_traffic_ros2/schedule/MirrorManager.cpp:37:10: fatal error: rmf_traffic_msgs/msg/fail_over_event.hpp: No such file or directory
00:03:37.422 37 | #include <rmf_traffic_msgs/msg/fail_over_event.hpp>
00:03:37.422 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
00:03:37.422 compilation terminated.
but it's not in the current source of humble https://github.com/open-rmf/rmf_ros2/blob/humble/rmf_traffic_ros2/src/rmf_traffic_ros2/schedule/MirrorManager.cpp
rmf_ros2 was not previously released in humble because of a dependence on rmf_task https://github.com/open-rmf/rmf/issues/246#issuecomment-1267990495
Failing again:
00:06:02.405 dpkg-shlibdeps: error: cannot find library libnlohmann_json_schema_validator.so.1 needed by debian/ros-rolling-nlohmann-json-schema-validator-vendor/opt/ros/rolling/usr/local/bin/json-schema-validate (ELF format: 'elf64-x86-64' abi: '0201003e00000000'; RPATH: '')
00:06:03.517 dpkg-shlibdeps: error: cannot find library libnlohmann_json_schema_validator.so.1 needed by debian/ros-rolling-nlohmann-json-schema-validator-vendor/opt/ros/rolling/usr/local/bin/readme-json-schema (ELF format: 'elf64-x86-64' abi: '0201003e00000000'; RPATH: '')
00:06:03.538 dpkg-shlibdeps: error: cannot continue due to the errors listed above
00:06:03.547 Note: libraries are not searched in other binary packages that do not have any shlibs or symbols file.
00:06:03.547 To help dpkg-shlibdeps find private libraries, you might need to use -l.
00:06:03.547 dh_shlibdeps: error: dpkg-shlibdeps -Tdebian/ros-rolling-nlohmann-json-schema-validator-vendor.substvars -l/tmp/binarydeb/ros-rolling-nlohmann-json-schema-validator-vendor-0.1.3/debian/ros-rolling-nlohmann-json-schema-validator-vendor//opt/ros/rolling/lib/ debian/ros-rolling-nlohmann-json-schema-validator-vendor/opt/ros/rolling/usr/local/lib/libnlohmann_json_schema_validator.so.2.1.0 debian/ros-rolling-nlohmann-json-schema-validator-vendor/opt/ros/rolling/usr/local/bin/json-schema-validate debian/ros-rolling-nlohmann-json-schema-validator-vendor/opt/ros/rolling/usr/local/bin/readme-json-schema returned exit code 2
00:06:03.571 dh_shlibdeps: error: Aborting due to earlier error
00:06:03.573 make[1]: *** [debian/rules:59: override_dh_shlibdeps] Error 25
Trying to copy a different vendoring cmakelist. Using mimik as an example
Failed. Fixed config problem ament_lint_auto
with and rereleased
Re-released with this fix https://github.com/open-rmf/rmf_internal_msgs/pull/52#event-7530865216
Next report https://github.com/open-rmf/rmf/issues/251
Information source: https://github.com/open-rmf/rmf_deployment_template/blob/emartinena/builds_board/builds.md