=>> Building net-mgmt/nsca-client build started at Tue Apr 9 08:59:44 CEST 2024 port directory: /usr/ports/net-mgmt/nsca-client package name: nsca-client-2.9.2_1 building for: FreeBSD 13amd64-default-php81-job-02 13.3-RELEASE-p1 FreeBSD 13.3-RELEASE-p1 amd64 maintained by: mm@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 159 Jul 20 2022 /usr/ports/net-mgmt/nsca-client/Makefile Ports top last git commit: 3d100fcffcd Ports top unclean checkout: yes Port dir last git commit: 43ac3e28ab9 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1500018 Jail OSVERSION: 1303001 Job Id: 02 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1303001 UNAME_v=FreeBSD 13.3-RELEASE-p1 UNAME_r=13.3-RELEASE-p1 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13amd64-default-php81/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= GID=0 OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 UID=0 PWD=/usr/local/poudriere/data/.m/13amd64-default-php81/02/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13amd64-default-php81 SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13amd64-default-php81/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for nsca-client-2.9.2_1: DOCS=off: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- mm@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --prefix=/usr/local --localstatedir=/var/spool/nagios --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/nsca-client/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/nsca-client/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net-mgmt/nsca-client/work/.cache HOME=/wrkdirs/usr/ports/net-mgmt/nsca-client/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/nsca-client/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-mgmt/nsca-client/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/nsca-client/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/nsca-client/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net-mgmt/nsca-client/work/.cache HOME=/wrkdirs/usr/ports/net-mgmt/nsca-client/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/nsca-client/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-mgmt/nsca-client/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- SERVER="@comment " CLIENT="" PORTDOCS="@comment " OSREL=13.3 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.36.3 PERL_VER=5.36 PERL5_MAN1=lib/perl5/site_perl/man/man1 PERL5_MAN3=lib/perl5/site_perl/man/man3 SITE_PERL=lib/perl5/site_perl SITE_ARCH=lib/perl5/site_perl/mach/5.36 DOCSDIR="share/doc/nsca-client" EXAMPLESDIR="share/examples/nsca" DATADIR="share/nsca" WWWDIR="www/nsca" ETCDIR="etc/nsca" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/nsca DOCSDIR=/usr/local/share/doc/nsca-client EXAMPLESDIR=/usr/local/share/examples/nsca WWWDIR=/usr/local/www/nsca ETCDIR=/usr/local/etc/nsca --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DISABLE_LICENSES="YES" multimedia_liba-utils_UNSET=WAYLAND net-mgmt_icingaweb2-module-reporting_UNSET=PDF lang_gcc12_UNSET=LTO_BOOTSTRAP lang_gcc13_UNSET=LTO_BOOTSTRAP lang_gcc_UNSET=LTO_BOOTSTRAP www_nginx_SET+=HEADERS_MORE www_nginx_SET+=LUA www_nginx_SET+=SET_MISC #### #### DISABLE_LICENSES="YES" WITHOUT_HAL="yes" DEFAULT_VERSIONS+=php=8.1 DEFAULT_VERSIONS+=bdb=5 DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=corosync=3 DEFAULT_VERSIONS+=mysql=10.11m DEFAULT_VERSIONS+=samba=4.16 DEFAULT_VERSIONS+=lua=5.1 OPTIONS_UNSET+=DOCS OPTIONS_SET+=SSL LINUX_BASE_PORT=c7 mail_postfix_SET+=SASL mail_postfix-current_SET+=SASL net-mgmt_monitoring-plugins_SET+=MYSQL net-mgmt_monitoring-plugins_UNSET+=DNS_BASE net-mgmt_monitoring-plugins_SET+=DNS_BINDTOOLS sysutils_bacula11-server_UNSET+=PGSQL sysutils_bacula11-server_SET+=SQLITE3 security_strongswan_SET+=UNITY security_strongswan_SET+=MYSQL graphics_pecl-imagick_SET+=X11 net-mgmt_nrpe_SET+=ARGS net-mgmt_nrpe_UNSET+=NAGPLUGINS net-mgmt_nrpe_SET+=MONPLUGINS net-mgmt_librenms_UNSET+=NAGPLUGINS www_nginx_SET+=HEADERS_MORE www_nginx_SET+=LUA www_nginx_SET+=SET_MISC mail_rspamd_UNSET+=LUAJIT www_nginx-devel_SET+=HEADERS_MORE www_nginx-devel_SET+=LUA www_nginx-devel_SET+=SET_MISC sysutils_iocage_UNSET+=GIT mail_postfix_SET+=MYSQL mail_postfix-current_SET+=MYSQL #graphics_zbar_UNSET+=X11 #### Misc Poudriere #### .include "/etc/make.conf.ports_env" ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 63795 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> nsca-client-2.9.2_1 depends on file: /usr/local/sbin/pkg - found =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by nsca-client-2.9.2_1 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by nsca-client-2.9.2_1 for building => SHA256 Checksum OK for nsca-2.9.2.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Fetching all distfiles required by nsca-client-2.9.2_1 for building ===> Extracting for nsca-client-2.9.2_1 => SHA256 Checksum OK for nsca-2.9.2.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Patching for nsca-client-2.9.2_1 ===> Applying FreeBSD patches for nsca-client-2.9.2_1 from /usr/ports/net-mgmt/nsca-client/../nsca/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> nsca-client-2.9.2_1 depends on package: perl5>=5.36<5.37 - not found ===> Installing existing package /packages/All/perl5-5.36.3_1.pkg [13amd64-default-php81-job-02] Installing perl5-5.36.3_1... [13amd64-default-php81-job-02] Extracting perl5-5.36.3_1: .......... done ===> nsca-client-2.9.2_1 depends on package: perl5>=5.36<5.37 - found ===> Returning to build of nsca-client-2.9.2_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> nsca-client-2.9.2_1 depends on shared library: libmcrypt.so - not found ===> Installing existing package /packages/All/libmcrypt-2.5.8_4.pkg [13amd64-default-php81-job-02] Installing libmcrypt-2.5.8_4... [13amd64-default-php81-job-02] Extracting libmcrypt-2.5.8_4: .......... done ===> nsca-client-2.9.2_1 depends on shared library: libmcrypt.so - found (/usr/local/lib/libmcrypt.so) ===> Returning to build of nsca-client-2.9.2_1 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Configuring for nsca-client-2.9.2_1 configure: loading site script /usr/ports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking build system type... amd64-portbld-freebsd13.3 checking host system type... amd64-portbld-freebsd13.3 checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking whether make sets $(MAKE)... yes checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking db.h usability... yes checking db.h presence... yes checking for db.h... yes checking for ctype.h... (cached) yes checking for errno.h... (cached) yes checking for fcntl.h... (cached) yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking for inttypes.h... (cached) yes checking for netdb.h... (cached) yes checking for pwd.h... (cached) yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for signal.h... (cached) yes checking for stdint.h... (cached) yes checking for strings.h... (cached) yes checking for string.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking tcpd.h usability... yes checking tcpd.h presence... yes checking for tcpd.h... yes checking for unistd.h... (cached) yes checking for arpa/inet.h... (cached) yes checking for netinet/in.h... (cached) yes checking sys/config.h usability... no checking sys/config.h presence... no checking for sys/config.h... no checking sys/int_types.h usability... no checking sys/int_types.h presence... no checking for sys/int_types.h... no checking for sys/poll.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/resource.h... (cached) yes checking for sys/socket.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/wait.h... (cached) yes checking for an ANSI C-conforming const... yes checking for working volatile... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for mode_t... (cached) yes checking for pid_t... (cached) yes checking for size_t... (cached) yes checking return type of signal handlers... void checking for uid_t in sys/types.h... (cached) yes checking type of array argument to getgroups... gid_t checking size of int... 4 checking size of short... 2 checking size of long... 8 checking for uint32_t... yes checking for u_int32_t... (cached) yes checking for int32_t... (cached) yes checking for main in -lnsl... no checking for socket in -lsocket... no checking for main in -lwrap... yes checking for strdup... (cached) yes checking for strstr... (cached) yes checking for strtoul... (cached) yes checking for sigaction... (cached) yes checking for sig_atomic_t... (cached) yes checking for socklen_t... (cached) yes checking for type of socket size... int checking for libmcrypt-config... /usr/local/bin/libmcrypt-config checking for libmcrypt - version >= 2.4.11... yes checking for perl... (cached) /usr/local/bin/perl configure: creating ./config.status config.status: creating Makefile config.status: creating subst config.status: WARNING: 'subst.in' seems to ignore the --datarootdir setting config.status: creating src/Makefile config.status: creating package/solaris/Makefile config.status: creating init-script config.status: creating sample-config/nsca.cfg config.status: creating sample-config/send_nsca.cfg config.status: creating sample-config/nsca.xinetd config.status: creating include/config.h *** Configuration summary for nsca 2.9.2 12-07-2016 ***: General Options: ------------------------- NSCA port: 5667 NSCA user: nagios NSCA group: nagios Review the options above for accuracy. If they look okay, type 'make all' to compile the NSCA daemon and client. =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Building for nsca-client-2.9.2_1 --- all --- cd ./src/; /usr/bin/make all ; cd .. --- nsca --- --- send_nsca --- --- nsca --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_LIBMCRYPT -I/usr/local/include -DHAVE_CONFIG_H -o nsca ./nsca.c ./netutils.c ./utils.c -fstack-protector-strong -L/usr/local/lib -lmcrypt -lwrap --- send_nsca --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_LIBMCRYPT -I/usr/local/include -DHAVE_CONFIG_H -o send_nsca ./send_nsca.c ./netutils.c ./utils.c -fstack-protector-strong -L/usr/local/lib -lmcrypt ./send_nsca.c:301:60: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 301 | printf("Warning: Sent only %d of %d bytes to host\n",rc,sizeof(send_packet)); | ~~ ^~~~~~~~~~~~~~~~~~~ | %lu ./send_nsca.c:373:120: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 373 | printf("Error: Init packet from server was too short (%d bytes received, %d expected)\n",bytes_to_recv,sizeof(receive_packet)); | ~~ ^~~~~~~~~~~~~~~~~~~~~~ | %lu --- nsca --- ./nsca.c:740:9: warning: non-void function does not return a value in all control paths [-Wreturn-type] 740 | } | ^ ./nsca.c:756:9: warning: non-void function does not return a value in all control paths [-Wreturn-type] 756 | } | ^ ./nsca.c:1055:97: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 1055 | syslog(LOG_ERR,"Only able to send %d of %d bytes of init packet to client\n",rc,sizeof(send_packet)); | ~~ ^~~~~~~~~~~~~~~~~~~ | %lu ./nsca.c:1262:56: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] 1262 | fprintf(checkresult_file_fp,"file_time=%d\n\n",current_time); | ~~ ^~~~~~~~~~~~ | %ld ./nsca.c:1263:81: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 1263 | fprintf(checkresult_file_fp,"### %s Check Result ###\n",(svc_description=="")?"Host":"Service"); | ^ ~~ --- send_nsca --- 2 warnings generated. --- nsca --- 5 warnings generated. *** 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. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> nsca-client-2.9.2_1 depends on package: perl5>=5.36<5.37 - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Staging for nsca-client-2.9.2_1 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/net-mgmt/nsca-client/work/nsca-2.9.2/src/send_nsca /wrkdirs/usr/ports/net-mgmt/nsca-client/work/stage/usr/local/sbin/send_nsca /bin/mkdir -p /wrkdirs/usr/ports/net-mgmt/nsca-client/work/stage/usr/local/etc/nagios install -m 0644 /wrkdirs/usr/ports/net-mgmt/nsca-client/work/nsca-2.9.2/sample-config/send_nsca.cfg /wrkdirs/usr/ports/net-mgmt/nsca-client/work/stage/usr/local/etc/nagios/send_nsca.cfg-sample ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-04-09T06:59:44+0000' 'PKG_NOTE_ports_top_git_hash=3d100fcffcd' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=43ac3e28ab9' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Building packages for nsca-client-2.9.2_1 ===> Building nsca-client-2.9.2_1 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for nsca-client-2.9.2_1 build of net-mgmt/nsca-client | nsca-client-2.9.2_1 ended at Tue Apr 9 09:01:11 CEST 2024 build time: 00:01:28