===> 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 '/Users/pbulk/build/databases/nss-pgsql/work/libnss-pgsql-1.5.0-beta'
Making all in src
gmake[2]: Entering directory '/Users/pbulk/build/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
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/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
_nss_pgsql_setpwent(void)
^
./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status'
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: forward declaration of 'enum nss_status'
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);
     ^
interface.c:31:12: error: use of undeclared identifier 'NSS_STATUS_SUCCESS'
                retval = NSS_STATUS_SUCCESS;
                         ^
interface.c:39:1: error: incomplete result type 'enum nss_status' in function definition
_nss_pgsql_endpwent(void)
^
./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status'
enum nss_status getent_prepare(const char *what);
     ^
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);
     ^
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'
                retval = backend_getpwent(result, buffer, buflen, &lerrno);
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./nss-pgsql.h:42:17: note: 'backend_getpwent' declared here
enum nss_status backend_getpwent(struct passwd *result,
                ^
./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status'
enum nss_status getent_prepare(const char *what);
     ^
interface.c:73:1: error: incomplete result type 'enum nss_status' in function definition
_nss_pgsql_getpwnam_r(const char *pwnam, struct passwd *result,
^
./nss-pgsql.h:39:6: note: forward declaration of 'enum nss_status'
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);
     ^
interface.c:91:1: error: incomplete result type 'enum nss_status' in function definition
_nss_pgsql_getpwuid_r(uid_t uid, 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);
     ^
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'
enum nss_status getent_prepare(const char *what);
     ^
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);
     ^
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);
     ^
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.
gmake[2]: *** [Makefile:271: interface.lo] Error 1
gmake[2]: Leaving directory '/Users/pbulk/build/databases/nss-pgsql/work/libnss-pgsql-1.5.0-beta/src'
gmake[1]: *** [Makefile:161: all-recursive] Error 1
gmake[1]: Leaving directory '/Users/pbulk/build/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