https://bugs.openldap.org/show_bug.cgi?id=9484
Issue ID: 9484 Summary: contrib passwd modules fail to build Product: OpenLDAP Version: 2.5 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: --- Component: contrib Assignee: bugs@openldap.org Reporter: ryan@openldap.org Target Milestone: ---
../../../libtool --mode=compile gcc -g -O2 -Wall -I../../../include -I../../../include -I../../../servers/slapd -c kerberos.c libtool: compile: gcc -g -O2 -Wall -I../../../include -I../../../include -I../../../servers/slapd -c kerberos.c -fPIC -DPIC -o .libs/kerberos.o In file included from kerberos.c:20: ../../../include/lutil.h:356:18: error: field ‘sa_addr’ has incomplete type 356 | struct sockaddr sa_addr; | ^~~~~~~ ../../../include/lutil.h:357:21: error: field ‘sa_in_addr’ has incomplete type 357 | struct sockaddr_in sa_in_addr; | ^~~~~~~~~~ make: *** [Makefile:34: kerberos.lo] Error 1
../../../libtool --mode=compile gcc -g -O2 -Wall -I../../../include -I../../../include -I../../../servers/slapd -c netscape.c libtool: compile: gcc -g -O2 -Wall -I../../../include -I../../../include -I../../../servers/slapd -c netscape.c -fPIC -DPIC -o .libs/netscape.o In file included from netscape.c:20: ../../../include/lutil.h:356:18: error: field ‘sa_addr’ has incomplete type 356 | struct sockaddr sa_addr; | ^~~~~~~ ../../../include/lutil.h:357:21: error: field ‘sa_in_addr’ has incomplete type 357 | struct sockaddr_in sa_in_addr; | ^~~~~~~~~~ make: *** [Makefile:34: netscape.lo] Error 1
../../../libtool --mode=compile gcc -g -O2 -Wall -I../../../include -I../../../include -I../../../servers/slapd -c apr1.c libtool: compile: gcc -g -O2 -Wall -I../../../include -I../../../include -I../../../servers/slapd -c apr1.c -fPIC -DPIC -o .libs/apr1.o In file included from ../../../include/lutil.h:21, from apr1.c:23: ../../../include/ac/socket.h:233:46: error: unknown type name ‘uid_t’ 233 | LDAP_LUTIL_F( int ) lutil_getpeereid( int s, uid_t *, gid_t * ); | ^~~~~ ../../../include/ac/socket.h:233:55: error: unknown type name ‘gid_t’ 233 | LDAP_LUTIL_F( int ) lutil_getpeereid( int s, uid_t *, gid_t * ); | ^~~~~ In file included from apr1.c:23: ../../../include/lutil.h:356:18: error: field ‘sa_addr’ has incomplete type 356 | struct sockaddr sa_addr; | ^~~~~~~ ../../../include/lutil.h:357:21: error: field ‘sa_in_addr’ has incomplete type 357 | struct sockaddr_in sa_in_addr; | ^~~~~~~~~~ make: *** [Makefile:34: apr1.lo] Error 1
Patch is coming.
https://bugs.openldap.org/show_bug.cgi?id=9484
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.5.3
https://bugs.openldap.org/show_bug.cgi?id=9484
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |IN_PROGRESS Ever confirmed|0 |1
--- Comment #1 from Quanah Gibson-Mount quanah@openldap.org --- https://git.openldap.org/openldap/openldap/-/merge_requests/258
https://bugs.openldap.org/show_bug.cgi?id=9484
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- Commits: • 455dd54b by Ryan Tandy at 2021-03-02T20:51:09+00:00 ITS#9484 Include portable.h in contrib passwd modules
https://bugs.openldap.org/show_bug.cgi?id=9484
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED