=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for goofey-3.15 cd /tmp/chat/goofey/work/goofey-3.15; gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wl,-zrelro -Wl,-R/usr/pkg/lib -o goofey goofey.c goofey.c: In function 'main': goofey.c:244:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0); ^~~~ goofey.c:244:2: warning: incompatible implicit declaration of built-in function 'exit' goofey.c:244:2: note: include '' or provide a declaration of 'exit' goofey.c:250:12: warning: implicit declaration of function 'getppid' [-Wimplicit-function-declaration] ppid = getppid(); ^~~~~~~ goofey.c:252:9: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] if (fork()) { ^~~~ goofey.c:253:2: warning: incompatible implicit declaration of built-in function 'exit' exit(0); /* In parent */ ^~~~ goofey.c:253:2: note: include '' or provide a declaration of 'exit' goofey.c:272:7: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ goofey.c:272:7: note: include '' or provide a declaration of 'exit' goofey.c: In function 'check_size': goofey.c:287:9: warning: implicit declaration of function 'isatty' [-Wimplicit-function-declaration] if (isatty(1)) { ^~~~~~ goofey.c:296:14: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] width = atoi(s); ^~~~ goofey.c: In function 'say_hi_to_server': goofey.c:326:17: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] while ((i = read(sock,buf,(sizeof buf)-1)) > 0) { ^~~~ fread goofey.c:334:5: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(sock); ^~~~~ pclose goofey.c: In function 'generate_password': goofey.c:343:14: warning: implicit declaration of function 'getpid'; did you mean 'getenv'? [-Wimplicit-function-declaration] seed ^= (getpid() << 16) | (getppid()); ^~~~~~ getenv goofey.c: In function 'die': goofey.c:358:5: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ goofey.c:358:5: note: include '' or provide a declaration of 'exit' goofey.c: In function 'send_and_get_message': goofey.c:381:9: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] b = malloc(i=(strlen(build_arrived_string(0)) + ^~~~~~ goofey.c:381:9: warning: incompatible implicit declaration of built-in function 'malloc' goofey.c:381:9: note: include '' or provide a declaration of 'malloc' goofey.c:401:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(b); ^~~~ goofey.c:401:5: warning: incompatible implicit declaration of built-in function 'free' goofey.c:401:5: note: include '' or provide a declaration of 'free' goofey.c:425:5: warning: incompatible implicit declaration of built-in function 'exit' exit(0); /* The normal exit point for non-resident goofeys */ ^~~~ goofey.c:425:5: note: include '' or provide a declaration of 'exit' goofey.c: In function 'lonely': goofey.c:440:5: warning: implicit declaration of function 'alarm' [-Wimplicit-function-declaration] alarm(LONELY_INTERVAL); ^~~~~ goofey.c: In function 'build_arrived_string': goofey.c:486:12: warning: type defaults to 'int' in declaration of 'done' [-Wimplicit-int] static done,port,wid; ^~~~ goofey.c:486:17: warning: type defaults to 'int' in declaration of 'port' [-Wimplicit-int] static done,port,wid; ^~~~ goofey.c:486:22: warning: type defaults to 'int' in declaration of 'wid' [-Wimplicit-int] static done,port,wid; ^~~ goofey.c: In function 'go_find_a_port': goofey.c:540:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ goofey.c:540:2: note: include '' or provide a declaration of 'exit' goofey.c:556:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ goofey.c:556:2: note: include '' or provide a declaration of 'exit' goofey.c:562:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ goofey.c:562:2: note: include '' or provide a declaration of 'exit' goofey.c: In function 'get_my_tty': goofey.c:589:12: warning: type defaults to 'int' in declaration of 'set' [-Wimplicit-int] static set; ^~~ goofey.c: In function 'request_handler': goofey.c:636:2: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ goofey.c:636:2: note: include '' or provide a declaration of 'exit' goofey.c:641:6: warning: incompatible implicit declaration of built-in function 'free' free(msg); ^~~~ goofey.c:641:6: note: include '' or provide a declaration of 'free' goofey.c:668:7: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration] utime(get_my_tty(),timeout); ^~~~~ utimes goofey.c:677:3: warning: implicit declaration of function 'sleep'; did you mean 'stresep'? [-Wimplicit-function-declaration] sleep(1); ^~~~~ stresep goofey.c:680:3: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ goofey.c:680:3: note: include '' or provide a declaration of 'exit' goofey.c:685:2: warning: incompatible implicit declaration of built-in function 'free' free(msg); ^~~~ goofey.c:685:2: note: include '' or provide a declaration of 'free' goofey.c: In function 'find_inet_addr': goofey.c:717:6: warning: incompatible implicit declaration of built-in function 'exit' exit(2); ^~~~ goofey.c:717:6: note: include '' or provide a declaration of 'exit' goofey.c: In function 'connect_to_server': goofey.c:736:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ goofey.c:736:2: note: include '' or provide a declaration of 'exit' goofey.c:809:6: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ goofey.c:809:6: note: include '' or provide a declaration of 'exit' goofey.c:820:6: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ goofey.c:820:6: note: include '' or provide a declaration of 'exit' goofey.c: In function 'write_str': goofey.c:836:9: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] if (write(sock,mesg,strlen(mesg)) <0) ^~~~~ fwrite goofey.c: In function 'process_flags': goofey.c:956:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ goofey.c:956:3: note: include '' or provide a declaration of 'exit' goofey.c:969:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ goofey.c:969:3: note: include '' or provide a declaration of 'exit' goofey.c:1027:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ goofey.c:1027:4: note: include '' or provide a declaration of 'exit' goofey.c:1056:3: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ goofey.c:1056:3: note: include '' or provide a declaration of 'exit' goofey.c:1088:7: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ goofey.c:1088:7: note: include '' or provide a declaration of 'exit' goofey.c:1096:3: warning: incompatible implicit declaration of built-in function 'free' free(n); ^~~~ goofey.c:1096:3: note: include '' or provide a declaration of 'free' goofey.c:1100:2: warning: incompatible implicit declaration of built-in function 'free' free(m); ^~~~ goofey.c:1100:2: note: include '' or provide a declaration of 'free' goofey.c: In function 'editor': goofey.c:1120:7: warning: incompatible implicit declaration of built-in function 'malloc' e=malloc(++l); ^~~~~~ goofey.c:1120:7: note: include '' or provide a declaration of 'malloc' goofey.c: In function 'write_goof': goofey.c:1138:6: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] unlink(name); ^~~~~~ goofey.c: In function 'editmsg': goofey.c:1168:5: warning: implicit declaration of function 'system'; did you mean 'listen'? [-Wimplicit-function-declaration] system(buf); ^~~~~~ listen goofey.c:1175:5: warning: incompatible implicit declaration of built-in function 'free' free(msg); /* We can discard existing msg now */ ^~~~ goofey.c:1175:5: note: include '' or provide a declaration of 'free' goofey.c: In function 'get_recip': goofey.c:1309:5: warning: incompatible implicit declaration of built-in function 'free' free(*recip); ^~~~ goofey.c:1309:5: note: include '' or provide a declaration of 'free' goofey.c: In function 'get_message': goofey.c:1372:7: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ goofey.c:1372:7: note: include '' or provide a declaration of 'exit' goofey.c: In function 'check_alloc': goofey.c:1454:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ goofey.c:1454:2: note: include '' or provide a declaration of 'exit' goofey.c: In function 'do_resize': goofey.c:1462:7: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] *m = realloc(*m,(*l)+x+2); ^~~~~~~ goofey.c:1462:7: warning: incompatible implicit declaration of built-in function 'realloc' goofey.c:1462:7: note: include '' or provide a declaration of 'realloc' goofey.c:1464:7: warning: incompatible implicit declaration of built-in function 'malloc' *m = malloc(x+2); ^~~~~~ goofey.c:1464:7: note: include '' or provide a declaration of 'malloc' ld: /tmp//ccwOUmiP.o: in function `request_handler': goofey.c:(.text+0x13e9): warning: warning: reference to compatibility utime(); include to generate correct reference