Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Oct 2019 01:57:43 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - 120armv7-quarterly][games/barony] Failed for barony-3.2.2_3 in build
Message-ID:  <201910150157.x9F1vhWs061307@beefy13.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:     devnexen@gmail.com
Last committer: gerald@FreeBSD.org
Ident:          $FreeBSD: branches/2019Q4/games/barony/Makefile 507372 2019-07-26 20:46:53Z gerald $
Log URL:        http://beefy13.nyi.freebsd.org/data/120armv7-quarterly/514475/logs/barony-3.2.2_3.log
Build URL:      http://beefy13.nyi.freebsd.org/build.html?mastername=120armv7-quarterly&build=514475
Log:

=>> Building games/barony
build started at Tue Oct 15 01:55:54 UTC 2019
port directory: /usr/ports/games/barony
package name: barony-3.2.2_3
building for: FreeBSD 120armv7-quarterly-job-19 12.0-RELEASE-p10 FreeBSD 12.0-RELEASE-p10 1200086 arm
maintained by: devnexen@gmail.com
Makefile ident:      $FreeBSD: branches/2019Q4/games/barony/Makefile 507372 2019-07-26 20:46:53Z gerald $
Poudriere version: 3.2.8-5-gc81843e5
Host OSVERSION: 1300040
Jail OSVERSION: 1200086
Job Id: 19

---Begin Environment---
SHELL=/bin/csh
UNAME_p=armv7
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1200086
UNAME_v=FreeBSD 12.0-RELEASE-p10 1200086
UNAME_r=12.0-RELEASE-p10
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
QEMU_EMULATING=1
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-5-gc81843e5
MASTERMNT=/usr/local/poudriere/data/.m/120armv7-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/120armv7-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=120armv7-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/120armv7-quarterly/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--
devnexen@gmail.com
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/barony/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/barony/work  HOME=/wrkdirs/usr/ports/games/barony/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/barony/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh LD=/usr/bin/ld.bfd CMAKE_PREFIX_PATH="/usr/local"
--End CONFIGURE_ENV--

--MAKE_ENV--
SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/barony/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/barony/work  HOME=/wrkdirs/usr/ports/games/barony/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/barony/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 LD=/usr/bin/ld.bfd DESTDIR=/wrkdirs/usr/ports/games/barony/work/stage PREFIX=/usr/local  LOCALBASE=/usr/local  CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS=" -Wl,--as-needed -fstack-protector-strong -fuse-ld=bfd -L/usr/local/lib " LIBS=""  CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include "  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--
CMAKE_BUILD_TYPE="release" OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/barony"  EXAMPLESDIR="share/examples/barony"  DATADIR="share/barony"  WWWDIR="www/barony"  ETCDIR="etc/barony"
--End PLIST_SUB--

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

