+ 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/awka-0.7.5nb4/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/awka-0.7.5nb4/work.log ===> Building for awka-0.7.5nb4 --- awka_exe --- --- libawka --- --- awka_exe --- cd awka; /opt/pkg/bin/bmake --- libawka --- cd lib; /opt/pkg/bin/bmake --- libawka.h --- --- awka_exe --- --- translate.o --- --- awka.o --- --- scan.o --- --- translate.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Dawka_LIBDIR=\"/opt/pkg/lib\" -Dawka_INCDIR=\"/opt/pkg/include\" -c translate.c --- awka.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Dawka_LIBDIR=\"/opt/pkg/lib\" -Dawka_INCDIR=\"/opt/pkg/include\" -c awka.c --- libawka --- /usr/bin/nawk -f ../examples/fixhdr.awk libawka.h.in >libawka.h --- awka_exe --- --- scan.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Dawka_LIBDIR=\"/opt/pkg/lib\" -Dawka_INCDIR=\"/opt/pkg/include\" -c scan.c --- awka.o --- awka.c: In function 'main': awka.c:244:9: error: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] 244 | unlink(c_file); | ^~~~~~ *** [awka.o] Error code 1 bmake[1]: stopped making "all" in /home/pbulk/build/lang/awka/work/awka-0.7.5/awka --- libawka --- *** [libawka] Error code 6 bmake: stopped making "all" in /home/pbulk/build/lang/awka/work/awka-0.7.5 --- awka_exe --- --- scan.o --- scan.c: In function 'yylex': scan.c:734:20: error: implicit declaration of function 'bi_funct_find'; did you mean 'bi_funct_init'? [-Wimplicit-function-declaration] 734 | if (bi_funct_find(string_buff)) | ^~~~~~~~~~~~~ | bi_funct_init scan.c: In function 'fillbuff': scan.c:1212:19: error: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 1212 | switch (r = read(fd, target, size)) | ^~~~ | fread *** [scan.o] Error code 1 bmake[1]: stopped making "all" in /home/pbulk/build/lang/awka/work/awka-0.7.5/awka --- translate.o --- translate.c: In function 'awka_getline': translate.c:2982:7: warning: '__builtin_memcpy' writing 31 bytes into a region of size 30 overflows the destination [-Wstringop-overflow=] 2982 | strcpy(r3, "awka_gets(a_bivar[a_FILENAME])"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from translate.c:35: In function 'awka_malloc', inlined from 'awka_getline' at translate.c:2981:21: mem.h:21:15: note: destination object of size 30 allocated by 'malloc' 21 | if (!(ptr = malloc(size))) | ^~~~~~~~~~~~ translate.c: In function 'process_argv': translate.c:4382:9: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 4382 | *p4 = '\0'; | ~~~~^~~~~~ In function 'awka_malloc', inlined from 'process_argv' at translate.c:4367:28: mem.h:21:15: note: destination object of size 0 allocated by 'malloc' 21 | if (!(ptr = malloc(size))) | ^~~~~~~~~~~~ bmake[1]: 2 errors bmake[1]: stopped making "all" in /home/pbulk/build/lang/awka/work/awka-0.7.5/awka *** [awka_exe] Error code 2 bmake: stopped making "all" in /home/pbulk/build/lang/awka/work/awka-0.7.5 bmake: 2 errors bmake: stopped making "all" in /home/pbulk/build/lang/awka/work/awka-0.7.5 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/awka *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/awka