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

Build dependencies (seems) not correctly setup #2228

Closed
kirkscheper opened this issue Feb 5, 2018 · 3 comments · Fixed by #2472
Closed

Build dependencies (seems) not correctly setup #2228

kirkscheper opened this issue Feb 5, 2018 · 3 comments · Fixed by #2472
Milestone

Comments

@kirkscheper
Copy link
Member

When running a make with -j8 on an eight core machine I get the following error:

error.txt

It seems like that the dependencies of the pprzlink build is not correctly setup. I was looking into this specifically to try to speed up the travis build so that we can use as much of the build time for airframes. I took a quick look at it but not that experienced with makefiles so not too efficient at debugging. Can someone take a look at this and suggest a solution?

@podhrmic
Copy link
Member

I replicated the error. Anything beyond make -j1 triggers the error. I am not sure what can be the problem, but it would be indeed great if we could build faster.

@OpenUAS
Copy link
Contributor

OpenUAS commented Dec 19, 2018

Indeed... note that e.g. if fails on this part somewhere...
make libpprzlink -j1
works
make libpprzlink -j8
not...

somewhere around:

...
+ mv convert.o common/convert.o
mv: cannot move 'convert.o' to 'common/convert.o': No such file or directory
Command exited with code 1.
../../common/ocaml/Makefile:79: recipe for target 'byte' failed
make[2]: *** [byte] Error 10
...

Want a dirty work around?...
make -j8;make -j8; make -j8
Still the speedup and a complete build... saves you time to debug and fix the real issue 😉

@podhrmic
Copy link
Member

The workaround doesn't work for me unfortunately:-(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants