Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Dec 2020 17:33:05 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-i386-default][net-mgmt/nagircbot] Failed for nagircbot-0.0.33_2 in build
Message-ID:  <202012151733.0BFHX5Ba022080@beefy17.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help

You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     ports@FreeBSD.org
Last committer: marino@FreeBSD.org
Ident:          $FreeBSD: head/net-mgmt/nagircbot/Makefile 421753 2016-09-10 22:23:48Z marino $
Log URL:        http://beefy17.nyi.freebsd.org/data/head-i386-default/p558122_s368651/logs/nagircbot-0.0.33_2.log
Build URL:      http://beefy17.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p558122_s368651
Log:

=>> Building net-mgmt/nagircbot
build started at Tue Dec 15 17:33:01 UTC 2020
port directory: /usr/ports/net-mgmt/nagircbot
package name: nagircbot-0.0.33_2
building for: FreeBSD head-i386-default-job-03 13.0-CURRENT FreeBSD 13.0-CURRENT 1300131 i386
maintained by: ports@FreeBSD.org
Makefile ident:      $FreeBSD: head/net-mgmt/nagircbot/Makefile 421753 2016-09-10 22:23:48Z marino $
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1300121
Jail OSVERSION: 1300131
Job Id: 03




!!! Jail is newer than host. (Jail: 1300131, Host: 1300121) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1300131
UNAME_v=FreeBSD 13.0-CURRENT 1300131
UNAME_r=13.0-CURRENT
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
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-8-gaf08dbda
MASTERMNT=/usr/local/poudriere/data/.m/head-i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
ports@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/nagircbot/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/nagircbot/work  HOME=/wrkdirs/usr/ports/net-mgmt/nagircbot/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/nagircbot/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/nagircbot/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/nagircbot/work  HOME=/wrkdirs/usr/ports/net-mgmt/nagircbot/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/nagircbot/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes 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  -I/usr/include -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -L/usr/lib  -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/nagircbot"  EXAMPLESDIR="share/examples/nagircbot"  DATADIR="share/nagircbot"  WWWDIR="www/nagircbot"  ETCDIR="etc/nagircbot"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/nagircbot DOCSDIR=/usr/local/share/doc/nagircbot EXAMPLESDIR=/usr/local/share/examples/nagircbot  WWWDIR=/usr/local/www/nagircbot ETCDIR=/usr/local/etc/nagircbot
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-0-g176249bd673) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-0-g176249bd673) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-m" "elf_i386_fbsd" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-0-g176249bd673) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=13.0-CURRENT
OSREL=13.0
OSVERSION=1300131
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
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)  524288
stack size              (kbytes, -s)  65536
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)  1024
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--
=======================<phase: check-sanity   >============================
===>   NOTICE:

The nagircbot port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port

===========================================================================
=======================<phase: pkg-depends    >============================
===>   nagircbot-0.0.33_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.15.10.txz
[head-i386-default-job-03] Installing pkg-1.15.10...
[head-i386-default-job-03] Extracting pkg-1.15.10: .......... done
===>   nagircbot-0.0.33_2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of nagircbot-0.0.33_2
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

The nagircbot port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port

===> Fetching all distfiles required by nagircbot-0.0.33_2 for building
===========================================================================
=======================<phase: checksum       >============================
===>   NOTICE:
<snip>
        {"last_time_ok",                STATS_OFFSET(last_time_ok),             VARTYPE_INT}, 
         ^
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}, 
         ^
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}, 
         ^
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}, 
         ^
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}, 
         ^
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}, 
         ^
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},
         ^
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}, 
         ^
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}, 
         ^
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}, 
         ^
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},
         ^
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}, 
         ^
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}, 
         ^
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},
         ^
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}, 
         ^
pl.cpp:85: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:86: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:87: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:88: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:89: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:90:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
        {"persistent",                  STATS_OFFSET(persistent),               VARTYPE_INT},
         ^
pl.cpp:91: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:92: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:93: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:94: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:95: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:96: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:97: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:98:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
        {"source",                      STATS_OFFSET(source),                   VARTYPE_INT},
         ^
pl.cpp:99: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:100: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:101: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:102:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
        {"type",                        STATS_OFFSET(type),                     VARTYPE_INT}
         ^
pl.cpp:247: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:249:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                                        error_exit("Error allocating memory");
                                                   ^
pl.cpp:419: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:421:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                        error_exit("Error allocating memory");
                                   ^
pl.cpp:585: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:588: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:592: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:593: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:651: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:652: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:653: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:654: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:655: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:656:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                        myfree(pstats[loop].author, "entry author");
                                                    ^
pl.cpp:657: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:658: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:659: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:660: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:661: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:662: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:665:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                myfree(pstats, "stats array");
                               ^
pl.cpp:739: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:818: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:840: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:851: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:857: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:860: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:894: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.
88 warnings generated.
cc -Wall -W ssl.o error.o log.o utils.o br.o pl.o anna.o  -L/usr/lib  -fstack-protector-strong  -g  -D_DEBUG  -lcrypto -lssl -lstdc++ -o nagircbot
ld: error: duplicate symbol: pfh
>>> defined at anna.h:1 (./anna.h:1)
>>>            error.o:(pfh)
>>> defined at anna.h:1 (./anna.h:1)
>>>            anna.o:(.bss+0x0)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [Makefile:15: nagircbot] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/net-mgmt/nagircbot/work/nagircbot-0.0.33'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/net-mgmt/nagircbot



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012151733.0BFHX5Ba022080>