===> Building for nss_wrapper-1.1.16 [ 4%] Building C object src/CMakeFiles/nss_utils.dir/nss_utils.c.o { cd /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/cmake-pkgsrc-build/src && /Users/pbulk/build/devel/nss_wrapper/work/.cwrapper/bin/clang -D_GNU_SOURCE -I/Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/cmake-pkgsrc-build/src -I/Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/src -pipe -Os -I/opt/pkg/include -arch arm64 -mmacosx-version-min=14.5 -fPIC -std=gnu99 -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/nss_utils.dir/nss_utils.c.o -MF CMakeFiles/nss_utils.dir/nss_utils.c.o.d -o CMakeFiles/nss_utils.dir/nss_utils.c.o -c /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/src/nss_utils.c } || exit $? clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] [ 8%] Linking C static library libnss_utils.a { cd /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/cmake-pkgsrc-build/src && /opt/pkg/bin/cmake -P CMakeFiles/nss_utils.dir/cmake_clean_target.cmake } || exit $? { cd /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/cmake-pkgsrc-build/src && /opt/pkg/bin/cmake -E cmake_link_script CMakeFiles/nss_utils.dir/link.txt --verbose= } || exit $? [ 8%] Built target nss_utils [ 12%] Building C object src/CMakeFiles/nss_wrapper.dir/nss_wrapper.c.o { cd /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/cmake-pkgsrc-build/src && /Users/pbulk/build/devel/nss_wrapper/work/.cwrapper/bin/clang -D_GNU_SOURCE -Dnss_wrapper_EXPORTS -I/Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/cmake-pkgsrc-build/src -I/Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/src -I/Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/cmake-pkgsrc-build -pipe -Os -I/opt/pkg/include -arch arm64 -mmacosx-version-min=14.5 -fPIC -std=gnu99 -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wno-format-zero-length -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -MD -MT src/CMakeFiles/nss_wrapper.dir/nss_wrapper.c.o -MF CMakeFiles/nss_wrapper.dir/nss_wrapper.c.o.d -o CMakeFiles/nss_wrapper.dir/nss_wrapper.c.o -c /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/src/nss_wrapper.c } || exit $? clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/src/nss_wrapper.c:143:3: error: "No nsswitch support detected" # error "No nsswitch support detected" ^ /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/src/nss_wrapper.c:547:22: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] typedef NSS_STATUS (*__nss_getpwnam_r)(const char *name, ^ int /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/src/nss_wrapper.c:547:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] typedef NSS_STATUS (*__nss_getpwnam_r)(const char *name, ~~~~~~~ ^ int /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/src/nss_wrapper.c:547:20: error: function cannot return function type 'int (const char *, struct passwd *, char *, size_t, int *)' (aka 'int (const char *, struct passwd *, char *, unsigned long, int *)') typedef NSS_STATUS (*__nss_getpwnam_r)(const char *name, ^ /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/src/nss_wrapper.c:552:39: error: function cannot return function type 'NSS_STATUS' (aka 'int (int *)') typedef NSS_STATUS (*__nss_getpwuid_r)(uid_t uid, ^ /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/src/nss_wrapper.c:557:37: error: function cannot return function type 'NSS_STATUS' (aka 'int (int *)') typedef NSS_STATUS (*__nss_setpwent)(void); ^ /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/src/nss_wrapper.c:558:39: error: function cannot return function type 'NSS_STATUS' (aka 'int (int *)') typedef NSS_STATUS (*__nss_getpwent_r)(struct passwd *result, ^ /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/src/nss_wrapper.c:562:37: error: function cannot return function type 'NSS_STATUS' (aka 'int (int *)') typedef NSS_STATUS (*__nss_endpwent)(void); ^ /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/src/nss_wrapper.c:563:43: error: function cannot return function type 'NSS_STATUS' (aka 'int (int *)') typedef NSS_STATUS (*__nss_initgroups_dyn)(const char *user, ^ /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/src/nss_wrapper.c:570:39: error: function cannot return function type 'NSS_STATUS' (aka 'int (int *)') typedef NSS_STATUS (*__nss_getgrnam_r)(const char *name, ^ /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/src/nss_wrapper.c:575:39: error: function cannot return function type 'NSS_STATUS' (aka 'int (int *)') typedef NSS_STATUS (*__nss_getgrgid_r)(gid_t gid, ^ /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/src/nss_wrapper.c:580:37: error: function cannot return function type 'NSS_STATUS' (aka 'int (int *)') typedef NSS_STATUS (*__nss_setgrent)(void); ^ /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/src/nss_wrapper.c:581:39: error: function cannot return function type 'NSS_STATUS' (aka 'int (int *)') typedef NSS_STATUS (*__nss_getgrent_r)(struct group *result, ^ /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/src/nss_wrapper.c:585:37: error: function cannot return function type 'NSS_STATUS' (aka 'int (int *)') typedef NSS_STATUS (*__nss_endgrent)(void); ^ /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/src/nss_wrapper.c:586:44: error: function cannot return function type 'NSS_STATUS' (aka 'int (int *)') typedef NSS_STATUS (*__nss_gethostbyaddr_r)(const void *addr, ^ /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/src/nss_wrapper.c:594:45: error: function cannot return function type 'NSS_STATUS' (aka 'int (int *)') typedef NSS_STATUS (*__nss_gethostbyname2_r)(const char *name, ^ /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/src/nss_wrapper.c:609:2: error: unknown type name '__nss_getpwnam_r'; did you mean '__libc_getpwnam_r'? NWRAP_NSS_MODULE_SYMBOL_ENTRY(getpwnam_r); ^ /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/src/nss_wrapper.c:604:3: note: expanded from macro 'NWRAP_NSS_MODULE_SYMBOL_ENTRY' __nss_##i f; \ ^ :108:1: note: expanded from here __nss_getpwnam_r ^ /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/src/nss_wrapper.c:360:15: note: '__libc_getpwnam_r' declared here typedef int (*__libc_getpwnam_r)(const char *name, ^ /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/src/nss_wrapper.c:1818:2: error: no member named '_libc_getgrent_r' in 'struct nwrap_libc_symbols'; did you mean '_libc_getgrent'? nwrap_bind_symbol_libc(getgrent_r); ^ /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/src/nss_wrapper.c:1332:39: note: expanded from macro 'nwrap_bind_symbol_libc' if (nwrap_main_global->libc->symbols._libc_##sym_name.obj == NULL) { \ ^ :180:1: note: expanded from here _libc_getgrent_r ^ /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/src/nss_wrapper.c:517:2: note: '_libc_getgrent' declared here NWRAP_SYMBOL_ENTRY(getgrent); ^ /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/src/nss_wrapper.c:497:4: note: expanded from macro 'NWRAP_SYMBOL_ENTRY' } _libc_##i ^ :85:1: note: expanded from here _libc_getgrent ^ /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/src/nss_wrapper.c:1818:2: error: no member named '_libc_getgrent_r' in 'struct nwrap_libc_symbols'; did you mean '_libc_getgrent'? nwrap_bind_symbol_libc(getgrent_r); ^ /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/src/nss_wrapper.c:1333:36: note: expanded from macro 'nwrap_bind_symbol_libc' nwrap_main_global->libc->symbols._libc_##sym_name.obj = \ ^ :181:1: note: expanded from here _libc_getgrent_r ^ /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/src/nss_wrapper.c:517:2: note: '_libc_getgrent' declared here NWRAP_SYMBOL_ENTRY(getgrent); ^ /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/src/nss_wrapper.c:497:4: note: expanded from macro 'NWRAP_SYMBOL_ENTRY' } _libc_##i ^ :85:1: note: expanded from here _libc_getgrent ^ /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/src/nss_wrapper.c:4405:13: warning: incompatible pointer types passing 'int *' to parameter of type 'struct passwd **' [-Wincompatible-pointer-types] &errno); ^~~~~~ /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/src/nss_wrapper.c:4401:9: error: non-object type 'NSS_STATUS' (aka 'int (int *)') is not assignable status = b->symbols->_nss_getpwnam_r.f(name, ~~~~~~ ^ /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/src/nss_wrapper.c:4406:16: error: use of undeclared identifier 'NSS_STATUS_NOTFOUND' if (status == NSS_STATUS_NOTFOUND) { ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 3 warnings and 20 errors generated. *** [src/CMakeFiles/nss_wrapper.dir/nss_wrapper.c.o] Error code 1 bmake[2]: stopped making "src/CMakeFiles/nss_wrapper.dir/build" in /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/cmake-pkgsrc-build bmake[2]: 1 error bmake[2]: stopped making "src/CMakeFiles/nss_wrapper.dir/build" in /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/cmake-pkgsrc-build *** [src/CMakeFiles/nss_wrapper.dir/all] Error code 2 bmake[1]: stopped making "all" in /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/cmake-pkgsrc-build bmake[1]: 1 error bmake[1]: stopped making "all" in /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/cmake-pkgsrc-build *** [all] Error code 2 bmake: stopped making "all" in /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/cmake-pkgsrc-build bmake: 1 error bmake: stopped making "all" in /Users/pbulk/build/devel/nss_wrapper/work/nss_wrapper-1.1.16/cmake-pkgsrc-build *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/devel/nss_wrapper *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/devel/nss_wrapper