Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Feb 2021 17:05:16 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - main-powerpc64-default][net-mgmt/nagircbot] Failed for nagircbot-0.0.33_2 in build
Message-ID:  <202102181705.11IH5Gq1006862@pylon.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://pylon.nyi.freebsd.org/data/main-powerpc64-default/p564026_scb7cc72c54/logs/nagircbot-0.0.33_2.log
Build URL:      http://pylon.nyi.freebsd.org/build.html?mastername=main-powerpc64-default&build=p564026_scb7cc72c54
Log:

=>> Building net-mgmt/nagircbot
build started at Thu Feb 18 17:04:57 UTC 2021
port directory: /usr/ports/net-mgmt/nagircbot
package name: nagircbot-0.0.33_2
building for: FreeBSD main-powerpc64-default-job-08 14.0-CURRENT FreeBSD 14.0-CURRENT 1400003 powerpc
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: 1400003
Jail OSVERSION: 1400003
Job Id: 08

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1400003
UNAME_v=FreeBSD 14.0-CURRENT 1400003
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-powerpc64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=screen
PWD=/usr/local/poudriere/data/.m/main-powerpc64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-powerpc64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-powerpc64-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
#### /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: powerpc64-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: powerpc64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--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: powerpc64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=powerpc64
PPC_ABI=ELFv2
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400003
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)  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
[main-powerpc64-default-job-08] Installing pkg-1.16.2...
[main-powerpc64-default-job-08] 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>
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)
                error_exit("internal error: state %d not known", pstats[cur_index].current_state);                                             ^

                           ^
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));
              ^
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]anna.cpp
:581        if (check_an_age(message, "most recent host update", now, most_recent_host_update, max_time_last_host_update, NULL) == -1):
15                                  ^:
 warningpl.cpp: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]:
857                        error_exit("select() failed %s\n", strerror(errno));:
28                                   ^
: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
anna.cpp        if (check_an_age(message, "most recent last service check", now, most_recent_last_service_check, max_time_last_service_check, NULL) == -1)
:                                  ^591:
11: pl.cppwarning: :ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
860                                dolog("connection closed by IRC server");:
28                                      ^
: warning: anna.cppISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]:
598:12:        if (check_an_age(message, "oldest next sevice check", now, oldest_next_service_check, max_time_oldest_next_service_check, NULL) == -1) 
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);
                                                               ^
pl.cpp:894:15: warning: anna.cppISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]:
650:                        error_exit("calc_stats_stats: internal error (%d)", pstats[loop].type);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);
                                      ^
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?202102181705.11IH5Gq1006862>