+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xjdic-2.4/work.log + su pbulk -c '"$@"' make /usr/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 --- xjdcomm_cl.o --- --- xjdfrontend_cl.o --- --- xjdcomm_cl.o --- gcc -D__STRICT_BSD__ -DPREFIX=\"/usr/pkg\" -c -DXJDFRONTEND -DXJDCLSERV xjdcomm.c -o xjdcomm_cl.o --- xjdfrontend_cl.o --- gcc -D__STRICT_BSD__ -DPREFIX=\"/usr/pkg\" -c -DXJDFRONTEND -DXJDCLSERV xjdfrontend.c -o xjdfrontend_cl.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xjdfrontend.c:21: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- xjdcomm_cl.o --- In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xjdcomm.c:21: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ --- xjdfrontend_cl.o --- xjdfrontend.c: In function 'ioctlraw': xjdfrontend.c:264:14: error: 'TIOCGETP' undeclared (first use in this function); did you mean 'TIOCGETD'? 264 | ioctl(0, TIOCGETP, &orig); ioctl(0, TIOCGETP, &new); | ^~~~~~~~ | TIOCGETD xjdfrontend.c:264:14: note: each undeclared identifier is reported only once for each function it appears in xjdfrontend.c:265:8: error: invalid use of undefined type 'struct sgttyb' 265 | new.sg_flags |= CBREAK; new.sg_flags &= ~ECHO; | ^ 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:32: error: invalid use of undefined type 'struct sgttyb' 265 | new.sg_flags |= CBREAK; new.sg_flags &= ~ECHO; | ^ xjdfrontend.c:266:14: error: 'TIOCSETP' undeclared (first use in this function); did you mean 'TIOCSETD'? 266 | ioctl(0, TIOCSETP, &new); | ^~~~~~~~ | TIOCSETD xjdfrontend.c: In function 'ioctlorig': xjdfrontend.c:281:13: error: 'TIOCSETP' undeclared (first use in this function); did you mean 'TIOCSETD'? 281 | ioctl(0, TIOCSETP, &orig); | ^~~~~~~~ | TIOCSETD --- xjdcomm_cl.o --- xjdcomm.c: In function 'xjdicrc': xjdcomm.c:273:33: warning: implicit declaration of function 'EMtoggle' [-Wimplicit-function-declaration] 273 | EMtoggle (); | ^~~~~~~~ --- xjdfrontend_cl.o --- xjdfrontend.c: In function 'locale_GetKBStr': xjdfrontend.c:2251:36: warning: implicit declaration of function 'iswprint' [-Wimplicit-function-declaration] 2251 | } else if (iswprint(wbuf[length])) { | ^~~~~~~~ xjdfrontend.c:48:1: note: include '<wctype.h>' or provide a declaration of 'iswprint' 47 | #include <sgtty.h> +++ |+#include <wctype.h> 48 | #else xjdfrontend.c:2251:49: warning: 'iswprint' argument 1 promotes to 'wchar_t' {aka 'int'} where 'unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 2251 | } else if (iswprint(wbuf[length])) { | ~~~~^~~~~~~~ <built-in>: note: built-in 'iswprint' declared here xjdfrontend.c:2284:52: warning: passing argument 3 of 'iconv' 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: /usr/include/iconv.h:43:41: note: expected 'size_t * restrict' {aka 'long unsigned int * restrict'} but argument is of type 'int *' 43 | size_t *__restrict __inbytesleft, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ xjdfrontend.c:2284:77: warning: passing argument 5 of 'iconv' 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: /usr/include/iconv.h:45:41: note: expected 'size_t * restrict' {aka 'long unsigned int * restrict'} but argument is of type 'int *' 45 | size_t *__restrict __outbytesleft); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ xjdfrontend.c: In function 'convert_to_euc': xjdfrontend.c:2327:27: warning: passing argument 3 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] 2327 | iconv(descr, &in, &inbytesleft, &out, &outlen); | ^~~~~~~~~~~~ | | | int * In file included from xjdfrontend.c:34: /usr/include/iconv.h:43:41: note: expected 'size_t * restrict' {aka 'long unsigned int * restrict'} but argument is of type 'int *' 43 | size_t *__restrict __inbytesleft, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ xjdfrontend.c:2327:47: warning: passing argument 5 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] 2327 | iconv(descr, &in, &inbytesleft, &out, &outlen); | ^~~~~~~ | | | int * In file included from xjdfrontend.c:34: /usr/include/iconv.h:45:41: note: expected 'size_t * restrict' {aka 'long unsigned int * restrict'} but argument is of type 'int *' 45 | size_t *__restrict __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:2946:43: warning: implicit declaration of function 'getcwd'; did you mean 'getwc'? [-Wimplicit-function-declaration] 2946 | dicenv = (unsigned char *)getcwd(ENVname,sizeof(ENVname)); | ^~~~~~ | getwc xjdfrontend.c:2946:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2946 | dicenv = (unsigned char *)getcwd(ENVname,sizeof(ENVname)); | ^ xjdfrontend.c:3230:39: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] 3230 | pid = getpid(); | ^~~~~~ xjdfrontend.c:3562:33: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] 3562 | sleep(2); | ^~~~~ xjdfrontend.c: At top level: xjdfrontend.c:67:25: error: storage size of 'orig' isn't known 67 | static struct sgttyb orig,new; | ^~~~ xjdfrontend.c:67:30: error: storage size of 'new' isn't known 67 | static struct sgttyb orig,new; | ^~~ *** [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-el9-trunk-x86_64/misc/xjdic *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/misc/xjdic