Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jan 2021 05:07:58 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - main-i386-default][net-mgmt/nagircbot] Failed for nagircbot-0.0.33_2 in build
Message-ID:  <202101250507.10P57wFL010699@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/main-i386-default/p562431_sd6327ae8c/logs/nagircbot-0.0.33_2.log
Build URL:      http://beefy17.nyi.freebsd.org/build.html?mastername=main-i386-default&build=p562431_sd6327ae8c
Log:

=>> Building net-mgmt/nagircbot
build started at Mon Jan 25 05:07:53 UTC 2021
port directory: /usr/ports/net-mgmt/nagircbot
package name: nagircbot-0.0.33_2
building for: FreeBSD main-i386-default-job-03 14.0-CURRENT FreeBSD 14.0-CURRENT 1400001 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: 1400000
Jail OSVERSION: 1400001
Job Id: 03




!!! Jail is newer than host. (Jail: 1400001, Host: 1400000) !!!
!!! 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=1400001
UNAME_v=FreeBSD 14.0-CURRENT 1400001
UNAME_r=14.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/main-i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-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=14.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.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: i386-unknown-freebsd14.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.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400001
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.16.2.txz
[main-i386-default-job-03] Installing pkg-1.16.2...
[main-i386-default-job-03] Extracting pkg-1.16.2: .......... 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>
                error_exit("add_filter: out of memory");
                           ^
anna.cpp:856:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                error_exit("add_filter: failed to compile regexp '%s'", string);
                           ^
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]
anna.cpp:873:26: 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}, 
         ^
        color_str[0] = mystrdup("_3,1 ");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},
         ^
anna.cpp:874:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
pl.cpp:99:3        color_str[1] = mystrdup("_8,1 ");
                                ^
: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
anna.cpp:875:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
        {"start_time",                  STATS_OFFSET(start_time),               VARTYPE_TIMET},
         ^
        color_str[2] = mystrdup("_4,1 ");
                                ^
pl.cpp:100:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
anna.cpp:876:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
        {"state_type",                  STATS_OFFSET(state_type),               VARTYPE_INT}, 
         ^
        color_str[3] = mystrdup("_11,1 ");
                                ^
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}
         ^
anna.cpp:1033:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                        error_exit("Failed to become daemon process!");
                                   ^
anna.cpp:1046:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                                error_exit("setgid(%d) failed", p -> pw_gid);
                                           ^
anna.cpp:1049:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                                error_exit("setuid(%d) failed", p -> pw_uid);
                                           ^
anna.cpp:1053:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                        error_exit("User '%s' not found.", runas);
                                   ^
anna.cpp:1064:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                        dolog("Connecting to %s", server);
                              ^
anna.cpp:1070:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                                        dolog("Cannot connect to %s: %m, will sleep %d seconds", server, sleep_time);
                                              ^
pl.cpp:247:82anna.cpp:1082:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                                        dolog("Doing SSL handshake");
                                              ^
                                *pstats = (struct stats *)myrealloc(*pstats, n_alloc * sizeof(struct stats), "stats array");
                                                                                                             ^
anna.cpp:1084:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                                                dolog("SSL handshake failed!");
                                                      ^
pl.cpp:249:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
anna.cpp:1094:11:                                         error_exit("Error allocating memory");
                                                   ^
warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                                dolog("Connected to IRC server %s", server);
                                      ^
anna.cpp:1100:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                        dolog("Logging in...");
                              ^
anna.cpp:1118:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                        dolog("Joining channel...");
                              ^
anna.cpp:1129:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                                        error_exit("select() failed");
                                                   ^
anna.cpp:1143:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                                                dolog("failed joining channel: %s", strerror(errno));
                                                      ^
anna.cpp:1174:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                                                                        dolog("on channel");
                                                                              ^
anna.cpp:1207:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                                dolog("joining the channel %s too to long (%ds, timeout set to %ds), aborting and retrying ", channel, time(NULL) - time_join_channel_started, join_timeout);
                                      ^
anna.cpp:1212:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                                dolog("failed joining channel %s, retrying (%d/%d)", channel, join_tries, max_n_join_tries);
                                      ^
anna.cpp:1218:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                        dolog("On channel, starting nagtail...");
                              ^
anna.cpp:1230:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                        dolog("Disconnected");
                              ^
anna.cpp:1236:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                        dolog("Session took %d seconds", took);
                              ^
anna.cpp:1240:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                                dolog("Will sleep %d seconds before retrying", sleep_time);
                                      ^
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?202101250507.10P57wFL010699>