=>> Building net-mgmt/nagtail build started at Thu Apr 4 16:29:08 BST 2024 port directory: /usr/ports/net-mgmt/nagtail package name: nagtail-0.0.31_1 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: zi@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 529 Jan 25 05:29 /usr/ports/net-mgmt/nagtail/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: 09aae249b0 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 09 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 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 LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/09/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 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-- zi@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/nagtail/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/nagtail/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net-mgmt/nagtail/work/.cache HOME=/wrkdirs/usr/ports/net-mgmt/nagtail/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/net-mgmt/nagtail/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-mgmt/nagtail/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/nagtail/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/nagtail/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net-mgmt/nagtail/work/.cache HOME=/wrkdirs/usr/ports/net-mgmt/nagtail/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/net-mgmt/nagtail/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-mgmt/nagtail/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 -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" 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=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/nagtail" EXAMPLESDIR="share/examples/nagtail" DATADIR="share/nagtail" WWWDIR="www/nagtail" ETCDIR="etc/nagtail" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/nagtail DOCSDIR=/usr/local/share/doc/nagtail EXAMPLESDIR=/usr/local/share/examples/nagtail WWWDIR=/usr/local/www/nagtail ETCDIR=/usr/local/etc/nagtail --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 #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---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) 89999 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 ===> nagtail-0.0.31_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> nagtail-0.0.31_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of nagtail-0.0.31_1 =========================================================================== =================================================== ===== 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 nagtail-0.0.31_1 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by nagtail-0.0.31_1 for building => SHA256 Checksum OK for nagtail-0.0.31.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 nagtail-0.0.31_1 for building ===> Extracting for nagtail-0.0.31_1 => SHA256 Checksum OK for nagtail-0.0.31.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 nagtail-0.0.31_1 ===> Applying FreeBSD patches for nagtail-0.0.31_1 from /usr/ports/net-mgmt/nagtail/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> nagtail-0.0.31_1 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [pkg-builder.dan.net.uk] Installing gmake-4.4.1... [pkg-builder.dan.net.uk] `-- Installing gettext-runtime-0.22.3_1... [pkg-builder.dan.net.uk] | `-- Installing indexinfo-0.3.1... [pkg-builder.dan.net.uk] | `-- Extracting indexinfo-0.3.1: . done [pkg-builder.dan.net.uk] `-- Extracting gettext-runtime-0.22.3_1: .......... done [pkg-builder.dan.net.uk] Extracting gmake-4.4.1: .......... done ===> nagtail-0.0.31_1 depends on package: gmake>=4.4.1 - found ===> Returning to build of nagtail-0.0.31_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for nagtail-0.0.31_1 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for nagtail-0.0.31_1 cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -O2 -DVERSION=\"0.0.31\" -g -c -o error.o error.c c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -O2 -DVERSION=\"0.0.31\" -g -c -o br.o br.cpp br.cpp:207:26: warning: variable 'search_start' set but not used [-Wunused-but-set-variable] long long int n_bytes, search_start; ^ 1 warning generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -O2 -DVERSION=\"0.0.31\" -g -c -o pl.o pl.cpp pl.cpp:42:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"acknowledgement_type", STATS_OFFSET(acknowledgement_type), VARTYPE_INT}, ^ pl.cpp:43: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}, ^ pl.cpp:44:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"author", STATS_OFFSET(author), VARTYPE_PCHAR}, ^ pl.cpp:45:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"check_command", STATS_OFFSET(check_command), VARTYPE_PCHAR}, ^ pl.cpp:46: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}, ^ pl.cpp:47:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"check_interval", STATS_OFFSET(check_interval), VARTYPE_DOUBLE}, ^ pl.cpp:48:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"check_latency", STATS_OFFSET(check_latency), VARTYPE_DOUBLE}, ^ pl.cpp:49:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"check_options", STATS_OFFSET(check_options), VARTYPE_INT}, ^ pl.cpp:50:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"check_period", STATS_OFFSET(check_period), VARTYPE_PCHAR}, ^ pl.cpp:51:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"check_type", STATS_OFFSET(check_type), VARTYPE_INT}, ^ pl.cpp:52:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"comment", STATS_OFFSET(comment), VARTYPE_PCHAR}, ^ pl.cpp:53:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"comment_data", STATS_OFFSET(comment_data), VARTYPE_PCHAR}, ^ pl.cpp:54:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"comment_id", STATS_OFFSET(comment_id), VARTYPE_INT}, ^ pl.cpp:55:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"current_attempt", STATS_OFFSET(current_attempt), VARTYPE_INT}, ^ pl.cpp:56: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}, ^ pl.cpp:57: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}, ^ pl.cpp:58: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}, ^ pl.cpp:59: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}, ^ pl.cpp:60:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"current_state", STATS_OFFSET(current_state), VARTYPE_INT}, ^ pl.cpp:61:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"downtime_id", STATS_OFFSET(downtime_id), VARTYPE_INT}, ^ pl.cpp:62:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"duration", STATS_OFFSET(duration), VARTYPE_INT}, ^ pl.cpp:63:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"end_time", STATS_OFFSET(end_time), VARTYPE_TIMET}, ^ pl.cpp:64:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"entry_time", STATS_OFFSET(entry_time), VARTYPE_TIMET}, ^ pl.cpp:65:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"entry_type", STATS_OFFSET(entry_type), VARTYPE_INT}, ^ pl.cpp:66:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"event_handler", STATS_OFFSET(event_handler), VARTYPE_INT}, ^ pl.cpp:67: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}, ^ pl.cpp:68:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"expire_time", STATS_OFFSET(expire_time), VARTYPE_TIMET}, ^ pl.cpp:69:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"expires", STATS_OFFSET(expires), VARTYPE_INT}, ^ pl.cpp:70: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}, ^ pl.cpp:71:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"fixed", STATS_OFFSET(fixed), VARTYPE_INT}, ^ pl.cpp:72: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}, ^ pl.cpp:73: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}, ^ pl.cpp:74:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"host_name", STATS_OFFSET(host_name), VARTYPE_PCHAR}, ^ pl.cpp:75: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}, ^ pl.cpp:76:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"is_flapping", STATS_OFFSET(is_flapping), VARTYPE_INT}, ^ pl.cpp:77:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"last_check", STATS_OFFSET(last_check), VARTYPE_TIMET}, ^ pl.cpp:78: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}, ^ pl.cpp:79: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}, ^ pl.cpp:80: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}, ^ pl.cpp:81:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"last_notification", STATS_OFFSET(last_notification), VARTYPE_INT}, ^ pl.cpp:82: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}, ^ pl.cpp:83: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}, ^ pl.cpp:84: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}, ^ pl.cpp:85: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}, ^ pl.cpp:86: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}, ^ pl.cpp:87: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}, ^ pl.cpp:88: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}, ^ pl.cpp:89: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}, ^ pl.cpp:90: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}, ^ pl.cpp:91:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"last_update", STATS_OFFSET(last_update), VARTYPE_TIMET}, ^ pl.cpp:92: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}, ^ pl.cpp:93:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"max_attempts", STATS_OFFSET(max_attempts), VARTYPE_INT}, ^ pl.cpp:94:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"modified_attributes", STATS_OFFSET(modified_attributes), VARTYPE_INT}, ^ pl.cpp:95:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"next_check", STATS_OFFSET(next_check), VARTYPE_TIMET}, ^ pl.cpp:96: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}, ^ pl.cpp:97:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"next_notification", STATS_OFFSET(next_notification), VARTYPE_INT}, ^ pl.cpp:98: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}, ^ pl.cpp:99:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"notification_period", STATS_OFFSET(notification_period), VARTYPE_PCHAR}, ^ pl.cpp:100:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"notifications_enabled", STATS_OFFSET(notifications_enabled), VARTYPE_INT}, ^ pl.cpp:101: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}, ^ pl.cpp:102: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}, ^ pl.cpp:103: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}, ^ pl.cpp:104: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}, ^ pl.cpp:105:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"performance_data", STATS_OFFSET(performance_data), VARTYPE_PCHAR}, ^ pl.cpp:106:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"persistent", STATS_OFFSET(persistent), VARTYPE_INT}, ^ pl.cpp:107:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"plugin_output", STATS_OFFSET(plugin_output), VARTYPE_PCHAR}, ^ pl.cpp:108: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}, ^ pl.cpp:109: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}, ^ pl.cpp:110:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"retry_interval", STATS_OFFSET(retry_interval), VARTYPE_DOUBLE}, ^ pl.cpp:111: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}, ^ pl.cpp:112:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"service_description", STATS_OFFSET(service_description), VARTYPE_PCHAR}, ^ pl.cpp:113: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}, ^ pl.cpp:114:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"source", STATS_OFFSET(source), VARTYPE_INT}, ^ pl.cpp:115:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"start_time", STATS_OFFSET(start_time), VARTYPE_TIMET}, ^ pl.cpp:116:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"state_type", STATS_OFFSET(state_type), VARTYPE_INT}, ^ pl.cpp:117:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"triggered_by", STATS_OFFSET(triggered_by), VARTYPE_INT}, ^ pl.cpp:118:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"type", STATS_OFFSET(type), VARTYPE_INT} ^ pl.cpp:263: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"); ^ pl.cpp:265:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_exit("Error allocating memory"); ^ pl.cpp:435: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"); ^ pl.cpp:437:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_exit("Error allocating memory"); ^ pl.cpp:601: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); ^ pl.cpp:604: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(""); ^ pl.cpp:608: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(""); ^ pl.cpp:609: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(""); ^ pl.cpp:667:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myfree(pstats[loop].host_name, "entry hostname"); ^ pl.cpp:668:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myfree(pstats[loop].service_description, "entry servicedescription"); ^ pl.cpp:669:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myfree(pstats[loop].plugin_output, "entry plugin output"); ^ pl.cpp:670:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myfree(pstats[loop].performance_data, "entry performance data"); ^ pl.cpp:671:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myfree(pstats[loop].check_command, "entry check command"); ^ pl.cpp:672:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myfree(pstats[loop].author, "entry author"); ^ pl.cpp:673:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myfree(pstats[loop].check_period, "entry check_period"); ^ pl.cpp:674:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myfree(pstats[loop].comment_data, "entry comment data"); ^ pl.cpp:675:50: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myfree(pstats[loop].host_notification_period, "entry host notification period"); ^ pl.cpp:676:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myfree(pstats[loop].long_plugin_output, "entry long plugin output"); ^ pl.cpp:677:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myfree(pstats[loop].notification_period, "entry notification period"); ^ pl.cpp:678:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myfree(pstats[loop].service_notification_period, "entry service notification period"); ^ pl.cpp:681:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myfree(pstats, "stats array"); ^ pl.cpp:755: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); ^ pl.cpp:834: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) ^ pl.cpp:856: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) ^ pl.cpp:867: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) ^ pl.cpp:873: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) ^ pl.cpp:876: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) ^ pl.cpp:910: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); ^ 105 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -O2 -DVERSION=\"0.0.31\" -g -c -o utils.o utils.cpp utils.cpp:156: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); ^ utils.cpp:166: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); ^ utils.cpp:184: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); ^ utils.cpp:235:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_exit("stat failed for %s", filename); ^ utils.cpp:250:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_exit("stat failed for %s", filename); ^ utils.cpp:268:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_exit("The specified host is unknown.\n"); ^ utils.cpp:272: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"); ^ utils.cpp:276: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"); ^ utils.cpp:280: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"); ^ utils.cpp:284: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); ^ utils.cpp:313:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] myfree(hoststr, "connect_to"); ^ utils.cpp:318:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_exit("problem creating socket"); ^ utils.cpp:321:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_exit("problem setting KEEPALIVE"); ^ utils.cpp:339:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] error_exit("write_pidfile::fopen: failed creating file %s", fname); ^ 14 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -O2 -DVERSION=\"0.0.31\" -g -c -o main.o main.cpp main.cpp:38:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *statuslog = "/var/spool/nagios/status.dat"; ^ main.cpp:171:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *state_str[4] = { " OK ", "WARN", "CRIT", " ?? " }; ^ main.cpp:171:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *state_str[4] = { " OK ", "WARN", "CRIT", " ?? " }; ^ main.cpp:171:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *state_str[4] = { " OK ", "WARN", "CRIT", " ?? " }; ^ main.cpp:171:53: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *state_str[4] = { " OK ", "WARN", "CRIT", " ?? " }; ^ main.cpp:175:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] format = "%04d/%02d/%02d %02d:%02d %s %s %s, %s\n"; ^ main.cpp:177:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] format = "%04d/%02d/%02d %02d:%02d %s %s %s\n%s\n"; ^ 7 warnings generated. cc -Wall -W error.o br.o pl.o utils.o main.o -fstack-protector-strong -g -lstdc++ -o nagtail gzip nagtail.1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for nagtail-0.0.31_1 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/net-mgmt/nagtail/work/nagtail-0.0.31/nagtail /wrkdirs/usr/ports/net-mgmt/nagtail/work/stage/usr/local/bin install -m 444 /wrkdirs/usr/ports/net-mgmt/nagtail/work/nagtail-0.0.31/nagtail.1.gz /wrkdirs/usr/ports/net-mgmt/nagtail/work/stage/usr/local/share/man/man1 ====> 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-04-04T15:29:08+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=09aae249b0' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for nagtail-0.0.31_1 ===> Building nagtail-0.0.31_1 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for nagtail-0.0.31_1 build of net-mgmt/nagtail | nagtail-0.0.31_1 ended at Thu Apr 4 16:29:15 BST 2024 build time: 00:00:08