=> Building net-mgmt/nagcon Started : Thursday, 19 APR 2018 at 04:06:53 UTC Platform: 5.3-DEVELOPMENT DragonFly v5.3.0.81.g32506c-DEVELOPMENT #29: Tue Apr 10 08:49:52 PDT 2018 marino@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.0-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.0-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/net-mgmt/nagcon XDG_CONFIG_HOME=/construction/net-mgmt/nagcon HOME=/construction/net-mgmt/nagcon TMPDIR="/tmp" PATH=/construction/net-mgmt/nagcon/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/net-mgmt/nagcon XDG_CONFIG_HOME=/construction/net-mgmt/nagcon HOME=/construction/net-mgmt/nagcon TMPDIR="/tmp" PATH=/construction/net-mgmt/nagcon/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin 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 -DVERSION=\"0.0.31" -I/usr/local/include -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" -lncurses -lstdc++ -L/usr/local/lib -lstrfunc -ltinfo -L/usr/local/lib -Wl,-rpath=/usr/local/lib" LIBS="" CXX="c++" CXXFLAGS=" -pipe -DVERSION="0.0.31" -I/usr/local/include -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" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/net-mgmt/nagcon/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=5.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/nagcon" EXAMPLESDIR="share/examples/nagcon" DATADIR="share/nagcon" WWWDIR="www/nagcon" ETCDIR="etc/nagcon" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/nagcon DOCSDIR=/usr/local/share/doc/nagcon EXAMPLESDIR=/usr/local/share/examples/nagcon WWWDIR=/usr/local/www/nagcon ETCDIR=/usr/local/etc/nagcon -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.0 USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500000 OSVERSION=9999999 OSREL=5.0 _OSRELEASE=5.0-SYNTH -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> nagcon-0.0.31 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5.txz Installing pkg-1.10.5... Extracting pkg-1.10.5: .......... done ===> nagcon-0.0.31 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of nagcon-0.0.31 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> Fetching all distfiles required by nagcon-0.0.31 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by nagcon-0.0.31 for building => SHA256 Checksum OK for nagcon-0.0.31.tgz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> Fetching all distfiles required by nagcon-0.0.31 for building ===> Extracting for nagcon-0.0.31 => SHA256 Checksum OK for nagcon-0.0.31.tgz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for nagcon-0.0.31 ===> Applying ports patches for nagcon-0.0.31 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> nagcon-0.0.31 depends on file: /usr/local/lib/libncurses.so.6 - not found ===> Installing existing package /packages/All/ncurses-6.0.0s20171223_1.txz Installing ncurses-6.0.0s20171223_1... Extracting ncurses-6.0.0s20171223_1: .......... done ===> nagcon-0.0.31 depends on file: /usr/local/lib/libncurses.so.6 - found ===> Returning to build of nagcon-0.0.31 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> nagcon-0.0.31 depends on shared library: libstrfunc.so - not found ===> Installing existing package /packages/All/libstrfunc-8.3_2.txz Installing libstrfunc-8.3_2... Extracting libstrfunc-8.3_2: .......... done ===> nagcon-0.0.31 depends on shared library: libstrfunc.so - found (/usr/local/lib/libstrfunc.so) ===> Returning to build of nagcon-0.0.31 -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for nagcon-0.0.31 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for nagcon-0.0.31 cc -pipe -DVERSION=\"0.0.31\" -I/usr/local/include -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -c -o /construction/net-mgmt/nagcon/nagcon-0.0.31/error.o /construction/net-mgmt/nagcon/nagcon-0.0.31/error.c c++ -pipe -DVERSION=\"0.0.31\" -I/usr/local/include -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -c -o /construction/net-mgmt/nagcon/nagcon-0.0.31/utils.o /construction/net-mgmt/nagcon/nagcon-0.0.31/utils.cpp /construction/net-mgmt/nagcon/nagcon-0.0.31/utils.cpp: In function 'void* myrealloc(void*, int, char*)': /construction/net-mgmt/nagcon/nagcon-0.0.31/utils.cpp:139:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_exit("failed to reallocate to %d bytes for %s\n", newsize, what); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/utils.cpp: In function 'void* mymalloc(int, char*)': /construction/net-mgmt/nagcon/nagcon-0.0.31/utils.cpp:149:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_exit("failed to allocate %d bytes for %s\n", size, what); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/utils.cpp: In function 'char* mystrndup(char*, int)': /construction/net-mgmt/nagcon/nagcon-0.0.31/utils.cpp:167:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_exit("failed to copy string '%s': out of memory?\n", in); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/utils.cpp: In function 'ssize_t WRITE(int, char*, size_t)': /construction/net-mgmt/nagcon/nagcon-0.0.31/utils.cpp:191:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_exit("Problem writing to filedescriptor\n"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/utils.cpp: In function 'int get_filesize(char*)': /construction/net-mgmt/nagcon/nagcon-0.0.31/utils.cpp:215:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_exit("stat failed for %s", filename); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/utils.cpp: In function 'time_t get_filechanged(char*)': /construction/net-mgmt/nagcon/nagcon-0.0.31/utils.cpp:230:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_exit("stat failed for %s", filename); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/utils.cpp: In function 'void resolve_host(char*, sockaddr_in*)': /construction/net-mgmt/nagcon/nagcon-0.0.31/utils.cpp:248:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_exit("The specified host is unknown.\n"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/utils.cpp:252:100: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_exit("The requested name is valid but does not have an IP address.\n"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/utils.cpp:256:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_exit("A non-recoverable name server error occurred.\n"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/utils.cpp:260:116: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_exit("A temporary error occurred on an authoritative name server. Try again later.\n"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/utils.cpp:264:102: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_exit("Could not resolve %s for an unknown reason (%d)\n", host, h_errno); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/utils.cpp: In function 'int connect_to(char*)': /construction/net-mgmt/nagcon/nagcon-0.0.31/utils.cpp:294:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_exit("problem creating socket (%s)", strerror(errno)); ^ c++ -pipe -DVERSION=\"0.0.31\" -I/usr/local/include -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -c -o /construction/net-mgmt/nagcon/nagcon-0.0.31/br.o /construction/net-mgmt/nagcon/nagcon-0.0.31/br.cpp c++ -pipe -DVERSION=\"0.0.31\" -I/usr/local/include -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -c -o /construction/net-mgmt/nagcon/nagcon-0.0.31/nc.o /construction/net-mgmt/nagcon/nagcon-0.0.31/nc.cpp /construction/net-mgmt/nagcon/nagcon-0.0.31/nc.cpp:57:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *state_str[4] = { "OK", "WA", "CR", "??" }; ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/nc.cpp:57:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/nc.cpp:57:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/nc.cpp:57:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/nc.cpp: In function 'char* limit_str(char*, int)': /construction/net-mgmt/nagcon/nagcon-0.0.31/nc.cpp:129:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *out = (char *)mymalloc(max_len + 1, "limit_str"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/nc.cpp: In function 'void online_help(int, int)': /construction/net-mgmt/nagcon/nagcon-0.0.31/nc.cpp:145:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_exit("failed to create window"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/nc.cpp: In function 'int main(int, char**)': /construction/net-mgmt/nagcon/nagcon-0.0.31/nc.cpp:213:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *status_log = "/var/spool/nagios/status.log"; ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/nc.cpp:270:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_exit("invalid sort-order"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/nc.cpp:280:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_exit("invalid host-column width"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/nc.cpp:286:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_exit("invalid service-column width"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/nc.cpp:300:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_exit("error accessing nagios status.log file! (%s)", status_log); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/nc.cpp:336:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_exit("internal error: nagios version %d is unknown\n", nagios_version); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/nc.cpp:403:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] myfree(host_name, "hostname"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/nc.cpp:404:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] myfree(service_d, "service description"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/nc.cpp:405:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] myfree(plugin_ou, "plugin output"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/nc.cpp:426:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_exit("select failed"); ^ c++ -pipe -DVERSION=\"0.0.31\" -I/usr/local/include -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -c -o /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.o /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:104:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp: In function 'void parse_2_0_statuslog(int, stats**, int*)': /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:248:95: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] *pstats = (struct stats *)myrealloc(*pstats, n_alloc * sizeof(struct stats), "stats array"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:250:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_exit("Error allocating memory"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp: In function 'void parse_1_0_statuslog(int, stats**, int*)': /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:420:102: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] *pstats = (struct stats *)myrealloc(*pstats, ((*n_stats) + 1) * sizeof(struct stats), "stats array"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:422:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_exit("Error allocating memory"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:586:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_exit("internal error: type %d unexpected\n", type); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:589:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] (*pstats)[*n_stats].host_name = host_name?host_name:mystrdup(""); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:593:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] (*pstats)[*n_stats].service_description = service_description?service_description:mystrdup(""); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:594:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] (*pstats)[*n_stats].plugin_output = plugin_output?plugin_output:mystrdup(""); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp: In function 'void free_stats_array(stats*, int)': /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:652:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] myfree((void *)pstats[loop].host_name, "entry hostname"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:653:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] myfree((void *)pstats[loop].service_description, "entry servicedescription"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:654:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] myfree((void *)pstats[loop].plugin_output, "entry plugin output"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:655:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] myfree((void *)pstats[loop].performance_data, "entry performance data"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:656:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] myfree((void *)pstats[loop].check_command, "entry check command"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:657:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] myfree((void *)pstats[loop].author, "entry author"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:658:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] myfree((void *)pstats[loop].check_period, "entry check_period"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:659:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] myfree((void *)pstats[loop].comment_data, "entry comment data"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:660:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] myfree((void *)pstats[loop].host_notification_period, "entry host notification period"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:661:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] myfree((void *)pstats[loop].long_plugin_output, "entry long plugin output"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:662:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] myfree((void *)pstats[loop].notification_period, "entry notification period"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:663:96: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] myfree((void *)pstats[loop].service_notification_period, "entry service notification period"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:666:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] myfree((void *)pstats, "stats array"); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp: In function 'int should_i_show_entry(stats*, int, int, char, char, char, char)': /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:740:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_exit("internal error: state %d not known", pstats[cur_index].current_state); ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp: In function 'int check_max_age_last_check(stats*, int, int, int, int, int, int, int, int, char**)': /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:819:137: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (check_an_age(message, "oldest host update", now, pstats[index].last_update, max_time_oldest_host_update, pstats[index].host_name) == -1) ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:841:123: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (check_an_age(message, "oldest service check", now, pstats[index].last_check, max_time_oldest_service_check, buffer) == -1) ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:852:116: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (check_an_age(message, "most recent host update", now, most_recent_host_update, max_time_last_host_update, NULL) == -1) ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:858:132: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (check_an_age(message, "most recent last service check", now, most_recent_last_service_check, max_time_last_service_check, NULL) == -1) ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:861:128: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (check_an_age(message, "oldest next sevice check", now, oldest_next_service_check, max_time_oldest_next_service_check, NULL) == -1) ^ /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp: In function 'void calc_stats_stats(stats*, int, char, char, char, char, int*, int*, int*, int*, int*, int*, int*)': /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.cpp:895:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] error_exit("calc_stats_stats: internal error (%d)", pstats[loop].type); ^ cc -lncurses -lstdc++ -L/usr/local/lib -lstrfunc -ltinfo -L/usr/local/lib -Wl,-rpath=/usr/local/lib /construction/net-mgmt/nagcon/nagcon-0.0.31/error.o /construction/net-mgmt/nagcon/nagcon-0.0.31/utils.o /construction/net-mgmt/nagcon/nagcon-0.0.31/br.o /construction/net-mgmt/nagcon/nagcon-0.0.31/nc.o /construction/net-mgmt/nagcon/nagcon-0.0.31/pl.o -o /construction/net-mgmt/nagcon/nagcon-0.0.31/nagcon -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> nagcon-0.0.31 depends on file: /usr/local/lib/libncurses.so.6 - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for nagcon-0.0.31 ===> Generating temporary packing list install -s -m 555 /construction/net-mgmt/nagcon/nagcon-0.0.31/nagcon /construction/net-mgmt/nagcon/stage/usr/local/bin ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for nagcon-0.0.31 file sizes/checksums [1]: . done packing files [1]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 19 APR 2018 at 04:06:59 UTC Duration: 00:00:05