+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/rid-1.11nb2/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/rid-1.11nb2/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for rid-1.11nb2 Compiling RID (Remote Intrusion Detector) cc -c -pipe -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -DLINUX=1 -DPCAP_TIMEOUT_IGNORED=1 -DHAVE_LIBPCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_CTYPE_H=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETOPT_H=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRSTR=1 -I/usr/include/pcap listen.c pinger.c rid.c sender.c In file included from /usr/include/string.h:638:0, from pinger.c:4: In function 'bzero', inlined from 'pingsweep' at pinger.c:50:7: /usr/include/bits/string3.h:97:3: warning: call to __builtin___memset_chk will always overflow destination buffer [enabled by default] (void) __builtin___memset_chk (__dest, '\0', __len, __bos0 (__dest)); ^ rid.c: In function 'main': rid.c:233:3: warning: 'pcap_lookupdev' is deprecated (declared at /home/pbulk/build/security/rid/work/.buildlink/include/pcap/pcap.h:394): use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] if((Device = pcap_lookupdev(perr)) == NULL){ ^ /usr/pkg/bin/bison -y -d grammer.y /usr/pkg/bin/flex parser.l cc -c -DLINUX=1 -DPCAP_TIMEOUT_IGNORED=1 -DHAVE_LIBPCAP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_CTYPE_H=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETOPT_H=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRSTR=1 -I/usr/include/pcap grammer.c parser.c In file included from /usr/include/sys/types.h:25:0, from grammer.y:2: /usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ In file included from /usr/include/stdio.h:27:0, from lex.yy.c:18: /usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ In file included from parser.l:5:0: grammer.y:30:2: error: unknown type name 'uint16_t' uint16_t us; ^ grammer.y:31:2: error: unknown type name 'uint64_t' uint64_t ul; ^ *** Error code 1 Stop. bmake: stopped in /home/pbulk/build/security/rid/work/rid-1.11 *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/security/rid *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/security/rid