=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/x11/x2x", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for x2x-1.27nb2 --- lawyerese.o --- --- x2x.o --- --- lawyerese.o --- gcc -O -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c lawyerese.c --- x2x.o --- gcc -O -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c x2x.c --- format.o --- gcc -O -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c format.c --- x2x.o --- x2x.c:239:1: error: return type defaults to 'int' [-Wimplicit-int] 239 | main(argc, argv) | ^~~~ x2x.c: In function 'main': x2x.c:239:1: warning: old-style function definition [-Wold-style-definition] x2x.c:247:3: error: too many arguments to function 'ParseCommandLine'; expected 0, have 2 247 | ParseCommandLine(argc, argv); | ^~~~~~~~~~~~~~~~ ~~~~ x2x.c:64:16: note: declared here 64 | static void ParseCommandLine(); | ^~~~~~~~~~~~~~~~ x2x.c:265:5: error: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] 265 | sleep(10); | ^~~~~ x2x.c:277:26: error: too many arguments to function 'OpenAndCheckDisplay'; expected 0, have 1 277 | if (!(pShadow->dpy = OpenAndCheckDisplay(pShadow->name))) | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ x2x.c:65:17: note: declared here 65 | static Display *OpenAndCheckDisplay(); | ^~~~~~~~~~~~~~~~~~~ x2x.c:281:3: error: too many arguments to function 'DoX2X'; expected 0, have 2 281 | DoX2X(fromDpy, shadows->dpy); | ^~~~~ ~~~~~~~ x2x.c:67:16: note: declared here 67 | static void DoX2X(); | ^~~~~ x2x.c: In function 'OpenAndCheckDisplay': x2x.c:291:17: warning: old-style function definition [-Wold-style-definition] 291 | static Display *OpenAndCheckDisplay(name) | ^~~~~~~~~~~~~~~~~~~ x2x.c:307:8: error: too many arguments to function 'CheckTestExtension'; expected 0, have 1 307 | if (!CheckTestExtension(openDpy)) { | ^~~~~~~~~~~~~~~~~~ ~~~~~~~ x2x.c:66:16: note: declared here 66 | static Bool CheckTestExtension(); | ^~~~~~~~~~~~~~~~~~ x2x.c: In function 'ParseCommandLine': x2x.c:320:13: warning: old-style function definition [-Wold-style-definition] 320 | static void ParseCommandLine(argc, argv) | ^~~~~~~~~~~~~~~~ x2x.c: In function 'CheckTestExtension': x2x.c:475:13: warning: old-style function definition [-Wold-style-definition] 475 | static Bool CheckTestExtension(dpy) | ^~~~~~~~~~~~~~~~~~ x2x.c:481:11: error: implicit declaration of function 'XTestQueryExtension'; did you mean 'XQueryExtension'? [-Wimplicit-function-declaration] 481 | return (XTestQueryExtension(dpy, &eventb, &errorb, &vmajor, &vminor)); | ^~~~~~~~~~~~~~~~~~~ | XQueryExtension x2x.c: In function 'DoX2X': x2x.c:490:13: warning: old-style function definition [-Wold-style-definition] 490 | static void DoX2X(fromDpy, toDpy) | ^~~~~ x2x.c:503:3: error: too many arguments to function 'InitDpyInfo'; expected 0, have 1 503 | InitDpyInfo(&dpyInfo); | ^~~~~~~~~~~ ~~~~~~~~ x2x.c:68:16: note: declared here 68 | static void InitDpyInfo(); | ^~~~~~~~~~~ x2x.c:504:3: error: too many arguments to function 'RegisterEventHandlers'; expected 0, have 1 504 | RegisterEventHandlers(&dpyInfo); | ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ x2x.c:71:16: note: declared here 71 | static void RegisterEventHandlers(); | ^~~~~~~~~~~~~~~~~~~~~ x2x.c:507:10: error: implicit declaration of function 'getdtablesize' [-Wimplicit-function-declaration] 507 | nfds = getdtablesize(); | ^~~~~~~~~~~~~ x2x.c:514:11: error: too many arguments to function 'ProcessEvent'; expected 0, have 2 514 | if (ProcessEvent(fromDpy, &dpyInfo)) /* done! */ | ^~~~~~~~~~~~ ~~~~~~~ x2x.c:72:16: note: declared here 72 | static Bool ProcessEvent(); | ^~~~~~~~~~~~ x2x.c:518:11: error: too many arguments to function 'ProcessEvent'; expected 0, have 2 518 | if (ProcessEvent(toDpy, &dpyInfo)) /* done! */ | ^~~~~~~~~~~~ ~~~~~ x2x.c:72:16: note: declared here 72 | static Bool ProcessEvent(); | ^~~~~~~~~~~~ x2x.c: In function 'InitDpyInfo': x2x.c:533:13: warning: old-style function definition [-Wold-style-definition] 533 | static void InitDpyInfo(pDpyInfo) | ^~~~~~~~~~~ x2x.c:631:7: error: too many arguments to function 'formatText'; expected 0, have 8 631 | formatText(NULL, NULL, NULL, font, | ^~~~~~~~~~ ~~~~ In file included from x2x.c:50: format.h:46:6: note: declared here 46 | void formatText(); | ^~~~~~~~~~ x2x.c:762:3: error: too many arguments to function 'RefreshPointerMapping'; expected 0, have 2 762 | RefreshPointerMapping(toDpy, pDpyInfo); | ^~~~~~~~~~~~~~~~~~~~~ ~~~~~ x2x.c:91:16: note: declared here 91 | static void RefreshPointerMapping(); | ^~~~~~~~~~~~~~~~~~~~~ x2x.c:797:5: error: too many arguments to function 'formatText'; expected 0, have 8 797 | formatText(fromDpy, trigger, &(textGC), font, | ^~~~~~~~~~ ~~~~~~~ format.h:46:6: note: declared here 46 | void formatText(); | ^~~~~~~~~~ x2x.c:802:5: error: implicit declaration of function 'XTestGrabControl' [-Wimplicit-function-declaration] 802 | XTestGrabControl(pShadow->dpy, True); /* impervious to grabs! */ | ^~~~~~~~~~~~~~~~ x2x.c: In function 'DoConnect': x2x.c:806:13: warning: old-style function definition [-Wold-style-definition] 806 | static void DoConnect(pDpyInfo) | ^~~~~~~~~ x2x.c: In function 'DoDisconnect': x2x.c:828:13: warning: old-style function definition [-Wold-style-definition] 828 | static void DoDisconnect(pDpyInfo) | ^~~~~~~~~~~~ x2x.c:854:5: error: too many arguments to function 'FakeThingsUp'; expected 0, have 1 854 | FakeThingsUp(pDpyInfo); | ^~~~~~~~~~~~ ~~~~~~~~ x2x.c:89:16: note: declared here 89 | static void FakeThingsUp(); | ^~~~~~~~~~~~ x2x.c: In function 'RegisterEventHandlers': x2x.c:857:13: warning: old-style function definition [-Wold-style-definition] 857 | static void RegisterEventHandlers(pDpyInfo) | ^~~~~~~~~~~~~~~~~~~~~ x2x.c: In function 'ProcessEvent': x2x.c:901:13: warning: old-style function definition [-Wold-style-definition] 901 | static Bool ProcessEvent(dpy, pDpyInfo) | ^~~~~~~~~~~~ x2x.c:916:14: error: too many arguments to function 'handler'; expected 0, have 3 916 | return ((*handler)(dpy, pDpyInfo, &ev)); | ~^~~~~~~~~ ~~~ x2x.c: In function 'ProcessMotionNotify': x2x.c:928:13: warning: old-style function definition [-Wold-style-definition] 928 | static Bool ProcessMotionNotify(unused, pDpyInfo, pEv) | ^~~~~~~~~~~~~~~~~~~ x2x.c:973:11: error: too many arguments to function 'DoDisconnect'; expected 0, have 1 973 | DoDisconnect(pDpyInfo); | ^~~~~~~~~~~~ ~~~~~~~~ x2x.c:828:13: note: declared here 828 | static void DoDisconnect(pDpyInfo) | ^~~~~~~~~~~~ x2x.c:989:11: error: too many arguments to function 'DoDisconnect'; expected 0, have 1 989 | DoDisconnect(pDpyInfo); | ^~~~~~~~~~~~ ~~~~~~~~ x2x.c:828:13: note: declared here 828 | static void DoDisconnect(pDpyInfo) | ^~~~~~~~~~~~ x2x.c:1005:5: error: implicit declaration of function 'XTestFakeMotionEvent'; did you mean 'XGetMotionEvents'? [-Wimplicit-function-declaration] 1005 | XTestFakeMotionEvent(pShadow->dpy, toScreenNum, toX, | ^~~~~~~~~~~~~~~~~~~~ | XGetMotionEvents x2x.c: In function 'ProcessExpose': x2x.c:1014:13: warning: old-style function definition [-Wold-style-definition] 1014 | static Bool ProcessExpose(dpy, pDpyInfo, pEv) | ^~~~~~~~~~~~~ x2x.c:1021:5: error: too many arguments to function 'formatText'; expected 0, have 8 1021 | formatText(pDpyInfo->fromDpy, pDpyInfo->trigger, | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~ format.h:46:6: note: declared here 46 | void formatText(); | ^~~~~~~~~~ x2x.c: In function 'ProcessEnterNotify': x2x.c:1028:13: warning: old-style function definition [-Wold-style-definition] 1028 | static Bool ProcessEnterNotify(dpy, pDpyInfo, pEv) | ^~~~~~~~~~~~~~~~~~ x2x.c:1038:5: error: too many arguments to function 'DoConnect'; expected 0, have 1 1038 | DoConnect(pDpyInfo); | ^~~~~~~~~ ~~~~~~~~ x2x.c:806:13: note: declared here 806 | static void DoConnect(pDpyInfo) | ^~~~~~~~~ x2x.c:1044:5: error: too many arguments to function 'ProcessMotionNotify'; expected 0, have 3 1044 | ProcessMotionNotify(NULL, pDpyInfo, &xmev); | ^~~~~~~~~~~~~~~~~~~ ~~~~ x2x.c:928:13: note: declared here 928 | static Bool ProcessMotionNotify(unused, pDpyInfo, pEv) | ^~~~~~~~~~~~~~~~~~~ x2x.c: In function 'ProcessButtonPress': x2x.c:1050:13: warning: old-style function definition [-Wold-style-definition] 1050 | static Bool ProcessButtonPress(dpy, pDpyInfo, pEv) | ^~~~~~~~~~~~~~~~~~ x2x.c:1069:7: error: implicit declaration of function 'XTestFakeButtonEvent' [-Wimplicit-function-declaration] 1069 | XTestFakeButtonEvent(pShadow->dpy, toButton, True, 0); | ^~~~~~~~~~~~~~~~~~~~ x2x.c:1076:7: error: too many arguments to function 'FakeAction'; expected 0, have 4 1076 | FakeAction(pDpyInfo, FAKE_BUTTON, toButton, True); | ^~~~~~~~~~ ~~~~~~~~ x2x.c:90:16: note: declared here 90 | static void FakeAction(); | ^~~~~~~~~~ x2x.c: In function 'ProcessButtonRelease': x2x.c:1104:13: warning: old-style function definition [-Wold-style-definition] 1104 | static Bool ProcessButtonRelease(dpy, pDpyInfo, pEv) | ^~~~~~~~~~~~~~~~~~~~ x2x.c:1125:7: error: too many arguments to function 'FakeAction'; expected 0, have 4 1125 | FakeAction(pDpyInfo, FAKE_BUTTON, toButton, False); | ^~~~~~~~~~ ~~~~~~~~ x2x.c:90:16: note: declared here 90 | static void FakeAction(); | ^~~~~~~~~~ x2x.c:1147:9: error: too many arguments to function 'DoConnect'; expected 0, have 1 1147 | DoConnect(pDpyInfo); | ^~~~~~~~~ ~~~~~~~~ x2x.c:806:13: note: declared here 806 | static void DoConnect(pDpyInfo) | ^~~~~~~~~ x2x.c:1151:9: error: too many arguments to function 'ProcessMotionNotify'; expected 0, have 3 1151 | ProcessMotionNotify(NULL, pDpyInfo, &xmev); | ^~~~~~~~~~~~~~~~~~~ ~~~~ x2x.c:928:13: note: declared here 928 | static Bool ProcessMotionNotify(unused, pDpyInfo, pEv) | ^~~~~~~~~~~~~~~~~~~ x2x.c:1153:9: error: too many arguments to function 'DoDisconnect'; expected 0, have 1 1153 | DoDisconnect(pDpyInfo); | ^~~~~~~~~~~~ ~~~~~~~~ x2x.c:828:13: note: declared here 828 | static void DoDisconnect(pDpyInfo) | ^~~~~~~~~~~~ x2x.c: In function 'ProcessKeyEvent': x2x.c:1161:13: warning: old-style function definition [-Wold-style-definition] 1161 | static Bool ProcessKeyEvent(dpy, pDpyInfo, pEv) | ^~~~~~~~~~~~~~~ x2x.c:1172:3: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] 1172 | keysym = XKeycodeToKeysym(pDpyInfo->fromDpy, pEv->keycode, 0); | ^~~~~~ In file included from x2x.c:43: /home/pbulk/work/x11/x2x/work/.buildlink/include/X11/Xlib.h:1683:15: note: declared here 1683 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ x2x.c:1182:9: error: implicit declaration of function 'XTestFakeKeyEvent' [-Wimplicit-function-declaration] 1182 | XTestFakeKeyEvent(pShadow->dpy, keycode, True, 0); | ^~~~~~~~~~~~~~~~~ x2x.c:1195:7: error: too many arguments to function 'FakeAction'; expected 0, have 4 1195 | FakeAction(pDpyInfo, FAKE_KEY, keysym, bPress); | ^~~~~~~~~~ ~~~~~~~~ x2x.c:90:16: note: declared here 90 | static void FakeAction(); | ^~~~~~~~~~ x2x.c: In function 'ProcessConfigureNotify': x2x.c:1202:13: warning: old-style function definition [-Wold-style-definition] 1202 | static Bool ProcessConfigureNotify(dpy, pDpyInfo, pEv) | ^~~~~~~~~~~~~~~~~~~~~~ x2x.c: In function 'ProcessClientMessage': x2x.c:1218:13: warning: old-style function definition [-Wold-style-definition] 1218 | static Bool ProcessClientMessage(dpy, pDpyInfo, pEv) | ^~~~~~~~~~~~~~~~~~~~ x2x.c: In function 'ProcessSelectionRequest': x2x.c:1229:13: warning: old-style function definition [-Wold-style-definition] 1229 | static Bool ProcessSelectionRequest(dpy, pDpyInfo, pEv) | ^~~~~~~~~~~~~~~~~~~~~~~ x2x.c:1247:5: error: too many arguments to function 'SendSelectionNotify'; expected 0, have 1 1247 | SendSelectionNotify(pEv); /* blam! */ | ^~~~~~~~~~~~~~~~~~~ ~~~ x2x.c:85:16: note: declared here 85 | static void SendSelectionNotify(); | ^~~~~~~~~~~~~~~~~~~ x2x.c:1250:5: error: too many arguments to function 'SendPing'; expected 0, have 2 1250 | SendPing(otherDpy, GETDPYXTRA(otherDpy, pDpyInfo)); /* get started */ | ^~~~~~~~ ~~~~~~~~ x2x.c:82:16: note: declared here 82 | static void SendPing(); | ^~~~~~~~ x2x.c:1254:7: error: too many arguments to function 'SendSelectionNotify'; expected 0, have 1 1254 | SendSelectionNotify(&(pDpyInfo->sEv)); /* blam! */ | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ x2x.c:85:16: note: declared here 85 | static void SendSelectionNotify(); | ^~~~~~~~~~~~~~~~~~~ x2x.c: In function 'SendPing': x2x.c:1263:13: warning: old-style function definition [-Wold-style-definition] 1263 | static void SendPing(dpy, pDpyXtra) | ^~~~~~~~ x2x.c: In function 'ProcessPropertyNotify': x2x.c:1274:13: warning: old-style function definition [-Wold-style-definition] 1274 | static Bool ProcessPropertyNotify(dpy, pDpyInfo, pEv) | ^~~~~~~~~~~~~~~~~~~~~ x2x.c:1294:9: error: too many arguments to function 'SendPing'; expected 0, have 2 1294 | SendPing(dpy, pDpyXtra); /* try for another time stamp */ | ^~~~~~~~ ~~~ x2x.c:1263:13: note: declared here 1263 | static void SendPing(dpy, pDpyXtra) | ^~~~~~~~ x2x.c: In function 'ProcessSelectionNotify': x2x.c:1306:13: warning: old-style function definition [-Wold-style-definition] 1306 | static Bool ProcessSelectionNotify(dpy, pDpyInfo, pEv) | ^~~~~~~~~~~~~~~~~~~~~~ x2x.c:1355:7: error: too many arguments to function 'SendSelectionNotify'; expected 0, have 1 1355 | SendSelectionNotify(pSelReq); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~ x2x.c:85:16: note: declared here 85 | static void SendSelectionNotify(); | ^~~~~~~~~~~~~~~~~~~ x2x.c:1358:7: error: too many arguments to function 'SendSelectionNotify'; expected 0, have 1 1358 | SendSelectionNotify(pSelReq); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~ --- format.o --- format.c: In function 'formatText': --- x2x.o --- x2x.c:85:16: note: declared here 85 | static void SendSelectionNotify(); | ^~~~~~~~~~~~~~~~~~~ x2x.c: In function 'SendSelectionNotify': --- format.o --- format.c:42:6: warning: old-style function definition [-Wold-style-definition] 42 | void formatText(dpy, textw, pgc, tfont, nformats, formatv, pwidth, pheight) | ^~~~~~~~~~ format.c:50:1: error: number of arguments doesn't match prototype 50 | { | ^ --- x2x.o --- x2x.c:1366:13: warning: old-style function definition [-Wold-style-definition] 1366 | static void SendSelectionNotify(pSelReq) | ^~~~~~~~~~~~~~~~~~~ --- format.o --- In file included from format.c:38: format.h:46:6: error: prototype declaration 46 | void formatText(); | ^~~~~~~~~~ --- x2x.o --- x2x.c: In function 'ProcessSelectionClear': x2x.c:1383:13: warning: old-style function definition [-Wold-style-definition] 1383 | static Bool ProcessSelectionClear(dpy, pDpyInfo, pEv) | ^~~~~~~~~~~~~~~~~~~~~ x2x.c:1402:5: error: too many arguments to function 'SendPing'; expected 0, have 2 1402 | SendPing(otherDpy, pOtherXtra); | ^~~~~~~~ ~~~~~~~~ x2x.c:1263:13: note: declared here 1263 | static void SendPing(dpy, pDpyXtra) | ^~~~~~~~ x2x.c:1405:7: error: too many arguments to function 'SendSelectionNotify'; expected 0, have 1 1405 | SendSelectionNotify(&(pDpyInfo->sEv)); /* blam! */ | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ x2x.c:1366:13: note: declared here 1366 | static void SendSelectionNotify(pSelReq) | ^~~~~~~~~~~~~~~~~~~ x2x.c: In function 'ProcessVisibility': x2x.c:1416:13: warning: old-style function definition [-Wold-style-definition] 1416 | static Bool ProcessVisibility(dpy, pDpyInfo, pEv) | ^~~~~~~~~~~~~~~~~ x2x.c: In function 'ProcessMapping': x2x.c:1434:13: warning: old-style function definition [-Wold-style-definition] 1434 | static Bool ProcessMapping(dpy, pDpyInfo, pEv) | ^~~~~~~~~~~~~~ x2x.c:1449:5: error: too many arguments to function 'RefreshPointerMapping'; expected 0, have 2 1449 | RefreshPointerMapping(dpy, pDpyInfo); | ^~~~~~~~~~~~~~~~~~~~~ ~~~ x2x.c:91:16: note: declared here 91 | static void RefreshPointerMapping(); | ^~~~~~~~~~~~~~~~~~~~~ x2x.c: In function 'FakeAction': x2x.c:1457:13: warning: old-style function definition [-Wold-style-definition] 1457 | static void FakeAction(pDpyInfo, type, thing, bDown) | ^~~~~~~~~~ x2x.c:1457:13: error: type of 'type' defaults to 'int' [-Wimplicit-int] x2x.c: In function 'FakeThingsUp': x2x.c:1490:13: warning: old-style function definition [-Wold-style-definition] 1490 | static void FakeThingsUp(pDpyInfo) | ^~~~~~~~~~~~ x2x.c: In function 'RefreshPointerMapping': x2x.c:1532:13: warning: old-style function definition [-Wold-style-definition] 1532 | static void RefreshPointerMapping(dpy, pDpyInfo) | ^~~~~~~~~~~~~~~~~~~~~ --- format.o --- format.c:166:7: error: too many arguments to function 'formatMeasureText'; expected 0, have 5 166 | formatMeasureText(tfont, (nformats - format - 1), | ^~~~~~~~~~~~~~~~~ ~~~~~ format.c:40:13: note: declared here 40 | static void formatMeasureText(); | ^~~~~~~~~~~~~~~~~ format.c: In function 'formatMeasureText': format.c:194:13: warning: old-style function definition [-Wold-style-definition] 194 | static void formatMeasureText(tfont, nformats, formatv, pwidth, pheight) | ^~~~~~~~~~~~~~~~~ *** [format.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/x11/x2x/work/x2x-1.27 --- x2x.o --- *** [x2x.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/x11/x2x/work/x2x-1.27 bmake: 2 errors bmake: stopped making "all" in /home/pbulk/work/x11/x2x/work/x2x-1.27 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/x2x *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/x2x