Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
davidhodo@ubuntu:~/devel/idl_test_ws$ cat log/latest_build/idl_msgs/streams.log
Invoking command in '/home/davidhodo/devel/idl_test_ws/build/idl_msgs': BYOBU_DATE=%Y-%m-%d CMAKE_PREFIX_PATH=/opt/ros/dashing SHLVL=4 _=/usr/bin/env /usr/bin/cmake /home/davidhod$
/devel/idl_test_ws/src/idl_msgs -DCMAKE_INSTALL_PREFIX=/home/davidhodo/devel/idl_test_ws/install/idl_msgs
-- Found ament_cmake: 0.7.3 (/opt/ros/dashing/share/ament_cmake/cmake)
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.6.7", minimum required is "3")
-- Using PYTHON_EXECUTABLE: /usr/bin/python3
-- Found rosidl_default_generators: 0.7.0 (/opt/ros/dashing/share/rosidl_default_generators/cmake)
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.1.0g")
-- Found FastRTPS: /opt/ros/dashing/include
-- Found rosidl_adapter: 0.7.3 (/opt/ros/dashing/share/rosidl_adapter/cmake)
-- Found PrismTech OpenSplice: /usr/share/opensplice/cmake
-- Using all available rosidl_typesupport_c: rosidl_typesupport_fastrtps_c;rosidl_typesupport_introspection_c;rosidl_typesupport_opensplice_c
-- Found ament_cmake_cppcheck: 0.7.3 (/opt/ros/dashing/share/ament_cmake_cppcheck/cmake)
-- Found ament_cmake_cpplint: 0.7.3 (/opt/ros/dashing/share/ament_cmake_cpplint/cmake)
-- Found ament_cmake_uncrustify: 0.7.3 (/opt/ros/dashing/share/ament_cmake_uncrustify/cmake)
-- Using all available rosidl_typesupport_cpp: rosidl_typesupport_fastrtps_cpp;rosidl_typesupport_introspection_cpp;rosidl_typesupport_opensplice_cpp
-- Found rmw_implementation_cmake: 0.7.1 (/opt/ros/dashing/share/rmw_implementation_cmake/cmake)
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.6.7", minimum required is "3.5")
-- Found python_cmake_module: 0.7.6 (/opt/ros/dashing/share/python_cmake_module/cmake)
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.6m.so (found suitable version "3.6.7", minimum required is "3.5")
-- Using PYTHON_EXECUTABLE: /usr/bin/python3 -- Using PYTHON_INCLUDE_DIRS: /usr/include/python3.6m
-- Using PYTHON_LIBRARIES: /usr/lib/x86_64-linux-gnu/libpython3.6m.so
-- Found PythonExtra: .so
-- Found ament_cmake_flake8: 0.7.3 (/opt/ros/dashing/share/ament_cmake_flake8/cmake)
-- Found ament_cmake_pep257: 0.7.3 (/opt/ros/dashing/share/ament_cmake_pep257/cmake)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/davidhodo/devel/idl_test_ws/build/idl_msgs
Invoked command in '/home/davidhodo/devel/idl_test_ws/build/idl_msgs' returned '0': BYOBU_DATE=%Y-%m-%d CMAKE_PREFIX_PATH=/opt/ros/dashing SHLVL=4 _=/usr/bin/env /usr/bin/cmake /h$
me/davidhodo/devel/idl_test_ws/src/idl_msgs -DCMAKE_INSTALL_PREFIX=/home/davidhodo/devel/idl_test_ws/install/idl_msgs
Invoking command in '/home/davidhodo/devel/idl_test_ws/build/idl_msgs': BYOBU_DATE=%Y-%m-%d CMAKE_PREFIX_PATH=/opt/ros/dashing SHLVL=4 _=/usr/bin/env /usr/bin/cmake --build /home/$
avidhodo/devel/idl_test_ws/build/idl_msgs -- -j6 -l6
Scanning dependencies of target idl_msgs__dds_opensplice_idl
Scanning dependencies of target idl_msgs__cpp
[ 2%] Generating C code for ROS interfaces
[ 4%] Generating C++ code for ROS interfaces
[ 6%] Generating DDS interfaces
AssertionError in template '/opt/ros/dashing/share/rosidl_generator_cpp/cmake/../resource/msg__struct.hpp.em': unknown primitive type 'long double'
AssertionError when expanding 'idl__struct.hpp.em' into '/home/davidhodo/devel/idl_test_ws/build/idl_msgs/rosidl_generator_cpp/idl_msgs/idl/my_message__struct.hpp': unknown primit$
ve type 'long double'
Error processing idl file: /home/davidhodo/devel/idl_test_ws/src/idl_msgs/idl/MyMessage.idl
TypeError in template '/opt/ros/dashing/share/rosidl_generator_dds_idl/resource/msg.idl.em': %d format: a number is required, not str
TypeError when expanding 'idl.idl.em' into '/home/davidhodo/devel/idl_test_ws/build/idl_msgs/rosidl_generator_dds_idl/idl_msgs/idl/dds_opensplice/MyMessage_.idl': %d format: a numb
er is required, not str
Error processing idl file: /home/davidhodo/devel/idl_test_ws/src/idl_msgs/idl/MyMessage.idl
Traceback (most recent call last):
Traceback (most recent call last):
File "/opt/ros/dashing/lib/rosidl_generator_dds_idl/rosidl_generator_dds_idl", line 41, in <module>
File "/opt/ros/dashing/share/rosidl_generator_cpp/cmake/../../../lib/rosidl_generator_cpp/rosidl_generator_cpp", line 40, in <module>
sys.exit(main())
File "/opt/ros/dashing/share/rosidl_generator_cpp/cmake/../../../lib/rosidl_generator_cpp/rosidl_generator_cpp", line 35, in main
sys.exit(main())
File "/opt/ros/dashing/lib/rosidl_generator_dds_idl/rosidl_generator_dds_idl", line 36, in main
args.generator_arguments_file,
File "/opt/ros/dashing/lib/python3.6/site-packages/rosidl_generator_cpp/__init__.py", line 37, in generate_cpp
generate_files(generator_arguments_file, mapping)
File "/opt/ros/dashing/lib/python3.6/site-packages/rosidl_cmake/__init__.py", line 90, in generate_files
args.additional_service_templates,
raise(e)
File "/opt/ros/dashing/lib/python3.6/site-packages/rosidl_cmake/__init__.py", line 85, in generate_files
File "/opt/ros/dashing/lib/python3.6/site-packages/rosidl_generator_dds_idl/__init__.py", line 51, in generate_dds_idl
template_basepath=template_basepath)
File "/opt/ros/dashing/lib/python3.6/site-packages/rosidl_cmake/__init__.py", line 144, in expand_template
interpreter.string(template_content, template_path, locals=data)
generate_files(generator_arguments_file, mapping, additional_context, keep_case=True)
File "/opt/ros/dashing/lib/python3.6/site-packages/rosidl_cmake/__init__.py", line 90, in generate_files
File "/usr/lib/python3/dist-packages/em.py", line 2391, in string
raise(e)
File "/opt/ros/dashing/lib/python3.6/site-packages/rosidl_cmake/__init__.py", line 85, in generate_files
template_basepath=template_basepath)
File "/opt/ros/dashing/lib/python3.6/site-packages/rosidl_cmake/__init__.py", line 144, in expand_template
interpreter.string(template_content, template_path, locals=data)
File "/usr/lib/python3/dist-packages/em.py", line 2391, in string
self.safe(scanner, True, locals)
File "/usr/lib/python3/dist-packages/em.py", line 2401, in safe
self.safe(scanner, True, locals)
File "/usr/lib/python3/dist-packages/em.py", line 2401, in safe
self.parse(scanner, locals)
File "/usr/lib/python3/dist-packages/em.py", line 2421, in parse
self.parse(scanner, locals)
File "/usr/lib/python3/dist-packages/em.py", line 2421, in parse
token.run(self, locals)
File "/usr/lib/python3/dist-packages/em.py", line 1547, in run
token.run(self, locals)
File "/usr/lib/python3/dist-packages/em.py", line 1425, in run
self.subrun(info[0][1], interpreter, locals)
File "/usr/lib/python3/dist-packages/em.py", line 1631, in subrun
interpreter.execute(self.code, locals)
File "/usr/lib/python3/dist-packages/em.py", line 2595, in execute
token.run(interpreter, locals)
File "/usr/lib/python3/dist-packages/em.py", line 1425, in run
_exec(statements, self.globals, locals)
File "<string>", line 7, in <module>
File "/opt/ros/dashing/lib/python3.6/site-packages/rosidl_cmake/__init__.py", line 190, in _expand_template
interpreter.execute(self.code, locals)
File "/usr/lib/python3/dist-packages/em.py", line 2595, in execute
interpreter.string(content, str(template_path), kwargs)
File "/usr/lib/python3/dist-packages/em.py", line 2391, in string
_exec(statements, self.globals, locals)
self.safe(scanner, True, locals) File "<string>", line 5, in <module>
File "/usr/lib/python3/dist-packages/em.py", line 2401, in safe
File "/opt/ros/dashing/lib/python3.6/site-packages/rosidl_cmake/__init__.py", line 190, in _expand_template
interpreter.string(content, str(template_path), kwargs)
File "/usr/lib/python3/dist-packages/em.py", line 2391, in string
self.parse(scanner, locals)
File "/usr/lib/python3/dist-packages/em.py", line 2421, in parse
self.safe(scanner, True, locals)
File "/usr/lib/python3/dist-packages/em.py", line 2401, in safe
token.run(self, locals)
File "/usr/lib/python3/dist-packages/em.py", line 1547, in run
self.parse(scanner, locals)
File "/usr/lib/python3/dist-packages/em.py", line 2421, in parse
self.subrun(info[0][1], interpreter, locals)
File "/usr/lib/python3/dist-packages/em.py", line 1631, in subrun
token.run(interpreter, locals)
token.run(self, locals)
File "/usr/lib/python3/dist-packages/em.py", line 1527, in run
File "/usr/lib/python3/dist-packages/em.py", line 1425, in run
interpreter.execute(self.code, locals)
File "/usr/lib/python3/dist-packages/em.py", line 2595, in execute
self.subrun(subtokens, interpreter, locals)
File "/usr/lib/python3/dist-packages/em.py", line 1631, in subrun
token.run(interpreter, locals)
File "/usr/lib/python3/dist-packages/em.py", line 1333, in run
_exec(statements, self.globals, locals)
File "<string>", line 7, in <module>
File "/opt/ros/dashing/lib/python3.6/site-packages/rosidl_generator_cpp/__init__.py", line 312, in create_init_alloc_and_member_lists
result = interpreter.evaluate(self.testCode, locals)
File "/usr/lib/python3/dist-packages/em.py", line 2572, in evaluate
member.zero_value = primitive_value_to_cpp(field.type, default)
File "/opt/ros/dashing/lib/python3.6/site-packages/rosidl_generator_cpp/__init__.py", line 214, in primitive_value_to_cpp
assert False, "unknown primitive type '%s'" % type_.typename
AssertionError: unknown primitive type 'long double'
result = eval(expression, self.globals, locals)
File "<string>", line 1, in <module>
File "/opt/ros/dashing/lib/python3.6/site-packages/rosidl_typesupport_opensplice_cpp/rosidl_generator_dds_idl_extension.py", line 24, in idl_typename
typename = default_idl_typename(type_)
File "/opt/ros/dashing/lib/python3.6/site-packages/rosidl_generator_dds_idl/__init__.py", line 86, in idl_typename
typename += '<%d>' % (type_.maximum_size)
TypeError: %d format: a number is required, not str
Scanning dependencies of target idl_msgs__rosidl_generator_c
Exception ignored in: <bound method Interpreter.__del__ of <empy pseudomodule/interpreter at 0x7f83872c8160>>
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/em.py", line 2094, in __del__
File "/usr/lib/python3/dist-packages/em.py", line 2157, in shutdown
File "/usr/lib/python3/dist-packages/em.py", line 2646, in finalize
File "/usr/lib/python3/dist-packages/em.py", line 2200, in push
AttributeError: '_io.TextIOWrapper' object has no attribute 'push'
Exception ignored in: <bound method Interpreter.__del__ of <empy pseudomodule/interpreter at 0x7f2b52a50be0>>
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/em.py", line 2094, in __del__
File "/usr/lib/python3/dist-packages/em.py", line 2157, in shutdown
File "/usr/lib/python3/dist-packages/em.py", line 2646, in finalize
File "/usr/lib/python3/dist-packages/em.py", line 2200, in push
AttributeError: '_io.TextIOWrapper' object has no attribute 'push'
[ 8%] Building C object CMakeFiles/idl_msgs__rosidl_generator_c.dir/rosidl_generator_c/idl_msgs/idl/my_message__functions.c.o
make[2]: *** [rosidl_generator_dds_idl/idl_msgs/idl/dds_opensplice/MyMessage_.idl] Error 1
CMakeFiles/idl_msgs__dds_opensplice_idl.dir/build.make:68: recipe for target 'rosidl_generator_dds_idl/idl_msgs/idl/dds_opensplice/MyMessage_.idl' failed
CMakeFiles/Makefile2:483: recipe for target 'CMakeFiles/idl_msgs__dds_opensplice_idl.dir/all' failed
make[1]: *** [CMakeFiles/idl_msgs__dds_opensplice_idl.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: *** [rosidl_generator_cpp/idl_msgs/idl/my_message.hpp] Error 1
make[2]: *** Deleting file 'rosidl_generator_cpp/idl_msgs/idl/my_message.hpp'
make[1]: *** [CMakeFiles/idl_msgs__cpp.dir/all] Error 2
CMakeFiles/idl_msgs__cpp.dir/build.make:72: recipe for target 'rosidl_generator_cpp/idl_msgs/idl/my_message.hpp' failed
CMakeFiles/Makefile2:412: recipe for target 'CMakeFiles/idl_msgs__cpp.dir/all' failed
In file included from /home/davidhodo/devel/idl_test_ws/build/idl_msgs/rosidl_generator_c/idl_msgs/idl/my_message__functions.h:19:0,
from /home/davidhodo/devel/idl_test_ws/build/idl_msgs/rosidl_generator_c/idl_msgs/idl/my_message__functions.c:4:
/home/davidhodo/devel/idl_test_ws/build/idl_msgs/rosidl_generator_c/idl_msgs/idl/my_message__struct.h:71:84: error: ‘UNSIGNED_LONG_CONSTANT’ undeclared here (not in a function)
rosidl_parser__msg__MyMessage__constant_bounded_wstring_value__MAX_STRING_SIZE = UNSIGNED_LONG_CONSTANT
^~~~~~~~~~~~~~~~~~~~~~
CMakeFiles/idl_msgs__rosidl_generator_c.dir/build.make:91: recipe for target 'CMakeFiles/idl_msgs__rosidl_generator_c.dir/rosidl_generator_c/idl_msgs/idl/my_message__functions.c.o' failed
make[2]: *** [CMakeFiles/idl_msgs__rosidl_generator_c.dir/rosidl_generator_c/idl_msgs/idl/my_message__functions.c.o] Error 1
CMakeFiles/Makefile2:110: recipe for target 'CMakeFiles/idl_msgs__rosidl_generator_c.dir/all' failed
make[1]: *** [CMakeFiles/idl_msgs__rosidl_generator_c.dir/all] Error 2
make: *** [all] Error 2
Makefile:140: recipe for target 'all' failed
Invoked command in '/home/davidhodo/devel/idl_test_ws/build/idl_msgs' returned '2': BYOBU_DATE=%Y-%m-%d CMAKE_PREFIX_PATH=/opt/ros/dashing SHLVL=4 _=/usr/bin/env /usr/bin/cmake --build /home/davidhodo/devel/idl_test_ws/build/idl_msgs -- -j6 -l6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.