Skip to content

Skip the make job server when using BSD make - #9676

Merged
hsbt merged 1 commit into
masterfrom
bsd-make-jobserver-skip
Jul 9, 2026
Merged

Skip the make job server when using BSD make#9676
hsbt merged 1 commit into
masterfrom
bsd-make-jobserver-skip

Conversation

@flavorjones

@flavorjones flavorjones commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

What was the end-user or developer problem that led to this PR?

Like nmake (#9630), BSD make can't parse the GNU --jobserver-auth flag in MAKEFLAGS and aborts native extension builds with:

make: argument 'observer-auth=6,7' to option '-j' must be a positive number

What is your fix for the problem, implemented in this PR?

Skip the jobserver on BSD platforms, unless gmake is explicitly being used. Similar in approach to #9630 for nmake.

Make sure the following tasks are checked

Like nmake, BSD make can't parse the GNU `--jobserver-auth` flag in
MAKEFLAGS and aborts native extension builds with:

    make: argument 'observer-auth=6,7' to option '-j' must be a positive number

Skip the jobserver on BSD platforms, unless an gmake is explicitly
being used.
@flavorjones
flavorjones requested a review from hsbt July 6, 2026 16:10
@flavorjones

Copy link
Copy Markdown
Collaborator Author

If merged, this should be backported to the release branch because 4.0.15 contains the jobserver feature.

@Edouard-chin Edouard-chin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @flavorjones !

@flavorjones flavorjones changed the title Skip the make jobserver when using BSD make Skip the make job server when using BSD make Jul 6, 2026
@flavorjones

Copy link
Copy Markdown
Collaborator Author

@hsbt Does this seems reasonable to you? If so I can backport it onto the stable branch for the next release.

@hsbt hsbt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@hsbt
hsbt merged commit 81c7eb5 into master Jul 9, 2026
110 checks passed
@hsbt
hsbt deleted the bsd-make-jobserver-skip branch July 9, 2026 23:46
hsbt added a commit that referenced this pull request Jul 10, 2026
Skip the make job server when using BSD make

(cherry picked from commit 81c7eb5)
hsbt added a commit that referenced this pull request Jul 10, 2026
Skip the make job server when using BSD make

(cherry picked from commit 81c7eb5)
hsbt added a commit that referenced this pull request Jul 10, 2026
Skip the make job server when using BSD make

(cherry picked from commit 81c7eb5)
hsbt added a commit that referenced this pull request Jul 10, 2026
Skip the make job server when using BSD make

(cherry picked from commit 81c7eb5)
ntkme added a commit to sass-contrib/sass-embedded-host-ruby that referenced this pull request Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants