Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Feb 2021 21:38:53 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - 130releng-amd64-default][net-mgmt/nagircbot] Failed for nagircbot-0.0.33_2 in build
Message-ID:  <202102162138.11GLcrcn064564@beefy16.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://beefy16.nyi.freebsd.org/data/130releng-amd64-default/565379/logs/nagircbot-0.0.33_2.log
Build URL:      http://beefy16.nyi.freebsd.org/build.html?mastername=130releng-amd64-default&build=565379
Log:

=>> Building net-mgmt/nagircbot
build started at Tue Feb 16 21:38:48 UTC 2021
port directory: /usr/ports/net-mgmt/nagircbot
package name: nagircbot-0.0.33_2
building for: FreeBSD 130releng-amd64-default-job-10 13.0-BETA2 FreeBSD 13.0-BETA2 1300139 amd64
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: 1300139
Job Id: 10

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1300139
UNAME_v=FreeBSD 13.0-BETA2 1300139
UNAME_r=13.0-BETA2
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/130releng-amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/130releng-amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=130releng-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/130releng-amd64-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
#### /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: x86_64-unknown-freebsd13.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: x86_64-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" "-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: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=13.0-BETA2
OSREL=13.0
OSVERSION=1300139
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
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)  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
[130releng-amd64-default-job-10] Installing pkg-1.16.2...
[130releng-amd64-default-job-10] 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:

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
=> SHA256 Checksum OK for nagircbot-0.0.33.tgz.
<snip>
anna.cpp:239:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                dolog("Size of status.log is stable (%d elements), continuing", *n_stats);
                      ^
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'
*** 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?202102162138.11GLcrcn064564>