-
Notifications
You must be signed in to change notification settings - Fork 146
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
Fixed jobserver not working with GNU make >= 4.2 #480
Conversation
@wjwwood I noticed that you commented on my other pull request #481, but not on this one. Did you just not find the time or are there other issues? I assumed that the build failure has nothing to do with my commit. I don't understand the error messages like "VAR2 NOT DEFINED!" and if anything, my commit could only cause catkin to build with a single processor. It could not cause this kind of build failure, or am I missing something? Could I retrigger the build bot? |
aff6b2a
to
479d526
Compare
--jobserver-fds has been renamed to --jobserver-auth. Also calling make with both --jobserver-auth and -j leads to 'warning: -jN forced in submake: disabling jobserver mode.' See https://lists.gnu.org/archive/html/info-gnu/2016-05/msg00013.html
I noticed that the build log mentioned that the build timed out. I changed the commit so the deprecated --jobserver-fds behavior still works. Strange that "make-with-auth + catkin-with-fds" simply runs single-threaded while "make-with-fds + catkin-with-auth" seems to block and do nothing oO Well ... now it works :) |
I think I was poking the CI job to see if the issue was your pr or something wrong with the CI setup. Based on what you told me, it sounds like might be a race condition? I'll try to spend some time testing it out more thoroughly but I have some other stuff to do today. |
Oh, I think (hope) that my initial pull request was buggy, but that the new version is fine :P |
@v4hn have you verified that this works with gcc 4.1 and gcc 4.2? |
have you verified that this works with gcc 4.1 and gcc 4.2?
I guess you mean `make`, not `gcc`.
No I have not, but CI did. I tested (and for the last 3 months used...) it with gnu make 4.2.1
|
You got me.
That's good to hear, we'll pull it here at honeybee for further testing on make 4.1. |
I haven't yet hit this as I'm on Xenial/Bionic in my day-to-day and gnu make 4.2+ doesn't drop until Cosmic: https://packages.ubuntu.com/search?keywords=make However, it seems like a harmless change. Should it go in? |
However, it seems like a harmless change. Should it go in?
Yes. This is still a mandatory patch to get catkin_tools working with current make packages.
|
Sounds good! Merging now, and will validate before release on Ubuntu X and Homebrew. |
--jobserver-fds has been renamed to --jobserver-auth.
Also calling make with both --jobserver-auth and -j leads to 'warning:
-jN forced in submake: disabling jobserver mode.'
See https://lists.gnu.org/archive/html/info-gnu/2016-05/msg00013.html