Date: Fri, 14 Feb 2020 05:42:48 GMT From: pkg-fallout@FreeBSD.org To: pkg-fallout@FreeBSD.org Subject: [package - head-armv6-default][games/barony] Failed for barony-3.3.0 in build Message-ID: <202002140542.01E5gmnY035004@beefy8.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 522644 2020-01-11 10:11:50Z tobik $ Log URL: http://beefy8.nyi.freebsd.org/data/head-armv6-default/p526001_s357847/logs/barony-3.3.0.log Build URL: http://beefy8.nyi.freebsd.org/build.html?mastername=head-armv6-default&build=p526001_s357847 Log: =>> Building games/barony build started at Fri Feb 14 05:41:11 UTC 2020 port directory: /usr/ports/games/barony package name: barony-3.3.0 building for: FreeBSD head-armv6-default-job-20 13.0-CURRENT FreeBSD 13.0-CURRENT 1300077 arm maintained by: devnexen@gmail.com Makefile ident: $FreeBSD: head/games/barony/Makefile 522644 2020-01-11 10:11:50Z tobik $ Poudriere version: 3.2.8-5-gc81843e5 Host OSVERSION: 1300076 Jail OSVERSION: 1300077 Job Id: 20 !!! Jail is newer than host. (Jail: 1300077, Host: 1300076) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/csh UNAME_p=armv6 UNAME_m=arm ABI_FILE=/usr/lib/crt1.o OSVERSION=1300077 UNAME_v=FreeBSD 13.0-CURRENT 1300077 UNAME_r=13.0-CURRENT BLOCKSIZE=K 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/head-armv6-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/head-armv6-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=head-armv6-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/head-armv6-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 ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" 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=13.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=armv6 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 9.0.1 (git@github.com:llvm/llvm-project.git c1a0a213378a458fbea1a5c77b315c7dce08fd05) (based on LLVM 9.0.1) Target: armv6-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin _ALTCCVERSION_9d218390=none _CXXINTERNAL_9c45a5b1=FreeBSD clang version 9.0.1 (git@github.com:llvm/llvm-project.git c1a0a213378a458fbea1a5c77b315c7dce08fd05) (based on LLVM 9.0.1) Target: armv6-unknown-freebsd13.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 9.0.1 (git@github.com:llvm/llvm-project.git c1a0a213378a458fbea1a5c77b315c7dce08fd05) (based on LLVM 9.0.1) Target: armv6-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin _OBJC_ALTCCVERSION_9d218390=none ARCH=armv6 OPSYS=FreeBSD _OSRELEASE=13.0-CURRENT OSREL=13.0 OSVERSION=1300077 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++ 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.3.0 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.13.1.txz [head-armv6-default-job-20] Installing pkg-1.13.1... [head-armv6-default-job-20] Extracting pkg-1.13.1: .......... 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 => SHA256 Checksum OK for TurningWheel-Barony-3.3.0_GH0.tar.gz. =========================================================================== <snip> [head-armv6-default-job-20] | `-- Installing jbigkit-2.1_1... [head-armv6-default-job-20] | `-- Extracting jbigkit-2.1_1: .......... done [head-armv6-default-job-20] `-- Extracting tiff-4.1.0: .......... done [head-armv6-default-job-20] `-- Installing webp-1.1.0... [head-armv6-default-job-20] | `-- Installing giflib-5.2.1... [head-armv6-default-job-20] | `-- Extracting giflib-5.2.1: .......... done [head-armv6-default-job-20] `-- Extracting webp-1.1.0: .......... done [head-armv6-default-job-20] Extracting sdl2_image-2.0.5: ......... done ===> barony-3.3.0 depends on shared library: libSDL2_image.so - found (/usr/local/lib/libSDL2_image.so) ===> Returning to build of barony-3.3.0 ===> barony-3.3.0 depends on shared library: libSDL2_net.so - not found ===> Installing existing package /packages/All/sdl2_net-2.0.1.txz [head-armv6-default-job-20] Installing sdl2_net-2.0.1... [head-armv6-default-job-20] Extracting sdl2_net-2.0.1: ......... done ===> barony-3.3.0 depends on shared library: libSDL2_net.so - found (/usr/local/lib/libSDL2_net.so) ===> Returning to build of barony-3.3.0 ===> barony-3.3.0 depends on shared library: libSDL2.so - found (/usr/local/lib/libSDL2.so) ===> barony-3.3.0 depends on shared library: libSDL2_ttf.so - not found ===> Installing existing package /packages/All/sdl2_ttf-2.0.15.txz [head-armv6-default-job-20] Installing sdl2_ttf-2.0.15... [head-armv6-default-job-20] `-- Installing freetype2-2.10.1... [head-armv6-default-job-20] `-- Extracting freetype2-2.10.1: .......... done [head-armv6-default-job-20] Extracting sdl2_ttf-2.0.15: .......... done ===== Message from freetype2-2.10.1: -- 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 -- The C compiler identification is Clang 9.0.1 -- The CXX compiler identification is Clang 9.0.1 -- Check for working C compiler: /nxb-bin/usr/bin/cc -- Check for working C compiler: /nxb-bin/usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /nxb-bin/usr/bin/c++ -- Check for working CXX compiler: /nxb-bin/usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- 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.6.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. -- 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:2532: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:2543: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:2523: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:2552:1: note: candidate function template not viable: requires single argument '__t', but 2 arguments were provided min(initializer_list<_Tp> __t) ^ 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:2605: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:2616: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:2596: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:2625:1: note: candidate function template not viable: requires single argument '__t', but 2 arguments were provided max(initializer_list<_Tp> __t) ^ 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?202002140542.01E5gmnY035004>