---Begin make.conf---
.sinclude "/etc/make.nxb.conf"
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=arm
MACHINE_ARCH=armv7
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_9d218390=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: armv7-unknown-freebsd12.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: armv7-unknown-freebsd12.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-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_9d218390_58173849=yes
CC_OUTPUT_9d218390_9bdba57c=yes
CC_OUTPUT_9d218390_6a4fe7f5=yes
CC_OUTPUT_9d218390_6bcac02b=yes
CC_OUTPUT_9d218390_67d20829=yes
CC_OUTPUT_9d218390_bfa62e83=yes
CC_OUTPUT_9d218390_f0b4d593=yes
CC_OUTPUT_9d218390_308abb44=yes
CC_OUTPUT_9d218390_f00456e5=yes
CC_OUTPUT_9d218390_65ad290d=yes
CC_OUTPUT_9d218390_f2776b26=yes
CC_OUTPUT_9d218390_b2657cc3=yes
CC_OUTPUT_9d218390_380987f7=yes
CC_OUTPUT_9d218390_160933ec=yes
CC_OUTPUT_9d218390_fb62803b=yes
_OBJC_CCVERSION_9d218390=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: armv7-unknown-freebsd12.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=armv7
OPSYS=FreeBSD
_OSRELEASE=12.0-RELEASE-p10
OSREL=12.0
OSVERSION=1200086
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
---Begin make.nxb.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
AS=/nxb-bin/usr/bin/as
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
---End make.nxb.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   >============================
===>  License GPLv3 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   barony-3.2.2_3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.12.0.txz
[120armv7-quarterly-job-19] Installing pkg-1.12.0...
[120armv7-quarterly-job-19] Extracting pkg-1.12.0: .......... done
===>   barony-3.2.2_3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of barony-3.2.2_3
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by barony-3.2.2_3 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by barony-3.2.2_3 for building
=> SHA256 Checksum OK for TurningWheel-Barony-v3.2.2_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by barony-3.2.2_3 for building
===>  Extracting for barony-3.2.2_3
=> SHA256 Checksum OK for TurningWheel-Barony-v3.2.2_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
<snip>
[29/139] /nxb-bin/usr/bin/c++  -DBASE_DATA_DIR=\"/usr/local/share/barony\" -I/usr/local/include/SDL2 -I/usr/local/include/AL -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -std=c++11 -Wl,-rpath= -Wno-write-strings -MD -MT CMakeFiles/barony.dir/src/draw.cpp.o -MF CMakeFiles/barony.dir/src/draw.cpp.o.d -o CMakeFiles/barony.dir/src/draw.cpp.o -c src/draw.cpp
c++: warning: -Wl,-rpath=: 'linker' input unused [-Wunused-command-line-argument]
[30/139] /nxb-bin/usr/bin/c++  -DBASE_DATA_DIR=\"/usr/local/share/barony\" -I/usr/local/include/SDL2 -I/usr/local/include/AL -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -std=c++11 -Wl,-rpath= -Wno-write-strings -MD -MT CMakeFiles/barony.dir/src/opengl.cpp.o -MF CMakeFiles/barony.dir/src/opengl.cpp.o.d -o CMakeFiles/barony.dir/src/opengl.cpp.o -c src/opengl.cpp
c++: warning: -Wl,-rpath=: 'linker' input unused [-Wunused-command-line-argument]
[31/139] /nxb-bin/usr/bin/c++  -DBASE_DATA_DIR=\"/usr/local/share/barony\" -I/usr/local/include/SDL2 -I/usr/local/include/AL -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -std=c++11 -Wl,-rpath= -Wno-write-strings -MD -MT CMakeFiles/barony.dir/src/objects.cpp.o -MF CMakeFiles/barony.dir/src/objects.cpp.o.d -o CMakeFiles/barony.dir/src/objects.cpp.o -c src/objects.cpp
c++: warning: -Wl,-rpath=: 'linker' input unused [-Wunused-command-line-argument]
[32/139] /nxb-bin/usr/bin/c++  -DBASE_DATA_DIR=\"/usr/local/share/barony\" -I/usr/local/include/SDL2 -I/usr/local/include/AL -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -std=c++11 -Wl,-rpath= -Wno-write-strings -MD -MT CMakeFiles/barony.dir/src/list.cpp.o -MF CMakeFiles/barony.dir/src/list.cpp.o.d -o CMakeFiles/barony.dir/src/list.cpp.o -c src/list.cpp
c++: warning: -Wl,-rpath=: 'linker' input unused [-Wunused-command-line-argument]
src/list.cpp:98:3: warning: cannot delete expression with pointer-to-'void' type 'void *' [-Wdelete-incomplete]
                delete (node->element);
                ^      ~~~~~~~~~~~~~~~
1 warning generated.
[33/139] /nxb-bin/usr/bin/c++  -DBASE_DATA_DIR=\"/usr/local/share/barony\" -I/usr/local/include/SDL2 -I/usr/local/include/AL -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -std=c++11 -Wl,-rpath= -Wno-write-strings -MD -MT CMakeFiles/barony.dir/src/files.cpp.o -MF CMakeFiles/barony.dir/src/files.cpp.o.d -o CMakeFiles/barony.dir/src/files.cpp.o -c src/files.cpp
c++: warning: -Wl,-rpath=: 'linker' input unused [-Wunused-command-line-argument]
[34/139] /nxb-bin/usr/bin/c++  -DBASE_DATA_DIR=\"/usr/local/share/barony\" -I/usr/local/include/SDL2 -I/usr/local/include/AL -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -std=c++11 -Wl,-rpath= -Wno-write-strings -MD -MT CMakeFiles/barony.dir/src/items.cpp.o -MF CMakeFiles/barony.dir/src/items.cpp.o.d -o CMakeFiles/barony.dir/src/items.cpp.o -c src/items.cpp
c++: warning: -Wl,-rpath=: 'linker' input unused [-Wunused-command-line-argument]
In file included from src/items.cpp:18:
src/magic/magic.hpp:361:1: warning: typedef requires a name [-Wmissing-declarations]
typedef struct spell_t
^~~~~~~
src/items.cpp:3071:25: warning: result of comparison of constant -1 with expression of type 'ItemType' is always true [-Wtautological-constant-out-of-range-compare]
                        else if ( itemToFind != -1 && item->type == itemToFind )
                                  ~~~~~~~~~~ ^  ~~
src/items.cpp:3365:11: warning: result of comparison of constant -1 with expression of type 'Category' is always false [-Wtautological-constant-out-of-range-compare]
        if ( cat < -1 || cat >= NUMCATEGORIES )
             ~~~ ^ ~~
src/items.cpp:3371:11: warning: result of comparison of constant -1 with expression of type 'Category' is always false [-Wtautological-constant-out-of-range-compare]
        if ( cat == -1 )
             ~~~ ^  ~~
4 warnings generated.
[35/139] /nxb-bin/usr/bin/c++  -DBASE_DATA_DIR=\"/usr/local/share/barony\" -I/usr/local/include/SDL2 -I/usr/local/include/AL -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -std=c++11 -Wl,-rpath= -Wno-write-strings -MD -MT CMakeFiles/barony.dir/src/paths.cpp.o -MF CMakeFiles/barony.dir/src/paths.cpp.o.d -o CMakeFiles/barony.dir/src/paths.cpp.o -c src/paths.cpp
c++: warning: -Wl,-rpath=: 'linker' input unused [-Wunused-command-line-argument]
In file included from src/paths.cpp:21:
src/magic/magic.hpp:361:1: warning: typedef requires a name [-Wmissing-declarations]
typedef struct spell_t
^~~~~~~
1 warning generated.
[36/139] /nxb-bin/usr/bin/c++  -DBASE_DATA_DIR=\"/usr/local/share/barony\" -I/usr/local/include/SDL2 -I/usr/local/include/AL -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -std=c++11 -Wl,-rpath= -Wno-write-strings -MD -MT CMakeFiles/barony.dir/src/charclass.cpp.o -MF CMakeFiles/barony.dir/src/charclass.cpp.o.d -o CMakeFiles/barony.dir/src/charclass.cpp.o -c src/charclass.cpp
c++: warning: -Wl,-rpath=: 'linker' input unused [-Wunused-command-line-argument]
In file included from src/charclass.cpp:16:
src/magic/magic.hpp:361:1: warning: typedef requires a name [-Wmissing-declarations]
typedef struct spell_t
^~~~~~~
1 warning generated.
[37/139] /nxb-bin/usr/bin/c++  -DBASE_DATA_DIR=\"/usr/local/share/barony\" -I/usr/local/include/SDL2 -I/usr/local/include/AL -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -std=c++11 -Wl,-rpath= -Wno-write-strings -MD -MT CMakeFiles/barony.dir/src/net.cpp.o -MF CMakeFiles/barony.dir/src/net.cpp.o.d -o CMakeFiles/barony.dir/src/net.cpp.o -c src/net.cpp
c++: warning: -Wl,-rpath=: 'linker' input unused [-Wunused-command-line-argument]
In file included from src/net.cpp:22:
src/magic/magic.hpp:361:1: warning: typedef requires a name [-Wmissing-declarations]
typedef struct spell_t
^~~~~~~
src/net.cpp:3412:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                while (packet = net_handler->getGamePacket())
                       ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/net.cpp:3412:17: note: place parentheses around the assignment to silence this warning
                while (packet = net_handler->getGamePacket())
                              ^
                       (                                    )
src/net.cpp:3412:17: note: use '==' to turn this assignment into an equality comparison
                while (packet = net_handler->getGamePacket())
                              ^
                              ==
src/net.cpp:4170:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                while (packet = net_handler->getGamePacket())
                       ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/net.cpp:4170:17: note: place parentheses around the assignment to silence this warning
                while (packet = net_handler->getGamePacket())
                              ^
                       (                                    )
src/net.cpp:4170:17: note: use '==' to turn this assignment into an equality comparison
                while (packet = net_handler->getGamePacket())
                              ^
                              ==
