https://bugs.openldap.org/show_bug.cgi?id=9307
Issue ID: 9307 Summary: --enable-<option>=mod should require --enable-modules Product: OpenLDAP Version: 2.5 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: --- Component: build Assignee: bugs@openldap.org Reporter: ryan@openldap.org Target Milestone: ---
In master/RE25,
./configure --enable-backends=mod
fails with:
checking configure arguments... configure: error: slapd requires a backend
if --enable-modules is not also specified.
In RE24, and for overlays in both versions, the specified modules get switched to static automatically, and a warning is emitted for each:
configure: WARNING: building static accesslog overlay
The behaviour was changed in issue 8224; the idea was to have it fail earlier if neither loadable module support nor any static backend was selected, but the error is not clear enough.
Quanah and I agreed that it would be better to fail with an explicit error message in this case, rather than automatically do something different than requested.
https://bugs.openldap.org/show_bug.cgi?id=9307
Ryan Tandy ryan@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.5.0 Resolution|--- |TEST Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Ryan Tandy ryan@openldap.org --- https://git.openldap.org/openldap/openldap/-/merge_requests/106
https://bugs.openldap.org/show_bug.cgi?id=9307
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- Commits: • daf3bd27 by Ryan Tandy at 2020-08-05T03:29:42+00:00 ITS#9307 --enable-<option>=mod requires --enable-modules
Provide a more specific diagnostic when configuring with --enable-<option>=mod but not --enable-modules. Make this an error for both backends and overlays, and remove the automatic fallback to static.
https://bugs.openldap.org/show_bug.cgi?id=9307
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED Resolution|TEST |FIXED