+ 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/xjdic-2.4/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xjdic-2.4/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xjdic-2.4 gcc -D__STRICT_BSD__ -DPREFIX=\"/opt/pkg\" -c -DXJDFRONTEND -DXJDCLSERV xjdcomm.c -o xjdcomm_cl.o xjdcomm.c: In function 'xjdicrc': xjdcomm.c:273:5: warning: implicit declaration of function 'EMtoggle' [-Wimplicit-function-declaration] 273 | EMtoggle (); | ^~~~~~~~ gcc -D__STRICT_BSD__ -DPREFIX=\"/opt/pkg\" -c -DXJDFRONTEND -DXJDCLSERV xjdfrontend.c -o xjdfrontend_cl.o xjdfrontend.c: In function 'ioctlraw': xjdfrontend.c:264:5: warning: implicit declaration of function 'ioctl'; did you mean 'ioctlraw'? [-Wimplicit-function-declaration] 264 | ioctl(0, TIOCGETP, &orig); ioctl(0, TIOCGETP, &new); | ^~~~~ | ioctlraw xjdfrontend.c:265:21: error: 'CBREAK' undeclared (first use in this function); did you mean 'CREAD'? 265 | new.sg_flags |= CBREAK; new.sg_flags &= ~ECHO; | ^~~~~~ | CREAD xjdfrontend.c:265:21: note: each undeclared identifier is reported only once for each function it appears in xjdfrontend.c: In function 'locale_output': xjdfrontend.c:710:15: warning: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 710 | iconv(descr, &inbuf_p, &inbytesleft, &outbuf_p, &outbytesleft); | ^~~~~~~~ | | | char ** In file included from xjdfrontend.c:34: /home/pbulk/build/misc/xjdic/work/.buildlink/include/iconv.h:83:48: note: expected 'const char **' but argument is of type 'char **' 83 | extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); | ~~~~~~~~~~~~~~^~~~~ xjdfrontend.c: In function 'locale_GetKBStr': xjdfrontend.c:2284:21: warning: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 2284 | if (iconv(descr, &inbuf_p, &inbytesleft, &outbuf_p, &outbytesleft) == -1) | ^~~~~~~~ | | | char ** In file included from xjdfrontend.c:34: /home/pbulk/build/misc/xjdic/work/.buildlink/include/iconv.h:83:48: note: expected 'const char **' but argument is of type 'char **' 83 | extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); | ~~~~~~~~~~~~~~^~~~~ xjdfrontend.c:2284:31: warning: passing argument 3 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 2284 | if (iconv(descr, &inbuf_p, &inbytesleft, &outbuf_p, &outbytesleft) == -1) | ^~~~~~~~~~~~ | | | int * In file included from xjdfrontend.c:34: /home/pbulk/build/misc/xjdic/work/.buildlink/include/iconv.h:83:63: note: expected 'size_t *' {aka 'long unsigned int *'} but argument is of type 'int *' 83 | extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); | ~~~~~~~~^~~~~~~~~~~ xjdfrontend.c:2284:56: warning: passing argument 5 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 2284 | if (iconv(descr, &inbuf_p, &inbytesleft, &outbuf_p, &outbytesleft) == -1) | ^~~~~~~~~~~~~ | | | int * In file included from xjdfrontend.c:34: /home/pbulk/build/misc/xjdic/work/.buildlink/include/iconv.h:83:100: note: expected 'size_t *' {aka 'long unsigned int *'} but argument is of type 'int *' 83 | extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); | ~~~~~~~~^~~~~~~~~~~~ xjdfrontend.c: In function 'convert_to_euc': xjdfrontend.c:2327:15: warning: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 2327 | iconv(descr, &in, &inbytesleft, &out, &outlen); | ^~~ | | | char ** In file included from xjdfrontend.c:34: /home/pbulk/build/misc/xjdic/work/.buildlink/include/iconv.h:83:48: note: expected 'const char **' but argument is of type 'char **' 83 | extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); | ~~~~~~~~~~~~~~^~~~~ xjdfrontend.c:2327:20: warning: passing argument 3 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 2327 | iconv(descr, &in, &inbytesleft, &out, &outlen); | ^~~~~~~~~~~~ | | | int * In file included from xjdfrontend.c:34: /home/pbulk/build/misc/xjdic/work/.buildlink/include/iconv.h:83:63: note: expected 'size_t *' {aka 'long unsigned int *'} but argument is of type 'int *' 83 | extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); | ~~~~~~~~^~~~~~~~~~~ xjdfrontend.c:2327:40: warning: passing argument 5 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 2327 | iconv(descr, &in, &inbytesleft, &out, &outlen); | ^~~~~~~ | | | int * In file included from xjdfrontend.c:34: /home/pbulk/build/misc/xjdic/work/.buildlink/include/iconv.h:83:100: note: expected 'size_t *' {aka 'long unsigned int *'} but argument is of type 'int *' 83 | extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); | ~~~~~~~~^~~~~~~~~~~~ xjdfrontend.c: At top level: xjdfrontend.c:2921:1: warning: return type defaults to 'int' [-Wimplicit-int] 2921 | main(int argc, char **argv) | ^~~~ xjdfrontend.c: In function 'main': xjdfrontend.c:3230:11: warning: implicit declaration of function 'getpid'; did you mean 'getpw'? [-Wimplicit-function-declaration] 3230 | pid = getpid(); | ^~~~~~ | getpw xjdfrontend.c:3562:6: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] 3562 | sleep(2); | ^~~~~ *** [xjdfrontend_cl.o] Error code 1 bmake: stopped in /home/pbulk/build/misc/xjdic/work 1 error bmake: stopped in /home/pbulk/build/misc/xjdic/work *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/xjdic *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/xjdic