3 warnings generated.
[38/139] /nxb-bin/usr/bin/c++  -DBASE_DATA_DIR=\"/usr/local/share/barony\" -I/usr/local/include/SDL2 -I/usr/local/include/AL -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -std=c++11 -Wl,-rpath= -Wno-write-strings -MD -MT CMakeFiles/barony.dir/src/game.cpp.o -MF CMakeFiles/barony.dir/src/game.cpp.o.d -o CMakeFiles/barony.dir/src/game.cpp.o -c src/game.cpp
c++: warning: -Wl,-rpath=: 'linker' input unused [-Wunused-command-line-argument]
In file included from src/game.cpp:22:
src/magic/magic.hpp:361:1: warning: typedef requires a name [-Wmissing-declarations]
typedef struct spell_t
^~~~~~~
src/game.cpp:3081:20: warning: '&&' within '||' [-Wlogical-op-parentheses]
                                        if ( !command && *inputPressed(impulses[IN_TOGGLECHATLOG]) || (shootmode && *inputPressed(joyimpulses[INJOY_GAME_TOGGLECHATLOG])) )
                                             ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~
src/game.cpp:3081:20: note: place parentheses around the '&&' expression to silence this warning
                                        if ( !command && *inputPressed(impulses[IN_TOGGLECHATLOG]) || (shootmode && *inputPressed(joyimpulses[INJOY_GAME_TOGGLECHATLOG])) )
                                                      ^
                                             (                                                    )
src/game.cpp:3511:13: warning: comparison of array 'subtext' not equal to a null pointer is always true [-Wtautological-pointer-compare]
                                                        if ( subtext != NULL )
                                                             ^~~~~~~    ~~~~
3 warnings generated.
[39/139] /nxb-bin/usr/bin/c++  -DBASE_DATA_DIR=\"/usr/local/share/barony\" -I/usr/local/include/SDL2 -I/usr/local/include/AL -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -std=c++11 -Wl,-rpath= -Wno-write-strings -MD -MT CMakeFiles/barony.dir/src/stat.cpp.o -MF CMakeFiles/barony.dir/src/stat.cpp.o.d -o CMakeFiles/barony.dir/src/stat.cpp.o -c src/stat.cpp
c++: warning: -Wl,-rpath=: 'linker' input unused [-Wunused-command-line-argument]
In file included from src/stat.cpp:18:
src/magic/magic.hpp:361:1: warning: typedef requires a name [-Wmissing-declarations]
typedef struct spell_t
^~~~~~~
1 warning generated.
[40/139] /nxb-bin/usr/bin/c++  -DBASE_DATA_DIR=\"/usr/local/share/barony\" -I/usr/local/include/SDL2 -I/usr/local/include/AL -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -std=c++11 -Wl,-rpath= -Wno-write-strings -MD -MT CMakeFiles/barony.dir/src/acttorch.cpp.o -MF CMakeFiles/barony.dir/src/acttorch.cpp.o.d -o CMakeFiles/barony.dir/src/acttorch.cpp.o -c src/acttorch.cpp
c++: warning: -Wl,-rpath=: 'linker' input unused [-Wunused-command-line-argument]
[41/139] /nxb-bin/usr/bin/c++  -DBASE_DATA_DIR=\"/usr/local/share/barony\" -I/usr/local/include/SDL2 -I/usr/local/include/AL -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -std=c++11 -Wl,-rpath= -Wno-write-strings -MD -MT CMakeFiles/barony.dir/src/actplayer.cpp.o -MF CMakeFiles/barony.dir/src/actplayer.cpp.o.d -o CMakeFiles/barony.dir/src/actplayer.cpp.o -c src/actplayer.cpp
c++: warning: -Wl,-rpath=: 'linker' input unused [-Wunused-command-line-argument]
In file included from src/actplayer.cpp:20:
src/magic/magic.hpp:361:1: warning: typedef requires a name [-Wmissing-declarations]
typedef struct spell_t
^~~~~~~
1 warning generated.
[42/139] /nxb-bin/usr/bin/c++  -DBASE_DATA_DIR=\"/usr/local/share/barony\" -I/usr/local/include/SDL2 -I/usr/local/include/AL -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -std=c++11 -Wl,-rpath= -Wno-write-strings -MD -MT CMakeFiles/barony.dir/src/actmonster.cpp.o -MF CMakeFiles/barony.dir/src/actmonster.cpp.o.d -o CMakeFiles/barony.dir/src/actmonster.cpp.o -c src/actmonster.cpp
c++: warning: -Wl,-rpath=: 'linker' input unused [-Wunused-command-line-argument]
In file included from src/actmonster.cpp:22:
src/magic/magic.hpp:361:1: warning: typedef requires a name [-Wmissing-declarations]
typedef struct spell_t
^~~~~~~
src/actmonster.cpp:1356:3: warning: '&&' within '||' [-Wlogical-op-parentheses]
                && myStats->HP > 0 )
                ^~~~~~~~~~~~~~~~~~
src/actmonster.cpp:1356:3: note: place parentheses around the '&&' expression to silence this warning
                && myStats->HP > 0 )
                ^
                                  )
src/actmonster.cpp:1684:38: warning: '&&' within '||' [-Wlogical-op-parentheses]
                                                if ( target && ticks % 10 == 0 && rand() % 100 == 0 || (enemiesInMelee > 1 && rand() % 8 == 0) )
                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ~~
src/actmonster.cpp:1684:38: note: place parentheses around the '&&' expression to silence this warning
                                                if ( target && ticks % 10 == 0 && rand() % 100 == 0 || (enemiesInMelee > 1 && rand() % 8 == 0) )
                                                                               ^
                                                     (                                             )
src/actmonster.cpp:5364:83: warning: '&&' within '||' [-Wlogical-op-parentheses]
                                        if ( my->monsterHitTime >= 60 || my->monsterLichAllyStatus == LICH_ALLY_DEAD && my->monsterHitTime >= 45 )
                                                                      ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/actmonster.cpp:5364:83: note: place parentheses around the '&&' expression to silence this warning
                                        if ( my->monsterHitTime >= 60 || my->monsterLichAllyStatus == LICH_ALLY_DEAD && my->monsterHitTime >= 45 )
                                                                                                                     ^
                                                                         (                                                                      )
src/actmonster.cpp:8309:10: warning: comparison of two values with different enumeration types in switch statement ('enum Category' and 'ItemType') [-Wenum-compare-switch]
                                case CLOAK:
                                     ^~~~~
src/actmonster.cpp:8309:10: warning: case value not in enumerated type 'enum Category' [-Wswitch]
6 warnings generated.
[43/139] /nxb-bin/usr/bin/c++  -DBASE_DATA_DIR=\"/usr/local/share/barony\" -I/usr/local/include/SDL2 -I/usr/local/include/AL -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -std=c++11 -Wl,-rpath= -Wno-write-strings -MD -MT CMakeFiles/barony.dir/src/actitem.cpp.o -MF CMakeFiles/barony.dir/src/actitem.cpp.o.d -o CMakeFiles/barony.dir/src/actitem.cpp.o -c src/actitem.cpp
c++: warning: -Wl,-rpath=: 'linker' input unused [-Wunused-command-line-argument]
[44/139] /nxb-bin/usr/bin/c++  -DBASE_DATA_DIR=\"/usr/local/share/barony\" -I/usr/local/include/SDL2 -I/usr/local/include/AL -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -std=c++11 -Wl,-rpath= -Wno-write-strings -MD -MT CMakeFiles/barony.dir/src/acthudweapon.cpp.o -MF CMakeFiles/barony.dir/src/acthudweapon.cpp.o.d -o CMakeFiles/barony.dir/src/acthudweapon.cpp.o -c src/acthudweapon.cpp
c++: warning: -Wl,-rpath=: 'linker' input unused [-Wunused-command-line-argument]
In file included from src/acthudweapon.cpp:17:
src/magic/magic.hpp:361:1: warning: typedef requires a name [-Wmissing-declarations]
typedef struct spell_t
^~~~~~~
src/acthudweapon.cpp:430:43: warning: '&&' within '||' [-Wlogical-op-parentheses]
                && !(*inputPressed(impulses[IN_DEFEND]) && stats[clientnum]->defending || (shootmode && *inputPressed(joyimpulses[INJOY_GAME_DEFEND]) && stats[clientnum]->defending))
                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~
src/acthudweapon.cpp:430:43: note: place parentheses around the '&&' expression to silence this warning
                && !(*inputPressed(impulses[IN_DEFEND]) && stats[clientnum]->defending || (shootmode && *inputPressed(joyimpulses[INJOY_GAME_DEFEND]) && stats[clientnum]->defending))
                                                        ^
                     (                                                                )
