+ 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/cstream-3.1.1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/cstream-3.1.1/work.log ===> Building for cstream-3.1.1 --- all-recursive --- Making all in auxdir Making all in tests --- cstream.o --- gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cstream\" -DVERSION=\"3.1.1\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_POLL_H=1 -DHAVE_SYS_SOUNDCARD_H=1 -DHAVE_SYS_UIO_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETDB_H=1 -DHAVE_SYS_STATVFS_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SOCKLEN_T=1 -DHAVE_STRUCT_SIGACTION=1 -DHAVE_STRUCT_ITIMERVAL=1 -DHAVE_O_DIRECT=1 -DRETSIGTYPE=void -DHAVE_GETTIMEOFDAY=1 -DHAVE_MKFIFO=1 -DHAVE_STRDUP=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GETADDRINFO=1 -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT cstream.o -MD -MP -MF .deps/cstream.Tpo -c -o cstream.o cstream.c cstream.c: In function 'default_options': cstream.c:307:3: error: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] 307 | bzero(o, sizeof(struct options)); | ^~~~~ cstream.c:307:3: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] cstream.c: In function 'open_tcp': cstream.c:466:7: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] 466 | bzero(&serv_addr, sizeof(serv_addr)); | ^~~~~ cstream.c:474:7: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] 474 | bzero(&sin6, sizeof(sin6)); | ^~~~~ cstream.c:522:5: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] 522 | bzero(&serv_addr, sizeof(serv_addr)); | ^~~~~ cstream.c:547:9: error: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] 547 | bcopy(*a, &serv_addr.sin_addr.s_addr, sizeof(struct in_addr)); | ^~~~~ cstream.c:547:9: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] cstream.c:629:8: error: initialization of 'int (*)(int, struct sockaddr *, socklen_t *)' {aka 'int (*)(int, struct sockaddr *, unsigned int *)'} from incompatible pointer type 'int (*)(int, struct sockaddr * restrict, void *)' [-Wincompatible-pointer-types] 629 | {getsockname, "getsockname", "Local binding"}, | ^~~~~~~~~~~ cstream.c:629:8: note: (near initialization for 'funcs[0].func') cstream.c:630:8: error: initialization of 'int (*)(int, struct sockaddr *, socklen_t *)' {aka 'int (*)(int, struct sockaddr *, unsigned int *)'} from incompatible pointer type 'int (*)(int, struct sockaddr * restrict, void *)' [-Wincompatible-pointer-types] 630 | {getpeername, "getpeername", "Remote binding"}, | ^~~~~~~~~~~ cstream.c:630:8: note: (near initialization for 'funcs[1].func') cstream.c: In function 'init': cstream.c:754:3: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] 754 | bzero(state, sizeof(*state)); | ^~~~~ *** [cstream.o] Error code 1 bmake[1]: stopped making "all-am" in /home/pbulk/build/misc/cstream/work/cstream-3.1.1 bmake[1]: 1 error bmake[1]: stopped making "all-am" in /home/pbulk/build/misc/cstream/work/cstream-3.1.1 bmake: stopped making "all" in /home/pbulk/build/misc/cstream/work/cstream-3.1.1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/cstream *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/cstream