+ 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/stegtunnel-0.4nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/stegtunnel-0.4nb1/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for stegtunnel-0.4nb1 --- all-recursive --- Making all in packetp-0.4.1 --- all-recursive --- Making all in include --- all-recursive --- Making all in packetp --- packetp.o --- --- addr_netcmp.o --- --- firewallstate.o --- --- forkarp.o --- --- packetp.o --- gcc -DPACKAGE_NAME=\"packetp.c\" -DPACKAGE_TARNAME=\"packetp-c\" -DPACKAGE_VERSION=\"0.4.1\" -DPACKAGE_STRING=\"packetp.c\ 0.4.1\" -DPACKAGE_BUGREPORT=\"tmacd@synacklabs.net\" -DPACKAGE=\"packetp\" -DVERSION=\"0.4.1\" -I. -I. -I/opt/pkg/include -I/opt/pkg/include -I./include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -c `test -f 'packetp.c' || echo './'`packetp.c --- addr_netcmp.o --- gcc -DPACKAGE_NAME=\"packetp.c\" -DPACKAGE_TARNAME=\"packetp-c\" -DPACKAGE_VERSION=\"0.4.1\" -DPACKAGE_STRING=\"packetp.c\ 0.4.1\" -DPACKAGE_BUGREPORT=\"tmacd@synacklabs.net\" -DPACKAGE=\"packetp\" -DVERSION=\"0.4.1\" -I. -I. -I/opt/pkg/include -I/opt/pkg/include -I./include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -c `test -f 'addr_netcmp.c' || echo './'`addr_netcmp.c --- firewallstate.o --- gcc -DPACKAGE_NAME=\"packetp.c\" -DPACKAGE_TARNAME=\"packetp-c\" -DPACKAGE_VERSION=\"0.4.1\" -DPACKAGE_STRING=\"packetp.c\ 0.4.1\" -DPACKAGE_BUGREPORT=\"tmacd@synacklabs.net\" -DPACKAGE=\"packetp\" -DVERSION=\"0.4.1\" -I. -I. -I/opt/pkg/include -I/opt/pkg/include -I./include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -c `test -f 'firewallstate.c' || echo './'`firewallstate.c --- forkarp.o --- gcc -DPACKAGE_NAME=\"packetp.c\" -DPACKAGE_TARNAME=\"packetp-c\" -DPACKAGE_VERSION=\"0.4.1\" -DPACKAGE_STRING=\"packetp.c\ 0.4.1\" -DPACKAGE_BUGREPORT=\"tmacd@synacklabs.net\" -DPACKAGE=\"packetp\" -DVERSION=\"0.4.1\" -I. -I. -I/opt/pkg/include -I/opt/pkg/include -I./include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -c `test -f 'forkarp.c' || echo './'`forkarp.c forkarp.c: In function 'packetp_arp_wait': forkarp.c:141:7: warning: unused variable 'i' [-Wunused-variable] 141 | int i; | ^ forkarp.c: In function 'packetp_fork_arpd': forkarp.c:381:5: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 381 | if((local_intf = pcap_lookupdev(errbuf)) == NULL) { | ^~ In file included from /home/pbulk/build/security/stegtunnel/work/.buildlink/include/pcap.h:43, from forkarp.c:17: /home/pbulk/build/security/stegtunnel/work/.buildlink/include/pcap/pcap.h:444:18: note: declared here 444 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ --- packetp.o --- packetp.c: In function 'packetp_frame_send': packetp.c:351:7: warning: unused variable 'i' [-Wunused-variable] 351 | int i; | ^ packetp.c: In function 'packetp_start': packetp.c:459:7: warning: unused variable 'i' [-Wunused-variable] 459 | int i; | ^ packetp.c: In function 'packetp_process': packetp.c:596:7: warning: unused variable 'i' [-Wunused-variable] 596 | int i; | ^ --- firewallstate.o --- firewallstate.c: In function 'add_tcp_block': firewallstate.c:47:3: warning: 'strncpy' output may be truncated copying 13 bytes from a string of length 15 [-Wstringop-truncation] 47 | strncpy(new_node->rule.fw_device, entry->intf_name, FWDEVSZ-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- hashtab.o --- gcc -DPACKAGE_NAME=\"packetp.c\" -DPACKAGE_TARNAME=\"packetp-c\" -DPACKAGE_VERSION=\"0.4.1\" -DPACKAGE_STRING=\"packetp.c\ 0.4.1\" -DPACKAGE_BUGREPORT=\"tmacd@synacklabs.net\" -DPACKAGE=\"packetp\" -DVERSION=\"0.4.1\" -I. -I. -I/opt/pkg/include -I/opt/pkg/include -I./include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -c `test -f 'hashtab.c' || echo './'`hashtab.c --- firewallstate.o --- firewallstate.c: In function 'packetp_fw_init': firewallstate.c:110:5: warning: 'strncpy' output may be truncated copying 13 bytes from a string of length 15 [-Wstringop-truncation] 110 | strncpy(new_node->rule.fw_device, route_info->interface.intf_name, FWDEVSZ-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- lookupa.o --- gcc -DPACKAGE_NAME=\"packetp.c\" -DPACKAGE_TARNAME=\"packetp-c\" -DPACKAGE_VERSION=\"0.4.1\" -DPACKAGE_STRING=\"packetp.c\ 0.4.1\" -DPACKAGE_BUGREPORT=\"tmacd@synacklabs.net\" -DPACKAGE=\"packetp\" -DVERSION=\"0.4.1\" -I. -I. -I/opt/pkg/include -I/opt/pkg/include -I./include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -c `test -f 'lookupa.c' || echo './'`lookupa.c --- hashtab.o --- hashtab.c: In function 'hsanity': hashtab.c:54:27: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'ub4' {aka 'unsigned int'} [-Wformat=] 54 | printf("error: end %ld apos %ld\n", end, t->apos); | ~~^ ~~~ | | | | long int ub4 {aka unsigned int} | %d hashtab.c:54:37: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'ub4' {aka 'unsigned int'} [-Wformat=] 54 | printf("error: end %ld apos %ld\n", end, t->apos); | ~~^ ~~~~~~~ | | | | long int ub4 {aka unsigned int} | %d hashtab.c:62:49: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'ub4' {aka 'unsigned int'} [-Wformat=] 62 | printf("error:ipos not in apos, apos is %ld\n", t->apos); | ~~^ ~~~~~~~ | | | | | ub4 {aka unsigned int} | long int | %d hashtab.c:71:30: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'ub4' {aka 'unsigned int'} [-Wformat=] 71 | printf("error: counter %ld t->count %ld\n", counter, t->count); | ~~^ ~~~~~~~ | | | | long int ub4 {aka unsigned int} | %d hashtab.c:71:44: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'ub4' {aka 'unsigned int'} [-Wformat=] 71 | printf("error: counter %ld t->count %ld\n", counter, t->count); | ~~^ ~~~~~~~~ | | | | long int ub4 {aka unsigned int} | %d hashtab.c: In function 'hgrow': hashtab.c:88:39: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 88 | register hitem **newtab = (hitem **)malloc(newsize*sizeof(hitem *)); | ^~~~~~ hashtab.c:42:1: note: include '' or provide a declaration of 'malloc' 41 | #include +++ |+#include 42 | #endif hashtab.c:88:39: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 88 | register hitem **newtab = (hitem **)malloc(newsize*sizeof(hitem *)); | ^~~~~~ hashtab.c:88:39: note: include '' or provide a declaration of 'malloc' hashtab.c:113:3: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 113 | free((char *)oldtab); | ^~~~ hashtab.c:113:3: note: include '' or provide a declaration of 'free' hashtab.c:113:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] hashtab.c:113:3: note: include '' or provide a declaration of 'free' hashtab.c: In function 'hcreate': hashtab.c:122:21: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 122 | htab *t = (htab *)malloc(sizeof(htab)); | ^~~~~~ hashtab.c:122:21: note: include '' or provide a declaration of 'malloc' hashtab.c: In function 'hdestroy': hashtab.c:143:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 143 | free((char *)t->table); | ^~~~ hashtab.c:143:3: note: include '' or provide a declaration of 'free' hashtab.c:141:10: warning: unused variable 'h' [-Wunused-variable] 141 | hitem *h; | ^ hashtab.c: In function 'hfind': hashtab.c:165:10: error: implicit declaration of function 'memcmp' [-Wimplicit-function-declaration] 165 | !memcmp(key, h->key, keyl)) | ^~~~~~ hashtab.c:42:1: note: include '' or provide a declaration of 'memcmp' 41 | #include +++ |+#include 42 | #endif hashtab.c:165:30: warning: 'memcmp' argument 3 promotes to 'ub4' {aka 'unsigned int'} where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 165 | !memcmp(key, h->key, keyl)) | ^~~~ : note: built-in 'memcmp' declared here hashtab.c: In function 'hadd': hashtab.c:193:30: warning: 'memcmp' argument 3 promotes to 'ub4' {aka 'unsigned int'} where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 193 | !memcmp(key, h->key, keyl)) | ^~~~ : note: built-in 'memcmp' declared here hashtab.c: In function 'hstat': hashtab.c:354:21: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'ub4' {aka 'unsigned int'} [-Wformat=] 354 | printf("items %ld: %ld buckets\n", walk->keyl, walk->hval); | ~~^ ~~~~~~~~~~ | | | | long int ub4 {aka unsigned int} | %d hashtab.c:354:27: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'ub4' {aka 'unsigned int'} [-Wformat=] 354 | printf("items %ld: %ld buckets\n", walk->keyl, walk->hval); | ~~^ ~~~~~~~~~~ | | | | long int ub4 {aka unsigned int} | %d hashtab.c:356:24: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'unsigned int' [-Wformat=] 356 | printf("\nbuckets: %ld items: %ld existing: %g\n\n", | ~~^ | | | long int | %d 357 | ((ub4)1<logsize), t->count, total); | ~~~~~~~~~~~~~~~~~~~~ | | | unsigned int hashtab.c:356:36: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'ub4' {aka 'unsigned int'} [-Wformat=] 356 | printf("\nbuckets: %ld items: %ld existing: %g\n\n", | ~~^ | | | long int | %d 357 | ((ub4)1<logsize), t->count, total); | ~~~~~~~~ | | | ub4 {aka unsigned int} hashtab.c: At top level: hashtab.c:45:14: warning: 'hsanity' defined but not used [-Wunused-function] 45 | static void hsanity(t) | ^~~~~~~ *** [hashtab.o] Error code 1 bmake[2]: stopped making "all-am" in /home/pbulk/build/security/stegtunnel/work/stegtunnel-0.4/packetp-0.4.1 bmake[2]: 1 error bmake[2]: stopped making "all-am" in /home/pbulk/build/security/stegtunnel/work/stegtunnel-0.4/packetp-0.4.1 *** [all-recursive] Error code 1 bmake[1]: stopped making "all" in /home/pbulk/build/security/stegtunnel/work/stegtunnel-0.4/packetp-0.4.1 bmake[1]: 1 error bmake[1]: stopped making "all" in /home/pbulk/build/security/stegtunnel/work/stegtunnel-0.4/packetp-0.4.1 *** [all-recursive] Error code 1 bmake: stopped making "all" in /home/pbulk/build/security/stegtunnel/work/stegtunnel-0.4 bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/security/stegtunnel/work/stegtunnel-0.4 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/stegtunnel *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/stegtunnel