+ 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/nagios-plugin-dnsmaster-0.1/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/nagios-plugin-dnsmaster-0.1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for nagios-plugin-dnsmaster-0.1 --- check_dnsmaster.o --- cc -c check_dnsmaster.c In file included from /usr/include/stdio.h:27:0, from check_dnsmaster.c:30: /usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ check_dnsmaster.c: In function 'get_server_addr': check_dnsmaster.c:479:29: error: dereferencing pointer to incomplete type if ((addrs = malloc(sizeof(*addrs) * count)) == NULL) ^ check_dnsmaster.c:486:4: error: invalid use of undefined type 'union res_sockaddr_union' memcpy(&addrs[count].sin, res->ai_addr, ^ check_dnsmaster.c:486:17: error: dereferencing pointer to incomplete type memcpy(&addrs[count].sin, res->ai_addr, ^ check_dnsmaster.c:487:11: error: invalid use of undefined type 'union res_sockaddr_union' sizeof(addrs[count].sin)); ^ check_dnsmaster.c:487:23: error: dereferencing pointer to incomplete type sizeof(addrs[count].sin)); ^ check_dnsmaster.c:491:4: error: invalid use of undefined type 'union res_sockaddr_union' memcpy(&addrs[count].sin6, res->ai_addr, ^ check_dnsmaster.c:491:17: error: dereferencing pointer to incomplete type memcpy(&addrs[count].sin6, res->ai_addr, ^ check_dnsmaster.c:492:11: error: invalid use of undefined type 'union res_sockaddr_union' sizeof(addrs[count].sin6)); ^ check_dnsmaster.c:492:23: error: dereferencing pointer to incomplete type sizeof(addrs[count].sin6)); ^ *** [check_dnsmaster.o] Error code 1 bmake: stopped in /home/pbulk/build/net/nagios-plugin-dnsmaster/work/check_dnsmaster-0.1 1 error bmake: stopped in /home/pbulk/build/net/nagios-plugin-dnsmaster/work/check_dnsmaster-0.1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/nagios-plugin-dnsmaster *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/nagios-plugin-dnsmaster