{"action":"created","issue":{"url":"https://api.github.com/repos/ncku-ros2-research/cross-compile-ros2/issues/1","repository_url":"https://api.github.com/repos/ncku-ros2-research/cross-compile-ros2","labels_url":"https://api.github.com/repos/ncku-ros2-research/cross-compile-ros2/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/ncku-ros2-research/cross-compile-ros2/issues/1/comments","events_url":"https://api.github.com/repos/ncku-ros2-research/cross-compile-ros2/issues/1/events","html_url":"https://github.com/ncku-ros2-research/cross-compile-ros2/issues/1","id":197872771,"number":1,"title":"croos-compilatation fails at example_interfaces","user":{"login":"RameezI","id":16198015,"avatar_url":"https://avatars.githubusercontent.com/u/16198015?v=3","gravatar_id":"","url":"https://api.github.com/users/RameezI","html_url":"https://github.com/RameezI","followers_url":"https://api.github.com/users/RameezI/followers","following_url":"https://api.github.com/users/RameezI/following{/other_user}","gists_url":"https://api.github.com/users/RameezI/gists{/gist_id}","starred_url":"https://api.github.com/users/RameezI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RameezI/subscriptions","organizations_url":"https://api.github.com/users/RameezI/orgs","repos_url":"https://api.github.com/users/RameezI/repos","events_url":"https://api.github.com/users/RameezI/events{/privacy}","received_events_url":"https://api.github.com/users/RameezI/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-28T15:44:12Z","updated_at":"2016-12-29T05:41:42Z","closed_at":null,"body":"I am trying to cross compile ROS2.0 alpha7 for arm using the provided rootfs and Toolchain but it  fails with following error:\r\nHost system: Ubuntu 16.04\r\nAny idea, what is causing this failure?\r\n\r\n```\r\n[ 27%] Building C object CMakeFiles/example_interfaces__rosidl_typesupport_introspection_c__pyext.dir/rosidl_generator_py/example_interfaces/msg/_large_fixed_s.c.o\r\n[ 28%] Built target example_interfaces__rosidl_typesupport_introspection_c__pyext\r\nTraceback (most recent call last):\r\n  File \"/media/rameez/Linux-Extended/cross-compile-ros2/rootfs/workspace/ros2_ws/install/lib/rosidl_typesupport_opensplice_cpp/rosidl_typesupport_opensplice_cpp\", line 60, in <module>\r\n    sys.exit(main())\r\n  File \"/media/rameez/Linux-Extended/cross-compile-ros2/rootfs/workspace/ros2_ws/install/lib/rosidl_typesupport_opensplice_cpp/rosidl_typesupport_opensplice_cpp\", line 55, in main\r\n    args.idl_pp,\r\n  File \"/media/rameez/Linux-Extended/cross-compile-ros2/rootfs/workspace/ros2_ws/install/lib/python3.5/site-packages/rosidl_typesupport_opensplice_cpp/__init__.py\", line 72, in generate_dds_opensplice_cpp\r\n    subprocess.check_call(cmd)\r\n  File \"/usr/lib/python3.5/subprocess.py\", line 576, in check_call\r\n    retcode = call(*popenargs, **kwargs)\r\n  File \"/usr/lib/python3.5/subprocess.py\", line 557, in call\r\n    with Popen(*popenargs, **kwargs) as p:\r\n  File \"/usr/lib/python3.5/subprocess.py\", line 947, in __init__\r\n    restore_signals, start_new_session)\r\n  File \"/usr/lib/python3.5/subprocess.py\", line 1551, in _execute_child\r\n    raise child_exception_type(errno_num, err_msg)\r\nOSError: [Errno 8] Exec format error\r\n\r\n\r\nCMakeFiles/example_interfaces__rosidl_typesupport_opensplice_cpp.dir/build.make:70: recipe for target 'rosidl_typesupport_opensplice_cpp/example_interfaces/msg/dds_opensplice/large_fixed__type_support.hpp' failed\r\n\r\nmake[3]: *** [rosidl_typesupport_opensplice_cpp/example_interfaces/msg/dds_opensplice/large_fixed__type_support.hpp] Error 1\r\n\r\nmake[3]: *** Deleting file 'rosidl_typesupport_opensplice_cpp/example_interfaces/msg/dds_opensplice/large_fixed__type_support.hpp'_\r\n\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ncku-ros2-research/cross-compile-ros2/issues/comments/269584543","html_url":"https://github.com/ncku-ros2-research/cross-compile-ros2/issues/1#issuecomment-269584543","issue_url":"https://api.github.com/repos/ncku-ros2-research/cross-compile-ros2/issues/1","id":269584543,"user":{"login":"shengwen1997","id":4500588,"avatar_url":"https://avatars.githubusercontent.com/u/4500588?v=3","gravatar_id":"","url":"https://api.github.com/users/shengwen1997","html_url":"https://github.com/shengwen1997","followers_url":"https://api.github.com/users/shengwen1997/followers","following_url":"https://api.github.com/users/shengwen1997/following{/other_user}","gists_url":"https://api.github.com/users/shengwen1997/gists{/gist_id}","starred_url":"https://api.github.com/users/shengwen1997/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shengwen1997/subscriptions","organizations_url":"https://api.github.com/users/shengwen1997/orgs","repos_url":"https://api.github.com/users/shengwen1997/repos","events_url":"https://api.github.com/users/shengwen1997/events{/privacy}","received_events_url":"https://api.github.com/users/shengwen1997/received_events","type":"User","site_admin":false},"created_at":"2016-12-29T05:41:42Z","updated_at":"2016-12-29T05:41:42Z","body":"I will recommend you to try the native build method because it could save you a lots of time\r\nWhat you need is to set up the swap memory space then follow the official instruction\r\nPlease check my slide at page 21:\r\nhttp://www.slideshare.net/shengwen1997/ros2-cross-compiling"}}
{"actor":{"display_login":"shengwen1997"}}