+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/tfkiss-1.2.4nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/tfkiss-1.2.4nb1/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for tfkiss-1.2.4nb1 /opt/pkg/bin/gmake -C src all gmake[1]: Entering directory '/home/pbulk/build/ham/tfkiss/work/tfkiss-1.2.4/src' gcc -DHAVE_CONFIG_H -funsigned-char -c -o l2a.o l2a.c gcc -DHAVE_CONFIG_H -funsigned-char -c -o l2b.o l2b.c gcc -DHAVE_CONFIG_H -funsigned-char -c -o l2c.o l2c.c gcc -DHAVE_CONFIG_H -funsigned-char -c -o l2d.o l2d.c gcc -DHAVE_CONFIG_H -funsigned-char -c -o l2e.o l2e.c gcc -DHAVE_CONFIG_H -funsigned-char -c -o l2s.o l2s.c gcc -DHAVE_CONFIG_H -funsigned-char -c -o l2v.o l2v.c gcc -DHAVE_CONFIG_H -funsigned-char -c -o tfa.o tfa.c gcc -DHAVE_CONFIG_H -funsigned-char -c -o tfb.o tfb.c gcc -DHAVE_CONFIG_H -funsigned-char -c -o tfc.o tfc.c gcc -DHAVE_CONFIG_H -funsigned-char -c -o tfd.o tfd.c gcc -DHAVE_CONFIG_H -funsigned-char -c -o tfv.o tfv.c gcc -DHAVE_CONFIG_H -funsigned-char -c -o crc.o crc.c gcc -DHAVE_CONFIG_H -funsigned-char -c -o init.o init.c gcc -DHAVE_CONFIG_H -funsigned-char -c -o main.o main.c gcc -DHAVE_CONFIG_H -funsigned-char -c -o process.o process.c gcc -DHAVE_CONFIG_H -funsigned-char -c -o routing.o routing.c init.c: In function 'parse_line': init.c:353:11: warning: implicit declaration of function 'inet_addr'; did you mean 'next_addr'? [-Wimplicit-function-declaration] 353 | j = inet_addr(q); | ^~~~~~~~~ | next_addr main.c: In function 'init_axip': main.c:455:3: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] 455 | bzero( (char *)&to, sizeof(struct sockaddr) ); | ^~~~~ main.c:455:3: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] main.c: In function 'main': main.c:1220:7: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] 1220 | bzero((char *) &serv_addr,sizeof(serv_addr)); | ^~~~~ main.c:1419:30: error: invalid use of undefined type 'struct iphdr' 1419 | hdr_len = 4 * ipptr->ihl; | ^~ routing.c: In function 'route_add': routing.c:82:33: warning: implicit declaration of function 'inet_ntoa' [-Wimplicit-function-declaration] 82 | (char *)inet_ntoa(*(struct in_addr *)default_route.ip_addr), | ^~~~~~~~~ routing.c:82:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 82 | (char *)inet_ntoa(*(struct in_addr *)default_route.ip_addr), | ^ routing.c:103:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 103 | (char *)inet_ntoa(*(struct in_addr *)route_tbl[route_tbl_top].ip_addr), | ^ routing.c: In function 'call_to_ip': routing.c:133:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 133 | (char *)inet_ntoa(*(struct in_addr *)route_tbl[i].ip_addr)); | ^ routing.c:134:25: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] 134 | strcat(helpstr,helpstr2); | ^~~~~~ routing.c:21:1: note: include '<string.h>' or provide a declaration of 'strcat' 20 | #include <netinet/in.h> +++ |+#include <string.h> 21 | routing.c:134:25: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] 134 | strcat(helpstr,helpstr2); | ^~~~~~ routing.c:134:25: note: include '<string.h>' or provide a declaration of 'strcat' routing.c:142:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 142 | (char *)inet_ntoa(*(struct in_addr *)default_route.ip_addr)); | ^ routing.c:143:25: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] 143 | strcat(helpstr,helpstr2); | ^~~~~~ routing.c:143:25: note: include '<string.h>' or provide a declaration of 'strcat' routing.c:148:9: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] 148 | strcat(helpstr,"failed."); | ^~~~~~ routing.c:148:9: note: include '<string.h>' or provide a declaration of 'strcat' routing.c: In function 'dump_routes': routing.c:163:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 163 | (char *)inet_ntoa(*(struct in_addr *)route_tbl[i].ip_addr), | ^ routing.c:170:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 170 | (char *)inet_ntoa(*(struct in_addr *)default_route.ip_addr), | ^ gmake[1]: *** [<builtin>: main.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... gmake[1]: Leaving directory '/home/pbulk/build/ham/tfkiss/work/tfkiss-1.2.4/src' gmake: *** [Makefile:15: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/ham/tfkiss *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/ham/tfkiss