Skip to content
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

Benchmark builds fail to build on the first clean bulid rosidl_generator_py when rosidl_typesupport_protobuf is present #22

Open
tfoote opened this issue Feb 16, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@tfoote
Copy link
Owner

tfoote commented Feb 16, 2024

The following error occurs in rosidl_generator_py when this repository is present. I found this when generating the benchmark for #21

If you build it a second time it will pass.

My workaround is in tfoote/build_benchmark@dde2d6b

This is the failure:

Starting >>> rosidl_generator_py
--- stderr: rosidl_generator_py
CMake Error at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE)
Call Stack (most recent call first):
  /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.22/Modules/FindPythonInterp.cmake:169 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  /tmp/benchmark/protobuf.repos-src/install/rosidl_adapter_proto/share/rosidl_adapter_proto/cmake/rosidl_adapt_proto_interfaces.cmake:19 (find_package)
  /tmp/benchmark/protobuf.repos-src/install/rosidl_adapter_proto/share/rosidl_adapter_proto/cmake/rosidl_adapter_proto-extras.cmake:31 (include)
  /tmp/benchmark/protobuf.repos-src/install/rosidl_adapter_proto/share/rosidl_adapter_proto/cmake/rosidl_adapter_protoConfig.cmake:41 (include)
  /tmp/benchmark/protobuf.repos-src/install/rosidl_typesupport_protobuf_c/share/rosidl_typesupport_protobuf_c/cmake/rosidl_typesupport_protobuf_c_generate_interfaces.cmake:21 (find_package)
  /tmp/benchmark/protobuf.repos-src/install/ament_cmake_core/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:48 (include)
  /tmp/benchmark/protobuf.repos-src/install/rosidl_cmake/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:280 (ament_execute_extensions)
  CMakeLists.txt:50 (rosidl_generate_interfaces)


---
Failed   <<< rosidl_generator_py [3.32s, exited with code 1]

Summary: 88 packages finished [4min 14s]
  1 package failed: rosidl_generator_py
  24 packages had stderr output: ament_copyright ament_cppcheck ament_cpplint ament_flake8 ament_index_python ament_lint ament_lint_cmake ament_mypy ament_package ament_pep257 ament_pycodestyle ament_uncrustify ament_xmllint domain_coordinator google_benchmark_vendor launch launch_testing launch_xml launch_yaml osrf_pycommon rosidl_cli rosidl_generator_py rosidl_pycommon rpyutils
  21 packages not processed
@tfoote tfoote added the bug Something isn't working label Feb 16, 2024
@tfoote
Copy link
Owner Author

tfoote commented Feb 16, 2024

This may be obsolete after #17 is reimplemented.

@gonzodepedro
Copy link
Collaborator

This may be fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants