[exp - 124amd64-default-build-as-user][net-mgmt/nagircbot] Failed for nagircbot-0.0.33_2 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Mon, 24 Apr 2023 06:36:08 UTC
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
Log URL:        https://pkg-status.freebsd.org/package19/data/124amd64-default-build-as-user/02e08974bc30/logs/nagircbot-0.0.33_2.log
Build URL:      https://pkg-status.freebsd.org/package19/build.html?mastername=124amd64-default-build-as-user&build=02e08974bc30
Log:

=>> Building net-mgmt/nagircbot
build started at Mon Apr 24 06:36:02 UTC 2023
port directory: /usr/ports/net-mgmt/nagircbot
package name: nagircbot-0.0.33_2
building for: FreeBSD 124amd64-default-build-as-user-job-02 12.4-RELEASE-p2 FreeBSD 12.4-RELEASE-p2 amd64
maintained by: ports@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1204000
Job Id: 02

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1204000
UNAME_v=FreeBSD 12.4-RELEASE-p2
UNAME_r=12.4-RELEASE-p2
BLOCKSIZE=K
MAIL=/var/mail/root
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-23-ga7f8d188
MASTERMNT=/poudriere/data/.m/124amd64-default-build-as-user/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
GID=0
UID=0
PWD=/poudriere/data/.m/124amd64-default-build-as-user/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=124amd64-default-build-as-user
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/poudriere/data/.m/124amd64-default-build-as-user/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  XDG_CACHE_HOME=/wrkdirs/usr/ports/net-mgmt/nagircbot/work/.cache  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 PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-mgmt/nagircbot/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--
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  XDG_CACHE_HOME=/wrkdirs/usr/ports/net-mgmt/nagircbot/work/.cache  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 PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-mgmt/nagircbot/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  -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=12.4 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
FORCE_PACKAGE=yes
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: x86_64-unknown-freebsd12.4 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: x86_64-unknown-freebsd12.4 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" "-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_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: x86_64-unknown-freebsd12.4 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=12.4-RELEASE-p2
OSREL=12.4
OSVERSION=1204000
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc 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)  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://docs.freebsd.org/en/articles/contributing/#ports-contributing

===========================================================================
=======================<phase: pkg-depends    >============================
===>   nagircbot-0.0.33_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1_1.pkg
[124amd64-default-build-as-user-job-02] Installing pkg-1.19.1_1...
[124amd64-default-build-as-user-job-02] Extracting pkg-1.19.1_1: .......... 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://docs.freebsd.org/en/articles/contributing/#ports-contributing

===> Fetching all distfiles required by nagircbot-0.0.33_2 for building
===========================================================================
=======================<phase: checksum       >============================
===>   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://docs.freebsd.org/en/articles/contributing/#ports-contributing

===> Fetching all distfiles required by nagircbot-0.0.33_2 for building
=> SHA256 Checksum OK for nagircbot-0.0.33.tgz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
<snip>
anna.cpp:247:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
        char *prefix = "", *suffix = "";
                       ^
anna.cpp:247:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
        char *prefix = "", *suffix = "";
                                     ^
anna.cpp:253:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                suffix = "\03";
                         ^
anna.cpp:287:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                        dolog("Executing of regexp failed: %s", buffer);
                              ^
anna.cpp:440:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                                dolog("emitting results");
                                      ^
anna.cpp:460:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                return irc_privmsg(server_conn, to_who, "not available yet");
                                                        ^
anna.cpp:474:43: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                return irc_privmsg(server_conn, to_who, "all fine");
                                                        ^
anna.cpp:481:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
        if (irc_privmsg(server_conn, to_who, "'resend' lets the bot resend the current nagios status in a private message") == -1)
                                             ^
anna.cpp:484:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
        if (irc_privmsg(server_conn, to_who, "'statistics' sends you the statistics") == -1)
                                             ^
anna.cpp:487:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
        if (irc_privmsg(server_conn, to_who, "'check' verifies if Nagios is still checking hosts/services") == -1)
                                             ^
anna.cpp:499:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
        if (verbose > 1) dolog("reload_statuslog started");
                               ^
anna.cpp:522:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
        dolog("reload failed: %s", strerror(errno));
              ^
anna.cpp:581:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                        error_exit("select() failed %s\n", strerror(errno));
                                   ^
anna.cpp:591:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                                dolog("connection closed by IRC server");
                                      ^
anna.cpp:598:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                                        dolog("error transmitting data to IRC server: %s", strerror(errno));
                                              ^
anna.cpp:616:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                                                dolog( "Malformed server response: `%s' at `%s'.", recv_buffer, response );
                                                       ^
anna.cpp:626:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                                        if (verbose > 1) dolog("IN: `%s'", response);
                                                               ^
anna.cpp:650:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                                                                        dolog("nagircbot got kicked (%s)", response);
                                                                              ^
anna.cpp:655:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                                                                        dolog("user %s got kicked from channel", dummy);
                                                                              ^
anna.cpp:683:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                                                                                dolog("help requested by %s", from_who);
                                                                                      ^
anna.cpp:685:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                                                                                rc |= irc_privmsg(server_conn, from_who, "resend - resend the last known problems");
                                                                                                                         ^
anna.cpp:686:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                                                                                rc |= irc_privmsg(server_conn, from_who, "statistics - returns the number of criticals/warnings/etc.");
                                                                                                                         ^
anna.cpp:687:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                                                                                rc |= irc_privmsg(server_conn, from_who, "reload - completely forced reload the nagios status");
                                                                                                                         ^
anna.cpp:688:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                                                                                rc |= irc_privmsg(server_conn, from_who, "check - check if nagios is still running");
                                                                                                                         ^
anna.cpp:695:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                                                                                dolog("resend requested by %s", from_who);
                                                                                      ^
anna.cpp:705:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                                                                                dolog("nagios check requested by %s", from_who);
                                                                                      ^
anna.cpp:716:52: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                                                                                        rc = irc_privmsg(server_conn, from_who, "Nagios is still running");
                                                                                                                                ^
anna.cpp:725:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                                                                                dolog("statistics requested by %s", from_who);
                                                                                      ^
anna.cpp:734:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                                                                                dolog("reload requested by %s", from_who);
                                                                                      ^
anna.cpp:738:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                                                                                        if (irc_privmsg(server_conn, from_who, "cannot access status.log") == -1)
                                                                                                                               ^
anna.cpp:743:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                                                                                        if (irc_privmsg(server_conn, from_who, "nagios status reloaded") == -1)
                                                                                                                               ^
anna.cpp:751:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                                                                                dolog("giberish sent by %s", from_who);
                                                                                      ^
anna.cpp:772:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                                                                dolog("Got QUITed (%s)", cmd);
                                                                      ^
anna.cpp:777:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                                                                dolog("user %s quit", quit_nick);
                                                                      ^
anna.cpp:787:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
        dolog("NagIRCBot dropped of IRC server");
              ^
anna.cpp:853:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                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);
                           ^
anna.cpp:873:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
        color_str[0] = mystrdup("_3,1 ");
                                ^
anna.cpp:874:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
        color_str[1] = mystrdup("_8,1 ");
                                ^
anna.cpp:875:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
        color_str[2] = mystrdup("_4,1 ");
                                ^
anna.cpp:876:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
        color_str[3] = mystrdup("_11,1 ");
                                ^
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);
                                              ^
anna.cpp:1082:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                                        dolog("Doing SSL handshake");
                                              ^
anna.cpp:1084:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                                                dolog("SSL handshake failed!");
                                                      ^
anna.cpp:1094:11: 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);
                                      ^
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