{"action":"created","issue":{"url":"https://api.github.com/repos/PX4/Firmware/issues/9390","repository_url":"https://api.github.com/repos/PX4/Firmware","labels_url":"https://api.github.com/repos/PX4/Firmware/issues/9390/labels{/name}","comments_url":"https://api.github.com/repos/PX4/Firmware/issues/9390/comments","events_url":"https://api.github.com/repos/PX4/Firmware/issues/9390/events","html_url":"https://github.com/PX4/Firmware/issues/9390","id":319160422,"number":9390,"title":"make px3fmu-v2_default failed","user":{"login":"ShawnYimPaul","id":38880381,"avatar_url":"https://avatars1.githubusercontent.com/u/38880381?v=4","gravatar_id":"","url":"https://api.github.com/users/ShawnYimPaul","html_url":"https://github.com/ShawnYimPaul","followers_url":"https://api.github.com/users/ShawnYimPaul/followers","following_url":"https://api.github.com/users/ShawnYimPaul/following{/other_user}","gists_url":"https://api.github.com/users/ShawnYimPaul/gists{/gist_id}","starred_url":"https://api.github.com/users/ShawnYimPaul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShawnYimPaul/subscriptions","organizations_url":"https://api.github.com/users/ShawnYimPaul/orgs","repos_url":"https://api.github.com/users/ShawnYimPaul/repos","events_url":"https://api.github.com/users/ShawnYimPaul/events{/privacy}","received_events_url":"https://api.github.com/users/ShawnYimPaul/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-01T09:58:45Z","updated_at":"2018-05-04T03:17:03Z","closed_at":null,"author_association":"NONE","body":"I am new to this and I just  installed ubuntu 16.04 and did something follow devpx4 site and I got problem when running make px4fmu-v2_default, here is the error that I got\r\n\r\n[2/623] Building px4io-v2\r\n[1/180] Copying NuttX config px4io-v2 and configuring\r\nFAILED: cd /home/shawn/src/Firmware/build/px4io-v2_default/NuttX/nuttx/tools && /usr/bin/cmake -E copy /home/shawn/src/Firmware/platforms/nuttx/nuttx-configs/px4io-v2/nsh/defconfig /home/shawn/src/Firmware/build/px4io-v2_default/NuttX/nuttx/.config && /usr/bin/cmake -E remove -f /home/shawn/src/Firmware/build/px4io-v2_default/NuttX/nuttx/include/nuttx/config.h && /usr/bin/cmake -E make_directory /home/shawn/src/Firmware/build/px4io-v2_default/NuttX/nuttx/configs/px4io-v2/src && cd /home/shawn/src/Firmware && cp -aRfl platforms/nuttx/nuttx-configs/px4io-v2 build/px4io-v2_default/NuttX/nuttx/configs\r\n/bin/sh: 1: cd: can't cd to /home/shawn/src/Firmware/build/px4io-v2_default/NuttX/nuttx/tools\r\nninja: build stopped: subcommand failed.\r\nMakefile:153: recipe for target 'px4io-v2_default' failed\r\nmake[1]: *** [px4io-v2_default] Error 1\r\n[3/623] Copying NuttX config px4fmu-v2 and configuring\r\nFAILED: cd /home/shawn/src/Firmware/build/px4fmu-v2_default/NuttX/nuttx/tools && /usr/bin/cmake -E copy /home/shawn/src/Firmware/platforms/nuttx/nuttx-configs/px4fmu-v2/nsh/defconfig /home/shawn/src/Firmware/build/px4fmu-v2_default/NuttX/nuttx/.config && /usr/bin/cmake -E remove -f /home/shawn/src/Firmware/build/px4fmu-v2_default/NuttX/nuttx/include/nuttx/config.h && /usr/bin/cmake -E make_directory /home/shawn/src/Firmware/build/px4fmu-v2_default/NuttX/nuttx/configs/px4fmu-v2/src && cd /home/shawn/src/Firmware && cp -aRfl platforms/nuttx/nuttx-configs/px4fmu-v2 build/px4fmu-v2_default/NuttX/nuttx/configs\r\n/bin/sh: 1: cd: can't cd to /home/shawn/src/Firmware/build/px4fmu-v2_default/NuttX/nuttx/tools\r\nFAILED: cd /home/shawn/src/Firmware && make --no-print-directory px4io-v2_default\r\n[3/623] Generating git hash header\r\nFAILED: cd /home/shawn/src/Firmware && /usr/bin/python /home/shawn/src/Firmware/src/lib/version/px_update_git_header.py /home/shawn/src/Firmware/build/px4fmu-v2_default/build_git_version.h > /home/shawn/src/Firmware/build/px4fmu-v2_default/git_header.log\r\nTraceback (most recent call last):\r\n  File \"/home/shawn/src/Firmware/src/lib/version/px_update_git_header.py\", line 30, in <module>\r\n    cwd='platforms/nuttx/NuttX/nuttx', stderr=subprocess.STDOUT).decode('utf-8').strip().replace(\"nuttx-\",\"v\")\r\n  File \"/usr/lib/python2.7/subprocess.py\", line 574, in check_output\r\n    raise CalledProcessError(retcode, cmd, output=output)\r\nsubprocess.CalledProcessError: Command '['git', 'describe', '--always', '--tags', '--match', 'nuttx-*', '--dirty']' returned non-zero exit status 128\r\nninja: build stopped: subcommand failed.\r\nMakefile:153: recipe for target 'px4fmu-v2_default' failed\r\nmake: *** [px4fmu-v2_default] Error 1\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/PX4/Firmware/issues/comments/386496542","html_url":"https://github.com/PX4/Firmware/issues/9390#issuecomment-386496542","issue_url":"https://api.github.com/repos/PX4/Firmware/issues/9390","id":386496542,"user":{"login":"mcsauder","id":2497951,"avatar_url":"https://avatars2.githubusercontent.com/u/2497951?v=4","gravatar_id":"","url":"https://api.github.com/users/mcsauder","html_url":"https://github.com/mcsauder","followers_url":"https://api.github.com/users/mcsauder/followers","following_url":"https://api.github.com/users/mcsauder/following{/other_user}","gists_url":"https://api.github.com/users/mcsauder/gists{/gist_id}","starred_url":"https://api.github.com/users/mcsauder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcsauder/subscriptions","organizations_url":"https://api.github.com/users/mcsauder/orgs","repos_url":"https://api.github.com/users/mcsauder/repos","events_url":"https://api.github.com/users/mcsauder/events{/privacy}","received_events_url":"https://api.github.com/users/mcsauder/received_events","type":"User","site_admin":false},"created_at":"2018-05-04T03:17:03Z","updated_at":"2018-05-04T03:17:03Z","author_association":"CONTRIBUTOR","body":"Hi @ShawnYimPaul , \r\n\r\nDid you initialize and update your submodules?  \r\n`git submodule update --init --recursive`\r\nNuttx is a submodule, so it might be that you simply didn't properly initialize prior to trying to build.  Hopefully this helps!\r\n\r\n-Mark"}}
{"actor":{"display_login":"mcsauder"}}