+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/upclient-4.2.1.23nb4/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/upclient-4.2.1.23nb4/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for upclient-4.2.1.23nb4 --- bsd --- /usr/pkg/bin/bmake LDFLAGS='-Wl,-zrelro -Wl,-R/usr/pkg/lib -lkvm' OBJECTS='stats-bsd.c network.c base64.c options.c' CFLAGS='-DPKG_SYSCONFDIR="\"/usr/pkg/etc\"" -pipe -O2 -DPLATFORM_BSD -DCONFIGFILE=\"upclient.conf\"' upclient --- upclient --- cc -DPKG_SYSCONFDIR="\"/usr/pkg/etc\"" -pipe -O2 -DPLATFORM_BSD -DCONFIGFILE=\"upclient.conf\" -Wl,-zrelro -Wl,-R/usr/pkg/lib -lkvm stats-bsd.c network.c base64.c options.c upclient.c -o upclient stats-bsd.c:14:10: fatal error: kvm.h: No such file or directory #include <kvm.h> ^~~~~~~ compilation terminated. network.c: In function 'socket_write': network.c:28:17: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] write_ret = write(fd, buf+nwritten, nbytes-nwritten); ^~~~~ fwrite network.c: In function 'socket_read': network.c:46:16: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] read_ret = read(fd, buf+nread, nbytes-nread); ^~~~ fread base64.c: In function 'base64_encode': base64.c:32:16: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] int length = strlen((char *)string); ^~~~~~ base64.c:32:16: warning: incompatible implicit declaration of built-in function 'strlen' base64.c:32:16: note: include '<string.h>' or provide a declaration of 'strlen' base64.c:14:1: +#include <string.h> #endif base64.c:32:16: int length = strlen((char *)string); ^~~~~~ base64.c:35:44: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] unsigned char *result = (unsigned char *)malloc(((length + 3 - length % 3) * 4 / 3 + 1) * sizeof(char)); ^~~~~~ base64.c:35:44: warning: incompatible implicit declaration of built-in function 'malloc' base64.c:35:44: note: include '<stdlib.h>' or provide a declaration of 'malloc' base64.c:14:1: +#include <stdlib.h> #endif base64.c:35:44: unsigned char *result = (unsigned char *)malloc(((length + 3 - length % 3) * 4 / 3 + 1) * sizeof(char)); ^~~~~~ base64.c:41:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ base64.c:41:5: warning: incompatible implicit declaration of built-in function 'exit' base64.c:41:5: note: include '<stdlib.h>' or provide a declaration of 'exit' options.c: In function 'process_option': options.c:75:6: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if(strcmp(key, "AuthKey") == 0) { ^~~~~~ options.c:76:8: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] if(strlen(value) == AUTHKEY_REQUIRED_LEN) { ^~~~~~ options.c:76:8: warning: incompatible implicit declaration of built-in function 'strlen' options.c:76:8: note: include '<string.h>' or provide a declaration of 'strlen' options.c:12:1: +#include <string.h> options.c:76:8: if(strlen(value) == AUTHKEY_REQUIRED_LEN) { ^~~~~~ options.c:77:7: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(cfg_authkey, value); ^~~~~~ options.c:77:7: warning: incompatible implicit declaration of built-in function 'strcpy' options.c:77:7: note: include '<string.h>' or provide a declaration of 'strcpy' options.c:80:7: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(-1); ^~~~ options.c:80:7: warning: incompatible implicit declaration of built-in function 'exit' options.c:80:7: note: include '<stdlib.h>' or provide a declaration of 'exit' options.c:12:1: +#include <stdlib.h> options.c:80:7: exit(-1); ^~~~ options.c:84:20: warning: implicit declaration of function 'atol' [-Wimplicit-function-declaration] cfg_interval = atol(value); ^~~~ options.c:91:7: warning: incompatible implicit declaration of built-in function 'exit' exit(-1); ^~~~ options.c:91:7: note: include '<stdlib.h>' or provide a declaration of 'exit' options.c:99:5: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(cfg_upserver, value); ^~~~~~ options.c:99:5: note: include '<string.h>' or provide a declaration of 'strcpy' options.c:102:5: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(cfg_proxyserver, value); ^~~~~~ options.c:102:5: note: include '<string.h>' or provide a declaration of 'strcpy' options.c:109:7: warning: incompatible implicit declaration of built-in function 'exit' exit(-1); ^~~~ options.c:109:7: note: include '<stdlib.h>' or provide a declaration of 'exit' options.c:114:5: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(cfg_proxyuser, value); ^~~~~~ options.c:114:5: note: include '<string.h>' or provide a declaration of 'strcpy' options.c:118:5: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(cfg_proxypass, value); ^~~~~~ options.c:118:5: note: include '<string.h>' or provide a declaration of 'strcpy' options.c:122:5: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(cfg_pidfile, value); ^~~~~~ options.c:122:5: note: include '<string.h>' or provide a declaration of 'strcpy' options.c:147:7: warning: incompatible implicit declaration of built-in function 'exit' exit(-1); ^~~~ options.c:147:7: note: include '<stdlib.h>' or provide a declaration of 'exit' options.c: In function 'skipwhite': options.c:170:9: warning: implicit declaration of function 'isblank' [-Wimplicit-function-declaration] while(isblank(line[pos])) ^~~~~~~ options.c: In function 'isvalideol': options.c:198:31: warning: incompatible implicit declaration of built-in function 'strlen' if(line[pos] == '#' && line[strlen(line)-1] == '\n') ^~~~~~ options.c:198:31: note: include '<string.h>' or provide a declaration of 'strlen' options.c: In function 'getkey': options.c:212:9: warning: implicit declaration of function 'isalnum' [-Wimplicit-function-declaration] while(isalnum(line[pos]) && i < MAX_KEY_LEN) { ^~~~~~~ options.c: In function 'getval': options.c:243:9: warning: implicit declaration of function 'isgraph' [-Wimplicit-function-declaration] while(isgraph(line[pos]) && line[pos] != '#' && i < MAX_VAL_LEN) { ^~~~~~~ options.c: In function 'read_config': options.c:300:7: warning: incompatible implicit declaration of built-in function 'exit' exit(-1); ^~~~ options.c:300:7: note: include '<stdlib.h>' or provide a declaration of 'exit' options.c:310:13: warning: incompatible implicit declaration of built-in function 'strlen' if(line[strlen(line)-1] != '\n') { ^~~~~~ options.c:310:13: note: include '<string.h>' or provide a declaration of 'strlen' options.c:312:7: warning: incompatible implicit declaration of built-in function 'exit' exit(-1); ^~~~ options.c:312:7: note: include '<stdlib.h>' or provide a declaration of 'exit' options.c:307:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line,MAX_LINE_LEN,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ upclient.c: In function 'main': upclient.c:319:3: warning: implicit declaration of function 'read_config'; did you mean 'readconfig'? [-Wimplicit-function-declaration] read_config(); ^~~~~~~~~~~ readconfig *** [upclient] Error code 1 bmake[1]: stopped making "upclient" in /home/pbulk/build/net/upclient/work/upclient-4.2.1.23/src bmake[1]: 1 error bmake[1]: stopped making "upclient" in /home/pbulk/build/net/upclient/work/upclient-4.2.1.23/src *** [bsd] Error code 2 bmake: stopped making "bsd" in /home/pbulk/build/net/upclient/work/upclient-4.2.1.23/src bmake: 1 error bmake: stopped making "bsd" in /home/pbulk/build/net/upclient/work/upclient-4.2.1.23/src *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/upclient *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/upclient