+ 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/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from check_dnsmaster.c:30: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ check_dnsmaster.c: In function 'load_domain': check_dnsmaster.c:209:3: warning: implicit declaration of function 'strlcpy'; did you mean 'strncpy'? [-Wimplicit-function-declaration] strlcpy(al->al_addr, a, sizeof(al->al_addr)); ^~~~~~~ strncpy check_dnsmaster.c: In function 'check_dnsmaster_thread': check_dnsmaster.c:341:3: warning: implicit declaration of function 'res_setservers'; did you mean 'res_isourserver'? [-Wimplicit-function-declaration] res_setservers(&res, nameserver_socks, nameserver_count); ^~~~~~~~~~~~~~ res_isourserver check_dnsmaster.c: In function 'get_server_addr': check_dnsmaster.c:479:29: error: dereferencing pointer to incomplete type 'union res_sockaddr_union' if ((addrs = malloc(sizeof(*addrs) * count)) == NULL) ^~~~~~ check_dnsmaster.c:486:17: error: invalid use of undefined type 'union res_sockaddr_union' memcpy(&addrs[count].sin, res->ai_addr, ^ check_dnsmaster.c:487:23: error: invalid use of undefined type 'union res_sockaddr_union' sizeof(addrs[count].sin)); ^ check_dnsmaster.c:491:17: error: invalid use of undefined type 'union res_sockaddr_union' memcpy(&addrs[count].sin6, res->ai_addr, ^ check_dnsmaster.c:492:23: error: invalid use of undefined type 'union res_sockaddr_union' sizeof(addrs[count].sin6)); ^ *** [check_dnsmaster.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/net/nagios-plugin-dnsmaster/work/check_dnsmaster-0.1 bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/net/nagios-plugin-dnsmaster/work/check_dnsmaster-0.1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/nagios-plugin-dnsmaster *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/nagios-plugin-dnsmaster