=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/wm/tvtwm", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for tvtwm-11nb3 --- add_window.o --- --- gc.o --- --- add_window.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 -DSHAPE -DXPM -I/opt/pkg/include -c add_window.c --- gc.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 -DSHAPE -DXPM -I/opt/pkg/include -c gc.c --- add_window.o --- In file included from add_window.c:41: twm.h:516:13: error: conflicting types for 'FetchWmProtocols'; have 'void(void)' 516 | extern void FetchWmProtocols(); | ^~~~~~~~~~~~~~~~ twm.h:450:6: note: previous declaration of 'FetchWmProtocols' with type 'void(TwmWindow *)' 450 | void FetchWmProtocols (TwmWindow *tmp); | ^~~~~~~~~~~~~~~~ twm.h:517:13: error: conflicting types for 'FetchWmColormapWindows'; have 'void(void)' 517 | extern void FetchWmColormapWindows(); | ^~~~~~~~~~~~~~~~~~~~~~ twm.h:451:6: note: previous declaration of 'FetchWmColormapWindows' with type 'void(TwmWindow *)' 451 | void FetchWmColormapWindows (TwmWindow *tmp); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from add_window.c:45: util.h:43:17: error: conflicting types for 'MoveOutline'; have 'void(void)' 43 | extern void MoveOutline(); | ^~~~~~~~~~~ twm.h:509:6: note: previous declaration of 'MoveOutline' with type 'void(Window, int, int, int, int, int, int)' {aka 'void(long unsigned int, int, int, int, int, int, int)'} 509 | void MoveOutline(Window root, int x, int y, int width, int height, int bw, | ^~~~~~~~~~~ util.h:44:30: error: conflicting types for 'FindPixmap'; have 'Pixmap(void)' {aka 'long unsigned int(void)'} 44 | extern Pixmap GetPixmap(), FindPixmap(); | ^~~~~~~~~~ twm.h:457:8: note: previous declaration of 'FindPixmap' with type 'Pixmap(char *, unsigned int *, unsigned int *, int *, Pixel *, XpmColorSymbol *, int, Pixmap *)' {aka 'long unsigned int(char *, unsigned int *, unsigned int *, int *, long unsigned int *, XpmColorSymbol *, int, long unsigned int *)'} 457 | Pixmap FindPixmap (char *name, unsigned int *widthp, unsigned int *heightp, | ^~~~~~~~~~ util.h:46:17: error: conflicting types for 'GetColor'; have 'int(void)' 46 | extern int GetColor(); | ^~~~~~~~ twm.h:478:5: note: previous declaration of 'GetColor' with type 'int(int, Pixel *, char *)' {aka 'int(int, long unsigned int *, char *)'} 478 | int GetColor(int kind, Pixel *what, char *name); | ^~~~~~~~ In file included from add_window.c:46: resize.h:48:13: error: conflicting types for 'SetupWindow'; have 'void(void)' 48 | extern void SetupWindow(); | ^~~~~~~~~~~ twm.h:468:6: note: previous declaration of 'SetupWindow' with type 'void(TwmWindow *, int, int, int, int, int)' 468 | void SetupWindow (TwmWindow *tmp_win, int x, int y, int w, int h, int bw); | ^~~~~~~~~~~ resize.h:49:13: error: conflicting types for 'SetupFrame'; have 'void(void)' 49 | extern void SetupFrame(); | ^~~~~~~~~~ twm.h:466:6: note: previous declaration of 'SetupFrame' with type 'void(TwmWindow *, int, int, int, int, int, int)' 466 | void SetupFrame (TwmWindow *tmp_win, int x, int y, int w, int h, int bw, | ^~~~~~~~~~ resize.h:50:13: error: conflicting types for 'SendSyntheticConfigureNotify'; have 'void(void)' 50 | extern void SendSyntheticConfigureNotify(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ twm.h:465:6: note: previous declaration of 'SendSyntheticConfigureNotify' with type 'void(TwmWindow *)' 465 | void SendSyntheticConfigureNotify(TwmWindow *tmp_win); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from add_window.c:53: move.h:42:6: error: conflicting types for 'DragFrame'; have 'void(void)' 42 | void DragFrame(); | ^~~~~~~~~ twm.h:491:6: note: previous declaration of 'DragFrame' with type 'void(TwmWindow *, XButtonEvent *, int)' 491 | void DragFrame(TwmWindow *tmp_win, XButtonEvent *ev, int pulldown); | ^~~~~~~~~ move.h:43:6: error: conflicting types for 'DragIcon'; have 'void(void)' 43 | void DragIcon(); | ^~~~~~~~ twm.h:490:6: note: previous declaration of 'DragIcon' with type 'void(TwmWindow *, XButtonEvent *, int)' 490 | void DragIcon(TwmWindow *tmp_win, XButtonEvent *ev, int pulldown); | ^~~~~~~~ move.h:45:6: error: conflicting types for 'RelativeMove'; have 'void(void)' 45 | void RelativeMove(); | ^~~~~~~~~~~~ twm.h:421:6: note: previous declaration of 'RelativeMove' with type 'void(TwmWindow *, char *)' 421 | void RelativeMove(TwmWindow *win, char *geom); | ^~~~~~~~~~~~ --- gc.o --- In file included from gc.c:40: twm.h:516:13: error: conflicting types for 'FetchWmProtocols'; have 'void(void)' 516 | extern void FetchWmProtocols(); | ^~~~~~~~~~~~~~~~ twm.h:450:6: note: previous declaration of 'FetchWmProtocols' with type 'void(TwmWindow *)' 450 | void FetchWmProtocols (TwmWindow *tmp); | ^~~~~~~~~~~~~~~~ twm.h:517:13: error: conflicting types for 'FetchWmColormapWindows'; have 'void(void)' 517 | extern void FetchWmColormapWindows(); | ^~~~~~~~~~~~~~~~~~~~~~ twm.h:451:6: note: previous declaration of 'FetchWmColormapWindows' with type 'void(TwmWindow *)' 451 | void FetchWmColormapWindows (TwmWindow *tmp); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from gc.c:41: util.h:43:17: error: conflicting types for 'MoveOutline'; have 'void(void)' 43 | extern void MoveOutline(); | ^~~~~~~~~~~ --- add_window.o --- add_window.c: In function 'GetGravityOffsets': add_window.c:86:1: warning: old-style function definition [-Wold-style-definition] 86 | GetGravityOffsets (tmp, xp, yp) | ^~~~~~~~~~~~~~~~~ add_window.c: In function 'AddWindow': add_window.c:136:1: warning: old-style function definition [-Wold-style-definition] 136 | AddWindow(w, iconm, iconp) | ^~~~~~~~~ add_window.c:140:1: error: number of arguments doesn't match prototype 140 | { | ^ In file included from add_window.c:44: add_window.h:44:19: error: prototype declaration 44 | extern TwmWindow *AddWindow(); | ^~~~~~~~~ add_window.c:185:5: error: too many arguments to function 'FetchWmProtocols'; expected 0, have 1 185 | FetchWmProtocols (tmp_win); | ^~~~~~~~~~~~~~~~ ~~~~~~~ twm.h:516:13: note: declared here 516 | extern void FetchWmProtocols(); | ^~~~~~~~~~~~~~~~ add_window.c:186:5: error: too many arguments to function 'FetchWmColormapWindows'; expected 0, have 1 --- gc.o --- twm.h:509:6: note: previous declaration of 'MoveOutline' with type 'void(Window, int, int, int, int, int, int)' {aka 'void(long unsigned int, int, int, int, int, int, int)'} 509 | void MoveOutline(Window root, int x, int y, int width, int height, int bw, | ^~~~~~~~~~~ util.h:44:30: error: conflicting types for 'FindPixmap'; have 'Pixmap(void)' {aka 'long unsigned int(void)'} 44 | extern Pixmap GetPixmap(), FindPixmap(); | ^~~~~~~~~~ twm.h:457:8: note: previous declaration of 'FindPixmap' with type 'Pixmap(char *, unsigned int *, unsigned int *, int *, Pixel *, XpmColorSymbol *, int, Pixmap *)' {aka 'long unsigned int(char *, unsigned int *, unsigned int *, int *, long unsigned int *, XpmColorSymbol *, int, long unsigned int *)'} 457 | Pixmap FindPixmap (char *name, unsigned int *widthp, unsigned int *heightp, | ^~~~~~~~~~ util.h:46:17: error: conflicting types for 'GetColor'; have 'int(void)' 46 | extern int GetColor(); --- add_window.o --- 186 | FetchWmColormapWindows (tmp_win); | ^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ twm.h:517:13: note: declared here 517 | extern void FetchWmColormapWindows(); | ^~~~~~~~~~~~~~~~~~~~~~ add_window.c:220:9: error: too many arguments to function 'getTWM_FLAGS'; expected 0, have 2 220 | getTWM_FLAGS(tmp_win->w, &tmp_win->flags); | ^~~~~~~~~~~~ ~~~~~~~~~~ add_window.c:65:13: note: declared here 65 | static void getTWM_FLAGS(); | ^~~~~~~~~~~~ add_window.c:238:5: error: too many arguments to function 'SetTWM_FLAGS'; expected 0, have 1 238 | SetTWM_FLAGS(tmp_win); | ^~~~~~~~~~~~ ~~~~~~~ add_window.h:51:13: note: declared here 51 | extern void SetTWM_FLAGS(); | ^~~~~~~~~~~~ add_window.c:300:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 300 | (short)(int)LookInList(Scr->SqueezeIconL, | ^ --- gc.o --- | ^~~~~~~~ twm.h:478:5: note: previous declaration of 'GetColor' with type 'int(int, Pixel *, char *)' {aka 'int(int, long unsigned int *, char *)'} 478 | int GetColor(int kind, Pixel *what, char *name); | ^~~~~~~~ --- add_window.o --- add_window.c:344:5: error: too many arguments to function 'GetWindowSizeHints'; expected 0, have 1 344 | GetWindowSizeHints (tmp_win); | ^~~~~~~~~~~~~~~~~~ ~~~~~~~ add_window.h:50:13: note: declared here 50 | extern void GetWindowSizeHints(); | ^~~~~~~~~~~~~~~~~~ add_window.c:553:9: error: too many arguments to function 'CreateWindowTitlebarButtons'; expected 0, have 1 553 | CreateWindowTitlebarButtons (tmp_win); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ add_window.c:64:13: note: declared here 64 | static void CreateWindowTitlebarButtons(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ add_window.c:554:9: error: too many arguments to function 'ComputeTitleLocation'; expected 0, have 1 554 | ComputeTitleLocation (tmp_win); | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~ twm.h:329:35: note: declared here 329 | void ComputeWindowTitleOffsets(), ComputeTitleLocation(); | ^~~~~~~~~~~~~~~~~~~~ add_window.c:709:13: error: too many arguments to function 'StartMove'; expected 0, have 12 709 | StartMove(tmp_win, tmp_win->frame, tmp_win->title_height, | ^~~~~~~~~ ~~~~~~~ move.h:44:6: note: declared here 44 | void StartMove(); | ^~~~~~~~~ add_window.c:753:17: error: too many arguments to function 'AddStartResize'; expected 0, have 5 753 | AddStartResize(tmp_win, AddingX, AddingY, AddingW, AddingH); | ^~~~~~~~~~~~~~ ~~~~~~~ resize.h:43:13: note: declared here 43 | extern void AddStartResize(); | ^~~~~~~~~~~~~~ add_window.c:772:25: error: too many arguments to function 'AddEndResize'; expected 0, have 1 772 | AddEndResize(tmp_win); | ^~~~~~~~~~~~ ~~~~~~~ resize.h:47:13: note: declared here 47 | extern void AddEndResize(); | ^~~~~~~~~~~~ add_window.c:790:25: error: too many arguments to function 'DoResize'; expected 0, have 3 790 | DoResize(AddingX, AddingY, tmp_win); | ^~~~~~~~ ~~~~~~~ resize.h:44:13: note: declared here 44 | extern void DoResize(); | ^~~~~~~~ add_window.c:798:25: error: too many arguments to function 'AddEndResize'; expected 0, have 1 798 | AddEndResize(tmp_win); | ^~~~~~~~~~~~ ~~~~~~~ resize.h:47:13: note: declared here 47 | extern void AddEndResize(); | ^~~~~~~~~~~~ add_window.c:803:17: error: too many arguments to function 'MoveOutline'; expected 0, have 7 803 | MoveOutline(tmp_win->root, 0, 0, 0, 0, 0, 0); | ^~~~~~~~~~~ ~~~~~~~~~~~~~ util.h:43:17: note: declared here 43 | extern void MoveOutline(); | ^~~~~~~~~~~ add_window.c:878:5: error: too many arguments to function 'SetupFrame'; expected 0, have 7 878 | SetupFrame (tmp_win, tmpX, tmp_win->frame_y, | ^~~~~~~~~~ ~~~~~~~ resize.h:49:13: note: declared here 49 | extern void SetupFrame(); | ^~~~~~~~~~ add_window.c:888:9: error: too many arguments to function 'GrabButtons'; expected 0, have 1 888 | GrabButtons(tmp_win); | ^~~~~~~~~~~ ~~~~~~~ add_window.h:46:13: note: declared here 46 | extern void GrabButtons(); | ^~~~~~~~~~~ add_window.c:889:9: error: too many arguments to function 'GrabKeys'; expected 0, have 1 889 | GrabKeys(tmp_win); | ^~~~~~~~ ~~~~~~~ add_window.h:47:13: note: declared here 47 | extern void GrabKeys(); | ^~~~~~~~ add_window.c:892:12: error: too many arguments to function 'AddIconManager'; expected 0, have 1 892 | (void) AddIconManager(tmp_win); | ^~~~~~~~~~~~~~ ~~~~~~~ In file included from screen.h:40, from add_window.c:51: iconmgr.h:78:15: note: declared here 78 | extern WList *AddIconManager(); | ^~~~~~~~~~~~~~ add_window.c: In function 'MappedNotOverride': add_window.c:942:1: warning: old-style function definition [-Wold-style-definition] 942 | MappedNotOverride(w) | ^~~~~~~~~~~~~~~~~ add_window.c:944:1: error: number of arguments doesn't match prototype 944 | { | ^ add_window.h:45:12: error: prototype declaration 45 | extern int MappedNotOverride(); | ^~~~~~~~~~~~~~~~~ add_window.c: In function 'do_add_binding': add_window.c:952:13: warning: old-style function definition [-Wold-style-definition] 952 | static void do_add_binding (button, context, modifier, func) | ^~~~~~~~~~~~~~ add_window.c: In function 'GrabButtons': add_window.c:1007:1: warning: old-style function definition [-Wold-style-definition] 1007 | GrabButtons(tmp_win) | ^~~~~~~~~~~ add_window.c:1009:1: error: number of arguments doesn't match prototype 1009 | { | ^ add_window.h:46:13: error: prototype declaration 46 | extern void GrabButtons(); | ^~~~~~~~~~~ add_window.c: In function 'GrabKeys': add_window.c:1042:1: warning: old-style function definition [-Wold-style-definition] 1042 | GrabKeys(tmp_win) | ^~~~~~~~ add_window.c:1044:1: error: number of arguments doesn't match prototype 1044 | { | ^ add_window.h:47:13: error: prototype declaration 47 | extern void GrabKeys(); | ^~~~~~~~ add_window.c: In function 'CreateHighlightWindow': add_window.c:1098:15: warning: old-style function definition [-Wold-style-definition] 1098 | static Window CreateHighlightWindow (tmp_win) | ^~~~~~~~~~~~~~~~~~~~~ add_window.c:1154:26: error: too many arguments to function 'FindPixmap'; expected 0, have 8 1154 | Scr->hilite.pm = FindPixmap(Scr->hilite.name, &Scr->hilite.width, | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~ util.h:44:30: note: declared here 44 | extern Pixmap GetPixmap(), FindPixmap(); | ^~~~~~~~~~ add_window.c: In function 'ComputeWindowTitleOffsets': add_window.c:1228:6: warning: old-style function definition [-Wold-style-definition] 1228 | void ComputeWindowTitleOffsets (tmp_win, width, squeeze) | ^~~~~~~~~~~~~~~~~~~~~~~~~ add_window.c:1232:1: error: number of arguments doesn't match prototype 1232 | { | ^ twm.h:329:6: error: prototype declaration 329 | void ComputeWindowTitleOffsets(), ComputeTitleLocation(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ add_window.c: In function 'ComputeTitleLocation': add_window.c:1254:6: warning: old-style function definition [-Wold-style-definition] 1254 | void ComputeTitleLocation (tmp) | ^~~~~~~~~~~~~~~~~~~~ add_window.c:1256:1: error: number of arguments doesn't match prototype 1256 | { | ^ twm.h:329:35: error: prototype declaration 329 | void ComputeWindowTitleOffsets(), ComputeTitleLocation(); | ^~~~~~~~~~~~~~~~~~~~ add_window.c: In function 'CreateWindowTitlebarButtons': add_window.c:1305:13: warning: old-style function definition [-Wold-style-definition] 1305 | static void CreateWindowTitlebarButtons (tmp_win) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ add_window.c:1325:5: error: too many arguments to function 'ComputeWindowTitleOffsets'; expected 0, have 3 1325 | ComputeWindowTitleOffsets (tmp_win, tmp_win->attr.width, False); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ add_window.c:1228:6: note: declared here 1228 | void ComputeWindowTitleOffsets (tmp_win, width, squeeze) | ^~~~~~~~~~~~~~~~~~~~~~~~~ add_window.c: At top level: add_window.c:1383:1: error: conflicting types for 'FetchWmProtocols'; have 'void(void)' 1383 | FetchWmProtocols (tmp) | ^~~~~~~~~~~~~~~~ twm.h:450:6: note: previous declaration of 'FetchWmProtocols' with type 'void(TwmWindow *)' 450 | void FetchWmProtocols (TwmWindow *tmp); | ^~~~~~~~~~~~~~~~ add_window.c: In function 'FetchWmProtocols': add_window.c:1383:1: warning: old-style function definition [-Wold-style-definition] 1383 | FetchWmProtocols (tmp) | ^~~~~~~~~~~~~~~~ add_window.c: In function 'CreateTwmColormap': add_window.c:1405:1: warning: old-style function definition [-Wold-style-definition] 1405 | CreateTwmColormap(c) | ^~~~~~~~~~~~~~~~~ add_window.c: In function 'CreateColormapWindow': add_window.c:1424:1: warning: old-style function definition [-Wold-style-definition] 1424 | CreateColormapWindow(w, creating_parent, property_window) | ^~~~~~~~~~~~~~~~~~~~ add_window.c: At top level: add_window.c:1481:1: error: conflicting types for 'FetchWmColormapWindows'; have 'void(void)' 1481 | FetchWmColormapWindows (tmp) | ^~~~~~~~~~~~~~~~~~~~~~ twm.h:451:6: note: previous declaration of 'FetchWmColormapWindows' with type 'void(TwmWindow *)' 451 | void FetchWmColormapWindows (TwmWindow *tmp); | ^~~~~~~~~~~~~~~~~~~~~~ add_window.c: In function 'FetchWmColormapWindows': add_window.c:1481:1: warning: old-style function definition [-Wold-style-definition] 1481 | FetchWmColormapWindows (tmp) | ^~~~~~~~~~~~~~~~~~~~~~ add_window.c:1588:9: error: too many arguments to function 'free_cwins'; expected 0, have 1 1588 | free_cwins(tmp); | ^~~~~~~~~~ ~~~ add_window.c:1490:17: note: declared here 1490 | extern void free_cwins(); | ^~~~~~~~~~ add_window.c: In function 'GetWindowSizeHints': add_window.c:1611:6: warning: old-style function definition [-Wold-style-definition] 1611 | void GetWindowSizeHints (tmp) | ^~~~~~~~~~~~~~~~~~ add_window.c:1613:1: error: number of arguments doesn't match prototype 1613 | { | ^ add_window.h:50:13: error: prototype declaration 50 | extern void GetWindowSizeHints(); | ^~~~~~~~~~~~~~~~~~ add_window.c: In function 'getTWM_FLAGS': add_window.c:1637:1: warning: old-style function definition [-Wold-style-definition] 1637 | getTWM_FLAGS (w, flags) | ^~~~~~~~~~~~ add_window.c: In function 'SetTWM_FLAGS': add_window.c:1661:1: warning: old-style function definition [-Wold-style-definition] 1661 | SetTWM_FLAGS(tmp_win) | ^~~~~~~~~~~~ add_window.c:1663:1: error: number of arguments doesn't match prototype 1663 | { | ^ add_window.h:51:13: error: prototype declaration 51 | extern void SetTWM_FLAGS(); | ^~~~~~~~~~~~ --- gc.o --- *** [gc.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/wm/tvtwm/work/tvtwm --- add_window.o --- *** [add_window.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/wm/tvtwm/work/tvtwm bmake: 2 errors bmake: stopped making "all" in /home/pbulk/work/wm/tvtwm/work/tvtwm *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/wm/tvtwm *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/wm/tvtwm