------------------------------------------------------------------------------- -- Phase: Environment ------------------------------------------------------------------------------- NO_DEPENDS=1 FLAVOR=nagios4 UNAME_r=6.5 UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=unknown UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 LANG=C HOME=/root USER=root TERM=dumb SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: showconfig ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: 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=/construction/net-mgmt/cnagios XDG_CONFIG_HOME=/construction/net-mgmt/cnagios XDG_CACHE_HOME=/construction/net-mgmt/cnagios/.cache HOME=/construction/net-mgmt/cnagios TMPDIR="/tmp" PATH=/construction/net-mgmt/cnagios/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/net-mgmt/cnagios/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ARGS ------------------------------------------------------------------------------- --with-etc-dir="/usr/local/etc/nagios" --with-var-dir="/var/spool/nagios" --with-status-file="/var/spool/nagios/status.dat" --with-nagios-data=3 --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ENV ------------------------------------------------------------------------------- PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/construction/net-mgmt/cnagios XDG_CONFIG_HOME=/construction/net-mgmt/cnagios XDG_CACHE_HOME=/construction/net-mgmt/cnagios/.cache HOME=/construction/net-mgmt/cnagios TMPDIR="/tmp" PATH=/construction/net-mgmt/cnagios/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/net-mgmt/cnagios/.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 CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -L/usr/local/lib -Wl,-rpath=/usr/local/lib " LIBS="" CXX="c++" CXXFLAGS=" -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" 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" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ARGS ------------------------------------------------------------------------------- LIBS="-lncurses" DESTDIR=/construction/net-mgmt/cnagios/stage SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: PLIST_SUB ------------------------------------------------------------------------------- OSREL=6.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.32.1 PERL_VER=5.32 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.32 PROFILE="@comment " DOCSDIR="share/doc/cnagios" EXAMPLESDIR="share/examples/cnagios" DATADIR="share/cnagios" WWWDIR="www/cnagios" ETCDIR="etc/nagios" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: SUB_LIST ------------------------------------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/cnagios DOCSDIR=/usr/local/share/doc/cnagios EXAMPLESDIR=/usr/local/share/examples/cnagios WWWDIR=/usr/local/www/cnagios ETCDIR=/usr/local/etc/nagios SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: /etc/make.conf ------------------------------------------------------------------------------- DPORTS_BUILDER=yes DISABLE_LICENSES=yes DEFAULT_VERSIONS=ssl=openssl FORCE_PACKAGE=yes DEVELOPER=yes DFLY_STING_XFAIL=yes USE_PACKAGE_DEPENDS_ONLY=yes PORTSDIR=/xports PORT_DBDIR=/options PKG_DBDIR=/var/db/pkg PKG_CACHEDIR=/var/cache/pkg PKG_COMPRESSION_FORMAT=.tgz DEVELOPER=1 WITH_CCACHE_BUILD=yes CCACHE_DIR=/ccache UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=600503 OSVERSION=9999999 OSREL=6.5 _OSRELEASE=6.5-SYNTH DISTDIR=/distfiles WRKDIRPREFIX=/construction BATCH=yes PACKAGE_BUILDING=yes PKG_CREATE_VERBOSE=yes MAKE_JOBS_NUMBER=13 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/ncurses-6.4.pkg ===== Message from ncurses-6.4: -- To get the terminfo database please install the terminfo-db package: pkg install terminfo-db Installing /packages/All/perl5-5.32.1_3.pkg Installing /packages/All/ccache-3.7.12_4.pkg Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for gcc create symlink for gcc (world) create symlink for g++ create symlink for g++ (world) ===== Message from ccache-3.7.12_4: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. Installing /packages/All/libltdl-2.4.7.pkg Installing /packages/All/png-1.6.39.pkg Installing /packages/All/brotli-1.0.9,1.pkg Installing /packages/All/freetype2-2.12.1_2.pkg ===== Message from freetype2-2.12.1_2: -- The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as the default, emulating a modern version of ClearType. This change inevitably leads to different rendering results, and you might change port's options to adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment variable). The environment variable "FREETYPE_PROPERTIES" can be used to control the driver properties. Example: FREETYPE_PROPERTIES=truetype:interpreter-version=35 \ cff:no-stem-darkening=1 \ autofitter:warping=1 This allows to select, say, the subpixel hinting mode at runtime for a given application. If LONG_PCF_NAMES port's option was enabled, the PCF family names may include the foundry and information whether they contain wide characters. For example, "Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at run time with using pcf:no-long-family-names property, if needed. Example: FREETYPE_PROPERTIES=pcf:no-long-family-names=1 How to recreate fontconfig cache with using such environment variable, if needed: # env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv The controllable properties are listed in the section "Controlling FreeType Modules" in the reference's table of contents (/usr/local/share/doc/freetype2/reference/index.html, if documentation was installed). Installing /packages/All/expat-2.5.0.pkg Installing /packages/All/fontconfig-2.14.2,1.pkg Running fc-cache to build fontconfig cache... Installing /packages/All/libdeflate-1.18.pkg Installing /packages/All/jbigkit-2.1_1.pkg Installing /packages/All/liblz4-1.9.4,1.pkg Installing /packages/All/zstd-1.5.5.pkg Installing /packages/All/jpeg-turbo-2.1.5.1.pkg Installing /packages/All/tiff-4.4.0_1.pkg Installing /packages/All/giflib-5.2.1.pkg Installing /packages/All/webp-1.3.0_1.pkg Installing /packages/All/libgd-2.3.3_5,1.pkg Installing /packages/All/indexinfo-0.3.1.pkg Installing /packages/All/gettext-runtime-0.21.1.pkg Installing /packages/All/openssl-1.1.1u,1.pkg Installing /packages/All/nagios-plugins-2.4.3,1.pkg Installing /packages/All/libargon2-20190702.pkg Installing /packages/All/pcre2-10.42.pkg Installing /packages/All/readline-8.2.1.pkg Installing /packages/All/libxml2-2.10.4.pkg Installing /packages/All/php81-8.1.20.pkg Installing /packages/All/php81-xml-8.1.20.pkg ===== Message from php81-xml-8.1.20: -- This file has been added to automatically load the installed extension: /usr/local/etc/php/ext-20-xml.ini Installing /packages/All/php81-filter-8.1.20.pkg ===== Message from php81-filter-8.1.20: -- This file has been added to automatically load the installed extension: /usr/local/etc/php/ext-20-filter.ini Installing /packages/All/nagios4-4.4.13,1.pkg ===> Creating groups. Creating group 'nagios' with gid '181'. ===> Creating users Creating user 'nagios' with uid '181'. ===> Creating homedir(s) ===== Message from nagios4-4.4.13,1: -- Enable Nagios in /etc/rc.conf with the following line: nagios_enable="YES" Configuration templates are available in /usr/local/etc/nagios as *.cfg-sample files. Copy them to *.cfg files where required and edit to suit your needs. If you don't already have a web server running, you will need to install and configure one to finish off your Nagios installation. When used with Apache, the following should be sufficient to publish the web component of Nagios (modify the allow list to suit): Require ip 127.0.0.1 php_flag engine on php_admin_value open_basedir /usr/local/www/nagios/:/var/spool/nagios/ Options ExecCGI ScriptAlias /nagios/cgi-bin/ /usr/local/www/nagios/cgi-bin/ Alias /nagios/ /usr/local/www/nagios/ SUCCEEDED 00:00:07 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> cnagios-nagios4-0.33_1 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> cnagios-nagios4-0.33_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by cnagios-nagios4-0.33_1 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> cnagios-nagios4-0.33_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by cnagios-nagios4-0.33_1 for building => SHA256 Checksum OK for dannywarren-cnagios-0.33_GH0.tar.gz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> cnagios-nagios4-0.33_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by cnagios-nagios4-0.33_1 for building ===> Extracting for cnagios-nagios4-0.33_1 => SHA256 Checksum OK for dannywarren-cnagios-0.33_GH0.tar.gz. Extracted Memory Use: 0.38M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for cnagios-nagios4-0.33_1 ===> Applying ports patches for cnagios-nagios4-0.33_1 from /xports/net-mgmt/cnagios/files SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> cnagios-nagios4-0.33_1 depends on file: /usr/local/lib/libncurses.so.6 - found ===> cnagios-nagios4-0.33_1 depends on package: perl5>=5.32.r0<5.33 - found ===> cnagios-nagios4-0.33_1 depends on file: /usr/local/bin/ccache - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> cnagios-nagios4-0.33_1 depends on file: /usr/local/lib/libncurses.so.6 - found ===> cnagios-nagios4-0.33_1 depends on package: perl5>=5.32.r0<5.33 - found ===> cnagios-nagios4-0.33_1 depends on file: /usr/local/bin/ccache - found ===> Configuring for cnagios-nagios4-0.33_1 configure: loading site script /xports/Templates/config.site checking build system type... x86_64-portbld-dragonfly6.5 checking host system type... x86_64-portbld-dragonfly6.5 checking target system type... x86_64-portbld-dragonfly6.5 checking for cc... /usr/local/libexec/ccache/cc checking for perl... (cached) /usr/local/bin/perl nagios etc dir... /usr/local/etc/nagios nagios var dir... /var/spool/nagios nagios status file... /var/spool/nagios/status.dat nagios data version... 3 configure: creating ./config.status config.status: creating Makefile config.status: creating cnagios.h ./configure is done next do "make" SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for cnagios-nagios4-0.33_1 --- cnagios.o --- --- draw.o --- --- read.o --- --- debug.o --- --- cmds.o --- --- help.o --- --- perl.o --- --- update.o --- --- dotfile.o --- --- readv1.o --- --- readv23.o --- --- cnagios.o --- /usr/local/libexec/ccache/cc -o cnagios.o -c cnagios.c -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DUSE_THREAD_SAFE_LOCALE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/local/lib/perl5/5.32/mach/CORE -D_DEBUG_ --- debug.o --- /usr/local/libexec/ccache/cc -o debug.o -c debug.c -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DUSE_THREAD_SAFE_LOCALE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/local/lib/perl5/5.32/mach/CORE -D_DEBUG_ --- cmds.o --- /usr/local/libexec/ccache/cc -o cmds.o -c cmds.c -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DUSE_THREAD_SAFE_LOCALE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/local/lib/perl5/5.32/mach/CORE -D_DEBUG_ --- help.o --- /usr/local/libexec/ccache/cc -o help.o -c help.c -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DUSE_THREAD_SAFE_LOCALE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/local/lib/perl5/5.32/mach/CORE -D_DEBUG_ --- perl.o --- /usr/local/libexec/ccache/cc -o perl.o -c perl.c -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DUSE_THREAD_SAFE_LOCALE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/local/lib/perl5/5.32/mach/CORE -D_DEBUG_ --- dotfile.o --- /usr/local/libexec/ccache/cc -o dotfile.o -c dotfile.c -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DUSE_THREAD_SAFE_LOCALE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/local/lib/perl5/5.32/mach/CORE -D_DEBUG_ --- readv1.o --- /usr/local/libexec/ccache/cc -o readv1.o -c readv1.c -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DUSE_THREAD_SAFE_LOCALE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/local/lib/perl5/5.32/mach/CORE -D_DEBUG_ --- readv23.o --- /usr/local/libexec/ccache/cc -o readv23.o -c readv23.c -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DUSE_THREAD_SAFE_LOCALE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/local/lib/perl5/5.32/mach/CORE -D_DEBUG_ --- draw.o --- /usr/local/libexec/ccache/cc -o draw.o -c draw.c -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DUSE_THREAD_SAFE_LOCALE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/local/lib/perl5/5.32/mach/CORE -D_DEBUG_ --- read.o --- /usr/local/libexec/ccache/cc -o read.o -c read.c -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DUSE_THREAD_SAFE_LOCALE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/local/lib/perl5/5.32/mach/CORE -D_DEBUG_ --- update.o --- /usr/local/libexec/ccache/cc -o update.o -c update.c -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DUSE_THREAD_SAFE_LOCALE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/local/lib/perl5/5.32/mach/CORE -D_DEBUG_ --- readv23.o --- readv23.c: In function 'read_v23_status': readv23.c:55:1: warning: implicit declaration of function 'debug' [-Wimplicit-function-declaration] debug("read_v23_status()..."); ^~~~~ readv23.c:245:60: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] host_list[host_list_size][LAST_STATE_CHANGE_INT] = (char *)(last_update_int); ^ readv23.c:249:60: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] host_list[host_list_size][LAST_STATE_CHANGE_INT] = (char *)host_stamp; ^ readv23.c:261:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)host_list[host_list_size][LAST_STATE_CHANGE_INT]); ^ readv23.c:422:64: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] service_list[service_list_size][LAST_STATE_CHANGE_INT] = (char *)service_stamp; ^ readv23.c:433:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)service_list[service_list_size][LAST_STATE_CHANGE_INT]); ^ readv23.c:479:66: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] service_list[service_list_size][LAST_STATE_CHANGE_INT] = (char *)service_stamp; ^ readv23.c:322:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(service_list[service_list_size][HOST_NAME],ent.rhs,strlen(ent.rhs)+1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readv23.c:322:66: note: length computed here strncpy(service_list[service_list_size][HOST_NAME],ent.rhs,strlen(ent.rhs)+1); ^~~~~~~~~~~~~~~ readv23.c:464:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(service_list[service_list_size][PLUGIN_OUTPUT],ent.rhs,strlen(ent.rhs)+1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readv23.c:464:70: note: length computed here strncpy(service_list[service_list_size][PLUGIN_OUTPUT],ent.rhs,strlen(ent.rhs)+1); ^~~~~~~~~~~~~~~ readv23.c:143:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(host_list[host_list_size][HOST_NAME],ent.rhs,strlen(ent.rhs)+1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readv23.c:143:60: note: length computed here strncpy(host_list[host_list_size][HOST_NAME],ent.rhs,strlen(ent.rhs)+1); ^~~~~~~~~~~~~~~ readv23.c:204:7: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(host_list[host_list_size][PLUGIN_OUTPUT],ent.rhs,strlen(ent.rhs)+1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readv23.c:204:64: note: length computed here strncpy(host_list[host_list_size][PLUGIN_OUTPUT],ent.rhs,strlen(ent.rhs)+1); ^~~~~~~~~~~~~~~ --- cnagios.o --- cnagios.c: In function 'main': cnagios.c:240:1: warning: implicit declaration of function 'debug' [-Wimplicit-function-declaration] debug("Cnagios version %s",VERSION); ^~~~~ --- draw.o --- draw.c: In function 'draw_screen': draw.c:70:3: warning: implicit declaration of function 'debug' [-Wimplicit-function-declaration] debug("draw_screen()..."); ^~~~~ draw.c:276:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] duration_int = last_update_int - (int)host_list[i][LAST_STATE_CHANGE_INT]; ^ draw.c:282:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] duration_int = last_update_int - (int)host_list[i][LAST_STATE_CHANGE_INT]; ^ draw.c:337:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] duration_int = last_update_int - (int)service_list[i][LAST_STATE_CHANGE_INT]; ^ draw.c:343:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] duration_int = last_update_int - (int)service_list[i][LAST_STATE_CHANGE_INT]; ^ draw.c:309:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(buf,buf2,strlen(buf2)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ draw.c:369:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(buf,buf2,strlen(buf2)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- readv1.o --- readv1.c: In function 'read_v1_status': readv1.c:47:1: warning: implicit declaration of function 'debug' [-Wimplicit-function-declaration] debug("read_v1_status()..."); ^~~~~ readv1.c:104:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] host_list[i][LAST_UPDATE] = (char *)stamp; ^ readv1.c:128:66: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] host_list[host_list_size][LAST_STATE_CHANGE_INT] = (char *)(last_update_int + 1); ^ readv1.c:134:66: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] host_list[host_list_size][LAST_STATE_CHANGE_INT] = (char *)stamp; ^ readv1.c:203:72: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] service_list[service_list_size][LAST_STATE_CHANGE_INT] = (char *)(last_update_int + 1); ^ readv1.c:209:72: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] service_list[service_list_size][LAST_STATE_CHANGE_INT] = (char *)stamp; ^ readv1.c:220:13: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(service_list[service_list_size][PLUGIN_OUTPUT],str_match,strlen(str_match)+1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readv1.c:220:78: note: length computed here strncpy(service_list[service_list_size][PLUGIN_OUTPUT],str_match,strlen(str_match)+1); ^~~~~~~~~~~~~~~~~ readv1.c:197:15: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(service_list[service_list_size][STATUS],str_match,strlen(str_match)+1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readv1.c:197:73: note: length computed here strncpy(service_list[service_list_size][STATUS],str_match,strlen(str_match)+1); ^~~~~~~~~~~~~~~~~ readv1.c:182:13: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(service_list[service_list_size][HOST_NAME],str_match,strlen(str_match)+1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readv1.c:182:74: note: length computed here strncpy(service_list[service_list_size][HOST_NAME],str_match,strlen(str_match)+1); ^~~~~~~~~~~~~~~~~ readv1.c:146:13: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(host_list[host_list_size][PLUGIN_OUTPUT],str_match,strlen(str_match)+1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readv1.c:146:72: note: length computed here strncpy(host_list[host_list_size][PLUGIN_OUTPUT],str_match,strlen(str_match)+1); ^~~~~~~~~~~~~~~~~ readv1.c:124:13: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(host_list[host_list_size][STATUS],str_match,strlen(str_match)+1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readv1.c:124:65: note: length computed here strncpy(host_list[host_list_size][STATUS],str_match,strlen(str_match)+1); ^~~~~~~~~~~~~~~~~ readv1.c:120:13: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(host_list[host_list_size][HOST_NAME],str_match,strlen(str_match)+1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readv1.c:120:68: note: length computed here strncpy(host_list[host_list_size][HOST_NAME],str_match,strlen(str_match)+1); ^~~~~~~~~~~~~~~~~ --- read.o --- read.c: In function 'read_status': read.c:43:1: warning: implicit declaration of function 'debug' [-Wimplicit-function-declaration] debug("read_status()..."); ^~~~~ read.c:124:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] new->age = (int)host_list[i][LAST_STATE_CHANGE_INT]; ^ read.c:129:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ( (int)host_list[i][LAST_STATE_CHANGE_INT] > tmp->age ) { ^ read.c:174:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] new->age = (int)service_list[i][LAST_STATE_CHANGE_INT]; ^ read.c:179:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ( (int)service_list[i][LAST_STATE_CHANGE_INT] > tmp->age ) { ^ read.c: In function 'calc_duration': read.c:268:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(str_ptr,buf,strlen(buf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- cnagios --- /usr/local/libexec/ccache/cc -o cnagios cnagios.o draw.o read.o debug.o cmds.o help.o perl.o update.o dotfile.o readv1.o readv23.o -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -L/usr/local/lib -Wl,-rpath=/usr/local/lib -D_DEBUG_ -lncurses -Wl,-R/usr/local/lib/perl5/5.32/mach/CORE -pthread -Wl,-E -fstack-protector-strong -L/usr/local/lib -L/usr/local/lib/perl5/5.32/mach/CORE -lperl -lpthread -ldl -lm -lcrypt -lutil -lc next do "make install" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- ===> cnagios-nagios4-0.33_1 depends on file: /usr/local/lib/libncurses.so.6 - found ===> cnagios-nagios4-0.33_1 depends on package: nagios4>=4.0 - found ===> cnagios-nagios4-0.33_1 depends on package: perl5>=5.32.r0<5.33 - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for cnagios-nagios4-0.33_1 ===> cnagios-nagios4-0.33_1 depends on file: /usr/local/lib/libncurses.so.6 - found ===> cnagios-nagios4-0.33_1 depends on package: nagios4>=4.0 - found ===> cnagios-nagios4-0.33_1 depends on package: perl5>=5.32.r0<5.33 - found ===> Generating temporary packing list config/install-sh -c -m 755 cnagios /construction/net-mgmt/cnagios/stage/usr/local/bin/cnagios config/install-sh -c -m 444 cnagios.1 /construction/net-mgmt/cnagios/stage/usr/local/man/man1/cnagios.1 config/install-sh -c -m 644 cnagiosrc /construction/net-mgmt/cnagios/stage/usr/local/etc/nagios/cnagiosrc.sample config/install-sh -c -m 644 cnagios.help /construction/net-mgmt/cnagios/stage/usr/local/etc/nagios/cnagios.help.sample config/install-sh -c -m 644 cnagios.pl /construction/net-mgmt/cnagios/stage/usr/local/etc/nagios/cnagios.pl.sample /usr/bin/strip /construction/net-mgmt/cnagios/stage/usr/local/bin/cnagios ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: check-plist ------------------------------------------------------------------------------- ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for cnagios-nagios4-0.33_1 file sizes/checksums [5]: 0% file sizes/checksums [5]: 100% Service unavailablepacking files [5]: 0% packing files [5]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:00 TOTAL TIME 00:00:11