https://bugs.openldap.org/show_bug.cgi?id=9788
Issue ID: 9788 Summary: make warns about disabling/resetting jobserver Product: OpenLDAP Version: 2.6.1 Hardware: All OS: Linux Status: UNCONFIRMED Keywords: needs_review Severity: normal Priority: --- Component: build Assignee: bugs@openldap.org Reporter: orgads@gmail.com Target Milestone: ---
Running make -j8 issues the following warning for each directory with make 4.3: make[2]: warning: -j8 forced in submake: resetting jobserver mode.
with make 4.2.1: make[3]: warning: -jN forced in submake: disabling jobserver mode.
With make 3.82 there is no warning, but the jobserver flags are duplicated for each nested directory. e.g.: cd back-monitor && make -w --jobserver-fds=3,4 - --jobserver-fds=3,4 - --jobserver-fds=3,4 - --jobserver-fds=3,4 -j all
On my env this is fixed by removing all the occurrences of $(MFLAGS) from build/dir.mk. MFLAGS is picked up by make when it exists, and there is no need to pass it explicitly.
https://bugs.openldap.org/show_bug.cgi?id=9788
Howard Chu hyc@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs_review | Ever confirmed|0 |1 Status|UNCONFIRMED |IN_PROGRESS
--- Comment #1 from Howard Chu hyc@openldap.org --- https://git.openldap.org/openldap/openldap/-/merge_requests/484
https://bugs.openldap.org/show_bug.cgi?id=9788
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.5.12
https://bugs.openldap.org/show_bug.cgi?id=9788
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|IN_PROGRESS |RESOLVED
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- head:
• a4ed858e by Orgad Shaneh at 2022-01-25T21:23:44+00:00 ITS#9788 Fix make jobserver warnings
RE26:
• 8e3f87f8 by Orgad Shaneh at 2022-01-31T20:03:42+00:00 ITS#9788 Fix make jobserver warnings
RE25:
• 79ef675f by Orgad Shaneh at 2022-02-02T17:10:37+00:00 ITS#9788 Fix make jobserver warnings
https://bugs.openldap.org/show_bug.cgi?id=9788
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED