=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/net/traceroute-nanog", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for traceroute-nanog-6.4.2nb1 cd /tmp/work/net/traceroute-nanog/work/traceroute-nanog-6.4.2.orig && gcc -DSOLARIS -pipe -O2 -msave-args -fno-aggressive-loop-optimizations traceroute.c -o traceroute-nanog -Wl,-R/opt/pkg/lib -lm -lresolv -lsocket -lnsl traceroute.c:935:1: error: return type defaults to 'int' [-Wimplicit-int] 935 | main(argc, argv) | ^~~~ traceroute.c: In function 'main': traceroute.c:935:1: warning: old-style function definition [-Wold-style-definition] traceroute.c:994:9: error: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] 994 | bzero(optlist, sizeof(optlist)); | ^~~~~ traceroute.c:994:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] traceroute.c:1036:37: error: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] 1036 | bcopy(&gw, oix, sizeof(u_long)); | ^~~~~ traceroute.c:1036:37: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] traceroute.c:1044:37: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 1044 | bcopy(hp->h_addr, oix, sizeof(u_long)); | ^~~~~ traceroute.c:1232:25: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 1232 | bcopy(hp->h_addr, (caddr_t)&to->sin_addr, hp->h_length); | ^~~~~ traceroute.c:1312:29: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 1312 | NOERR(signal(SIGINT,halt),"signal SIGINT"); | ^~~~ | | | void (*)(void) traceroute.c:750:36: note: in definition of macro 'NOERR' 750 | #define NOERR(val,msg) {if (((int)(val)) < 0) {perror(msg);exit(1);}} | ^~~ In file included from /usr/include/signal.h:42, from traceroute.c:569: /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); | ^~~~~~~~~~~~~ traceroute.c:764:6: note: 'halt' declared here 764 | void halt(); /* signal handler */ | ^~~~ traceroute.c:750:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 750 | #define NOERR(val,msg) {if (((int)(val)) < 0) {perror(msg);exit(1);}} | ^ traceroute.c:1312:9: note: in expansion of macro 'NOERR' 1312 | NOERR(signal(SIGINT,halt),"signal SIGINT"); | ^~~~~ traceroute.c:1318:11: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 1318 | bcopy((caddr_t)&to->sin_addr, oix, sizeof(u_long)); | ^~~~~ traceroute.c:1464:30: error: too many arguments to function 'deltaT'; expected 0, have 1 1464 | float dt = deltaT(&tv); | ^~~~~~ ~~~ traceroute.c:915:7: note: declared here 915 | float deltaT(); | ^~~~~~ traceroute.c:1504:39: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 1504 | NOERR(signal(SIGINT,halt), "signal SIGINT"); | ^~~~ | | | void (*)(void) traceroute.c:750:36: note: in definition of macro 'NOERR' 750 | #define NOERR(val,msg) {if (((int)(val)) < 0) {perror(msg);exit(1);}} | ^~~ /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); | ^~~~~~~~~~~~~ traceroute.c:764:6: note: 'halt' declared here 764 | void halt(); /* signal handler */ | ^~~~ traceroute.c:750:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 750 | #define NOERR(val,msg) {if (((int)(val)) < 0) {perror(msg);exit(1);}} | ^ traceroute.c:1504:19: note: in expansion of macro 'NOERR' 1504 | NOERR(signal(SIGINT,halt), "signal SIGINT"); | ^~~~~ traceroute.c: At top level: traceroute.c:1741:1: error: return type defaults to 'int' [-Wimplicit-int] 1741 | wait_for_reply(sock, from, deadline) | ^~~~~~~~~~~~~~ traceroute.c: In function 'wait_for_reply': traceroute.c:1741:1: warning: old-style function definition [-Wold-style-definition] traceroute.c:1759:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1759 | (now.tv_usec > deadline->tv_usec) ) ) return (int)NULL; | ^ traceroute.c: At top level: traceroute.c:1778:1: error: return type defaults to 'int' [-Wimplicit-int] 1778 | send_probe(seq, ttl, proto) | ^~~~~~~~~~ traceroute.c: In function 'send_probe': traceroute.c:1778:1: warning: old-style function definition [-Wold-style-definition] traceroute.c:1970:12: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 1970 | bcopy(&op->ip_payload.udp_probe.tv, &spray[seq].out, sizeof(struct timeval)); | ^~~~~ traceroute.c: In function 'cksum': traceroute.c:2031:1: warning: old-style function definition [-Wold-style-definition] 2031 | cksum(buf, nwords, ckaddr) | ^~~~~ traceroute.c: In function 'deltaT': traceroute.c:2058:7: warning: old-style function definition [-Wold-style-definition] 2058 | float deltaT(tp) | ^~~~~~ traceroute.c:2060:1: error: number of arguments doesn't match prototype 2060 | { | ^ traceroute.c:915:7: error: prototype declaration 915 | float deltaT(); | ^~~~~~ traceroute.c: In function 'pr_type': traceroute.c:2076:1: warning: old-style function definition [-Wold-style-definition] 2076 | pr_type(t) | ^~~~~~~ traceroute.c: In function 'decode_icmp_ext': traceroute.c:2098:6: warning: old-style function definition [-Wold-style-definition] 2098 | void decode_icmp_ext(buf, cc) | ^~~~~~~~~~~~~~~ traceroute.c: At top level: traceroute.c:2154:1: error: return type defaults to 'int' [-Wimplicit-int] 2154 | packet_ok(buf, cc, from, seq, proto) | ^~~~~~~~~ traceroute.c: In function 'packet_ok': traceroute.c:2154:1: warning: old-style function definition [-Wold-style-definition] traceroute.c:2254:23: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 2254 | bcopy(&from->sin_addr, | ^~~~~ traceroute.c: In function 'reduce_mtu': traceroute.c:2301:5: warning: old-style function definition [-Wold-style-definition] 2301 | int reduce_mtu(value) | ^~~~~~~~~~ traceroute.c: In function 'print_from': traceroute.c:2329:38: error: too many arguments to function 'inetname'; expected 0, have 1 2329 | Fprintf(stdout, " %s (%s)", inetname(from->sin_addr), | ^~~~~~~~ ~~~~~~~~~~~~~~ traceroute.c:821:7: note: declared here 821 | char *inetname(); | ^~~~~~~~ traceroute.c:2333:34: error: too many arguments to function 'lookup_as'; expected 0, have 1 2333 | Fprintf(stdout," [%s]", lookup_as(from->sin_addr)); | ^~~~~~~~~ ~~~~~~~~~~~~~~ traceroute.c:2319:7: note: declared here 2319 | char *lookup_as(); | ^~~~~~~~~ traceroute.c:2336:32: error: too many arguments to function 'lookup_owner'; expected 0, have 1 2336 | Fprintf(stdout," %s", lookup_owner(from->sin_addr)); | ^~~~~~~~~~~~ ~~~~~~~~~~~~~~ traceroute.c:2317:7: note: declared here 2317 | char *lookup_owner(); | ^~~~~~~~~~~~ traceroute.c: At top level: traceroute.c:2345:1: error: return type defaults to 'int' [-Wimplicit-int] 2345 | print(buf, cc, from) | ^~~~~ traceroute.c: In function 'print': traceroute.c:2345:1: warning: old-style function definition [-Wold-style-definition] traceroute.c:2360:45: error: too many arguments to function 'inetname'; expected 0, have 1 2360 | Fprintf(stdout, " %s (%s)", inetname(from->sin_addr), | ^~~~~~~~ ~~~~~~~~~~~~~~ traceroute.c:821:7: note: declared here 821 | char *inetname(); | ^~~~~~~~ traceroute.c:2364:35: error: too many arguments to function 'lookup_as'; expected 0, have 1 2364 | Fprintf(stdout," [%s]", lookup_as(from->sin_addr)); | ^~~~~~~~~ ~~~~~~~~~~~~~~ traceroute.c:2319:7: note: declared here 2319 | char *lookup_as(); | ^~~~~~~~~ traceroute.c:2367:33: error: too many arguments to function 'lookup_owner'; expected 0, have 1 2367 | Fprintf(stdout," %s", lookup_owner(from->sin_addr)); | ^~~~~~~~~~~~ ~~~~~~~~~~~~~~ traceroute.c:2317:7: note: declared here 2317 | char *lookup_owner(); | ^~~~~~~~~~~~ traceroute.c: At top level: traceroute.c:2377:1: error: return type defaults to 'int' [-Wimplicit-int] 2377 | tvsub(out, in) | ^~~~~ traceroute.c: In function 'tvsub': traceroute.c:2377:1: warning: old-style function definition [-Wold-style-definition] traceroute.c: In function 'inetname': traceroute.c:2393:1: warning: old-style function definition [-Wold-style-definition] 2393 | inetname(in) | ^~~~~~~~ traceroute.c:2395:1: error: number of arguments doesn't match prototype 2395 | { | ^ traceroute.c:821:7: error: prototype declaration 821 | char *inetname(); | ^~~~~~~~ traceroute.c: In function 'halt': traceroute.c:750:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 750 | #define NOERR(val,msg) {if (((int)(val)) < 0) {perror(msg);exit(1);}} | ^ traceroute.c:2447:3: note: in expansion of macro 'NOERR' 2447 | NOERR(signal(SIGINT,0), "signal SIGINT,0"); | ^~~~~ traceroute.c: In function 'lookup_owner': traceroute.c:2457:7: warning: old-style function definition [-Wold-style-definition] 2457 | char *lookup_owner(in) | ^~~~~~~~~~~~ traceroute.c:2459:1: error: number of arguments doesn't match prototype 2459 | { | ^ traceroute.c:2317:7: error: prototype declaration 2317 | char *lookup_owner(); | ^~~~~~~~~~~~ traceroute.c:2468:17: error: too many arguments to function 'doresolve'; expected 0, have 1 2468 | if (!(owner = doresolve(dns_query))) { | ^~~~~~~~~ ~~~~~~~~~ traceroute.c:2318:7: note: declared here 2318 | char *doresolve (); | ^~~~~~~~~ traceroute.c:2471:19: error: too many arguments to function 'doresolve'; expected 0, have 1 2471 | if (!(owner = doresolve(dns_query))) { | ^~~~~~~~~ ~~~~~~~~~ traceroute.c:2318:7: note: declared here 2318 | char *doresolve (); | ^~~~~~~~~ traceroute.c:2475:19: error: too many arguments to function 'doresolve'; expected 0, have 1 2475 | owner = doresolve(dns_query); | ^~~~~~~~~ ~~~~~~~~~ traceroute.c:2318:7: note: declared here 2318 | char *doresolve (); | ^~~~~~~~~ traceroute.c: In function 'lookup_as': traceroute.c:2505:7: warning: old-style function definition [-Wold-style-definition] 2505 | char *lookup_as(in) | ^~~~~~~~~ traceroute.c:2507:1: error: number of arguments doesn't match prototype 2507 | { | ^ traceroute.c:2319:7: error: prototype declaration 2319 | char *lookup_as(); | ^~~~~~~~~ traceroute.c:2527:8: error: too many arguments to function 'get_origin'; expected 0, have 1 2527 | sp = get_origin(query); | ^~~~~~~~~~ ~~~~~ traceroute.c:2511:9: note: declared here 2511 | char *get_origin(); | ^~~~~~~~~~ traceroute.c: In function 'get_origin': traceroute.c:2511:9: warning: old-style function definition [-Wold-style-definition] traceroute.c:2642:1: error: number of arguments doesn't match prototype 2642 | { | ^ traceroute.c:2511:9: error: prototype declaration 2511 | char *get_origin(); | ^~~~~~~~~~ traceroute.c:2658:15: error: conflicting types for 'getenv'; have 'char *(void)' 2658 | char *getenv(); | ^~~~~~ In file included from /usr/include/stdlib.h:41, from traceroute.c:596: /usr/include/iso/stdlib_iso.h:139:14: note: previous declaration of 'getenv' with type 'char *(const char *)' 139 | extern char *getenv(const char *); | ^~~~~~ traceroute.c:2666:18: error: too many arguments to function 'getenv'; expected 0, have 1 2666 | if ((i = getenv("RA_SERVER")) == 0) { | ^~~~~~ ~~~~~~~~~~~ traceroute.c:2658:15: note: declared here 2658 | char *getenv(); | ^~~~~~ traceroute.c:2694:18: error: too many arguments to function 'getenv'; expected 0, have 1 2694 | if ((i = getenv("RA_SERVICE")) == 0) { | ^~~~~~ ~~~~~~~~~~~~ traceroute.c:2658:15: note: declared here 2658 | char *getenv(); | ^~~~~~ traceroute.c:2714:9: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 2714 | bcopy(hp->h_addr, (caddr_t)&sin.sin_addr, hp->h_length); | ^~~~~ traceroute.c:2764:18: error: too many arguments to function 'getenv'; expected 0, have 1 2764 | if ((i = getenv("DATA_DELIMITER")) == 0) { | ^~~~~~ ~~~~~~~~~~~~~~~~ traceroute.c:2658:15: note: declared here 2658 | char *getenv(); | ^~~~~~ traceroute.c:2773:18: error: too many arguments to function 'getenv'; expected 0, have 1 2773 | if ((i = getenv("ROUTE_DELIMITER")) == 0) { | ^~~~~~ ~~~~~~~~~~~~~~~~~ traceroute.c:2658:15: note: declared here 2658 | char *getenv(); | ^~~~~~ traceroute.c:2780:18: error: too many arguments to function 'getenv'; expected 0, have 1 2780 | if ((i = getenv("PREFIX_DELIMITER")) == 0) { | ^~~~~~ ~~~~~~~~~~~~~~~~~~ traceroute.c:2658:15: note: declared here 2658 | char *getenv(); | ^~~~~~ traceroute.c: In function 'getshort': traceroute.c:2859:7: warning: old-style function definition [-Wold-style-definition] 2859 | short getshort(ptr) | ^~~~~~~~ traceroute.c: In function 'doresolve': traceroute.c:2873:7: warning: old-style function definition [-Wold-style-definition] 2873 | char *doresolve (name) | ^~~~~~~~~ traceroute.c:2875:1: error: number of arguments doesn't match prototype 2875 | { | ^ traceroute.c:2318:7: error: prototype declaration 2318 | char *doresolve (); | ^~~~~~~~~ traceroute.c: At top level: traceroute.c:2930:1: error: return type defaults to 'int' [-Wimplicit-int] 2930 | doqd(ans,off) | ^~~~ traceroute.c: In function 'doqd': traceroute.c:2930:1: warning: old-style function definition [-Wold-style-definition] traceroute.c: At top level: traceroute.c:2943:1: error: return type defaults to 'int' [-Wimplicit-int] 2943 | dorr(ans,off,contact_ptr) | ^~~~ traceroute.c: In function 'dorr': traceroute.c:2943:1: warning: old-style function definition [-Wold-style-definition] traceroute.c: At top level: traceroute.c:2962:1: error: return type defaults to 'int' [-Wimplicit-int] 2962 | doname(ans,off,name) | ^~~~~~ traceroute.c: In function 'doname': traceroute.c:2962:1: warning: old-style function definition [-Wold-style-definition] traceroute.c: At top level: traceroute.c:2991:1: error: return type defaults to 'int' [-Wimplicit-int] 2991 | dotype(ans,off) | ^~~~~~ traceroute.c: In function 'dotype': traceroute.c:2991:1: warning: old-style function definition [-Wold-style-definition] traceroute.c: At top level: traceroute.c:2998:1: error: return type defaults to 'int' [-Wimplicit-int] 2998 | doclass(ans,off) | ^~~~~~~ traceroute.c: In function 'doclass': traceroute.c:2998:1: warning: old-style function definition [-Wold-style-definition] traceroute.c: At top level: traceroute.c:3005:1: error: return type defaults to 'int' [-Wimplicit-int] 3005 | dottl(ans,off) | ^~~~~ traceroute.c: In function 'dottl': traceroute.c:3005:1: warning: old-style function definition [-Wold-style-definition] traceroute.c: At top level: traceroute.c:3012:1: error: return type defaults to 'int' [-Wimplicit-int] 3012 | dordata(ans,off,class,typ,fname,contact_ptr) | ^~~~~~~ traceroute.c: In function 'dordata': traceroute.c:3012:1: warning: old-style function definition [-Wold-style-definition] traceroute.c: In function 'AbortIfNull': traceroute.c:3057:6: warning: old-style function definition [-Wold-style-definition] 3057 | void AbortIfNull (ThePointer) | ^~~~~~~~~~~ *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/traceroute-nanog *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/traceroute-nanog