tried building voxl-ros2-foxy package. I thought maybe there's an issue with installing it from install_build_dependencies.sh so I was going to build it then clone the voxl-mpa-to-ros2 project from within the docker container to try to build it. Got same error 20 min into build...
Starting >>> rosidl_generator_c
Starting >>> rosidl_typesupport_introspection_c
--- stderr: rosidl_generator_c
CMake Error at /opt/ros/foxy/share/rosidl_adapter/cmake/rosidl_adapt_interfaces.cmake:60 (message):
execute_process(/usr/bin/python3 -m rosidl_adapter --package-name
rosidl_generator_c --arguments-file
/opt/ros/foxy-src/build/rosidl_generator_c/rosidl_adapter__arguments__rosidl_generator_c_interfaces.json
--output-dir
/opt/ros/foxy-src/build/rosidl_generator_c/rosidl_adapter/rosidl_generator_c
--output-file
/opt/ros/foxy-src/build/rosidl_generator_c/rosidl_adapter/rosidl_generator_c_interfaces.idls)
returned error code 1:
AttributeError processing template 'msg.idl.em'
Traceback (most recent call last):
File "/opt/ros/foxy/lib/python3.6/site-packages/rosidl_adapter/resource/__init__.py", line 51, in evaluate_template
em.BUFFERED_OPT: True,
AttributeError: module 'em' has no attribute 'BUFFERED_OPT'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/opt/ros/foxy/lib/python3.6/site-packages/rosidl_adapter/__main__.py", line 19, in <module>
sys.exit(main())
File "/opt/ros/foxy/lib/python3.6/site-packages/rosidl_adapter/main.py", line 55, in main
pathlib.Path(relative_path), output_dir)
File "/opt/ros/foxy/lib/python3.6/site-packages/rosidl_adapter/__init__.py", line 20, in convert_to_idl
package_dir, package_name, interface_file, output_dir / 'msg')
File "/opt/ros/foxy/lib/python3.6/site-packages/rosidl_adapter/msg/__init__.py", line 39, in convert_msg_to_idl
expand_template('msg.idl.em', data, output_file, encoding='iso-8859-1')
File "/opt/ros/foxy/lib/python3.6/site-packages/rosidl_adapter/resource/__init__.py", line 23, in expand_template
content = evaluate_template(template_name, data)
File "/opt/ros/foxy/lib/python3.6/site-packages/rosidl_adapter/resource/__init__.py", line 69, in evaluate_template
_interpreter.shutdown()
AttributeError: 'NoneType' object has no attribute 'shutdown'
Call Stack (most recent call first):
/opt/ros/foxy/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:130 (rosidl_adapt_interfaces)
CMakeLists.txt:46 (rosidl_generate_interfaces)
---
Failed <<< rosidl_generator_c [29.5s, exited with code 1]
^ this was using dev branches and dependencies. Built inside qrb5165-emulator docker image v1.5
Again, I did all this months ago with sdk-1.1 version of everything and had no issues.
I was building voxl-ros2-foxy tag sdk-1.3.0 in a separate container as well. It looks like the build finished without errors, but when I run ./make_package.sh deb I get the following output"
qrb5165-emulator:~((sdk-1.2.0))(0.0.1)$ ./make_package.sh deb
Package Name: voxl-ros2-foxy
version Number: 0.0.1
Unknown host QEMU_IFLA type: 54
Unknown host QEMU_IFLA type: 32820
Unknown host QEMU_IFLA type: 56
Unknown host QEMU_IFLA type: 57
Unknown host QEMU_IFLA type: 54
Unknown host QEMU_IFLA type: 32820
Unknown host QEMU_IFLA type: 56
Unknown host QEMU_IFLA type: 57
run build before make_package
I don't know where I'm supposed to run build from after already running the ./build.sh script
^also thought it was weird that the tag is being displayed as (sdk-1.2.0). I cloned the gitlab repo with option "-b sdk-1.3.0"