=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xpaste", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xpaste-1.1nb4 --- xpaste.o --- --- Xju.o --- --- xpaste.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I. -I./X11 -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c xpaste.c --- Xju.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I. -I./X11 -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c Xju.c --- xpaste.o --- xpaste.c:42:10: error: initialization of 'void (*)(struct _WidgetRec *, void *, void *)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 42 | {Xit, NULL}, | ^~~ xpaste.c:42:10: note: (near initialization for 'done[0].callback') xpaste.c:32:6: note: 'Xit' declared here 32 | void Xit(); | ^~~ xpaste.c:46:10: error: initialization of 'void (*)(struct _WidgetRec *, void *, void *)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 46 | {Printit, NULL}, | ^~~~~~~ xpaste.c:46:10: note: (near initialization for 'print[0].callback') xpaste.c:33:6: note: 'Printit' declared here 33 | void Printit(); | ^~~~~~~ xpaste.c:62:14: error: conflicting types for 'getenv'; have 'char *(void)' 62 | extern char *getenv(); | ^~~~~~ In file included from /usr/include/stdlib.h:41, from xpaste.c:13: /usr/include/iso/stdlib_iso.h:139:14: note: previous declaration of 'getenv' with type 'char *(const char *)' 139 | extern char *getenv(const char *); | ^~~~~~ xpaste.c: In function 'main': xpaste.c:65:1: warning: old-style function definition [-Wold-style-definition] 65 | main(argc, argv) | ^~~~ xpaste.c:77:15: error: too many arguments to function 'GetPrimarySelection'; expected 0, have 2 77 | (void)GetPrimarySelection(XtDisplay(root), &buff); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ xpaste.c:35:5: note: declared here 35 | int GetPrimarySelection(); | ^~~~~~~~~~~~~~~~~~~ xpaste.c:107:9: error: too many arguments to function 'GetDimensions'; expected 0, have 4 107 | GetDimensions(buff, appres.font, &width, &height); | ^~~~~~~~~~~~~ ~~~~ xpaste.c:34:6: note: declared here 34 | void GetDimensions(); | ^~~~~~~~~~~~~ xpaste.c:113:14: error: too many arguments to function 'CreateWidget'; expected 0, have 6 113 | fm = CreateWidget("form", formWidgetClass, root, | ^~~~~~~~~~~~ ~~~~~~ xpaste.c:50:8: note: declared here 50 | Widget CreateWidget(); | ^~~~~~~~~~~~ xpaste.c:116:21: error: too many arguments to function 'CreateWidget'; expected 0, have 8 116 | button[0] = CreateWidget("done", commandWidgetClass, fm, | ^~~~~~~~~~~~ ~~~~~~ xpaste.c:50:8: note: declared here 50 | Widget CreateWidget(); | ^~~~~~~~~~~~ xpaste.c:120:21: error: too many arguments to function 'CreateWidget'; expected 0, have 10 120 | button[1] = CreateWidget("print", commandWidgetClass,fm, | ^~~~~~~~~~~~ ~~~~~~~ xpaste.c:50:8: note: declared here 50 | Widget CreateWidget(); | ^~~~~~~~~~~~ xpaste.c:125:16: error: too many arguments to function 'CreateWidget'; expected 0, have 20 125 | text = CreateWidget("text", asciiTextWidgetClass, fm, | ^~~~~~~~~~~~ ~~~~~~ xpaste.c:50:8: note: declared here 50 | Widget CreateWidget(); | ^~~~~~~~~~~~ xpaste.c: In function 'Xit': xpaste.c:141:6: warning: old-style function definition [-Wold-style-definition] 141 | void Xit(w, closure, call_data) | ^~~ xpaste.c:145:1: error: number of arguments doesn't match prototype 145 | { | ^ xpaste.c:32:6: error: prototype declaration 32 | void Xit(); | ^~~ xpaste.c: In function 'Printit': xpaste.c:150:6: warning: old-style function definition [-Wold-style-definition] 150 | void Printit(w, closure, call_data) | ^~~~~~~ xpaste.c:154:1: error: number of arguments doesn't match prototype 154 | { | ^ xpaste.c:33:6: error: prototype declaration 33 | void Printit(); | ^~~~~~~ xpaste.c: In function 'GetDimensions': xpaste.c:164:6: warning: old-style function definition [-Wold-style-definition] 164 | void GetDimensions(string, font, width, height) | ^~~~~~~~~~~~~ xpaste.c:168:1: error: number of arguments doesn't match prototype 168 | { | ^ xpaste.c:34:6: error: prototype declaration 34 | void GetDimensions(); | ^~~~~~~~~~~~~ xpaste.c: In function 'GetPrimarySelection': xpaste.c:201:5: warning: old-style function definition [-Wold-style-definition] 201 | int GetPrimarySelection(display, string) | ^~~~~~~~~~~~~~~~~~~ xpaste.c:204:1: error: number of arguments doesn't match prototype 204 | { | ^ xpaste.c:35:5: error: prototype declaration 35 | int GetPrimarySelection(); | ^~~~~~~~~~~~~~~~~~~ *** [xpaste.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/x11/xpaste/work bmake: 1 error bmake: stopped making "all" in /home/pbulk/work/x11/xpaste/work *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xpaste *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xpaste