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

make px3fmu-v2_default failed #9390

Closed
ShawnYimPaul opened this issue May 1, 2018 · 1 comment
Closed

make px3fmu-v2_default failed #9390

ShawnYimPaul opened this issue May 1, 2018 · 1 comment
Labels
Admin: More Information Needed Documentation 📑 Anything improving the documentation of the code / ecosystem

Comments

@ShawnYimPaul
Copy link

ShawnYimPaul commented May 1, 2018

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

[2/623] Building px4io-v2
[1/180] Copying NuttX config px4io-v2 and configuring
FAILED: 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
/bin/sh: 1: cd: can't cd to /home/shawn/src/Firmware/build/px4io-v2_default/NuttX/nuttx/tools
ninja: build stopped: subcommand failed.
Makefile:153: recipe for target 'px4io-v2_default' failed
make[1]: *** [px4io-v2_default] Error 1
[3/623] Copying NuttX config px4fmu-v2 and configuring
FAILED: 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
/bin/sh: 1: cd: can't cd to /home/shawn/src/Firmware/build/px4fmu-v2_default/NuttX/nuttx/tools
FAILED: cd /home/shawn/src/Firmware && make --no-print-directory px4io-v2_default
[3/623] Generating git hash header
FAILED: 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
Traceback (most recent call last):
File "/home/shawn/src/Firmware/src/lib/version/px_update_git_header.py", line 30, in
cwd='platforms/nuttx/NuttX/nuttx', stderr=subprocess.STDOUT).decode('utf-8').strip().replace("nuttx-","v")
File "/usr/lib/python2.7/subprocess.py", line 574, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['git', 'describe', '--always', '--tags', '--match', 'nuttx-*', '--dirty']' returned non-zero exit status 128
ninja: build stopped: subcommand failed.
Makefile:153: recipe for target 'px4fmu-v2_default' failed
make: *** [px4fmu-v2_default] Error 1

@mcsauder
Copy link
Contributor

mcsauder commented May 4, 2018

Hi @ShawnYimPaul ,

Did you initialize and update your submodules?
git submodule update --init --recursive
Nuttx is a submodule, so it might be that you simply didn't properly initialize prior to trying to build. Hopefully this helps!

-Mark

@dagar dagar added Documentation 📑 Anything improving the documentation of the code / ecosystem Admin: More Information Needed labels May 4, 2018
@dagar dagar closed this as completed May 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Admin: More Information Needed Documentation 📑 Anything improving the documentation of the code / ecosystem
Projects
None yet
Development

No branches or pull requests

3 participants