+ 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/entropy-0.9.1.439nb5/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/entropy-0.9.1.439nb5/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for entropy-0.9.1.439nb5 gcc -Iinclude -I/opt/pkg/include -E -MM src/*.c >.depend gcc -Iinclude -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -W -Wall -Wuninitialized -Wno-unused -o obj/entropy.o -c src/entropy.c gcc -Iinclude -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -W -Wall -Wuninitialized -Wno-unused -o obj/logger.o -c src/logger.c gcc -Iinclude -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -W -Wall -Wuninitialized -Wno-unused -o obj/funclib.o -c src/funclib.c src/logger.c: In function 'logprintf': src/logger.c:35:9: error: unknown type name 'FILE' 35 | FILE *fp = NULL; | ^~~~ src/logger.c:26:1: note: 'FILE' is defined in header ''; this is probably fixable by adding '#include ' 25 | #include "logger.h" +++ |+#include 26 | src/logger.c:36:22: error: storage size of 'fl' isn't known 36 | struct flock fl; | ^~ src/logger.c:50:14: error: implicit declaration of function 'fopen' [-Wimplicit-function-declaration] 50 | fp = fopen(LOGFILE, "a"); | ^~~~~ src/logger.c:50:14: note: 'fopen' is defined in header ''; this is probably fixable by adding '#include ' src/logger.c:50:12: error: assignment to 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 50 | fp = fopen(LOGFILE, "a"); | ^ src/logger.c:59:21: error: 'F_WRLCK' undeclared (first use in this function) 59 | fl.l_type = F_WRLCK; | ^~~~~~~ src/logger.c:59:21: note: each undeclared identifier is reported only once for each function it appears in src/logger.c:61:18: error: implicit declaration of function 'fcntl' [-Wimplicit-function-declaration] 61 | if (0 != fcntl(fileno(fp), F_SETLKW, &fl)) { | ^~~~~ src/logger.c:61:24: error: implicit declaration of function 'fileno' [-Wimplicit-function-declaration] 61 | if (0 != fcntl(fileno(fp), F_SETLKW, &fl)) { | ^~~~~~ src/logger.c:61:36: error: 'F_SETLKW' undeclared (first use in this function) 61 | if (0 != fcntl(fileno(fp), F_SETLKW, &fl)) { | ^~~~~~~~ src/logger.c:65:18: error: implicit declaration of function 'fprintf' [-Wimplicit-function-declaration] 65 | length = fprintf(fp, "%s:%d:{%d}:%s(%s:%d): %s", | ^~~~~~~ src/logger.c:65:18: note: include '' or provide a declaration of 'fprintf' src/logger.c:65:18: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] src/logger.c:65:18: note: include '' or provide a declaration of 'fprintf' src/logger.c:68:21: error: 'F_UNLCK' undeclared (first use in this function); did you mean 'F_ULOCK'? 68 | fl.l_type = F_UNLCK; | ^~~~~~~ | F_ULOCK src/logger.c:70:17: error: implicit declaration of function 'fclose'; did you mean 'close'? [-Wimplicit-function-declaration] 70 | fclose(fp); | ^~~~~~ | close gmake: *** [Makefile:166: obj/logger.o] Error 1 gmake: *** Waiting for unfinished jobs.... In file included from include/peer.h:29, from include/file.h:35, from src/entropy.c:28: include/bignum.h:63:18: error: conflicting types for 'cnt_t'; have 'uint32_t' {aka 'unsigned int'} 63 | typedef uint32_t cnt_t; | ^~~~~ In file included from /usr/include/time.h:46, from include/config.h:181, from include/osd.h:25, from src/entropy.c:22: /usr/include/sys/types.h:109:25: note: previous declaration of 'cnt_t' with type 'cnt_t' {aka 'short int'} 109 | typedef short cnt_t; /* ? type */ | ^~~~~ src/entropy.c: In function 'main': src/entropy.c:175:17: error: implicit declaration of function 'fprintf' [-Wimplicit-function-declaration] 175 | fprintf(stderr, "configuration init failed\n"); | ^~~~~~~ src/entropy.c:37:1: note: include '' or provide a declaration of 'fprintf' 36 | #include "logger.h" +++ |+#include 37 | src/entropy.c:175:17: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 175 | fprintf(stderr, "configuration init failed\n"); | ^~~~~~~ src/entropy.c:175:17: note: include '' or provide a declaration of 'fprintf' src/entropy.c:175:25: error: 'stderr' undeclared (first use in this function) 175 | fprintf(stderr, "configuration init failed\n"); | ^~~~~~ src/entropy.c:175:25: note: 'stderr' is defined in header ''; this is probably fixable by adding '#include ' src/entropy.c:175:25: note: each undeclared identifier is reported only once for each function it appears in src/entropy.c:201:17: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 201 | fprintf(stderr, "shared memory initialization failed\n"); | ^~~~~~~ src/entropy.c:201:17: note: include '' or provide a declaration of 'fprintf' gmake: *** [Makefile:165: obj/entropy.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/entropy *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/entropy