+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libgamin-0.1.10nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libgamin-0.1.10nb1/work.log ===> Building for libgamin-0.1.10nb1 /opt/pkg/bin/bmake all-recursive Making all in lib gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -D_NETBSD_SOURCE -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT gam_event.o -MD -MP -MF .deps/gam_event.Tpo -c -o gam_event.o gam_event.c mv -f .deps/gam_event.Tpo .deps/gam_event.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -D_NETBSD_SOURCE -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT gam_error.o -MD -MP -MF .deps/gam_error.Tpo -c -o gam_error.o gam_error.c gam_error.c:79:1: warning: no previous prototype for 'gam_error_init' [-Wmissing-prototypes] 79 | gam_error_init(void) | ^~~~~~~~~~~~~~ gam_error.c:111:1: warning: no previous prototype for 'gam_error_check' [-Wmissing-prototypes] 111 | gam_error_check(void) | ^~~~~~~~~~~~~~~ gam_error.c:170:1: warning: no previous prototype for 'gam_debug' [-Wmissing-prototypes] 170 | gam_debug(const char *file, int line, const char *function, | ^~~~~~~~~ mv -f .deps/gam_error.Tpo .deps/gam_error.Po rm -f libgamin_shared.a ar cru libgamin_shared.a gam_event.o gam_error.o ranlib libgamin_shared.a Making all in doc Making all in libgamin /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -DBINDIR=\""/opt/pkg/libexec"\" -DBUILDDIR=\"".."\" -D_NETBSD_SOURCE -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT gam_api.lo -MD -MP -MF .deps/gam_api.Tpo -c -o gam_api.lo gam_api.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -DBINDIR=\"/opt/pkg/libexec\" -DBUILDDIR=\"..\" -D_NETBSD_SOURCE -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT gam_api.lo -MD -MP -MF .deps/gam_api.Tpo -c gam_api.c -fPIC -DPIC -o .libs/gam_api.o gam_api.c: In function 'gamin_get_user_name': gam_api.c:155:9: error: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] 155 | strncpy(user_name, pw->pw_name, 99); | ^~~~~~~ gam_api.c:23:1: note: include '' or provide a declaration of 'strncpy' 22 | #include "gam_error.h" +++ |+#include 23 | gam_api.c:155:9: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch] 155 | strncpy(user_name, pw->pw_name, 99); | ^~~~~~~ gam_api.c:155:9: note: include '' or provide a declaration of 'strncpy' gam_api.c: In function 'gamin_get_socket_path': gam_api.c:196:11: error: implicit declaration of function 'strdup' [-Wimplicit-function-declaration] 196 | ret = strdup(path); | ^~~~~~ gam_api.c:196:11: warning: incompatible implicit declaration of built-in function 'strdup' [-Wbuiltin-declaration-mismatch] gam_api.c: In function 'gamin_get_socket_dir': gam_api.c:223:11: warning: incompatible implicit declaration of built-in function 'strdup' [-Wbuiltin-declaration-mismatch] 223 | ret = strdup(path); | ^~~~~~ gam_api.c: In function 'gamin_connect_unix_socket': gam_api.c:392:5: error: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 392 | memset(&addr, 0, sizeof(addr)); | ^~~~~~ gam_api.c:392:5: note: include '' or provide a declaration of 'memset' gam_api.c:392:5: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] gam_api.c:392:5: note: include '' or provide a declaration of 'memset' gam_api.c:406:5: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch] 406 | strncpy(&addr.sun_path[0], path, (sizeof(addr) - 4) - 1); | ^~~~~~~ gam_api.c:406:5: note: include '' or provide a declaration of 'strncpy' gam_api.c: In function 'gamin_write_credential_byte': gam_api.c:477:18: error: assignment to 'caddr_t' {aka 'char *'} from incompatible pointer type 'pid_t *' {aka 'int *'} [-Wincompatible-pointer-types] 477 | iov.iov_base = &pid; | ^ gam_api.c:480:5: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 480 | memset (&msg, 0, sizeof(msg)); | ^~~~~~ gam_api.c:480:5: note: include '' or provide a declaration of 'memset' gam_api.c: In function 'gamin_send_request': gam_api.c:663:9: error: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 663 | memcpy(&req.path[0], filename, len); | ^~~~~~ gam_api.c:663:9: note: include '' or provide a declaration of 'memcpy' gam_api.c:663:9: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] gam_api.c:663:9: note: include '' or provide a declaration of 'memcpy' gam_api.c: In function 'gamin_check_cred': gam_api.c:696:18: error: assignment to 'caddr_t' {aka 'char *'} from incompatible pointer type 'pid_t *' {aka 'int *'} [-Wincompatible-pointer-types] 696 | iov.iov_base = &pid; | ^ gam_api.c:699:5: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 699 | memset(&msg, 0, sizeof(msg)); | ^~~~~~ gam_api.c:699:5: note: include '' or provide a declaration of 'memset' gam_api.c:689:11: warning: unused variable 'c_gid' [-Wunused-variable] 689 | gid_t c_gid; | ^~~~~ gam_api.c: In function 'gamin_resend_request': gam_api.c:896:9: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 896 | memcpy(&req.path[0], filename, len); | ^~~~~~ gam_api.c:896:9: note: include '' or provide a declaration of 'memcpy' gam_api.c: In function 'FAMOpen': gam_api.c:1002:5: error: implicit declaration of function 'gam_error_init'; did you mean 'gam_error'? [-Wimplicit-function-declaration] 1002 | gam_error_init(); | ^~~~~~~~~~~~~~ | gam_error gam_api.c:1002:5: warning: nested extern declaration of 'gam_error_init' [-Wnested-externs] gam_api.c: At top level: gam_api.c:93:1: warning: 'gamin_dump_event' defined but not used [-Wunused-function] 93 | gamin_dump_event(FAMEvent *event) { | ^~~~~~~~~~~~~~~~ gam_api.c:42:3: warning: 'FAMError' defined but not used [-Wunused-variable] 42 | } FAMError; | ^~~~~~~~ *** Error code 1 Stop. bmake[2]: stopped making "all" in /home/pbulk/build/sysutils/libgamin/work/gamin-0.1.10/libgamin *** Error code 1 Stop. bmake[1]: stopped making "all-recursive" in /home/pbulk/build/sysutils/libgamin/work/gamin-0.1.10 *** Error code 1 Stop. bmake: stopped making "all" in /home/pbulk/build/sysutils/libgamin/work/gamin-0.1.10 *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/libgamin *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/libgamin