=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/net/mping", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for mping-2.01 --- all --- /opt/pkg/bin/bmake all-recursive --- all-recursive --- Making all in src --- mping.o --- source='mping.c' object='mping.o' libtool=no depfile='.deps/mping.Po' tmpdepfile='.deps/mping.TPo' depmode=gcc3 /usr/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c `test -f 'mping.c' || echo './'`mping.c mping.c:261:7: error: conflicting types for 'inet_ntoa'; have 'char *(void)' 261 | char *inet_ntoa(); | ^~~~~~~~~ In file included from mping.c:113: /usr/include/arpa/inet.h:86:14: note: previous declaration of 'inet_ntoa' with type 'char *(struct in_addr)' 86 | extern char *inet_ntoa(struct in_addr); | ^~~~~~~~~ mping.c: In function 'main': mping.c:467:17: error: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] 467 | bzero((char *) &whereto[nhosts], sizeof(struct sockaddr_storage)); | ^~~~~ mping.c:467:17: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] mping.c:566:9: error: implicit declaration of function 'signal'; did you mean 'strsignal'? [-Wimplicit-function-declaration] 566 | signal(SIGINT, finish); | ^~~~~~ | strsignal mping.c: In function 'pr_pack': mping.c:1066:69: error: too many arguments to function 'pr_addr'; expected 0, have 1 1066 | printf("%d bytes from %-35s: ", cc, pr_addr(from)); | ^~~~~~~ ~~~~ mping.c:262:7: note: declared here 262 | char *pr_addr(); | ^~~~~~~ mping.c:1085:48: error: too many arguments to function 'pr_addr'; expected 0, have 1 1085 | printf("%s\n", pr_addr(ntohl(l))); | ^~~~~~~ ~~~~~~~~ mping.c:262:7: note: declared here 262 | char *pr_addr(); | ^~~~~~~ mping.c: In function 'pr_pack6': mping.c:1181:72: error: too many arguments to function 'pr_addr'; expected 0, have 1 1181 | printf("%d bytes from %-35s: icmp_seq=%u", cc, pr_addr(from), icmph->icmp6_seq); | ^~~~~~~ ~~~~ mping.c:262:7: note: declared here 262 | char *pr_addr(); | ^~~~~~~ mping.c:1191:44: error: too many arguments to function 'pr_addr'; expected 0, have 1 1191 | printf("%s %d %u", pr_addr(from), cc, icmph->icmp6_seq); | ^~~~~~~ ~~~~ mping.c:262:7: note: declared here 262 | char *pr_addr(); | ^~~~~~~ mping.c:1231:69: error: too many arguments to function 'pr_addr'; expected 0, have 1 1231 | printf("%d bytes from %-35s: ", cc, pr_addr(from)); | ^~~~~~~ ~~~~ mping.c:262:7: note: declared here 262 | char *pr_addr(); | ^~~~~~~ mping.c: In function 'tvsub': mping.c:1327:1: warning: old-style function definition [-Wold-style-definition] 1327 | tvsub(out, in) | ^~~~~ mping.c: In function 'pr_iph': mping.c:1803:24: error: too many arguments to function 'inet_ntoa'; expected 0, have 1 1803 | printf(" %s ", inet_ntoa(*(struct in_addr *)&ip->ip_src.s_addr)); | ^~~~~~~~~ mping.c:261:7: note: declared here 261 | char *inet_ntoa(); | ^~~~~~~~~ mping.c:1804:24: error: too many arguments to function 'inet_ntoa'; expected 0, have 1 1804 | printf(" %s ", inet_ntoa(*(struct in_addr *)&ip->ip_dst.s_addr)); | ^~~~~~~~~ mping.c:261:7: note: declared here 261 | char *inet_ntoa(); | ^~~~~~~~~ mping.c: At top level: mping.c:1836:7: error: conflicting types for 'pr_addr'; have 'char *(struct sockaddr *)' 1836 | char *pr_addr(struct sockaddr *sa) { | ^~~~~~~ mping.c:262:7: note: previous declaration of 'pr_addr' with type 'char *(void)' 262 | char *pr_addr(); | ^~~~~~~ *** [mping.o] Error code 1 bmake[2]: stopped making "all" in /tmp/work/net/mping/work/mping-2.01/src bmake[2]: 1 error bmake[2]: stopped making "all" in /tmp/work/net/mping/work/mping-2.01/src *** [all-recursive] Error code 1 bmake[1]: stopped making "all-recursive" in /tmp/work/net/mping/work/mping-2.01 bmake[1]: 1 error bmake[1]: stopped making "all-recursive" in /tmp/work/net/mping/work/mping-2.01 *** [all] Error code 2 bmake: stopped making "all" in /tmp/work/net/mping/work/mping-2.01 bmake: 1 error bmake: stopped making "all" in /tmp/work/net/mping/work/mping-2.01 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/mping *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/mping