+ 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-nsca-2.9.1nb10/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/nagios-nsca-2.9.1nb10/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for nagios-nsca-2.9.1nb10 cd ./src/; /bin/make all ; cd .. make[1]: Entering directory `/home/pbulk/build/net/nagios-nsca/work/nsca-2.9.1/src' cc -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -DHAVE_LIBMCRYPT -I/usr/pkg/include -DHAVE_CONFIG_H -o nsca ./nsca.c ./netutils.c ./utils.c -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lmcrypt -lnsl cc -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -DHAVE_LIBMCRYPT -I/usr/pkg/include -DHAVE_CONFIG_H -o send_nsca ./send_nsca.c ./netutils.c ./utils.c -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lmcrypt -lnsl ./nsca.c: In function 'main': ./nsca.c:153:9: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(config_file,sizeof(config_file)); ^ ./nsca.c: In function 'write_pid_file': ./nsca.c:1447:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd,pbuf,strlen(pbuf)); ^ ./nsca.c:1448:9: warning: ignoring return value of 'fchown', declared with attribute warn_unused_result [-Wunused-result] fchown(fd,usr,grp); ^ In file included from /usr/include/fcntl.h:306:0, from ./../include/config.h:134, from ./../include/common.h:24, from ./nsca.c:19: In function 'open', inlined from 'read_config_file.constprop.6' at ./nsca.c:480:48: /usr/include/bits/fcntl2.h:50:24: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT or O_TMPFILE in second argument needs 3 arguments __open_missing_mode (); ^ make[1]: *** [nsca] Error 1 make[1]: Leaving directory `/home/pbulk/build/net/nagios-nsca/work/nsca-2.9.1/src' *** Compile finished *** If the compile finished without any errors, you should find client and server binaries in the src/ subdirectory. Read the README file for more information on installing the binaries, creating configuration files, and using the server and client.