Date: Sat, 15 Aug 2020 16:58:19 GMT From: pkg-fallout@FreeBSD.org To: pkg-fallout@FreeBSD.org Subject: [package - 121armv6-quarterly][games/barony] Failed for barony-3.3.0 in build Message-ID: <202008151658.07FGwJKA044118@beefy15.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: branches/2020Q3/games/barony/Makefile 528750 2020-03-19 23:02:30Z tobik $ Log URL: http://beefy15.nyi.freebsd.org/data/121armv6-quarterly/544884/logs/barony-3.3.0.log Build URL: http://beefy15.nyi.freebsd.org/build.html?mastername=121armv6-quarterly&build=544884 Log: =>> Building games/barony build started at Sat Aug 15 16:57:35 UTC 2020 port directory: /usr/ports/games/barony package name: barony-3.3.0 building for: FreeBSD 121armv6-quarterly-job-02 12.1-RELEASE-p8 FreeBSD 12.1-RELEASE-p8 1201000 arm maintained by: devnexen@gmail.com Makefile ident: $FreeBSD: branches/2020Q3/games/barony/Makefile 528750 2020-03-19 23:02:30Z tobik $ Poudriere version: 3.2.8-5-gc81843e5 Host OSVERSION: 1300089 Jail OSVERSION: 1201000 Job Id: 02 ---Begin Environment--- SHELL=/bin/csh UNAME_p=armv6 UNAME_m=arm ABI_FILE=/usr/lib/crt1.o OSVERSION=1201000 UNAME_v=FreeBSD 12.1-RELEASE-p8 1201000 UNAME_r=12.1-RELEASE-p8 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/121armv6-quarterly/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/121armv6-quarterly/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=121armv6-quarterly SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/121armv6-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 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=12.1 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 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) Target: armv6-unknown-freebsd12.1-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin _ALTCCVERSION_9d218390=none _CXXINTERNAL_9c45a5b1=FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) Target: armv6-unknown-freebsd12.1-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 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) Target: armv6-unknown-freebsd12.1-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin _OBJC_ALTCCVERSION_9d218390=none ARCH=armv6 OPSYS=FreeBSD _OSRELEASE=12.1-RELEASE-p8 OSREL=12.1 OSVERSION=1201000 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.14.6.txz [121armv6-quarterly-job-02] Installing pkg-1.14.6... [121armv6-quarterly-job-02] Extracting pkg-1.14.6: .......... 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. =========================================================================== =======================<phase: extract-depends>============================ =========================================================================== =======================<phase: extract >============================ ===> License GPLv3 accepted by the user ===> Fetching all distfiles required by barony-3.3.0 for building ===> Extracting for barony-3.3.0 => SHA256 Checksum OK for TurningWheel-Barony-3.3.0_GH0.tar.gz. =========================================================================== =======================<phase: patch-depends >============================ <snip> ===> Installing existing package /packages/All/sdl2_net-2.0.1.txz [121armv6-quarterly-job-02] Installing sdl2_net-2.0.1... [121armv6-quarterly-job-02] 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 [121armv6-quarterly-job-02] Installing sdl2_ttf-2.0.15... [121armv6-quarterly-job-02] `-- Installing freetype2-2.10.2... [121armv6-quarterly-job-02] `-- Extracting freetype2-2.10.2: .......... done [121armv6-quarterly-job-02] Extracting sdl2_ttf-2.0.15: .......... done ===== Message from freetype2-2.10.2: -- 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 8.0.1 -- The CXX compiler identification is Clang 8.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.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:272 (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:2462: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:2472: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:2454: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:2480: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:2529: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:2539: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:2521: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:2547: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?202008151658.07FGwJKA044118>