=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/xmagv", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for xmagv-1.11 --- xmagv._man --- --- fblib.o --- --- xmagv._man --- rm -f xmagv._man --- fblib.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c fblib.c --- xmagv._man --- if test -z "" ; then cd `dirname xmagv` && ln -s `basename xmagv.man` `basename xmagv._man`; else cpp -undef -D__apploaddir__=/opt/pkg/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/opt/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/opt/pkg/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" < xmagv.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >xmagv._man; fi --- xmagv.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c xmagv.c --- fblib.o --- fblib.c:273:6: error: conflicting types for 'FB_setevent'; have 'void(int (*)(void))' 273 | void FB_setevent(int (*p)()) | ^~~~~~~~~~~ In file included from fblib.c:11: fb.h:325:6: note: previous declaration of 'FB_setevent' with type 'void(int (*)(int))' 325 | void FB_setevent(int (*func)(int)); | ^~~~~~~~~~~ fblib.c:279:6: error: conflicting types for 'FB_setkeyevent'; have 'void(int (*)(void))' 279 | void FB_setkeyevent(int (*p)()) | ^~~~~~~~~~~~~~ fb.h:326:6: note: previous declaration of 'FB_setkeyevent' with type 'void(int (*)(char *, KeySym *))' {aka 'void(int (*)(char *, long unsigned int *))'} 326 | void FB_setkeyevent(int (*)(char *, KeySym*)); | ^~~~~~~~~~~~~~ fblib.c:285:6: error: conflicting types for 'FB_setmouseevent'; have 'void(int (*)(void))' 285 | void FB_setmouseevent(int (*p)()) | ^~~~~~~~~~~~~~~~ fb.h:327:6: note: previous declaration of 'FB_setmouseevent' with type 'void(int (*)(int, int, int))' 327 | void FB_setmouseevent(int (*)(int, int, int)); | ^~~~~~~~~~~~~~~~ fblib.c:290:6: error: conflicting types for 'FB_setredrawevent'; have 'void(int (*)(void))' 290 | void FB_setredrawevent(int (*p)()) | ^~~~~~~~~~~~~~~~~ fb.h:328:6: note: previous declaration of 'FB_setredrawevent' with type 'void(int (*)(int, int, int, int))' 328 | void FB_setredrawevent(int (*)(int, int, int, int)); | ^~~~~~~~~~~~~~~~~ fblib.c:295:6: error: conflicting types for 'FB_setredraw2event'; have 'void(int (*)(void))' 295 | void FB_setredraw2event(int (*p)()) | ^~~~~~~~~~~~~~~~~~ fb.h:329:6: note: previous declaration of 'FB_setredraw2event' with type 'void(int (*)(int, int, int, int))' 329 | void FB_setredraw2event(int (*)(int, int, int, int)); | ^~~~~~~~~~~~~~~~~~ fblib.c:300:6: error: conflicting types for 'FB_setresizeevent'; have 'void(int (*)(void))' 300 | void FB_setresizeevent(int (*p)()) | ^~~~~~~~~~~~~~~~~ fb.h:335:6: note: previous declaration of 'FB_setresizeevent' with type 'void(int (*)(int, int, int, int))' 335 | void FB_setresizeevent(int (*)(int, int, int, int)); /* resize x y w h */ | ^~~~~~~~~~~~~~~~~ fblib.c: In function 'FB_redrawimage': fblib.c:331:13: error: too many arguments to function 'redraw_hook'; expected 0, have 4 331 | if ((f = (*redraw_hook)(x0, y0, xs, ys)) < 0) | ~^~~~~~~~~~~~~ ~~ fblib.c:371:11: error: too many arguments to function 'redraw_hook2'; expected 0, have 4 371 | return (*redraw_hook2)(x0, y0, xs, ys) < 0; | ~^~~~~~~~~~~~~~ ~~ fblib.c: In function 'ResizeWindow': fblib.c:376:8: error: too many arguments to function 'resize_hook'; expected 0, have 4 376 | if ((*resize_hook)(x, y, w, h)) | ~^~~~~~~~~~~~~ ~ fblib.c: In function 'mouse_button': fblib.c:393:13: error: too many arguments to function 'press_hook'; expected 0, have 3 393 | if ((i = (*press_hook)(f, x, y)) < 0) | ~^~~~~~~~~~~~ ~ fblib.c: In function 'keyboard': fblib.c:422:13: error: too many arguments to function 'keybd_hook'; expected 0, have 2 422 | if ((i = (*keybd_hook)(keybuf, &key)) < 0) | ~^~~~~~~~~~~~ ~~~~~~ fblib.c: In function 'FB_event': fblib.c:437:15: error: too many arguments to function 'event_hook'; expected 0, have 1 437 | if ((i = (*event_hook)(XEventsQueued(dsp, QueuedAfterFlush))) < 0) | ~^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *** [fblib.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/graphics/xmagv/work/xmagv --- xmagv.o --- In file included from xmagv.c:23: headers.h:21:7: error: conflicting types for 'strchr'; have 'char *(void)' 21 | char *strchr (), *strrchr (); | ^~~~~~ In file included from /usr/include/string.h:35, from /home/pbulk/work/graphics/xmagv/work/.buildlink/include/X11/Xos.h:62, from xmagv.c:20: /usr/include/iso/string_iso.h:140:14: note: previous declaration of 'strchr' with type 'char *(const char *, int)' 140 | extern char *strchr(const char *, int); | ^~~~~~ headers.h:21:19: error: conflicting types for 'strrchr'; have 'char *(void)' 21 | char *strchr (), *strrchr (); | ^~~~~~~ /usr/include/iso/string_iso.h:142:14: note: previous declaration of 'strrchr' with type 'char *(const char *, int)' 142 | extern char *strrchr(const char *, int); | ^~~~~~~ xmagv.c: In function 'getmyname': xmagv.c:205:16: error: too many arguments to function 'strrchr'; expected 0, have 2 205 | return ((p = strrchr(str, '/')) != NULL) ? p+1 : str; | ^~~~~~~ ~~~ headers.h:21:19: note: declared here 21 | char *strchr (), *strrchr (); | ^~~~~~~ xmagv.c: In function 'getdispname': xmagv.c:215:12: error: too many arguments to function 'strrchr'; expected 0, have 2 215 | if ((p = strrchr(p0, '.')) != NULL) | ^~~~~~~ ~~ headers.h:21:19: note: declared here 21 | char *strchr (), *strrchr (); | ^~~~~~~ xmagv.c: In function 'is_compressed_file': xmagv.c:245:7: error: too many arguments to function 'strrchr'; expected 0, have 2 245 | p = strrchr(name, '.'); | ^~~~~~~ ~~~~ headers.h:21:19: note: declared here 21 | char *strchr (), *strrchr (); | ^~~~~~~ xmagv.c: In function 'open_mag_file': xmagv.c:283:9: error: too many arguments to function 'strrchr'; expected 0, have 2 283 | *(strrchr(p->filename, '.')) = '\0'; | ^~~~~~~ ~~~~~~~~~~~ headers.h:21:19: note: declared here 21 | char *strchr (), *strrchr (); | ^~~~~~~ xmagv.c: In function 'cancel_check': xmagv.c:545:9: error: too many arguments to function 'keyboard'; expected 0, have 1 545 | if (keyboard(&e)) | ^~~~~~~~ ~~ xmagv.c:536:14: note: declared here 536 | extern int keyboard(); | ^~~~~~~~ xmagv.c: In function 'optstr': xmagv.c:859:6: warning: old-style function definition [-Wold-style-definition] 859 | void optstr(ac, av, opt) | ^~~~~~ xmagv.c: In function 'parse_option': xmagv.c:1041:17: error: too many arguments to function '(int (*)(void))p->parm'; expected 0, have 2 1041 | return ((FUNCPTR)(p->parm))(ac, av); | ~^~~~~~~~~~~~~~~~~~~ ~~ *** [xmagv.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/graphics/xmagv/work/xmagv bmake: 2 errors bmake: stopped making "all" in /home/pbulk/work/graphics/xmagv/work/xmagv *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/xmagv *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/xmagv