https://bugs.openldap.org/show_bug.cgi?id=9733
Issue ID: 9733 Summary: ppolicy.c:66:2: error: unknown type name ‘lt_dlhandle’ Product: OpenLDAP Version: 2.6.0 Hardware: All OS: All Status: UNCONFIRMED Keywords: needs_review Severity: normal Priority: --- Component: build Assignee: bugs@openldap.org Reporter: smillerdev@me.com Target Milestone: ---
On both Linux and macOS in Homebrew, there is a failure trying to compile OpenLDAP 2.6.0:
/bin/sh ../../../libtool --tag=disable-shared --mode=compile gcc-5 -g -O2 -I../../../include -I../../../include -I.. -I./.. -I./../slapi -c log.c ppolicy.c:66:2: error: unknown type name ‘lt_dlhandle’ lt_dlhandle pwdCheckHandle; /* handle from lt_dlopen */ ^
on macOS there is also an additional errror: ppolicy.c:458:4: error: initializer element is not a compile-time constant (void *)offsetof(pp_info,hash_passwords), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
See https://github.com/Homebrew/homebrew-core/pull/88036 for the full output
https://bugs.openldap.org/show_bug.cgi?id=9733
smillerdev@me.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://github.com/Homebrew | |/homebrew-core/pull/88036
https://bugs.openldap.org/show_bug.cgi?id=9733
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.6.1 Assignee|bugs@openldap.org |ondra@mistotebe.net
https://bugs.openldap.org/show_bug.cgi?id=9733
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs_review |
https://bugs.openldap.org/show_bug.cgi?id=9733
Ondřej Kuzník ondra@mistotebe.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |IN_PROGRESS Ever confirmed|0 |1
--- Comment #1 from Ondřej Kuzník ondra@mistotebe.net --- https://git.openldap.org/openldap/openldap/-/merge_requests/434 for the libltdl related compilation issue, someone with a Mac will have to look into the offsetof() error but it's possible that was a side effect of the missing type information.
https://bugs.openldap.org/show_bug.cgi?id=9733
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |TEST
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- • eb989be4 by Ondřej Kuzník at 2021-11-11T18:19:09+00:00 ITS#9733 Only use libltdl when SLAPD_MODULES is defined
https://bugs.openldap.org/show_bug.cgi?id=9733
--- Comment #3 from Quanah Gibson-Mount quanah@openldap.org --- RE26:
• e8eac6c6 by Ondřej Kuzník at 2021-11-12T21:26:37+00:00 ITS#9733 Only use libltdl when SLAPD_MODULES is defined
https://bugs.openldap.org/show_bug.cgi?id=9733
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|TEST |FIXED Status|RESOLVED |VERIFIED