+ 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-mqueue-0.1/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/nagios-plugin-mqueue-0.1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for nagios-plugin-mqueue-0.1 --- check_mqueue.o --- cc -Wall -Werror -ansi -c check_mqueue.c In file included from /usr/include/dirent.h:26:0, from check_mqueue.c:30: /usr/include/features.h:330:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ check_mqueue.c: In function 'main': check_mqueue.c:77:3: error: implicit declaration of function 'strtok_r' [-Werror=implicit-function-declaration] queuedir = strtok_r(argv[i], ",", &last); ^ check_mqueue.c:77:12: error: assignment makes pointer from integer without a cast [-Werror] queuedir = strtok_r(argv[i], ",", &last); ^ check_mqueue.c:78:11: error: assignment makes pointer from integer without a cast [-Werror] warnstr = strtok_r(NULL, ",", &last); ^ check_mqueue.c:79:11: error: assignment makes pointer from integer without a cast [-Werror] critstr = strtok_r(NULL, ",", &last); ^ check_mqueue.c:93:10: error: 'struct dirent' has no member named 'd_namlen' if (dp->d_namlen < 1) ^ check_mqueue.c:105:4: error: implicit declaration of function 'snprintf' [-Werror=implicit-function-declaration] bad_strlen += snprintf(bad_str + bad_strlen, ^ cc1: all warnings being treated as errors *** [check_mqueue.o] Error code 1 bmake: stopped in /home/pbulk/build/net/nagios-plugin-mqueue/work/check_mqueue-0.1 1 error bmake: stopped in /home/pbulk/build/net/nagios-plugin-mqueue/work/check_mqueue-0.1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/nagios-plugin-mqueue *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/nagios-plugin-mqueue