=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/misc/xjdic", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] 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=\"/opt/pkg\" -c -DXJDFRONTEND -DXJDCLSERV xjdcomm.c -o xjdcomm_cl.o --- xjdfrontend_cl.o --- gcc -D__STRICT_BSD__ -DPREFIX=\"/opt/pkg\" -c -DXJDFRONTEND -DXJDCLSERV xjdfrontend.c -o xjdfrontend_cl.o --- xjdcomm_cl.o --- xjdcomm.c: In function 'xfopen': xjdcomm.c:110:20: error: conflicting types for 'fopen'; have 'FILE *(void)' 110 | FILE *fx, *fopen(); | ^~~~~ In file included from /usr/include/stdio.h:83, from xjdcomm.c:21: /usr/include/iso/stdio_iso.h:197:18: note: previous declaration of 'fopen' with type 'FILE *(const char * restrict, const char * restrict)' 197 | extern FILE *fopen(const char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD); | ^~~~~ xjdcomm.c:125:14: error: too many arguments to function 'fopen'; expected 0, have 2 125 | fx = fopen(fnbuff,file_mode); | ^~~~~ ~~~~~~ xjdcomm.c:110:20: note: declared here 110 | FILE *fx, *fopen(); | ^~~~~ xjdcomm.c:138:14: error: too many arguments to function 'fopen'; expected 0, have 2 138 | fx = fopen(file_name,file_mode); | ^~~~~ ~~~~~~~~~ xjdcomm.c:110:20: note: declared here 110 | FILE *fx, *fopen(); | ^~~~~ xjdcomm.c: In function 'xjdicrc': xjdcomm.c:195:30: error: too many arguments to function 'fopen'; expected 0, have 2 195 | fm = fopen(cl_rcfile,"r"); | ^~~~~ ~~~~~~~~~ xjdcomm.c:169:19: note: declared here 169 | FILE *fm,*fopen(); | ^~~~~ xjdcomm.c:214:22: error: too many arguments to function 'fopen'; expected 0, have 2 214 | fm = fopen(xjdicdir,"r"); | ^~~~~ ~~~~~~~~ xjdcomm.c:169:19: note: declared here 169 | FILE *fm,*fopen(); | ^~~~~ xjdcomm.c:217:22: error: too many arguments to function 'fopen'; expected 0, have 2 217 | fm = fopen(xjdicdir,"r"); | ^~~~~ ~~~~~~~~ xjdcomm.c:169:19: note: declared here 169 | FILE *fm,*fopen(); | ^~~~~ xjdcomm.c:224:30: error: too many arguments to function 'fopen'; expected 0, have 2 224 | fm = fopen(xjdicdir,"r"); | ^~~~~ ~~~~~~~~ xjdcomm.c:169:19: note: declared here 169 | FILE *fm,*fopen(); | ^~~~~ xjdcomm.c:273:33: error: implicit declaration of function 'EMtoggle' [-Wimplicit-function-declaration] 273 | EMtoggle (); | ^~~~~~~~ --- xjdfrontend_cl.o --- xjdfrontend.c:81:26: error: conflicting types for 'fopen'; have 'FILE *(void)' 81 | FILE *fe, *fex, *fclip, *fopen(); | ^~~~~ In file included from /usr/include/stdio.h:83, from xjdfrontend.c:21: /usr/include/iso/stdio_iso.h:197:18: note: previous declaration of 'fopen' with type 'FILE *(const char * restrict, const char * restrict)' 197 | extern FILE *fopen(const char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD); | ^~~~~ xjdfrontend.c: In function 'ioctlraw': xjdfrontend.c:264:5: error: 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 'GetWinSize': xjdfrontend.c:328:26: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 328 | signal(SIGWINCH, NewWinSize); | ^~~~~~~~~~ | | | void (*)(void) In file included from /usr/include/signal.h:42, from xjdfrontend.c:27: /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ xjdfrontend.c:246:6: note: 'NewWinSize' declared here 246 | void NewWinSize(); | ^~~~~~~~~~ xjdfrontend.c: In function 'KSLoad': xjdfrontend.c:357:19: error: conflicting types for 'fopen'; have 'FILE *(void)' 357 | FILE *fk,*fopen(); | ^~~~~ /usr/include/iso/stdio_iso.h:197:18: note: previous declaration of 'fopen' with type 'FILE *(const char * restrict, const char * restrict)' 197 | extern FILE *fopen(const char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD); | ^~~~~ --- xjdcomm_cl.o --- *** [xjdcomm_cl.o] Error code 1 bmake: stopped making "all" in /tmp/work/misc/xjdic/work --- xjdfrontend_cl.o --- xjdfrontend.c: In function 'locale_GetKBStr': xjdfrontend.c:2284:52: error: 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: /tmp/work/misc/xjdic/work/.buildlink/include/iconv.h:81:58: note: expected 'size_t *' {aka 'long unsigned int *'} but argument is of type 'int *' 81 | extern size_t iconv (iconv_t cd, char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); | ~~~~~~~~^~~~~~~~~~~ xjdfrontend.c:2284:77: error: passing argument 5 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 2284 | if (iconv(descr, &inbuf_p, &inbytesleft, &outbuf_p, &outbytesleft) == -1) | ^~~~~~~~~~~~~ | | | int * /tmp/work/misc/xjdic/work/.buildlink/include/iconv.h:81:95: note: expected 'size_t *' {aka 'long unsigned int *'} but argument is of type 'int *' 81 | extern size_t iconv (iconv_t cd, char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); | ~~~~~~~~^~~~~~~~~~~~ xjdfrontend.c: In function 'convert_to_euc': xjdfrontend.c:2327:27: error: passing argument 3 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 2327 | iconv(descr, &in, &inbytesleft, &out, &outlen); | ^~~~~~~~~~~~ | | | int * /tmp/work/misc/xjdic/work/.buildlink/include/iconv.h:81:58: note: expected 'size_t *' {aka 'long unsigned int *'} but argument is of type 'int *' 81 | extern size_t iconv (iconv_t cd, char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); | ~~~~~~~~^~~~~~~~~~~ xjdfrontend.c:2327:47: error: passing argument 5 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 2327 | iconv(descr, &in, &inbytesleft, &out, &outlen); | ^~~~~~~ | | | int * /tmp/work/misc/xjdic/work/.buildlink/include/iconv.h:81:95: note: expected 'size_t *' {aka 'long unsigned int *'} but argument is of type 'int *' 81 | extern size_t iconv (iconv_t cd, char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); | ~~~~~~~~^~~~~~~~~~~~ xjdfrontend.c: At top level: xjdfrontend.c:2921:1: error: return type defaults to 'int' [-Wimplicit-int] 2921 | main(int argc, char **argv) | ^~~~ xjdfrontend.c: In function 'main': xjdfrontend.c:3230:39: error: implicit declaration of function 'getpid'; did you mean 'getpw'? [-Wimplicit-function-declaration] 3230 | pid = getpid(); | ^~~~~~ | getpw xjdfrontend.c:3562:33: error: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] 3562 | sleep(2); | ^~~~~ xjdfrontend.c:3563:41: error: too many arguments to function 'fopen'; expected 0, have 2 3563 | fclip = fopen(Clip_File,"r"); | ^~~~~ ~~~~~~~~~ xjdfrontend.c:81:26: note: declared here 81 | FILE *fe, *fex, *fclip, *fopen(); | ^~~~~ *** [xjdfrontend_cl.o] Error code 1 bmake: stopped making "all" in /tmp/work/misc/xjdic/work bmake: 2 errors bmake: stopped making "all" in /tmp/work/misc/xjdic/work *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/xjdic *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/xjdic