2 warnings generated.
[45/139] /nxb-bin/usr/bin/c++  -DBASE_DATA_DIR=\"/usr/local/share/barony\" -I/usr/local/include/SDL2 -I/usr/local/include/AL -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -std=c++11 -Wl,-rpath= -Wno-write-strings -MD -MT CMakeFiles/barony.dir/src/actgold.cpp.o -MF CMakeFiles/barony.dir/src/actgold.cpp.o.d -o CMakeFiles/barony.dir/src/actgold.cpp.o -c src/actgold.cpp
c++: warning: -Wl,-rpath=: 'linker' input unused [-Wunused-command-line-argument]
[46/139] /nxb-bin/usr/bin/c++  -DBASE_DATA_DIR=\"/usr/local/share/barony\" -I/usr/local/include/SDL2 -I/usr/local/include/AL -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -std=c++11 -Wl,-rpath= -Wno-write-strings -MD -MT CMakeFiles/barony.dir/src/actgib.cpp.o -MF CMakeFiles/barony.dir/src/actgib.cpp.o.d -o CMakeFiles/barony.dir/src/actgib.cpp.o -c src/actgib.cpp
c++: warning: -Wl,-rpath=: 'linker' input unused [-Wunused-command-line-argument]
[47/139] /nxb-bin/usr/bin/c++  -DBASE_DATA_DIR=\"/usr/local/share/barony\" -I/usr/local/include/SDL2 -I/usr/local/include/AL -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -std=c++11 -Wl,-rpath= -Wno-write-strings -MD -MT CMakeFiles/barony.dir/src/actgeneral.cpp.o -MF CMakeFiles/barony.dir/src/actgeneral.cpp.o.d -o CMakeFiles/barony.dir/src/actgeneral.cpp.o -c src/actgeneral.cpp
c++: warning: -Wl,-rpath=: 'linker' input unused [-Wunused-command-line-argument]
[48/139] /nxb-bin/usr/bin/c++  -DBASE_DATA_DIR=\"/usr/local/share/barony\" -I/usr/local/include/SDL2 -I/usr/local/include/AL -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -std=c++11 -Wl,-rpath= -Wno-write-strings -MD -MT CMakeFiles/barony.dir/src/actdoor.cpp.o -MF CMakeFiles/barony.dir/src/actdoor.cpp.o.d -o CMakeFiles/barony.dir/src/actdoor.cpp.o -c src/actdoor.cpp
FAILED: CMakeFiles/barony.dir/src/actdoor.cpp.o 
/nxb-bin/usr/bin/c++  -DBASE_DATA_DIR=\"/usr/local/share/barony\" -I/usr/local/include/SDL2 -I/usr/local/include/AL -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -std=c++11 -Wl,-rpath= -Wno-write-strings -MD -MT CMakeFiles/barony.dir/src/actdoor.cpp.o -MF CMakeFiles/barony.dir/src/actdoor.cpp.o.d -o CMakeFiles/barony.dir/src/actdoor.cpp.o -c src/actdoor.cpp
c++: warning: -Wl,-rpath=: 'linker' input unused [-Wunused-command-line-argument]
src/actdoor.cpp:169:15: error: no matching function for call to 'max'
                                my->yaw = std::max(my->doorStartAng, my->yaw - 0.15);
                                          ^~~~~~~~
/usr/include/c++/v1/algorithm:2717:1: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('float' vs. 'double')
max(const _Tp& __a, const _Tp& __b)
^
/usr/include/c++/v1/algorithm:2727:1: note: candidate template ignored: could not match 'initializer_list<type-parameter-0-0>' against 'float'
max(initializer_list<_Tp> __t, _Compare __comp)
^
/usr/include/c++/v1/algorithm:2709:1: note: candidate function template not viable: requires 3 arguments, but 2 were provided
max(const _Tp& __a, const _Tp& __b, _Compare __comp)
^
/usr/include/c++/v1/algorithm:2735:1: note: candidate function template not viable: requires single argument '__t', but 2 arguments were provided
max(initializer_list<_Tp> __t)
^
src/actdoor.cpp:173:15: error: no matching function for call to 'min'
                                my->yaw = std::min(my->doorStartAng, my->yaw + 0.15);
                                          ^~~~~~~~
/usr/include/c++/v1/algorithm:2652:1: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('float' vs. 'double')
min(const _Tp& __a, const _Tp& __b)
^
/usr/include/c++/v1/algorithm:2662:1: note: candidate template ignored: could not match 'initializer_list<type-parameter-0-0>' against 'float'
min(initializer_list<_Tp> __t, _Compare __comp)
^
/usr/include/c++/v1/algorithm:2644:1: note: candidate function template not viable: requires 3 arguments, but 2 were provided
min(const _Tp& __a, const _Tp& __b, _Compare __comp)
^
/usr/include/c++/v1/algorithm:2670:1: note: candidate function template not viable: requires single argument '__t', but 2 arguments were provided
min(initializer_list<_Tp> __t)
^
2 errors generated.
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make: stopped in /usr/ports/games/barony



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