=>> Building net-mgmt/nagcon build started at 2025-06-08T17:01:51-05:00 port directory: /usr/ports/net-mgmt/nagcon package name: nagcon-0.0.32 building for: FreeBSD 143amd64-current-job-03 14.3-RELEASE FreeBSD 14.3-RELEASE amd64 maintained by: rand@iteris.com port version: 0.0.32 port revision: 0 Makefile datestamp: -rw-r--r-- 1 root wheel 966 Jun 6 17:31 /usr/ports/net-mgmt/nagcon/Makefile Ports top last git commit: 9845af890dd7 Ports top unclean checkout: no =>> Inspecting /poudriere/data/.m/143amd64-current/03//usr/ports/net-mgmt/nagcon for modifications to git checkout... no Port dir last git commit: 2909adaeb988 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20250209 Host OSVERSION: 1403000 Jail OSVERSION: 1403000 Job Id: 03 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1403000 UNAME_v=FreeBSD 14.3-RELEASE UNAME_r=14.3-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 POUDRIERE_VERSION=3.4.99.20250209 MASTERMNT=/poudriere/data/.m/143amd64-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/143amd64-current/03/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=143amd64-current OLDPWD=/poudriere/data/.m/143amd64-current/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20250209 PREFIX=/usr/local 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-- --PORTVERSION-- 0.0.32 --End PORTVERSION-- --PORTREVISION-- 0 --End PORTREVISION-- --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.3 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 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 pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Obsolete, only supports legacy versions of Nagios. It is scheduled to be removed on or after 2025-07-31. =========================================================================== =================================================== ===== 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-2.1.4.pkg [143amd64-current-job-03] Installing pkg-2.1.4... [143amd64-current-job-03] Extracting pkg-2.1.4: .......... 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/143amd64-current/03/portdistfiles//nagcon-0.0.32.tgz'=================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Obsolete, only supports legacy versions of Nagios. It is scheduled to be removed on or after 2025-07-31. ===> Fetching all distfiles required by nagcon-0.0.32 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Obsolete, only supports legacy versions of Nagios. It is scheduled to be removed on or after 2025-07-31. ===> 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 ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Obsolete, only supports legacy versions of Nagios. It is scheduled to be removed on or after 2025-07-31. ===> 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_8.pkg [143amd64-current-job-03] Installing ccache-3.7.12_8... [143amd64-current-job-03] Extracting ccache-3.7.12_8: .......... 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_8: -- 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 [143amd64-current-job-03] Installing libstrfunc-8.3_3... [143amd64-current-job-03] 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] 139 | 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] 149 | 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] 167 | 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] 191 | 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] 215 | 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] 230 | 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] 248 | 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] 252 | 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] 256 | 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] 260 | 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] 264 | 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] 294 | 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] 57 | 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] 57 | 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] 57 | 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] 57 | 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] 129 | 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] 145 | 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] 213 | 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] 270 | 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] 280 | 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] 286 | 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] 300 | 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] 336 | 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] 403 | 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] 404 | 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] 405 | 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] 426 | 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] 26 | {"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] 27 | {"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] 28 | {"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] 29 | {"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] 30 | {"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] 31 | {"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] 32 | {"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] 33 | {"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] 34 | {"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] 35 | {"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] 36 | {"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] 37 | {"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] 38 | {"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] 39 | {"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] 40 | {"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] 41 | {"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] 42 | {"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] 43 | {"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] 44 | {"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] 45 | {"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] 46 | {"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] 47 | {"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] 48 | {"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] 49 | {"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] 50 | {"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] 51 | {"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] 52 | {"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] 53 | {"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] 54 | {"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] 55 | {"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] 56 | {"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] 57 | {"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] 58 | {"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] 59 | {"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] 60 | {"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] 61 | {"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] 62 | {"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] 63 | {"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] 64 | {"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] 65 | {"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] 66 | {"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] 67 | {"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] 68 | {"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] 69 | {"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] 70 | {"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] 71 | {"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] 72 | {"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] 73 | {"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] 74 | {"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] 75 | {"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] 76 | {"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] 77 | {"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] 78 | {"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] 79 | {"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] 80 | {"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] 81 | {"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] 82 | {"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] 83 | {"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] 84 | {"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] 85 | {"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] 86 | {"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] 87 | {"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] 88 | {"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] 89 | {"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] 90 | {"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] 91 | {"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] 92 | {"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] 93 | {"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] 94 | {"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] 95 | {"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] 96 | {"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] 97 | {"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] 98 | {"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] 99 | {"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] 100 | {"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] 101 | {"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] 102 | {"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] 103 | {"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] 248 | *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] 250 | 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] 420 | *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] 422 | 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] 586 | 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] 589 | (*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] 593 | (*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] 594 | (*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] 652 | 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] 653 | 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] 654 | 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] 655 | 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] 656 | 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] 657 | 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] 658 | 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] 659 | 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] 660 | 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] 661 | 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] 662 | 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] 663 | 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] 666 | 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] 740 | 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] 819 | 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] 841 | 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] 852 | 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] 858 | 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] 861 | 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] 895 | 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=2025-06-08T22:01:51+00:00' 'PKG_NOTE_ports_top_git_hash=9845af890dd7' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=2909adaeb988' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20250209' PKG_NO_VERSION_FOR_DEPS=1 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 2025-06-08T17:01:53-05:00 build time: 00:00:03