=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/audio/xcdplayer", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for xcdplayer-2.2nb6 bmake: "/home/pbulk/work/audio/xcdplayer/work/xcdplayer-2.2/Makefile" line 970: warning: duplicate script for target "lint" ignored bmake: "Makefile" line 948: warning: using previous script for "lint" defined here bmake: "/home/pbulk/work/audio/xcdplayer/work/xcdplayer-2.2/Makefile" line 972: warning: duplicate script for target "lint1" ignored bmake: "Makefile" line 950: warning: using previous script for "lint1" defined here --- main.o --- --- top_setup.o --- --- main.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 main.c --- top_setup.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 top_setup.c --- main.o --- main.c: In function 'chk_debug': main.c:29:1: warning: old-style function definition [-Wold-style-definition] 29 | chk_debug(argc, argv) | ^~~~~~~~~ main.c: In function 'usage': main.c:48:9: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 48 | exit(1); | ^~~~ main.c:23:1: note: include '' or provide a declaration of 'exit' 22 | # include "cdrom_globs.h" +++ |+#include 23 | main.c:48:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 48 | exit(1); | ^~~~ main.c:48:9: note: include '' or provide a declaration of 'exit' main.c: In function 'main': main.c:52:1: warning: old-style function definition [-Wold-style-definition] 52 | main(argc, argv) | ^~~~ main.c:59:20: error: too many arguments to function 'top_setup'; expected 0, have 2 59 | top_form = top_setup(argc, argv); | ^~~~~~~~~ ~~~~ In file included from main.c:22: cdrom_globs.h:32:25: note: declared here 32 | extern Widget top_setup(); | ^~~~~~~~~ main.c:67:9: error: too many arguments to function 'logo_setup'; expected 0, have 1 67 | logo_setup(top_form); | ^~~~~~~~~~ ~~~~~~~~ cdrom_globs.h:59:25: note: declared here 59 | extern void logo_setup(); | ^~~~~~~~~~ main.c:69:9: error: too many arguments to function 'button_setup'; expected 0, have 1 69 | button_setup(top_form); | ^~~~~~~~~~~~ ~~~~~~~~ cdrom_globs.h:67:25: note: declared here 67 | extern void button_setup(); | ^~~~~~~~~~~~ main.c:71:9: error: too many arguments to function 'program_form_setup'; expected 0, have 1 71 | program_form_setup(top_form); | ^~~~~~~~~~~~~~~~~~ ~~~~~~~~ cdrom_globs.h:88:25: note: declared here 88 | extern void program_form_setup(); | ^~~~~~~~~~~~~~~~~~ main.c:75:9: error: too many arguments to function 'update_status'; expected 0, have 2 75 | update_status(NULL, NULL); | ^~~~~~~~~~~~~ ~~~~ cdrom_globs.h:69:25: note: declared here 69 | extern void update_status(); | ^~~~~~~~~~~~~ main.c:79:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 79 | exit(0); | ^~~~ main.c:79:9: note: include '' or provide a declaration of 'exit' --- top_setup.o --- top_setup.c: In function 'top_setup': top_setup.c:81:1: warning: old-style function definition [-Wold-style-definition] 81 | top_setup(argc, argv) | ^~~~~~~~~ top_setup.c:84:1: error: number of arguments doesn't match prototype 84 | { | ^ In file included from top_setup.c:24: cdrom_globs.h:32:25: error: prototype declaration 32 | extern Widget top_setup(); | ^~~~~~~~~ top_setup.c:115:17: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 115 | exit(1); | ^~~~ top_setup.c:27:1: note: include '' or provide a declaration of 'exit' 26 | # include "logo.xbm" +++ |+#include 27 | top_setup.c:115:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 115 | exit(1); | ^~~~ top_setup.c:115:17: note: include '' or provide a declaration of 'exit' top_setup.c:134:49: error: too many arguments to function 'getenv'; expected 0, have 1 134 | if ((app_data.cdInfoDir == NULL) && ((s=getenv("XCDINFODIR")) != NULL)) | ^~~~~~ ~~~~~~~~~~~~ top_setup.c:32:18: note: declared here 32 | extern char *getenv(); | ^~~~~~ --- main.o --- *** [main.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/audio/xcdplayer/work/xcdplayer-2.2 --- top_setup.o --- *** [top_setup.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/audio/xcdplayer/work/xcdplayer-2.2 bmake: 2 errors bmake: stopped making "all" in /home/pbulk/work/audio/xcdplayer/work/xcdplayer-2.2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/xcdplayer *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/xcdplayer