=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for nss_ldap-265nb7 /bin/cp /usr/pkgsrc/databases/nss_ldap/files/netbsd.c /usr/pkgsrc/databases/nss_ldap/files/netbsd.h /usr/pkgsrc/databases/nss_ldap/files/freebsd.c /usr/pkgsrc/work/databases/nss_ldap/work/nss_ldap-265 /bin/ln -fs /usr/include/nsswitch.h /usr/pkgsrc/work/databases/nss_ldap/work/.buildlink/include/nss.h /usr/pkg/bin/gmake all-am gmake[1]: Entering directory '/usr/pkgsrc/work/databases/nss_ldap/work/nss_ldap-265' if cc -DHAVE_CONFIG_H -I. -I. -I. -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -I/usr/pkg/include -O2 -march=i586 -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -Wall -fPIC -MT ldap-nss.o -MD -MP -MF ".deps/ldap-nss.Tpo" -c -o ldap-nss.o ldap-nss.c; \ then mv -f ".deps/ldap-nss.Tpo" ".deps/ldap-nss.Po"; else rm -f ".deps/ldap-nss.Tpo"; exit 1; fi In file included from ldap-nss.c:92: ./ldap-nss.h:654:22: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] typedef NSS_STATUS (*parser_t) (LDAPMessage *, ldap_state_t *, void *, ^ ./ldap-nss.h:654:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] typedef NSS_STATUS (*parser_t) (LDAPMessage *, ldap_state_t *, void *, ~~~~~~~ ^ ./ldap-nss.h:654:20: error: function cannot return function type 'int (LDAPMessage *, ldap_state_t *, void *, char *, size_t)' typedef NSS_STATUS (*parser_t) (LDAPMessage *, ldap_state_t *, void *, ^ ./ldap-nss.h:787:31: error: function cannot return function type 'NSS_STATUS' (aka 'int (int *)') NSS_STATUS _nss_ldap_search_s (const ldap_args_t * args, /* IN */ ^ ./ldap-nss.h:797:29: error: function cannot return function type 'NSS_STATUS' (aka 'int (int *)') NSS_STATUS _nss_ldap_search (const ldap_args_t * args, /* IN */ ^ ./ldap-nss.h:808:27: error: function cannot return function type 'NSS_STATUS' (aka 'int (int *)') NSS_STATUS _nss_ldap_read (const char *dn, /* IN */ ^ ./ldap-nss.h:825:5: error: unknown type name 'parser_t' parser_t parser /* IN */ ); ^ ./ldap-nss.h:816:32: error: function cannot return function type 'NSS_STATUS' (aka 'int (int *)') NSS_STATUS _nss_ldap_getent_ex (ldap_args_t * args, /* IN */ ^ ./ldap-nss.h:838:9: error: unknown type name 'parser_t' parser_t parser /* IN */ ); ^ ./ldap-nss.h:831:29: error: function cannot return function type 'NSS_STATUS' (aka 'int (int *)') NSS_STATUS _nss_ldap_getent (ent_context_t ** key, /* IN/OUT */ ^ ./ldap-nss.h:850:5: error: unknown type name 'parser_t' parser_t parser /* IN */ ); ^ ./ldap-nss.h:843:32: error: function cannot return function type 'NSS_STATUS' (aka 'int (int *)') NSS_STATUS _nss_ldap_getbyname (ldap_args_t * args, /* IN/OUT */ ^ ./ldap-nss.h:853:38: error: function cannot return function type 'NSS_STATUS' (aka 'int (int *)') NSS_STATUS _nss_ldap_assign_attrvals (LDAPMessage * e, /* IN */ ^ ./ldap-nss.h:861:37: error: function cannot return function type 'NSS_STATUS' (aka 'int (int *)') NSS_STATUS _nss_ldap_assign_attrval (LDAPMessage * e, /* IN */ ^ ./ldap-nss.h:870:42: error: function cannot return function type 'NSS_STATUS' (aka 'int (int *)') NSS_STATUS _nss_ldap_assign_userpassword (LDAPMessage * e, /* IN */ ^ ./ldap-nss.h:876:31: error: function cannot return function type 'NSS_STATUS' (aka 'int (int *)') NSS_STATUS _nss_ldap_oc_check (LDAPMessage * e, const char *oc); ^ ./ldap-nss.h:878:33: error: function cannot return function type 'NSS_STATUS' (aka 'int (int *)') NSS_STATUS _nss_ldap_shadow_date(const char *val, long default_date, ^ ./ldap-nss.h:886:30: error: function cannot return function type 'NSS_STATUS' (aka 'int (int *)') NSS_STATUS _nss_ldap_map_put (ldap_config_t * config, ^ ./ldap-nss.h:891:30: error: function cannot return function type 'NSS_STATUS' (aka 'int (int *)') NSS_STATUS _nss_ldap_map_get (ldap_config_t * config, ^ ./ldap-nss.h:916:33: error: function cannot return function type 'NSS_STATUS' (aka 'int (int *)') NSS_STATUS _nss_ldap_proxy_bind (const char *user, const char *password); ^ ./ldap-nss.h:918:27: error: function cannot return function type 'NSS_STATUS' (aka 'int (int *)') NSS_STATUS _nss_ldap_init (void); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 2 warnings and 20 errors generated. Makefile:337: recipe for target 'ldap-nss.o' failed gmake[1]: *** [ldap-nss.o] Error 1 gmake[1]: Leaving directory '/usr/pkgsrc/work/databases/nss_ldap/work/nss_ldap-265' Makefile:239: recipe for target 'all' failed gmake: *** [all] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/databases/nss_ldap *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/databases/nss_ldap