Skip to content

Weird behavior when building sys crate with multiple make jobs in docker container #573

Answered by jschwe
Christian-Prather asked this question in Q&A
Discussion options

You must be logged in to vote

make[5]: *** read jobs pipe: Resource temporarily unavailable. Stop.

You use a top-level make (generated from cmake), which spawns a make job-server.
Which make version do you have inside and outside of docker? I know something changed in make 4.4 with regards to the job server.
I believe the child make process from lib-ffi-sys will try to respect the make jobserver from the parent make, but it seems there is a problem there. This can be due to buggy make code, but I'm not a make expert, so you'll have to due some digging yourself to find out whats going wrong with the jobserver.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Christian-Prather
Comment options

Answer selected by Christian-Prather
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants