Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Feb 2021 12:41:20 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - main-armv7-default][games/barony] Failed for barony-3.3.0 in build
Message-ID:  <202102141241.11ECfKr5034985@beefy12.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: tobik@FreeBSD.org
Ident:          $FreeBSD: head/games/barony/Makefile 528750 2020-03-19 23:02:30Z tobik $
Log URL:        http://beefy12.nyi.freebsd.org/data/main-armv7-default/p564167_s2f8a84463/logs/barony-3.3.0.log
Build URL:      http://beefy12.nyi.freebsd.org/build.html?mastername=main-armv7-default&build=p564167_s2f8a84463
Log:

=>> Building games/barony
build started at Sun Feb 14 12:40:01 UTC 2021
port directory: /usr/ports/games/barony
package name: barony-3.3.0
building for: FreeBSD main-armv7-default-job-09 14.0-CURRENT FreeBSD 14.0-CURRENT 1400003 arm
maintained by: devnexen@gmail.com
Makefile ident:      $FreeBSD: head/games/barony/Makefile 528750 2020-03-19 23:02:30Z tobik $
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1300134
Jail OSVERSION: 1400003
Job Id: 09




!!! Jail is newer than host. (Jail: 1400003, Host: 1300134) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
UNAME_p=armv7
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
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
QEMU_EMULATING=1
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-8-gaf08dbda
MASTERMNT=/usr/local/poudriere/data/.m/main-armv7-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-armv7-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-armv7-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--
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 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 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 -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=14.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 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: armv7-unknown-freebsd14.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 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=armv7
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
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++
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.3.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.2.txz
[main-armv7-default-job-09] Installing pkg-1.16.2...
[main-armv7-default-job-09] Extracting pkg-1.16.2: .......... done
===>   barony-3.3.0 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of barony-3.3.0
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by barony-3.3.0 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by barony-3.3.0 for building
<snip>
===>   barony-3.3.0 depends on shared library: libSDL2_ttf.so - not found
===>   Installing existing package /packages/All/sdl2_ttf-2.0.15.txz
[main-armv7-default-job-09] Installing sdl2_ttf-2.0.15...
[main-armv7-default-job-09] `-- Installing freetype2-2.10.4...
[main-armv7-default-job-09] `-- Extracting freetype2-2.10.4: .......... done
[main-armv7-default-job-09] Extracting sdl2_ttf-2.0.15: .......... done
=====
Message from freetype2-2.10.4:

--
The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as
the default, emulating a modern version of ClearType. This change inevitably
leads to different rendering results, and you might change port's options to
adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment
variable).

The environment variable "FREETYPE_PROPERTIES" can be used to control the
driver properties. Example:

FREETYPE_PROPERTIES=truetype:interpreter-version=35 \
	cff:no-stem-darkening=1 \
	autofitter:warping=1

This allows to select, say, the subpixel hinting mode at runtime for a given
application.

If LONG_PCF_NAMES port's option was enabled, the PCF family names may include
the foundry and information whether they contain wide characters. For example,
"Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at
run time with using pcf:no-long-family-names property, if needed. Example:

FREETYPE_PROPERTIES=pcf:no-long-family-names=1

How to recreate fontconfig cache with using such environment variable,
if needed:
# env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv

The controllable properties are listed in the section "Controlling FreeType
Modules" in the reference's table of contents
(/usr/local/share/doc/freetype2/reference/site/index.html, if documentation was installed).
===>   barony-3.3.0 depends on shared library: libSDL2_ttf.so - found (/usr/local/lib/libSDL2_ttf.so)
===>   Returning to build of barony-3.3.0
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for barony-3.3.0
===>  Performing in-source build
/bin/mkdir -p /wrkdirs/usr/ports/games/barony/work/Barony-3.3.0
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is Clang 11.0.1
-- The CXX compiler identification is Clang 11.0.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /nxb-bin/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /nxb-bin/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
------------------------
Building without steamworks
------------------------
-- Found OpenGL: /usr/local/lib/libGL.so   
-- Found PkgConfig: pkgconf (found version "1.7.3") 
-- Checking for one of the modules 'sdl2'
-- Checking for one of the modules 'SDL2_image>=2.0.0'
-- Checking for one of the modules 'SDL2_net'
-- Checking for one of the modules 'SDL2_ttf'
-- Found SDL2_net: /usr/local/include/SDL2 (found version "2.0.1") 
-- Found SDL2_ttf: /usr/local/lib/libSDL2_ttf.so (found version "2.0.15") 
-- Found PhysFS: /usr/local/lib/libphysfs.so  
-- Found OpenAL: /usr/local/lib/libopenal.so  
-- Looking for vorbis_bitrate_addblock in vorbis
-- Looking for vorbis_bitrate_addblock in vorbis - not found
-- Found OggVorbis: /usr/local/lib/libogg.so;/usr/local/lib/libvorbis.so;/usr/local/lib/libvorbisfile.so;/usr/local/lib/libvorbisenc.so
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
CMake Warning (dev) at cmake/Modules/FindThreads.cmake:52 (IF):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "THREADS_HAVE_PTHREAD_ARG" will no longer be
  dereferenced when the policy is set to NEW.  Since the policy is not set
  the OLD behavior will be used.
Call Stack (most recent call first):
  CMakeLists.txt:177 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:426 (message):
  The package name passed to `find_package_handle_standard_args` (ZLIB) does
  not match the name of the calling package (PNG).  This can lead to problems
  in calling code that expects `find_package` result variables (e.g.,
  `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  /usr/local/share/cmake/Modules/FindZLIB.cmake:115 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  cmake/Modules/FindPNG.cmake:12 (INCLUDE)
  CMakeLists.txt:188 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found ZLIB: /usr/lib/libz.so (found version "1.2.11") 
-- Found PNG: /usr/local/lib/libpng.so  
***************************
Debug flags: 
-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -pg -ffast-math -funroll-loops -fstrict-aliasing -malign-double -rdynamic -Wl,-rpath=$ORIGIN
-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -Wall -pg -std=c++11 -rdynamic -Wl,-rpath=$ORIGIN
Release flags: 
-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -ffast-math -funroll-loops -fstrict-aliasing -malign-double -Wl,-rpath=$ORIGIN -Wno-write-strings
-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -std=c++11 -Wl,-rpath=$ORIGIN -Wno-write-strings
***************************
-- Base data directory /usr/local/share/barony
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_COLOR_MAKEFILE
    CMAKE_VERBOSE_MAKEFILE


-- Build files have been written to: /wrkdirs/usr/ports/games/barony/work/Barony-3.3.0
===========================================================================
=======================<phase: build          >============================
===>  Building for barony-3.3.0
[1/140] /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/monster_goatman.cpp.o -MF CMakeFiles/barony.dir/src/monster_goatman.cpp.o.d -o CMakeFiles/barony.dir/src/monster_goatman.cpp.o -c src/monster_goatman.cpp
c++: warning: -Wl,-rpath=: 'linker' input unused [-Wunused-command-line-argument]
[2/140] /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/monster_incubus.cpp.o -MF CMakeFiles/barony.dir/src/monster_incubus.cpp.o.d -o CMakeFiles/barony.dir/src/monster_incubus.cpp.o -c src/monster_incubus.cpp
c++: warning: -Wl,-rpath=: 'linker' input unused [-Wunused-command-line-argument]
In file included from src/monster_incubus.cpp:22:
src/magic/magic.hpp:405:1: warning: typedef requires a name [-Wmissing-declarations]
typedef struct spell_t
^~~~~~~
1 warning generated.
[3/140] /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/monster_insectoid.cpp.o -MF CMakeFiles/barony.dir/src/monster_insectoid.cpp.o.d -o CMakeFiles/barony.dir/src/monster_insectoid.cpp.o -c src/monster_insectoid.cpp
c++: warning: -Wl,-rpath=: 'linker' input unused [-Wunused-command-line-argument]
In file included from src/monster_insectoid.cpp:22:
src/magic/magic.hpp:405:1: warning: typedef requires a name [-Wmissing-declarations]
typedef struct spell_t
^~~~~~~
1 warning generated.
[4/140] /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/monster_kobold.cpp.o -MF CMakeFiles/barony.dir/src/monster_kobold.cpp.o.d -o CMakeFiles/barony.dir/src/monster_kobold.cpp.o -c src/monster_kobold.cpp
c++: warning: -Wl,-rpath=: 'linker' input unused [-Wunused-command-line-argument]
In file included from src/monster_kobold.cpp:23:
src/magic/magic.hpp:405:1: warning: typedef requires a name [-Wmissing-declarations]
typedef struct spell_t
^~~~~~~
1 warning generated.
[5/140] /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/monster_lichfire.cpp.o -MF CMakeFiles/barony.dir/src/monster_lichfire.cpp.o.d -o CMakeFiles/barony.dir/src/monster_lichfire.cpp.o -c src/monster_lichfire.cpp
FAILED: CMakeFiles/barony.dir/src/monster_lichfire.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/monster_lichfire.cpp.o -MF CMakeFiles/barony.dir/src/monster_lichfire.cpp.o.d -o CMakeFiles/barony.dir/src/monster_lichfire.cpp.o -c src/monster_lichfire.cpp
c++: warning: -Wl,-rpath=: 'linker' input unused [-Wunused-command-line-argument]
In file included from src/monster_lichfire.cpp:22:
src/magic/magic.hpp:405:1: warning: typedef requires a name [-Wmissing-declarations]
typedef struct spell_t
^~~~~~~
src/monster_lichfire.cpp:759:31: error: no matching function for call to 'min'
                                                                                real_t targetDist = std::min(entityDist(my, target), 32.0);
                                                                                                    ^~~~~~~~
/usr/include/c++/v1/algorithm:2560: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:2571: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:2580:1: note: candidate function template not viable: requires single argument '__t', but 2 arguments were provided
min(initializer_list<_Tp> __t)
^
/usr/include/c++/v1/algorithm:2551:1: note: candidate function template not viable: requires 3 arguments, but 2 were provided
min(const _Tp& __a, const _Tp& __b, _Compare __comp)
^
src/monster_lichfire.cpp:762:56: error: no matching function for call to 'max'
                                                                                        my->castFallingMagicMissile(SPELL_FIREBALL, std::max(targetDist - 8 + rand() % 8, 4.0), dir + i * PI / 4, 0);
                                                                                                                                    ^~~~~~~~
/usr/include/c++/v1/algorithm:2633: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:2644: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:2653:1: note: candidate function template not viable: requires single argument '__t', but 2 arguments were provided
max(initializer_list<_Tp> __t)
^
/usr/include/c++/v1/algorithm:2624:1: note: candidate function template not viable: requires 3 arguments, but 2 were provided
max(const _Tp& __a, const _Tp& __b, _Compare __comp)
^
1 warning and 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?202102141241.11ECfKr5034985>