=>> Building net-mgmt/nagcon build started at Tue Feb 27 00:41:24 CST 2024 port directory: /usr/ports/net-mgmt/nagcon package name: nagcon-0.0.32 building for: FreeBSD 140amd64-current-job-05 14.0-RELEASE FreeBSD 14.0-RELEASE amd64 maintained by: rand@iteris.com Makefile datestamp: -rw-r--r-- 1 root wheel 876 Sep 9 2022 /usr/ports/net-mgmt/nagcon/Makefile Ports top last git commit: a349a1f4606b Ports top unclean checkout: no Port dir last git commit: fb16dfecae4a Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122 Host OSVERSION: 1400097 Jail OSVERSION: 1400097 Job Id: 05 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1400097 UNAME_v=FreeBSD 14.0-RELEASE UNAME_r=14.0-RELEASE 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 USE_COLORS=no LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122 MASTERMNT=/poudriere/data/.m/140amd64-current/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/poudriere/data/.m/140amd64-current/05/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=140amd64-current SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/poudriere/data/.m/140amd64-current/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122 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--- ---End OPTIONS List--- --MAINTAINER-- rand@iteris.com --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/nagcon/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/nagcon/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net-mgmt/nagcon/work/.cache HOME=/wrkdirs/usr/ports/net-mgmt/nagcon/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/nagcon/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-mgmt/nagcon/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/nagcon/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/nagcon/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net-mgmt/nagcon/work/.cache HOME=/wrkdirs/usr/ports/net-mgmt/nagcon/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/nagcon/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-mgmt/nagcon/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 -DVERSION=\"0.0.32\" -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -lncurses -lstdc++ -L/usr/local/lib -lstrfunc -ltinfo -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -DVERSION=\"0.0.32\" -I/usr/local/include -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-- OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/nagcon" EXAMPLESDIR="share/examples/nagcon" DATADIR="share/nagcon" WWWDIR="www/nagcon" ETCDIR="etc/nagcon" --End PLIST_SUB-- --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 --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 #### #### /usr/local/etc/poudriere.d/current-make.conf #DEFAULT_VERSIONS+=apache=2.4 #DEFAULT_VERSIONS+=corosync=3 DEFAULT_VERSIONS+=gcc=12 DEFAULT_VERSIONS+=ghostscript=10 DEFAULT_VERSIONS+=java=17 DEFAULT_VERSIONS+=linux=c7_64 #DEFAULT_VERSIONS+=llvm=17 #DEFAULT_VERSIONS+=lua=5.4 #DEFAULT_VERSIONS+=mono=5.20 DEFAULT_VERSIONS+=mysql=10.11m #DEFAULT_VERSIONS+=perl5=5.38 DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=8.2 #DEFAULT_VERSIONS+=python2=2.7 DEFAULT_VERSIONS+=python3=3.9 DEFAULT_VERSIONS+=python=3.9 DEFAULT_VERSIONS+=samba=4.16 #DEFAULT_VERSIONS+=ssl=openssl DEFAULT_VERSIONS+=ssl=base DEFAULT_VERSIONS+=tcltk=8.6 WANT_OPENLDAP_SASL=yes # We play ball with... LICENSES_GROUPS_ACCEPTED+=FSF LICENSES_GROUPS_ACCEPTED+=OSI LICENSES_GROUPS_ACCEPTED+=COPYFREE LICENSES_GROUPS_ACCEPTED+=FONTS LICENSES_ACCEPTED+=GPLv2+ LICENSES_ACCEPTED+=MSPAT LICENSES_ACCEPTED+=NONE LICENSES_ACCEPTED+='GPLV2+ MSPAT' # Until 1.18 gets its modules crap sorted #GO_PORT=lang/go117 # Ehh, screw it. DISABLE_LICENSES=yes # FINALLY. BUILD_ALL_PYTHON_FLAVORS=yes # Duh WITH_PKGNG=yes # Workaround for FreeBSD PR 201193 WITH_MPM=event # Workaround for FreeBSD PR 234914 -- JTFC, FreeBSD, figure it out. .if ${.CURDIR:M*/www/mod_php7[0-9]} CONFIGURE_ENV+= pthreads_working="yes" .endif #MESA_LLVM_VER = 13 # ports infrastructure dudes are hacks. #security_p5-GSSAPI_SET = GSSAPI_HEIMDAL #OPTIONS_UNSET += GSSAPI_BASE GSSAPI_NONE GSSAPI_MIT OPTIONS_UNSET += WAYLAND #OPTIONS_SET += GSSAPI_HEIMDAL #KRB5_VERSION=121 #security_p5-GSSAPI_SET = GSSAPI_HEIMDAL #OPTIONS_UNSET += GSSAPI_BASE GSSAPI_NONE GSSAPI_MIT #OPTIONS_SET += GSSAPI_HEIMDAL WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---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=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> nagcon-0.0.32 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [140amd64-current-job-05] Installing pkg-1.20.9_1... [140amd64-current-job-05] Extracting pkg-1.20.9_1: .......... done ===> nagcon-0.0.32 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of nagcon-0.0.32 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =>> Debug: gather_distfiles: missing '/poudriere/data/.m/140amd64-current/05/portdistfiles//nagcon-0.0.32.tgz' =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by nagcon-0.0.32 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by nagcon-0.0.32 for building => SHA256 Checksum OK for nagcon-0.0.32.tgz. =========================================================================== =>> Debug: gather_distfiles: skipping copy '/poudriere/distfiles//nagcon-0.0.32.tgz' =================================================== ===== 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 nagcon-0.0.32 for building ===> Extracting for nagcon-0.0.32 => SHA256 Checksum OK for nagcon-0.0.32.tgz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for nagcon-0.0.32 ===> Applying FreeBSD patches for nagcon-0.0.32 from /usr/ports/net-mgmt/nagcon/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> nagcon-0.0.32 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_5.pkg [140amd64-current-job-05] Installing ccache-3.7.12_5... [140amd64-current-job-05] Extracting ccache-3.7.12_5: ......... done 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 clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_5: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> nagcon-0.0.32 depends on file: /usr/local/bin/ccache - found ===> Returning to build of nagcon-0.0.32 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> nagcon-0.0.32 depends on shared library: libstrfunc.so - not found ===> Installing existing package /packages/All/libstrfunc-8.3_3.pkg [140amd64-current-job-05] Installing libstrfunc-8.3_3... [140amd64-current-job-05] Extracting libstrfunc-8.3_3: .......... done ===> nagcon-0.0.32 depends on shared library: libstrfunc.so - found (/usr/local/lib/libstrfunc.so) ===> Returning to build of nagcon-0.0.32 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for nagcon-0.0.32 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for nagcon-0.0.32 cc -O2 -pipe -DVERSION=\"0.0.32\" -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -c -o /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/error.o /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/error.c c++ -O2 -pipe -DVERSION=\"0.0.32\" -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -c -o /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/utils.o /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/utils.cpp /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/utils.cpp:139:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_exit("failed to reallocate to %d bytes for %s\n", newsize, what); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/utils.cpp:149:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_exit("failed to allocate %d bytes for %s\n", size, what); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/utils.cpp:167:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_exit("failed to copy string '%s': out of memory?\n", in); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/utils.cpp:191:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_exit("Problem writing to filedescriptor\n"); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/utils.cpp:215:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_exit("stat failed for %s", filename); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/utils.cpp:230:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_exit("stat failed for %s", filename); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/utils.cpp:248:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_exit("The specified host is unknown.\n"); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/utils.cpp:252:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_exit("The requested name is valid but does not have an IP address.\n"); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/utils.cpp:256:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_exit("A non-recoverable name server error occurred.\n"); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/utils.cpp:260:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_exit("A temporary error occurred on an authoritative name server. Try again later.\n"); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/utils.cpp:264:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_exit("Could not resolve %s for an unknown reason (%d)\n", host, h_errno); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/utils.cpp:294:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_exit("problem creating socket (%s)", strerror(errno)); ^ 12 warnings generated. c++ -O2 -pipe -DVERSION=\"0.0.32\" -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -c -o /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/br.o /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/br.cpp c++ -O2 -pipe -DVERSION=\"0.0.32\" -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -c -o /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/nc.o /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/nc.cpp /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/nc.cpp:57:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *state_str[4] = { "OK", "WA", "CR", "??" }; ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/nc.cpp:57:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *state_str[4] = { "OK", "WA", "CR", "??" }; ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/nc.cpp:57:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *state_str[4] = { "OK", "WA", "CR", "??" }; ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/nc.cpp:57:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *state_str[4] = { "OK", "WA", "CR", "??" }; ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/nc.cpp:129:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *out = (char *)mymalloc(max_len + 1, "limit_str"); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/nc.cpp:145:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_exit("failed to create window"); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/nc.cpp:213:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *status_log = "/var/spool/nagios/status.log"; ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/nc.cpp:270:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_exit("invalid sort-order"); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/nc.cpp:280:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_exit("invalid host-column width"); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/nc.cpp:286:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_exit("invalid service-column width"); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/nc.cpp:300:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_exit("error accessing nagios status.log file! (%s)", status_log); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/nc.cpp:336:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_exit("internal error: nagios version %d is unknown\n", nagios_version); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/nc.cpp:403:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myfree(host_name, "hostname"); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/nc.cpp:404:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myfree(service_d, "service description"); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/nc.cpp:405:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myfree(plugin_ou, "plugin output"); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/nc.cpp:426:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_exit("select failed"); ^ 16 warnings generated. c++ -O2 -pipe -DVERSION=\"0.0.32\" -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -c -o /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.o /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:26:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"acknowledgement_type", STATS_OFFSET(acknowledgement_type), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:27:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"active_checks_enabled", STATS_OFFSET(active_checks_enabled), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:28:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"author", STATS_OFFSET(author), VARTYPE_PCHAR}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:29:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"check_command", STATS_OFFSET(check_command), VARTYPE_PCHAR}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:30:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"check_execution_time", STATS_OFFSET(check_execution_time), VARTYPE_DOUBLE}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:31:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"check_interval", STATS_OFFSET(check_interval), VARTYPE_DOUBLE}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:32:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"check_latency", STATS_OFFSET(check_latency), VARTYPE_DOUBLE}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:33:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"check_options", STATS_OFFSET(check_options), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:34:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"check_period", STATS_OFFSET(check_period), VARTYPE_PCHAR}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:35:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"check_type", STATS_OFFSET(check_type), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:36:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"comment", STATS_OFFSET(comment), VARTYPE_PCHAR}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:37:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"comment_data", STATS_OFFSET(comment_data), VARTYPE_PCHAR}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:38:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"comment_id", STATS_OFFSET(comment_id), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:39:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"current_attempt", STATS_OFFSET(current_attempt), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:40:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"current_event_id", STATS_OFFSET(current_event_id), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:41:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"current_notification_id", STATS_OFFSET(current_notification_id), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:42:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"current_notification_number", STATS_OFFSET(current_notification_number), VARTYPE_DOUBLE}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:43:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"current_problem_id", STATS_OFFSET(current_problem_id), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:44:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"current_state", STATS_OFFSET(current_state), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:45:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"downtime_id", STATS_OFFSET(downtime_id), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:46:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"duration", STATS_OFFSET(duration), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:47:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"end_time", STATS_OFFSET(end_time), VARTYPE_TIMET}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:48:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"entry_time", STATS_OFFSET(entry_time), VARTYPE_TIMET}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:49:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"entry_type", STATS_OFFSET(entry_type), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:50:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"event_handler", STATS_OFFSET(event_handler), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:51:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"event_handler_enabled", STATS_OFFSET(event_handler_enabled), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:52:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"expire_time", STATS_OFFSET(expire_time), VARTYPE_TIMET}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:53:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"expires", STATS_OFFSET(expires), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:54:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"failure_prediction_enabled", STATS_OFFSET(failure_prediction_enabled), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:55:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"fixed", STATS_OFFSET(fixed), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:56:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"flap_detection_enabled", STATS_OFFSET(flap_detection_enabled), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:57:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"has_been_checked", STATS_OFFSET(has_been_checked), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:58:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"host_name", STATS_OFFSET(host_name), VARTYPE_PCHAR}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:59:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"host_notification_period", STATS_OFFSET(host_notification_period), VARTYPE_PCHAR}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:60:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"is_flapping", STATS_OFFSET(is_flapping), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:61:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"last_check", STATS_OFFSET(last_check), VARTYPE_TIMET}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:62:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"last_event_id", STATS_OFFSET(last_event_id), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:63:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"last_hard_state", STATS_OFFSET(last_hard_state), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:64:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"last_hard_state_change", STATS_OFFSET(last_hard_state_change), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:65:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"last_notification", STATS_OFFSET(last_notification), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:66:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"last_problem_id", STATS_OFFSET(last_problem_id), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:67:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"last_state_change", STATS_OFFSET(last_state_change), VARTYPE_TIMET}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:68:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"last_time_critical", STATS_OFFSET(last_time_critical), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:69:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"last_time_down", STATS_OFFSET(last_time_down), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:70:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"last_time_ok", STATS_OFFSET(last_time_ok), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:71:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"last_time_unknown", STATS_OFFSET(last_time_unknown), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:72:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"last_time_unreachable", STATS_OFFSET(last_time_unreachable), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:73:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"last_time_up", STATS_OFFSET(last_time_up), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:74:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"last_time_warning", STATS_OFFSET(last_time_warning), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:75:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"last_update", STATS_OFFSET(last_update), VARTYPE_TIMET}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:76:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"long_plugin_output", STATS_OFFSET(long_plugin_output), VARTYPE_PCHAR}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:77:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"max_attempts", STATS_OFFSET(max_attempts), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:78:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"modified_attributes", STATS_OFFSET(modified_attributes), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:79:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"next_check", STATS_OFFSET(next_check), VARTYPE_TIMET}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:80:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"next_comment_id", STATS_OFFSET(next_comment_id), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:81:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"next_notification", STATS_OFFSET(next_notification), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:82:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"no_more_notifications", STATS_OFFSET(no_more_notifications), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:83:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"notification_period", STATS_OFFSET(notification_period), VARTYPE_PCHAR}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:84:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"notifications_enabled", STATS_OFFSET(notifications_enabled), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:85:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"obsess", STATS_OFFSET(obsess), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:86:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"obsess_over_host", STATS_OFFSET(obsess_over_host), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:87:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"obsess_over_service", STATS_OFFSET(obsess_over_service), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:88:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"passive_checks_enabled", STATS_OFFSET(passive_checks_enabled), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:89:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"percent_state_change", STATS_OFFSET(percent_state_change), VARTYPE_DOUBLE}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:90:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"performance_data", STATS_OFFSET(performance_data), VARTYPE_PCHAR}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:91:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"persistent", STATS_OFFSET(persistent), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:92:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"plugin_output", STATS_OFFSET(plugin_output), VARTYPE_PCHAR}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:93:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"problem_has_been_acknowledged", STATS_OFFSET(problem_has_been_acknowledged), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:94:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"process_performance_data", STATS_OFFSET(process_performance_data), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:95:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"retry_interval", STATS_OFFSET(retry_interval), VARTYPE_DOUBLE}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:96:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"scheduled_downtime_depth", STATS_OFFSET(scheduled_downtime_depth), VARTYPE_DOUBLE}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:97:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"service_description", STATS_OFFSET(service_description), VARTYPE_PCHAR}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:98:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"should_be_scheduled", STATS_OFFSET(should_be_scheduled), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:99:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"source", STATS_OFFSET(source), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:100:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"start_time", STATS_OFFSET(start_time), VARTYPE_TIMET}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:101:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"state_type", STATS_OFFSET(state_type), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:102:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"triggered_by", STATS_OFFSET(triggered_by), VARTYPE_INT}, ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:103:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"type", STATS_OFFSET(type), VARTYPE_INT} ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:248:82: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] *pstats = (struct stats *)myrealloc(*pstats, n_alloc * sizeof(struct stats), "stats array"); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:250:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_exit("Error allocating memory"); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:420:89: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] *pstats = (struct stats *)myrealloc(*pstats, ((*n_stats) + 1) * sizeof(struct stats), "stats array"); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:422:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_exit("Error allocating memory"); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:586:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_exit("internal error: type %d unexpected\n", type); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:589:64: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] (*pstats)[*n_stats].host_name = host_name?host_name:mystrdup(""); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:593:94: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] (*pstats)[*n_stats].service_description = service_description?service_description:mystrdup(""); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:594:76: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] (*pstats)[*n_stats].plugin_output = plugin_output?plugin_output:mystrdup(""); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:652:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myfree((void *)pstats[loop].host_name, "entry hostname"); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:653:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myfree((void *)pstats[loop].service_description, "entry servicedescription"); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:654:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myfree((void *)pstats[loop].plugin_output, "entry plugin output"); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:655:50: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myfree((void *)pstats[loop].performance_data, "entry performance data"); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:656:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myfree((void *)pstats[loop].check_command, "entry check command"); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:657:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myfree((void *)pstats[loop].author, "entry author"); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:658:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myfree((void *)pstats[loop].check_period, "entry check_period"); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:659:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myfree((void *)pstats[loop].comment_data, "entry comment data"); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:660:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myfree((void *)pstats[loop].host_notification_period, "entry host notification period"); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:661:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myfree((void *)pstats[loop].long_plugin_output, "entry long plugin output"); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:662:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myfree((void *)pstats[loop].notification_period, "entry notification period"); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:663:61: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myfree((void *)pstats[loop].service_notification_period, "entry service notification period"); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:666:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myfree((void *)pstats, "stats array"); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:740:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_exit("internal error: state %d not known", pstats[cur_index].current_state); ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:819:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (check_an_age(message, "oldest host update", now, pstats[index].last_update, max_time_oldest_host_update, pstats[index].host_name) == -1) ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:841:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (check_an_age(message, "oldest service check", now, pstats[index].last_check, max_time_oldest_service_check, buffer) == -1) ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:852:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (check_an_age(message, "most recent host update", now, most_recent_host_update, max_time_last_host_update, NULL) == -1) ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:858:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (check_an_age(message, "most recent last service check", now, most_recent_last_service_check, max_time_last_service_check, NULL) == -1) ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:861:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (check_an_age(message, "oldest next sevice check", now, oldest_next_service_check, max_time_oldest_next_service_check, NULL) == -1) ^ /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.cpp:895:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_exit("calc_stats_stats: internal error (%d)", pstats[loop].type); ^ 106 warnings generated. cc -lncurses -lstdc++ -L/usr/local/lib -lstrfunc -ltinfo -fstack-protector-strong /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/error.o /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/utils.o /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/br.o /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/nc.o /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/pl.o -o /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/nagcon =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for nagcon-0.0.32 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/net-mgmt/nagcon/work/nagcon-0.0.32/nagcon /wrkdirs/usr/ports/net-mgmt/nagcon/work/stage/usr/local/bin ====> 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-02-27T06:41:24+0000' 'PKG_NOTE_ports_top_git_hash=a349a1f4606b' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=fb16dfecae4a' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for nagcon-0.0.32 ===> Building nagcon-0.0.32 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for nagcon-0.0.32 build of net-mgmt/nagcon | nagcon-0.0.32 ended at Tue Feb 27 00:41:39 CST 2024 build time: 00:00:18