=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/databases/nss-pgsql", "all", "PGSQL_VERSION_REQD=16", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> 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 '/var/tmp/work/databases/nss-pgsql/work/libnss-pgsql-1.5.0-beta' Making all in src gmake[2]: Entering directory '/var/tmp/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 -pipe -Os -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 -pipe -Os -I/opt/pkg/include -c config.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/databases/nss-pgsql/work/.buildlink/include -pipe -Os -Wp,-MD,.deps/config.pp -c config.c -fno-common -DPIC -o .libs/config.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/databases/nss-pgsql/work/.buildlink/include -pipe -Os -Wp,-MD,.deps/interface.pp -c interface.c -fno-common -DPIC -o .libs/interface.o interface.c:24:1: error: incomplete result type 'enum nss_status' in function definition 24 | _nss_pgsql_setpwent(void) | ^ ./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status' 39 | enum nss_status getent_prepare(const char *what); | ^ interface.c:26:18: error: variable has incomplete type 'enum nss_status' 26 | enum nss_status retval = NSS_STATUS_UNAVAIL; | ^ ./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status' 39 | enum nss_status getent_prepare(const char *what); | ^ interface.c:30:3: error: calling 'getent_prepare' with incomplete return type 'enum nss_status' 30 | getent_prepare("allusers"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./nss-pgsql.h:39:17: note: 'getent_prepare' declared here 39 | enum nss_status getent_prepare(const char *what); | ^ ./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status' 39 | enum nss_status getent_prepare(const char *what); | ^ interface.c:31:12: error: use of undeclared identifier 'NSS_STATUS_SUCCESS' 31 | retval = NSS_STATUS_SUCCESS; | ^ interface.c:39:1: error: incomplete result type 'enum nss_status' in function definition 39 | _nss_pgsql_endpwent(void) | ^ ./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status' 39 | enum nss_status getent_prepare(const char *what); | ^ interface.c:46:9: error: use of undeclared identifier 'NSS_STATUS_SUCCESS' 46 | return NSS_STATUS_SUCCESS; | ^ interface.c:50:1: error: incomplete result type 'enum nss_status' in function definition 50 | _nss_pgsql_getpwent_r(struct passwd *result, char *buffer, | ^ ./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status' 39 | enum nss_status getent_prepare(const char *what); | ^ interface.c:53:18: error: variable has incomplete type 'enum nss_status' 53 | enum nss_status retval = NSS_STATUS_UNAVAIL; | ^ ./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status' 39 | enum nss_status getent_prepare(const char *what); | ^ interface.c:64:12: error: calling 'backend_getpwent' with incomplete return type 'enum nss_status' 64 | retval = backend_getpwent(result, buffer, buflen, &lerrno); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nss-pgsql.h:42:17: note: 'backend_getpwent' declared here 42 | enum nss_status backend_getpwent(struct passwd *result, | ^ ./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status' 39 | enum nss_status getent_prepare(const char *what); | ^ interface.c:73:1: error: incomplete result type 'enum nss_status' in function definition 73 | _nss_pgsql_getpwnam_r(const char *pwnam, struct passwd *result, | ^ ./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status' 39 | enum nss_status getent_prepare(const char *what); | ^ interface.c:76:18: error: variable has incomplete type 'enum nss_status' 76 | enum nss_status retval = NSS_STATUS_UNAVAIL; | ^ ./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status' 39 | enum nss_status getent_prepare(const char *what); | ^ interface.c:81:12: error: calling 'backend_getpwnam' with incomplete return type 'enum nss_status' 81 | retval = backend_getpwnam(pwnam, result, buffer, buflen, &lerrno); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nss-pgsql.h:65:17: note: 'backend_getpwnam' declared here 65 | enum nss_status backend_getpwnam(const char *name, | ^ ./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status' 39 | enum nss_status getent_prepare(const char *what); | ^ interface.c:91:1: error: incomplete result type 'enum nss_status' in function definition 91 | _nss_pgsql_getpwuid_r(uid_t uid, struct passwd *result, char *buffer, | ^ ./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status' 39 | enum nss_status getent_prepare(const char *what); | ^ interface.c:94:18: error: variable has incomplete type 'enum nss_status' 94 | enum nss_status retval = NSS_STATUS_UNAVAIL; | ^ ./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status' 39 | enum nss_status getent_prepare(const char *what); | ^ interface.c:99:12: error: calling 'backend_getpwuid' with incomplete return type 'enum nss_status' 99 | retval = backend_getpwuid(uid, result, buffer, buflen, &lerrno); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nss-pgsql.h:50:17: note: 'backend_getpwuid' declared here 50 | enum nss_status backend_getpwuid(uid_t uid, | ^ ./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status' 39 | enum nss_status getent_prepare(const char *what); | ^ interface.c:112:1: error: incomplete result type 'enum nss_status' in function definition 112 | _nss_pgsql_setgrent(void) | ^ ./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status' 39 | enum nss_status getent_prepare(const char *what); | ^ interface.c:114:18: error: variable has incomplete type 'enum nss_status' 114 | enum nss_status retval = NSS_STATUS_UNAVAIL; | ^ ./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status' 39 | enum nss_status getent_prepare(const char *what); | ^ interface.c:118:3: error: calling 'getent_prepare' with incomplete return type 'enum nss_status' 118 | getent_prepare("allgroups"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./nss-pgsql.h:39:17: note: 'getent_prepare' declared here 39 | enum nss_status getent_prepare(const char *what); | ^ ./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status' 39 | enum nss_status getent_prepare(const char *what); | ^ libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/work/databases/nss-pgsql/work/.buildlink/include -pipe -Os -Wp,-MD,.deps/config.pp -c config.c -o config.o >/dev/null 2>&1 interface.c:119:12: error: use of undeclared identifier 'NSS_STATUS_SUCCESS' 119 | retval = NSS_STATUS_SUCCESS; | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. gmake[2]: *** [Makefile:271: interface.lo] Error 1 gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Leaving directory '/var/tmp/work/databases/nss-pgsql/work/libnss-pgsql-1.5.0-beta/src' gmake[1]: *** [Makefile:161: all-recursive] Error 1 gmake[1]: Leaving directory '/var/tmp/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 making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/databases/nss-pgsql *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/databases/nss-pgsql