=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/crashme", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for crashme-2.4 --- crashme.o --- --- pddet.o --- --- crashme.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c crashme.c --- pddet.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c pddet.c pddet.c: In function 'vcons': pddet.c:53:11: warning: old-style function definition [-Wold-style-definition] 53 | struct v *vcons(n,x) | ^~~~~ pddet.c: In function 'vprod': pddet.c:64:11: warning: old-style function definition [-Wold-style-definition] 64 | struct v *vprod(x,y) | ^~~~~ pddet.c: In function 'vsume': pddet.c:72:8: warning: old-style function definition [-Wold-style-definition] 72 | double vsume(x) | ^~~~~ pddet.c: In function 'viprod': pddet.c:79:8: warning: old-style function definition [-Wold-style-definition] 79 | double viprod(x,y) | ^~~~~~ pddet.c: In function 'vnorm': pddet.c:83:8: warning: old-style function definition [-Wold-style-definition] 83 | double vnorm(x) | ^~~~~ pddet.c: In function 'sayarch': pddet.c:257:6: warning: old-style function definition [-Wold-style-definition] 257 | void sayarch(x) | ^~~~~~~ pddet.c: In function 'apairl': pddet.c:265:5: warning: old-style function definition [-Wold-style-definition] 265 | int apairl(a,b) | ^~~~~~ pddet.c: In function 'adeltl': pddet.c:271:5: warning: old-style function definition [-Wold-style-definition] 271 | int adeltl(a,b) | ^~~~~~ pddet.c: At top level: pddet.c:277:1: error: return type defaults to 'int' [-Wimplicit-int] 277 | main(argc,argv) | ^~~~ pddet.c: In function 'main': pddet.c:277:1: warning: old-style function definition [-Wold-style-definition] --- crashme.o --- crashme.c: In function 'note': crashme.c:201:6: warning: old-style function definition [-Wold-style-definition] 201 | void note(level) | ^~~~ crashme.c: In function 'bad_malloc': crashme.c:213:16: warning: old-style function definition [-Wold-style-definition] 213 | unsigned char *bad_malloc(n) | ^~~~~~~~~~ crashme.c: In function 'again_handler': crashme.c:226:6: warning: old-style function definition [-Wold-style-definition] 226 | void again_handler(sig) | ^~~~~~~~~~~~~ crashme.c: In function 'my_signal': crashme.c:254:6: warning: old-style function definition [-Wold-style-definition] 254 | void my_signal(sig, func) | ^~~~~~~~~ crashme.c:259:14: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 259 | signal(sig, func); | ^~~~ | | | void (*)(void) In file included from /usr/include/signal.h:42, from crashme.c:134: /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ crashme.c: At top level: crashme.c:275:1: error: return type defaults to 'int' [-Wimplicit-int] 275 | set_up_signals() | ^~~~~~~~~~~~~~ crashme.c:298:1: error: return type defaults to 'int' [-Wimplicit-int] 298 | compute_badboy_1(n) | ^~~~~~~~~~~~~~~~ crashme.c: In function 'compute_badboy_1': crashme.c:298:1: warning: old-style function definition [-Wold-style-definition] crashme.c: In function 'castaway': crashme.c:319:8: warning: old-style function definition [-Wold-style-definition] 319 | BADBOY castaway(dat) | ^~~~~~~~ crashme.c: At top level: crashme.c:350:1: error: return type defaults to 'int' [-Wimplicit-int] 350 | compute_badboy() | ^~~~~~~~~~~~~~ crashme.c:372:1: error: return type defaults to 'int' [-Wimplicit-int] 372 | try_one_crash() | ^~~~~~~~~~~~~ crashme.c:380:1: error: return type defaults to 'int' [-Wimplicit-int] 380 | main(argc,argv) | ^~~~ crashme.c: In function 'main': crashme.c:380:1: warning: old-style function definition [-Wold-style-definition] crashme.c:392:5: error: too many arguments to function 'old_main'; expected 0, have 2 392 | old_main(4,argv);} | ^~~~~~~~ ~ crashme.c:169:6: note: declared here 169 | void old_main(),copyright_note(),vfork_main(),badboy_loop(); | ^~~~~~~~ crashme.c:394:4: error: too many arguments to function 'old_main'; expected 0, have 2 394 | old_main(4,argv); | ^~~~~~~~ ~ crashme.c:169:6: note: declared here 169 | void old_main(),copyright_note(),vfork_main(),badboy_loop(); | ^~~~~~~~ crashme.c:398:5: error: too many arguments to function 'old_main'; expected 0, have 2 398 | old_main(4,argv);} | ^~~~~~~~ ~ crashme.c:169:6: note: declared here 169 | void old_main(),copyright_note(),vfork_main(),badboy_loop(); | ^~~~~~~~ crashme.c:402:5: error: too many arguments to function 'copyright_note'; expected 0, have 1 402 | copyright_note(1); | ^~~~~~~~~~~~~~ ~ crashme.c:169:17: note: declared here 169 | void old_main(),copyright_note(),vfork_main(),badboy_loop(); | ^~~~~~~~~~~~~~ crashme.c:424:5: error: too many arguments to function 'vfork_main'; expected 0, have 6 424 | vfork_main(tflag,nsubs,argv[0],argv[1],atol(argv[2]),argv[3]);} | ^~~~~~~~~~ ~~~~~ crashme.c:169:34: note: declared here 169 | void old_main(),copyright_note(),vfork_main(),badboy_loop(); | ^~~~~~~~~~ crashme.c: In function 'copyright_note': crashme.c:430:6: warning: old-style function definition [-Wold-style-definition] 430 | void copyright_note(n) | ^~~~~~~~~~~~~~ crashme.c:432:1: error: number of arguments doesn't match prototype 432 | {sprintf(notes,"Crashme: (c) Copyright 1990-1994 George J. Carrette"); | ^ crashme.c:169:17: error: prototype declaration 169 | void old_main(),copyright_note(),vfork_main(),badboy_loop(); | ^~~~~~~~~~~~~~ crashme.c: In function 'old_main': crashme.c:437:6: warning: old-style function definition [-Wold-style-definition] 437 | void old_main(argc,argv) | ^~~~~~~~ crashme.c:440:1: error: number of arguments doesn't match prototype 440 | {char *ptr; | ^ crashme.c:169:6: error: prototype declaration 169 | void old_main(),copyright_note(),vfork_main(),badboy_loop(); | ^~~~~~~~ crashme.c:441:2: error: too many arguments to function 'copyright_note'; expected 0, have 1 441 | copyright_note(3); | ^~~~~~~~~~~~~~ ~ crashme.c:430:6: note: declared here 430 | void copyright_note(n) | ^~~~~~~~~~~~~~ crashme.c: In function 'badboy_loop': crashme.c:503:8: error: implicit declaration of function 'alarm' [-Wimplicit-function-declaration] 503 | alarm(10); | ^~~~~ crashme.c: At top level: crashme.c:517:1: error: return type defaults to 'int' [-Wimplicit-int] 517 | record_status(n) | ^~~~~~~~~~~~~ crashme.c: In function 'record_status': crashme.c:517:1: warning: old-style function definition [-Wold-style-definition] crashme.c: At top level: crashme.c:530:1: error: return type defaults to 'int' [-Wimplicit-int] 530 | summarize_status() | ^~~~~~~~~~~~~~~~ crashme.c: In function 'monitor_fcn': crashme.c:547:6: warning: old-style function definition [-Wold-style-definition] 547 | void monitor_fcn(sig) | ^~~~~~~~~~~ crashme.c: In function 'vfork_main': crashme.c:564:6: warning: old-style function definition [-Wold-style-definition] 564 | void vfork_main(tflag,nsubs,cmd,nb,sr,nt) | ^~~~~~~~~~ crashme.c:567:1: error: number of arguments doesn't match prototype 567 | {long j,pid,n,seq,total_time,dys,hrs,mns,scs; | ^ crashme.c:169:34: error: prototype declaration 169 | void old_main(),copyright_note(),vfork_main(),badboy_loop(); | ^~~~~~~~~~ crashme.c:591:14: error: implicit declaration of function 'fork' [-Wimplicit-function-declaration] 591 | status = fork(); | ^~~~ crashme.c:594:17: error: implicit declaration of function 'execlp' [-Wimplicit-function-declaration] 594 | {status = execlp(cmd,cmd,nb,arg2,nt,arg4,arg5,subprocess_ind,0); | ^~~~~~ crashme.c:594:17: warning: incompatible implicit declaration of built-in function 'execlp' [-Wbuiltin-declaration-mismatch] crashme.c:607:24: error: implicit declaration of function 'wait' [-Wimplicit-function-declaration] 607 | while((pid = wait(&status)) > 0) | ^~~~ --- pddet.o --- *** [pddet.o] Error code 1 bmake: stopped making "all" in /tmp/work/sysutils/crashme/work --- crashme.o --- *** [crashme.o] Error code 1 bmake: stopped making "all" in /tmp/work/sysutils/crashme/work bmake: 2 errors bmake: stopped making "all" in /tmp/work/sysutils/crashme/work *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/crashme *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/crashme