=> Building net-mgmt/cnagios build started at Sun Oct 9 12:25:16 PDT 2016 port directory: /usr/ports/net-mgmt/cnagios building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.78.g7d868-DEVELOPMENT #7: Mon Aug 1 22:25:32 PDT 2016 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 maintained by: danny@dannywarren.com ident warning: no id keywords in /build/boomdata/data/.m/Release46-default/ref/../03//usr/ports/net-mgmt/cnagios/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400600 ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/Release46-default/ref PATH=/usr/local/libexec/poudriere:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin POUDRIERE_BUILD_TYPE=bulk PKGNAME=cnagios-0.32 OLDPWD=/root/boom PWD=/build/boomdata/data/.m/Release46-default/ref/.p/pool MASTERNAME=Release46-default TERM=cons25 USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- --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} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl XDG_DATA_HOME=/wrkdirs/net-mgmt/cnagios XDG_CONFIG_HOME=/wrkdirs/net-mgmt/cnagios HOME=/wrkdirs/net-mgmt/cnagios TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/net-mgmt/cnagios XDG_CONFIG_HOME=/wrkdirs/net-mgmt/cnagios HOME=/wrkdirs/net-mgmt/cnagios TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" 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 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=4.6 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PERL_VERSION=5.20.3 PERL_VER=5.20 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.20 PROFILE="@comment " DOCSDIR="share/doc/cnagios" EXAMPLESDIR="share/examples/cnagios" DATADIR="share/cnagios" WWWDIR="www/cnagios" ETCDIR="etc/nagios" --End PLIST_SUB-- --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 --End SUB_LIST-- ---Begin make.conf--- NO_BACKUP=yes USE_PACKAGE_DEPENDS=yes PKG_CREATE_VERBOSE=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORT_DBDIR=/options PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MAKE_JOBS_NUMBER=5 ---End make.conf--- =================================================== ===> License ISCL accepted by the user =========================================================================== =================================================== ===> cnagios-0.32 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_3.txz Installing pkg-1.8.7_3... Extracting pkg-1.8.7_3: .......... done ===> cnagios-0.32 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of cnagios-0.32 =========================================================================== =================================================== =========================================================================== =================================================== ===> License ISCL accepted by the user ===> Fetching all distfiles required by cnagios-0.32 for building =========================================================================== =================================================== ===> License ISCL accepted by the user ===> Fetching all distfiles required by cnagios-0.32 for building => SHA256 Checksum OK for dannywarren-cnagios-0.32_GH0.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> License ISCL accepted by the user ===> Fetching all distfiles required by cnagios-0.32 for building ===> Extracting for cnagios-0.32 => SHA256 Checksum OK for dannywarren-cnagios-0.32_GH0.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for cnagios-0.32 ===> Applying ports patches for cnagios-0.32 =========================================================================== =================================================== ===> cnagios-0.32 depends on file: /usr/local/lib/libncurses.so.6 - not found ===> Installing existing package /packages/All/ncurses-6.0_5.txz Installing ncurses-6.0_5... Extracting ncurses-6.0_5: .......... done Message from ncurses-6.0_5: ===> NOTICE: The ncurses port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> cnagios-0.32 depends on file: /usr/local/lib/libncurses.so.6 - found ===> Returning to build of cnagios-0.32 ===> cnagios-0.32 depends on package: perl5>=5.20<5.21 - not found ===> Installing existing package /packages/All/perl5-5.20.3_15.txz Installing perl5-5.20.3_15... Extracting perl5-5.20.3_15: .......... done Message from perl5-5.20.3_15: The /usr/bin/perl symlink has been removed starting with Perl 5.20. For shebangs, you should either use: #!/usr/local/bin/perl or #!/usr/bin/env perl The first one will only work if you have a /usr/local/bin/perl, the second will work as long as perl is in PATH. ===> cnagios-0.32 depends on package: perl5>=5.20<5.21 - found ===> Returning to build of cnagios-0.32 =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for cnagios-0.32 configure: loading site script /usr/ports/Templates/config.site checking build system type... x86_64-portbld-dragonfly4.6 checking host system type... x86_64-portbld-dragonfly4.6 checking target system type... x86_64-portbld-dragonfly4.6 checking for cc... /usr/bin/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" =========================================================================== =================================================== ===> Building for cnagios-0.32 --- cnagios.o --- --- draw.o --- --- read.o --- --- debug.o --- --- cmds.o --- --- cnagios.o --- /usr/bin/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 -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/usr/local/lib/perl5/5.20/mach/CORE -D_DEBUG_ --- draw.o --- /usr/bin/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 -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/usr/local/lib/perl5/5.20/mach/CORE -D_DEBUG_ --- read.o --- /usr/bin/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 -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/usr/local/lib/perl5/5.20/mach/CORE -D_DEBUG_ --- cmds.o --- /usr/bin/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 -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/usr/local/lib/perl5/5.20/mach/CORE -D_DEBUG_ --- debug.o --- /usr/bin/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 -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/usr/local/lib/perl5/5.20/mach/CORE -D_DEBUG_ --- 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); ^ --- help.o --- /usr/bin/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 -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/usr/local/lib/perl5/5.20/mach/CORE -D_DEBUG_ --- perl.o --- /usr/bin/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 -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/usr/local/lib/perl5/5.20/mach/CORE -D_DEBUG_ --- 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]; ^ --- 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:123: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:128: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:173: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:178: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 ) { ^ --- update.o --- /usr/bin/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 -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/usr/local/lib/perl5/5.20/mach/CORE -D_DEBUG_ --- dotfile.o --- /usr/bin/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 -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/usr/local/lib/perl5/5.20/mach/CORE -D_DEBUG_ --- readv1.o --- /usr/bin/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 -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/usr/local/lib/perl5/5.20/mach/CORE -D_DEBUG_ --- readv23.o --- /usr/bin/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 -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/usr/local/lib/perl5/5.20/mach/CORE -D_DEBUG_ 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:241: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: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 *)host_stamp; ^ readv23.c:253: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:414: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:421: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:467: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; ^ --- 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:100:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] host_list[i][LAST_UPDATE] = (char *)stamp; ^ readv1.c:124: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:130: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:195: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:201: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; ^ --- cnagios --- /usr/bin/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.20/mach/CORE -pthread -Wl,-E -fstack-protector -L/usr/local/lib -L/usr/local/lib/perl5/5.20/mach/CORE -lperl -lpthread -ldl -lm -lcrypt -lutil -lc next do "make install" =========================================================================== =================================================== ===> cnagios-0.32 depends on package: nagios>=3.0 - not found ===> Installing existing package /packages/All/nagios-3.5.1_10.txz Installing nagios-3.5.1_10... `-- Installing php56-5.6.26... | `-- Installing libxml2-2.9.4... | `-- Extracting libxml2-2.9.4: .......... done | `-- Installing pcre-8.39... | `-- Extracting pcre-8.39: .......... done `-- Extracting php56-5.6.26: .......... done `-- Installing libgd-2.2.3,1... | `-- Installing fontconfig-2.12.1,1... | | `-- Installing expat-2.2.0... | | `-- Extracting expat-2.2.0: .......... done | | `-- Installing freetype2-2.6.3... | | `-- Extracting freetype2-2.6.3: .......... done | `-- Extracting fontconfig-2.12.1,1: .......... done Running fc-cache to build fontconfig cache... /usr/local/share/fonts: skipping, no such directory /usr/local/lib/X11/fonts: skipping, no such directory /var/db/fontconfig: cleaning cache directory fc-cache: succeeded | `-- Installing jpeg-turbo-1.4.2... | `-- Extracting jpeg-turbo-1.4.2: .......... done | `-- Installing tiff-4.0.6_2... | | `-- Installing jbigkit-2.1_1... | | `-- Extracting jbigkit-2.1_1: .......... done | `-- Extracting tiff-4.0.6_2: .......... done | `-- Installing png-1.6.23... | `-- Extracting png-1.6.23: .......... done `-- Extracting libgd-2.2.3,1: .......... done `-- Installing nagios-plugins-2.1.3,1... | `-- Installing gettext-runtime-0.19.8.1... | | `-- Installing indexinfo-0.2.5... | | `-- Extracting indexinfo-0.2.5: .... done | `-- Extracting gettext-runtime-0.19.8.1: .......... done `-- Extracting nagios-plugins-2.1.3,1: .......... done `-- Installing libltdl-2.4.6... `-- Extracting libltdl-2.4.6: .......... done ===> Creating groups. Creating group 'nagios' with gid '181'. ===> Creating users Creating user 'nagios' with uid '181'. Extracting nagios-3.5.1_10: .......... done Message from nagios-3.5.1_10: ********************************************************************** 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): Order deny,allow Deny from all Allow from 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/ ********************************************************************** ===> cnagios-0.32 depends on package: nagios>=3.0 - found ===> Returning to build of cnagios-0.32 ===> cnagios-0.32 depends on file: /usr/local/lib/libncurses.so.6 - found ===> cnagios-0.32 depends on package: perl5>=5.20<5.21 - found =========================================================================== =================================================== ===> Staging for cnagios-0.32 ===> Generating temporary packing list config/install-sh -c -m 755 cnagios /wrkdirs/net-mgmt/cnagios/stage/usr/local/bin/cnagios config/install-sh -c -m 444 cnagios.1 /wrkdirs/net-mgmt/cnagios/stage/usr/local/man/man1/cnagios.1 config/install-sh -c -m 644 cnagiosrc /wrkdirs/net-mgmt/cnagios/stage/usr/local/etc/nagios/cnagiosrc.sample config/install-sh -c -m 644 cnagios.help /wrkdirs/net-mgmt/cnagios/stage/usr/local/etc/nagios/cnagios.help.sample config/install-sh -c -m 644 cnagios.pl /wrkdirs/net-mgmt/cnagios/stage/usr/local/etc/nagios/cnagios.pl.sample /usr/bin/strip /wrkdirs/net-mgmt/cnagios/stage/usr/local/bin/cnagios ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for cnagios-0.32 file sizes/checksums [8]: . done packing files [8]: . done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for cnagios-0.32 build of net-mgmt/cnagios ended at Sun Oct 9 12:25:33 PDT 2016 build time: 00:00:17