+ 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/w3m-0.5.3.0.20230121/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/w3m-0.5.3.0.20230121/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for w3m-0.5.3.0.20230121 (echo '#define DEFUN(x,y,z) x y';\ sed -ne '/^DEFUN/{p;n;/^[ ]/p;}' ./main.c ./menu.c) | gcc -E -I/opt/pkg/include -I/opt/pkg/include/ncurses - | \ awk '$1 ~ /^[_A-Za-z]/ { \ for (i=2;i<=NF;i++) { print $i, $1} \ }' > funcname.tab.tmp funcname.tab updated sort funcname.tab | /usr/bin/nawk -f ./funcname1.awk > funcname1.h gcc -Wall -Wnull-dereference -I. -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -I./libwc -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -DAUXBIN_DIR=\"/opt/pkg/libexec/w3m\" -DCGIBIN_DIR=\"/opt/pkg/libexec/w3m/cgi-bin\" -DHELP_DIR=\"/opt/pkg/share/w3m\" -DETC_DIR=\"/etc/opt/pkg\" -DCONF_DIR=\"/etc/opt/pkg/w3m\" -DRC_DIR=\"~/.w3m\" -DLOCALEDIR=\"/opt/pkg/lib/locale\" -I/opt/pkg/include -I/opt/pkg/include/ncurses -c -o main.o main.c In file included from fm.h:26, from main.c:3: config.h:183:18: error: unknown type name 'sigjmp_buf'; did you mean 'jmp_buf'? 183 | # define JMP_BUF sigjmp_buf | ^~~~~~~~~~ main.c:89:1: note: in expansion of macro 'JMP_BUF' 89 | JMP_BUF IntReturn; | ^~~~~~~ In file included from textlist.h:4, from history.h:5, from fm.h:27: main.c: In function 'make_optional_header_string': Str.h:79:38: warning: implicit declaration of function 'strcasecmp'; did you mean 'Strcasecmp'? [-Wimplicit-function-declaration] 79 | #define Strcasecmp_charp(x,y) strcasecmp((x)->ptr,(y)) | ^~~~~~~~~~ main.c:384:10: note: in expansion of macro 'Strcasecmp_charp' 384 | if (!Strcasecmp_charp(hs, "content-type")) | ^~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:964:35: warning: implicit declaration of function 'fdopen'; did you mean 'fopen'? [-Wimplicit-function-declaration] 964 | redin = newFileStream(fdopen(dup(0), "rb"), (void (*)())pclose); | ^~~~~~ | fopen main.c:964:69: error: 'pclose' undeclared (first use in this function); did you mean 'close'? 964 | redin = newFileStream(fdopen(dup(0), "rb"), (void (*)())pclose); | ^~~~~~ | close main.c:964:69: note: each undeclared identifier is reported only once for each function it appears in main.c:964:35: warning: passing argument 1 of 'newFileStream' makes pointer from integer without a cast [-Wint-conversion] 964 | redin = newFileStream(fdopen(dup(0), "rb"), (void (*)())pclose); | ^~~~~~~~~~~~~~~~~~~~ | | | int In file included from fm.h:80: istream.h:113:41: note: expected 'FILE *' but argument is of type 'int' 113 | extern InputStream newFileStream(FILE * f, void (*closep) ()); | ~~~~~~~^ main.c: In function 'do_dump': config.h:181:22: warning: implicit declaration of function 'sigsetjmp'; did you mean '_setjmp'? [-Wimplicit-function-declaration] 181 | # define SETJMP(env) sigsetjmp(env,1) | ^~~~~~~~~ main.c:1397:9: note: in expansion of macro 'SETJMP' 1397 | if (SETJMP(IntReturn) != 0) { | ^~~~~~ main.c: In function 'intTrap': config.h:182:27: warning: implicit declaration of function 'siglongjmp'; did you mean '_longjmp'? [-Wimplicit-function-declaration] 182 | # define LONGJMP(env,val) siglongjmp(env,val) | ^~~~~~~~~~ main.c:1597:5: note: in expansion of macro 'LONGJMP' 1597 | LONGJMP(IntReturn, 0); | ^~~~~~~ main.c: In function 'susp': main.c:2676:5: warning: implicit declaration of function 'kill' [-Wimplicit-function-declaration] 2676 | kill(0, SIGTSTP); /* stop whole job, not a single process */ | ^~~~ main.c: In function 'handleMailto': main.c:3090:9: warning: implicit declaration of function 'strncasecmp'; did you mean 'Strncasecmp'? [-Wimplicit-function-declaration] 3090 | if (strncasecmp(url, "mailto:", 7)) | ^~~~~~~~~~~ | Strncasecmp main.c: In function 'svBuf': main.c:4609:13: warning: implicit declaration of function 'popen'; did you mean 'open'? [-Wimplicit-function-declaration] 4609 | f = popen(file + 1, "w"); | ^~~~~ | open main.c:4609:11: warning: assignment to 'FILE *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 4609 | f = popen(file + 1, "w"); | ^ main.c:4632:9: warning: implicit declaration of function 'pclose'; did you mean 'close'? [-Wimplicit-function-declaration] 4632 | pclose(f); | ^~~~~~ | close main.c: In function '_peekURL': main.c:4704:5: warning: implicit declaration of function 'bcopy'; did you mean 'm_copy'? [-Wimplicit-function-declaration] 4704 | bcopy((void *)pp, (void *)p, s->length * sizeof(Lineprop)); | ^~~~~ | m_copy gmake: *** [: main.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/www/w3m *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/www/w3m