+ 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/7plus-225nb2/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/7plus-225nb2/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for 7plus-225nb2 gcc -c -O2 -Wall -pedantic -ansi -D__unix__ 7plus.c 7plus.c: In function 'go_at_it': 7plus.c:604:29: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 604 | endstr = (char *) malloc ((int) strlen (argv[i]) +1); | ^~~~~~ 7plus.c:92:1: note: include '<stdlib.h>' or provide a declaration of 'malloc' 91 | #include "7plus.h" +++ |+#include <stdlib.h> 92 | 7plus.c:604:29: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 604 | endstr = (char *) malloc ((int) strlen (argv[i]) +1); | ^~~~~~ 7plus.c:604:29: note: include '<stdlib.h>' or provide a declaration of 'malloc' 7plus.c:621:30: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 621 | sendstr = (char *) malloc ((int) strlen (argv[i]) +1); | ^~~~~~ 7plus.c:621:30: note: include '<stdlib.h>' or provide a declaration of 'malloc' 7plus.c:694:8: warning: implicit declaration of function 'isatty' [-Wimplicit-function-declaration] 694 | if (!isatty (fileno (o))) | ^~~~~~ 7plus.c:694:16: warning: implicit declaration of function 'fileno' [-Wimplicit-function-declaration] 694 | if (!isatty (fileno (o))) | ^~~~~~ 7plus.c:740:21: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 740 | if ((s = (char *) malloc ((size_t)4000UL)) == NULLCP) | ^~~~~~ 7plus.c:740:21: note: include '<stdlib.h>' or provide a declaration of 'malloc' 7plus.c:746:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 746 | exit (21); | ^~~~ 7plus.c:746:5: note: include '<stdlib.h>' or provide a declaration of 'exit' 7plus.c:746:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 7plus.c:746:5: note: include '<stdlib.h>' or provide a declaration of 'exit' 7plus.c:751:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 751 | free (s); | ^~~~ 7plus.c:751:3: note: include '<stdlib.h>' or provide a declaration of 'free' 7plus.c:751:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 7plus.c:751:3: note: include '<stdlib.h>' or provide a declaration of 'free' 7plus.c:759:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 759 | exit (21); | ^~~~ 7plus.c:759:5: note: include '<stdlib.h>' or provide a declaration of 'exit' 7plus.c:790:26: warning: '%s' directive writing up to 255 bytes into a region of size between 241 and 256 [-Wformat-overflow=] 790 | sprintf (genpath, "%s%s", _drive, _dir); | ^~ ~~~~ 7plus.c:790:5: note: 'sprintf' output between 1 and 271 bytes into a destination of size 256 790 | sprintf (genpath, "%s%s", _drive, _dir); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -O2 -Wall -pedantic -ansi -D__unix__ encode.c encode.c: In function 'encode_file': encode.c:42:7: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] 42 | unlink (_7PLUS_FLS); | ^~~~~~ encode.c:180:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 180 | exit (20); | ^~~~ encode.c:3:1: note: include '<stdlib.h>' or provide a declaration of 'exit' 2 | #include "globals.h" +++ |+#include <stdlib.h> 3 | encode.c:180:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 180 | exit (20); | ^~~~ encode.c:180:5: note: include '<stdlib.h>' or provide a declaration of 'exit' encode.c:270:43: warning: the address of 'searchbin' will always evaluate as 'true' [-Waddress] 270 | sprintf (filename, "%s%s", searchbin?searchbin:"", _7PLUS_FLS); | ^ encode.c:320:49: warning: the comparison will always evaluate as 'true' for the address of 'searchbin' will never be NULL [-Waddress] 320 | sprintf (filename, "%s%s%s", searchbin?searchbin:"", | ^ encode.c:22:55: note: 'searchbin' declared here 22 | char go_buf[257], stop_buf[257], cor_head[129], searchbin[MAXPATH]; | ^~~~~~~~~ encode.c:335:53: warning: the comparison will always evaluate as 'true' for the address of 'searchbin' will never be NULL [-Waddress] 335 | sprintf (filename, "%s%s.p%02x", searchbin?searchbin:"", | ^ encode.c:22:55: note: 'searchbin' declared here 22 | char go_buf[257], stop_buf[257], cor_head[129], searchbin[MAXPATH]; | ^~~~~~~~~ encode.c:355:49: warning: the comparison will always evaluate as 'true' for the address of 'searchbin' will never be NULL [-Waddress] 355 | sprintf (filename, "%s%s%s", searchbin?searchbin:"", | ^ encode.c:22:55: note: 'searchbin' declared here 22 | char go_buf[257], stop_buf[257], cor_head[129], searchbin[MAXPATH]; | ^~~~~~~~~ encode.c:383:11: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 383 | exit (1); | ^~~~ encode.c:383:11: note: include '<stdlib.h>' or provide a declaration of 'exit' encode.c:707:39: warning: the comparison will always evaluate as 'true' for the address of 'searchbin' will never be NULL [-Waddress] 707 | fprintf (o, "'%s%s", searchbin?searchbin:"", destname); | ^ encode.c:22:55: note: 'searchbin' declared here 22 | char go_buf[257], stop_buf[257], cor_head[129], searchbin[MAXPATH]; | ^~~~~~~~~ encode.c:717:41: warning: the comparison will always evaluate as 'true' for the address of 'searchbin' will never be NULL [-Waddress] 717 | fprintf (o, "'%s%s", searchbin?searchbin:"", destname); | ^ encode.c:22:55: note: 'searchbin' declared here 22 | char go_buf[257], stop_buf[257], cor_head[129], searchbin[MAXPATH]; | ^~~~~~~~~ encode.c:735:44: warning: the comparison will always evaluate as 'true' for the address of 'searchbin' will never be NULL [-Waddress] 735 | fprintf (o, "'%s%s%s'\n", searchbin?searchbin:"", destname, ".upl"); | ^ encode.c:22:55: note: 'searchbin' declared here 22 | char go_buf[257], stop_buf[257], cor_head[129], searchbin[MAXPATH]; | ^~~~~~~~~ encode.c:744:45: warning: the comparison will always evaluate as 'true' for the address of 'searchbin' will never be NULL [-Waddress] 744 | sprintf (filename, "%s%s", searchbin?searchbin:"", _7PLUS_FLS); | ^ encode.c:22:55: note: 'searchbin' declared here 22 | char go_buf[257], stop_buf[257], cor_head[129], searchbin[MAXPATH]; | ^~~~~~~~~ gcc -c -O2 -Wall -pedantic -ansi -D__unix__ correct.c correct.c: In function 'correct_meta': correct.c:209:44: warning: the address of 'dum' will always evaluate as 'true' [-Waddress] 209 | if (!mcrc(line, 0) || !corrpart || !dum) | ^ correct.c:392:7: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] 392 | unlink (newname); | ^~~~~~ correct.c:443:24: warning: '%s' directive writing up to 257 bytes into a region of size 256 [-Wformat-overflow=] 443 | sprintf (newname, "%s%s", genpath, p); | ^~ correct.c:443:3: note: 'sprintf' output 1 or more bytes (assuming 258) into a destination of size 256 443 | sprintf (newname, "%s%s", genpath, p); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -O2 -Wall -pedantic -ansi -D__unix__ rebuild.c gcc -c -O2 -Wall -pedantic -ansi -D__unix__ decode.c decode.c: In function 'control_decode': decode.c:56:5: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] 56 | unlink (filename); | ^~~~~~ decode.c: In function 'decode_file': decode.c:117:28: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'int *' [-Wformat=] 117 | if (sscanf (_ext, "p%x", &part) == 1) | ~^ ~~~~~ | | | | | int * | unsigned int * | %x decode.c:134:28: warning: '%s' directive writing up to 270 bytes into a region of size 256 [-Wformat-overflow=] 134 | sprintf (srcname, "%s%s.p%02x", inpath, _file, part); | ^~ ~~~~~~ decode.c:134:27: note: using the range [0, 4294967295] for directive argument 134 | sprintf (srcname, "%s%s.p%02x", inpath, _file, part); | ^~~~~~~~~~~~ decode.c:134:9: note: 'sprintf' output 5 or more bytes (assuming 275) into a destination of size 256 134 | sprintf (srcname, "%s%s.p%02x", inpath, _file, part); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ decode.c:119:28: warning: '%s' directive writing up to 270 bytes into a region of size 256 [-Wformat-overflow=] 119 | sprintf (srcname, "%s%s.%s", inpath, _file, _ext); | ^~ ~~~~~~ decode.c:119:9: note: 'sprintf' output 2 or more bytes (assuming 272) into a destination of size 256 119 | sprintf (srcname, "%s%s.%s", inpath, _file, _ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ decode.c:163:26: warning: '%s' directive writing up to 270 bytes into a region of size 256 [-Wformat-overflow=] 163 | sprintf (srcname, "%s%s.p01", inpath, _file); | ^~ ~~~~~~ decode.c:163:7: note: 'sprintf' output 5 or more bytes (assuming 275) into a destination of size 256 163 | sprintf (srcname, "%s%s.p01", inpath, _file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ decode.c:167:28: warning: '%s' directive writing up to 270 bytes into a region of size 256 [-Wformat-overflow=] 167 | sprintf (srcname, "%s%s.7pl", inpath, _file); | ^~ ~~~~~~ decode.c:167:9: note: 'sprintf' output 5 or more bytes (assuming 275) into a destination of size 256 167 | sprintf (srcname, "%s%s.7pl", inpath, _file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ decode.c:152:26: warning: '%s' directive writing up to 270 bytes into a region of size 256 [-Wformat-overflow=] 152 | sprintf (srcname, "%s%s.%s", inpath, _file, _ext); | ^~ ~~~~~~ decode.c:152:7: note: 'sprintf' output 2 or more bytes (assuming 272) into a destination of size 256 152 | sprintf (srcname, "%s%s.%s", inpath, _file, _ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ decode.c:209:26: warning: '%s' directive writing up to 270 bytes into a region of size 256 [-Wformat-overflow=] 209 | sprintf (srcname, "%s%s", inpath, filename); | ^~ ~~~~~~ decode.c:209:7: note: 'sprintf' output between 1 and 283 bytes into a destination of size 256 209 | sprintf (srcname, "%s%s", inpath, filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ decode.c:300:27: warning: '%s' directive writing up to 80 bytes into a region of size between 1 and 13 [-Wformat-overflow=] 300 | sprintf (destname, "%s%s", orgdestname, dummi2); | ^~ ~~~~~~ decode.c:300:5: note: 'sprintf' output between 1 and 93 bytes into a destination of size 13 300 | sprintf (destname, "%s%s", orgdestname, dummi2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ decode.c:362:9: warning: 'strncpy' output may be truncated copying 31 bytes from a string of length 65 [-Wstringop-truncation] 362 | strncpy (orgname, orgname2, (size_t)(MAXFNAME-1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -O2 -Wall -pedantic -ansi -D__unix__ extract.c extract.c: In function 'extract_files': extract.c:203:11: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 203 | exit (1); | ^~~~ extract.c:3:1: note: include '<stdlib.h>' or provide a declaration of 'exit' 2 | #include "globals.h" +++ |+#include <stdlib.h> 3 | extract.c:203:11: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 203 | exit (1); | ^~~~ extract.c:203:11: note: include '<stdlib.h>' or provide a declaration of 'exit' gcc -c -O2 -Wall -pedantic -ansi -D__unix__ join.c join.c: In function 'join_err': join.c:78:13: warning: implicit declaration of function 'strdup'; did you mean 'strupr'? [-Wimplicit-function-declaration] 78 | file[0] = strdup (file1); | ^~~~~~ | strupr join.c:78:11: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 78 | file[0] = strdup (file1); | ^ join.c:79:11: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 79 | file[1] = strdup (file2); | ^ join.c:229:5: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] 229 | unlink ("7plus.tmp"); | ^~~~~~ gcc -c -O2 -Wall -pedantic -ansi -D__unix__ utils.c utils.c: In function 'my_putc': utils.c:88:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 88 | exit (1); | ^~~~ utils.c:27:1: note: include '<stdlib.h>' or provide a declaration of 'exit' 26 | #include <utime.h> +++ |+#include <stdlib.h> 27 | #endif utils.c:88:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 88 | exit (1); | ^~~~ utils.c:88:5: note: include '<stdlib.h>' or provide a declaration of 'exit' utils.c: In function 'crc_file': utils.c:512:9: warning: the address of 'line' will always evaluate as 'true' [-Waddress] 512 | if (!line || strncmp ("CRC ", line, 4)) | ^ utils.c: In function 'copy_file': utils.c:572:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 572 | exit (1); | ^~~~ utils.c:572:5: note: include '<stdlib.h>' or provide a declaration of 'exit' utils.c: In function 'replace': utils.c:586:7: warning: implicit declaration of function 'access' [-Wimplicit-function-declaration] 586 | if (access (old, 2)) | ^~~~~~ utils.c:588:3: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] 588 | unlink (old); | ^~~~~~ utils.c: In function 'test_file': utils.c:901:12: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 901 | if (!flag) | ^~ utils.c:903:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 903 | fprintf (o, "Break.\n"); | ^~~~~~~ utils.c: In function 'getch': utils.c:1767:9: warning: implicit declaration of function 'fileno' [-Wimplicit-function-declaration] 1767 | fd = fileno (stdin); | ^~~~~~ utils.c:1778:13: warning: implicit declaration of function 'gtty' [-Wimplicit-function-declaration] 1778 | (void) gtty(fd, &sg[OFF]); | ^~~~ utils.c:1793:25: error: 'CBREAK' undeclared (first use in this function) 1793 | sg[ON].sg_flags |= CBREAK; | ^~~~~~ utils.c:1793:25: note: each undeclared identifier is reported only once for each function it appears in utils.c:1804:11: warning: implicit declaration of function 'stty' [-Wimplicit-function-declaration] 1804 | (void) stty(fd, &sg[ON]); | ^~~~ utils.c:1807:4: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 1807 | read(fd, &c, 1); | ^~~~ | fread gmake: *** [netbsd.mak:28: utils.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/ham/7plus *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/ham/7plus