=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for nss-pgsql-1.5.0bnb1 cd . && autoheader WARNING: 'autoheader' is missing on your system. You should only need it if you modified 'acconfig.h' or 'configure.ac'. You might want to install the Autoconf and GNU m4 packages. Grab them from any GNU archive site. cd . \ && CONFIG_FILES= CONFIG_HEADERS=config.h \ /opt/pkg/bin/mksh ./config.status config.status: creating config.h config.status: config.h is unchanged config.status: executing default-1 commands /opt/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/opt/work/databases/nss-pgsql/work/libnss-pgsql-1.5.0-beta' Making all in src gmake[2]: Entering directory '/opt/work/databases/nss-pgsql/work/libnss-pgsql-1.5.0-beta/src' /opt/pkg/bin/mksh ../libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -O2 -I/opt/pkg/include -c interface.c /opt/pkg/bin/mksh ../libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -O2 -I/opt/pkg/include -c config.c /opt/pkg/bin/mksh ../libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -O2 -I/opt/pkg/include -c backend.c /opt/pkg/bin/mksh ../libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -O2 -I/opt/pkg/include -c util.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/opt/work/databases/nss-pgsql/work/.buildlink/include -O2 -Wp,-MD,.deps/util.pp -c util.c -fno-common -DPIC -o .libs/util.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/opt/work/databases/nss-pgsql/work/.buildlink/include -O2 -Wp,-MD,.deps/backend.pp -c backend.c -fno-common -DPIC -o .libs/backend.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/opt/work/databases/nss-pgsql/work/.buildlink/include -O2 -Wp,-MD,.deps/interface.pp -c interface.c -fno-common -DPIC -o .libs/interface.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/opt/work/databases/nss-pgsql/work/.buildlink/include -O2 -Wp,-MD,.deps/config.pp -c config.c -fno-common -DPIC -o .libs/config.o backend.c:148:24: error: incomplete result type 'enum nss_status' in function definition inline enum nss_status getent_prepare(const char *what) interface.c: ^ 24:1: error: incomplete result type 'enum nss_status' in function definition ./nss-pgsql.h_nss_pgsql_setpwent(void) ^ :39:6: note: forward declaration of 'enum nss_status' ./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status' enum nss_status getent_prepare(const char *what); ^ enum nss_status getent_prepare(const char *what); ^ interface.c:26:18: error: variable has incomplete type 'enum nss_status' enum nss_status retval = NSS_STATUS_UNAVAIL; ^ ./nss-pgsql.h:39:6: note: backend.c:173:10: error: use of undeclared identifier 'NSS_STATUS_SUCCESS' forward declaration of 'enum nss_status' return NSS_STATUS_SUCCESS; ^ enum nss_status getent_prepare(const char *what); ^ interface.c:30:3: error: calling 'getent_prepare' with incomplete return type 'enum nss_status' getent_prepare("allusers"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./nss-pgsql.h:39:17: note: 'getent_prepare' declared here enum nss_status getent_prepare(const char *what); ^ ./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status' enum nss_status getent_prepare(const char *what); ^ backend.c:175:10: error: use of undeclared identifier 'NSS_STATUS_UNAVAIL' return NSS_STATUS_UNAVAIL; ^ backend.c:189:7: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if (!_shadowtransaction < 0) { ^ ~ backend.c:189:7: note: add parentheses after the '!' to evaluate the comparison first interface.c if (!_shadowtransaction < 0) { :31:12 ^ ( ) : error: use of undeclared identifier 'NSS_STATUS_SUCCESS' retval = NSS_STATUS_SUCCESS; ^ backend.c:189:7: note: add parentheses around left hand side expression to silence this warning interface.c if (!_shadowtransaction < 0) { ^ ( ) :39:1: error: incomplete result type 'enum nss_status' in function definition _nss_pgsql_endpwent(void) ^ backend.c:189:27: warning: result of comparison of constant 0 with boolean expression is always false [-Wtautological-constant-compare] ./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status' if (!_shadowtransaction < 0) { ~~~~~~~~~~~~~~~~~~~ ^ ~ enum nss_status getent_prepare(const char *what); ^ backend.c:208:1: error: incomplete result type 'enum nss_status' in function definition copy_attr_string(char *sptr, char **valptr, ^ ./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status' enum nss_status getent_prepare(const char *what); ^ libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/opt/work/databases/nss-pgsql/work/.buildlink/include -O2 -Wp,-MD,.deps/util.pp -c util.c -o util.o >/dev/null 2>&1 interface.c:46:9: error: use of undeclared identifier 'NSS_STATUS_SUCCESS' return NSS_STATUS_SUCCESS; ^ interface.c:50:1: error: incomplete result type 'enum nss_status' in function definition _nss_pgsql_getpwent_r(struct passwd *result, char *buffer, ^ ./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status' enum nss_status getent_prepare(const char *what); ^ backend.c:217:10: error: use of undeclared identifier 'NSS_STATUS_TRYAGAIN' return NSS_STATUS_TRYAGAIN; ^ interface.c:53:18: error: variable has incomplete type 'enum nss_status' enum nss_status retval = NSS_STATUS_UNAVAIL; ^ ./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status' enum nss_status getent_prepare(const char *what); ^ interface.c:64:12: error: calling 'backend_getpwent' with incomplete return type 'enum nss_status' backend.c:227:9: error: use of undeclared identifier 'NSS_STATUS_SUCCESS' retval = backend_getpwent(result, buffer, buflen, &lerrno); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nss-pgsql.h:42:17: note: 'backend_getpwent' declared here return NSS_STATUS_SUCCESS; ^ enum nss_status backend_getpwent(struct passwd *result, ^ ./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status' backend.c:235:1: error: incomplete result type 'enum nss_status' in function definition enum nss_status getent_prepare(const char *what); ^ copy_attr_colnum(PGresult *res, int attrib_number, char **valptr, ^ ./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status' interface.c:73:enum nss_status getent_prepare(const char *what); ^ 1: error: incomplete result type 'enum nss_status' in function definition backend.c:249:17: error: incomplete result type 'enum nss_status' in function definition _nss_pgsql_getpwnam_r(const char *pwnam, struct passwd *result, ^ enum nss_status getgroupmem(gid_t gid, ^ ./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status' ./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status' enum nss_status getent_prepare(const char *what); ^ enum nss_status getent_prepare(const char *what); ^ interface.c:76:18: error: variable has incomplete type 'enum nss_status' enum nss_status retval = NSS_STATUS_UNAVAIL; ^ ./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status' enum nss_status getent_prepare(const char *what); ^ interface.c:81:12: error: calling 'backend_getpwnam' with incomplete return type 'enum nss_status' retval = backend_getpwnam(pwnam, result, buffer, buflen, &lerrno); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nss-pgsql.h:65:17: note: 'backend_getpwnam' declared here enum nss_status backend_getpwnam(const char *name, ^ ./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status' enum nss_status getent_prepare(const char *what); ^ backend.c:257:18: error: variable has incomplete type 'enum nss_status' interface.c:91:1: error: incomplete result type 'enum nss_status' in function definition enum nss_status status = NSS_STATUS_NOTFOUND; ^ ./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status' _nss_pgsql_getpwuid_r(uid_t uid, struct passwd *result, char *buffer, ^ enum nss_status getent_prepare(const char *what); ^ ./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status' enum nss_status getent_prepare(const char *what); ^ interface.c:94:18: error: variable has incomplete type 'enum nss_status' enum nss_status retval = NSS_STATUS_UNAVAIL; ^ ./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status' backend.c:264:12: error: use of undeclared identifier 'NSS_STATUS_UNAVAIL' enum nss_status getent_prepare(const char *what); ^ status = NSS_STATUS_UNAVAIL; ^ interface.c:99:12: error: calling 'backend_getpwuid' with incomplete return type 'enum nss_status' retval = backend_getpwuid(uid, result, buffer, buflen, &lerrno); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nss-pgsql.h:50:17: note: 'backend_getpwuid' declared here enum nss_status backend_getpwuid(uid_t uid, ^ ./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status' enum nss_status getent_prepare(const char *what); ^ interface.c:112:1: error: incomplete result type 'enum nss_status' in function definition _nss_pgsql_setgrent(void) ^ ./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status' enum nss_status getent_prepare(const char *what); ^ backend.c:272:12: error: use of undeclared identifier 'NSS_STATUS_UNAVAIL' status = NSS_STATUS_UNAVAIL; ^ interface.c:114:18: error: variable has incomplete type 'enum nss_status' enum nss_status retval = NSS_STATUS_UNAVAIL; ^ ./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status' enum nss_status getent_prepare(const char *what); ^ interface.c:118:3: error: calling 'getent_prepare' with incomplete return type 'enum nss_status' getent_prepare("allgroups"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nss-pgsql.h:39:17: note: 'getent_prepare' declared here enum nss_status getent_prepare(const char *what); ^ ./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status' enum nss_status getent_prepare(const char *what); ^ backend.c:281:12: error: use of undeclared identifier 'NSS_STATUS_TRYAGAIN' status = NSS_STATUS_TRYAGAIN; ^ interface.c:119:12: error: use of undeclared identifier 'NSS_STATUS_SUCCESS' retval = NSS_STATUS_SUCCESS; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. backend.c:299:16: error: use of undeclared identifier 'NSS_STATUS_SUCCESS' if(status != NSS_STATUS_SUCCESS) goto BAIL_OUT; ^ backend.c:304:12: error: use of undeclared identifier 'NSS_STATUS_SUCCESS' status = NSS_STATUS_SUCCESS; ^ backend.c:319:17: error: incomplete result type 'enum nss_status' in function definition enum nss_status getgroupmemfromquery(PGresult *res, struct group *result, ^ ./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status' enum nss_status getent_prepare(const char *what); ^ gmake[2]: *** [Makefile:271: interface.lo] Error 1 gmake[2]: *** Waiting for unfinished jobs.... backend.c:331:18: error: variable has incomplete type 'enum nss_status' enum nss_status status = NSS_STATUS_NOTFOUND; ^ ./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status' enum nss_status getent_prepare(const char *what); ^ backend.c:337:12: error: use of undeclared identifier 'NSS_STATUS_TRYAGAIN' status = NSS_STATUS_TRYAGAIN; ^ libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/opt/work/databases/nss-pgsql/work/.buildlink/include -O2 -Wp,-MD,.deps/config.pp -c config.c -o config.o >/dev/null 2>&1 backend.c:374:12: error: use of undeclared identifier 'NSS_STATUS_TRYAGAIN' status = NSS_STATUS_TRYAGAIN; ^ backend.c:390:16: error: use of undeclared identifier 'NSS_STATUS_SUCCESS' if(status != NSS_STATUS_SUCCESS) goto BAIL_OUT; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 2 warnings and 20 errors generated. gmake[2]: *** [Makefile:271: backend.lo] Error 1 gmake[2]: Leaving directory '/opt/work/databases/nss-pgsql/work/libnss-pgsql-1.5.0-beta/src' gmake[1]: *** [Makefile:161: all-recursive] Error 1 gmake[1]: Leaving directory '/opt/work/databases/nss-pgsql/work/libnss-pgsql-1.5.0-beta' gmake: *** [Makefile:311: all-recursive-am] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/databases/nss-pgsql *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/databases/nss-pgsql