[package - main-amd64-default][games/blackshadeselite] Failed for blackshadeselite-0.0.1_11 in build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 15 Dec 2024 18:36:59 UTC
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: amdmi3@FreeBSD.org Log URL: https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p388731e72fc2_s1d69498623c/logs/blackshadeselite-0.0.1_11.log Build URL: https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p388731e72fc2_s1d69498623c Log: =>> Building games/blackshadeselite build started at Sun Dec 15 18:36:25 UTC 2024 port directory: /usr/ports/games/blackshadeselite package name: blackshadeselite-0.0.1_11 building for: FreeBSD main-amd64-default-job-06 15.0-CURRENT FreeBSD 15.0-CURRENT 1500029 amd64 maintained by: amdmi3@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1189 Sep 13 2022 /usr/ports/games/blackshadeselite/Makefile Ports top last git commit: 388731e72fc Ports top unclean checkout: no Port dir last git commit: 83a2997e88f Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500028 Jail OSVERSION: 1500029 Job Id: 06 !!! Jail is newer than host. (Jail: 1500029, Host: 1500028) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500029 UNAME_v=FreeBSD 15.0-CURRENT 1500029 UNAME_r=15.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 MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/main-amd64-default/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/main-amd64-default/06/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=main-amd64-default SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for blackshadeselite-0.0.1_11: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- amdmi3@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/blackshadeselite/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/blackshadeselite/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/blackshadeselite/work/.cache HOME=/wrkdirs/usr/ports/games/blackshadeselite/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/blackshadeselite/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/blackshadeselite/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/blackshadeselite/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/blackshadeselite/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/blackshadeselite/work/.cache HOME=/wrkdirs/usr/ports/games/blackshadeselite/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/blackshadeselite/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/blackshadeselite/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++98 " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="insta ll -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-- PORTDOCS="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/blackshadeselite" EXAMPLESDIR="share/examples/blackshadeselite" DATADIR="share/blackshadeselite" WWWDIR="www/blackshadeselite" ETCDIR="etc/blackshadeselite" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/blackshadeselite DOCSDIR=/usr/local/share/doc/blackshadeselite EXAMPLESDIR=/usr/local/share/examples/blackshadeselite WWWDIR=/usr/local/www/blackshadeselite ETCDIR=/usr/local/etc/blackshadeselite --End SUB_LIST-- ---Begin 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 3 jobs MAKE_JOBS_NUMBER=3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### # 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 3 jobs MAKE_JOBS_NUMBER=3 #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 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 pipebuf (-y) unlimited --End resource limits-- =======================<phase: check-sanity >============================ ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> License GPLv2+ accepted by the user =========================================================================== =======================<phase: pkg-depends >============================ ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> blackshadeselite-0.0.1_11 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.21.3.pkg [main-amd64-default-job-06] Installing pkg-1.21.3... [main-amd64-default-job-06] Extracting pkg-1.21.3: .......... done ===> blackshadeselite-0.0.1_11 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of blackshadeselite-0.0.1_11 =========================================================================== =======================<phase: fetch-depends >============================ ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =======================<phase: fetch >============================ ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by blackshadeselite-0.0.1_11 for building =========================================================================== =======================<phase: checksum >============================ ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by blackshadeselite-0.0.1_11 for building => SHA256 Checksum OK for blackshadeselite-0.0.1.tar.bz2. =========================================================================== =======================<phase: extract-depends>============================ ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =======================<phase: extract >============================ ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by blackshadeselite-0.0.1_11 for building ===> Extracting for blackshadeselite-0.0.1_11 => SHA256 Checksum OK for blackshadeselite-0.0.1.tar.bz2. =========================================================================== =======================<phase: patch-depends >============================ ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =======================<phase: patch >============================ ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for blackshadeselite-0.0.1_11 ===> Applying FreeBSD patches for blackshadeselite-0.0.1_11 from /usr/ports/games/blackshadeselite/files =========================================================================== =======================<phase: build-depends >============================ ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> blackshadeselite-0.0.1_11 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [main-amd64-default-job-06] Installing gmake-4.4.1... [main-amd64-default-job-06] `-- Installing gettext-runtime-0.22.5... [main-amd64-default-job-06] | `-- Installing indexinfo-0.3.1... <snip> Source/GameTick.cpp:1550:24: note: add parentheses around left hand side expression to silence this warning 1550 | if(!hitstruct.joint1->modelnum == headmodel) { | ^ | ( ) Source/GameTick.cpp:1629:24: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] 1629 | if(!hitstruct.joint1->modelnum == headmodel) { | ^ ~~ Source/GameTick.cpp:1629:24: note: add parentheses after the '!' to evaluate the comparison first 1629 | if(!hitstruct.joint1->modelnum == headmodel) { | ^ | ( ) Source/GameTick.cpp:1629:24: note: add parentheses around left hand side expression to silence this warning 1629 | if(!hitstruct.joint1->modelnum == headmodel) { | ^ | ( ) Source/GameTick.cpp:1755:22: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] 1755 | if(!dot_ta <= 0 && !dot_tb <= 0) { | ^ ~~ Source/GameTick.cpp:1755:22: note: add parentheses after the '!' to evaluate the comparison first 1755 | if(!dot_ta <= 0 && !dot_tb <= 0) { | ^ | ( ) Source/GameTick.cpp:1755:22: note: add parentheses around left hand side expression to silence this warning 1755 | if(!dot_ta <= 0 && !dot_tb <= 0) { | ^ | ( ) Source/GameTick.cpp:1755:38: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] 1755 | if(!dot_ta <= 0 && !dot_tb <= 0) { | ^ ~~ Source/GameTick.cpp:1755:38: note: add parentheses after the '!' to evaluate the comparison first 1755 | if(!dot_ta <= 0 && !dot_tb <= 0) { | ^ | ( ) Source/GameTick.cpp:1755:38: note: add parentheses around left hand side expression to silence this warning 1755 | if(!dot_ta <= 0 && !dot_tb <= 0) { | ^ | ( ) Source/GameTick.cpp:1769:40: warning: result of comparison of constant 2 with expression of type 'bool' is always false [-Wtautological-constant-out-of-range-compare] 1769 | && (thirdperson == 2 || j != 0)) { | ~~~~~~~~~~~ ^ ~ Source/GameTick.cpp:2825:35: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 2825 | if((closesttarget == person[i].pathnum)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ Source/GameTick.cpp:2825:35: note: remove extraneous parentheses around the comparison to silence this warning 2825 | if((closesttarget == person[i].pathnum)) { | ~ ^ ~ Source/GameTick.cpp:2825:35: note: use '=' to turn this equality comparison into an assignment 2825 | if((closesttarget == person[i].pathnum)) { | ^~ | = 6 warnings generated. c++ -c -o objs/Globals.o Source/Globals.cpp -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++98 -Wall `/usr/local/bin/sdl-config --cflags` -I./Source -I./Source/Net -include Source/Support.h c++ -c -o objs/Image.o Source/Image.cpp -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++98 -Wall `/usr/local/bin/sdl-config --cflags` -I./Source -I./Source/Net -include Source/Support.h c++ -c -o objs/Label.o Source/Label.cpp -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++98 -Wall `/usr/local/bin/sdl-config --cflags` -I./Source -I./Source/Net -include Source/Support.h c++ -c -o objs/MacInput.o Source/MacInput.cpp -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++98 -Wall `/usr/local/bin/sdl-config --cflags` -I./Source -I./Source/Net -include Source/Support.h c++ -c -o objs/Main.o Source/Main.cpp -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++98 -Wall `/usr/local/bin/sdl-config --cflags` -I./Source -I./Source/Net -include Source/Support.h c++ -c -o objs/Maths.o Source/Maths.cpp -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++98 -Wall `/usr/local/bin/sdl-config --cflags` -I./Source -I./Source/Net -include Source/Support.h c++ -c -o objs/Models.o Source/Models.cpp -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++98 -Wall `/usr/local/bin/sdl-config --cflags` -I./Source -I./Source/Net -include Source/Support.h Source/Models.cpp:103:8: warning: variable 'err' set but not used [-Wunused-but-set-variable] 103 | long err; | ^ 1 warning generated. c++ -c -o objs/Person.o Source/Person.cpp -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++98 -Wall `/usr/local/bin/sdl-config --cflags` -I./Source -I./Source/Net -include Source/Support.h c++ -c -o objs/Quaternions.o Source/Quaternions.cpp -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++98 -Wall `/usr/local/bin/sdl-config --cflags` -I./Source -I./Source/Net -include Source/Support.h Source/Quaternions.cpp:371:3: error: reference to 'max' is ambiguous 371 | max = MAX(MAX(ABS(normalv[0]), ABS(normalv[1])), ABS(normalv[2])); | ^ Source/Quaternions.cpp:333:14: note: candidate found by name lookup is 'max' 333 | extern float max; | ^ /usr/include/c++/v1/__algorithm/max.h:35:1: note: candidate found by name lookup is 'std::max' 35 | max(_LIBCPP_LIFETIMEBOUND const _Tp& __a, _LIBCPP_LIFETIMEBOUND const _Tp& __b) { | ^ /usr/include/c++/v1/__algorithm/max.h:29:1: note: candidate found by name lookup is 'std::max' 29 | max(_LIBCPP_LIFETIMEBOUND const _Tp& __a, _LIBCPP_LIFETIMEBOUND const _Tp& __b, _Compare __comp) { | ^ Source/Quaternions.cpp:373:6: error: reference to 'max' is ambiguous 373 | if(max == ABS(normalv[0])) { | ^ Source/Quaternions.cpp:333:14: note: candidate found by name lookup is 'max' 333 | extern float max; | ^ /usr/include/c++/v1/__algorithm/max.h:35:1: note: candidate found by name lookup is 'std::max' 35 | max(_LIBCPP_LIFETIMEBOUND const _Tp& __a, _LIBCPP_LIFETIMEBOUND const _Tp& __b) { | ^ /usr/include/c++/v1/__algorithm/max.h:29:1: note: candidate found by name lookup is 'std::max' 29 | max(_LIBCPP_LIFETIMEBOUND const _Tp& __a, _LIBCPP_LIFETIMEBOUND const _Tp& __b, _Compare __comp) { | ^ Source/Quaternions.cpp:373:6: error: unknown type name 'max' 373 | if(max == ABS(normalv[0])) { | ^ Source/Quaternions.cpp:373:10: error: expected unqualified-id 373 | if(max == ABS(normalv[0])) { | ^ Source/Quaternions.cpp:377:6: error: reference to 'max' is ambiguous 377 | if(max == ABS(normalv[1])) { | ^ Source/Quaternions.cpp:333:14: note: candidate found by name lookup is 'max' 333 | extern float max; | ^ /usr/include/c++/v1/__algorithm/max.h:35:1: note: candidate found by name lookup is 'std::max' 35 | max(_LIBCPP_LIFETIMEBOUND const _Tp& __a, _LIBCPP_LIFETIMEBOUND const _Tp& __b) { | ^ /usr/include/c++/v1/__algorithm/max.h:29:1: note: candidate found by name lookup is 'std::max' 29 | max(_LIBCPP_LIFETIMEBOUND const _Tp& __a, _LIBCPP_LIFETIMEBOUND const _Tp& __b, _Compare __comp) { | ^ Source/Quaternions.cpp:377:6: error: unknown type name 'max' 377 | if(max == ABS(normalv[1])) { | ^ Source/Quaternions.cpp:377:10: error: expected unqualified-id 377 | if(max == ABS(normalv[1])) { | ^ Source/Quaternions.cpp:381:6: error: reference to 'max' is ambiguous 381 | if(max == ABS(normalv[2])) { | ^ Source/Quaternions.cpp:333:14: note: candidate found by name lookup is 'max' 333 | extern float max; | ^ /usr/include/c++/v1/__algorithm/max.h:35:1: note: candidate found by name lookup is 'std::max' 35 | max(_LIBCPP_LIFETIMEBOUND const _Tp& __a, _LIBCPP_LIFETIMEBOUND const _Tp& __b) { | ^ /usr/include/c++/v1/__algorithm/max.h:29:1: note: candidate found by name lookup is 'std::max' 29 | max(_LIBCPP_LIFETIMEBOUND const _Tp& __a, _LIBCPP_LIFETIMEBOUND const _Tp& __b, _Compare __comp) { | ^ Source/Quaternions.cpp:381:6: error: unknown type name 'max' 381 | if(max == ABS(normalv[2])) { | ^ Source/Quaternions.cpp:381:10: error: expected unqualified-id 381 | if(max == ABS(normalv[2])) { | ^ Source/Quaternions.cpp:474:3: error: reference to 'max' is ambiguous 474 | max = MAX(MAX(ABS(normalv[0]), ABS(normalv[1])), ABS(normalv[2])); | ^ Source/Quaternions.cpp:333:14: note: candidate found by name lookup is 'max' 333 | extern float max; | ^ /usr/include/c++/v1/__algorithm/max.h:35:1: note: candidate found by name lookup is 'std::max' 35 | max(_LIBCPP_LIFETIMEBOUND const _Tp& __a, _LIBCPP_LIFETIMEBOUND const _Tp& __b) { | ^ /usr/include/c++/v1/__algorithm/max.h:29:1: note: candidate found by name lookup is 'std::max' 29 | max(_LIBCPP_LIFETIMEBOUND const _Tp& __a, _LIBCPP_LIFETIMEBOUND const _Tp& __b, _Compare __comp) { | ^ Source/Quaternions.cpp:476:6: error: reference to 'max' is ambiguous 476 | if(max == ABS(normalv[0])) { | ^ Source/Quaternions.cpp:333:14: note: candidate found by name lookup is 'max' 333 | extern float max; | ^ /usr/include/c++/v1/__algorithm/max.h:35:1: note: candidate found by name lookup is 'std::max' 35 | max(_LIBCPP_LIFETIMEBOUND const _Tp& __a, _LIBCPP_LIFETIMEBOUND const _Tp& __b) { | ^ /usr/include/c++/v1/__algorithm/max.h:29:1: note: candidate found by name lookup is 'std::max' 29 | max(_LIBCPP_LIFETIMEBOUND const _Tp& __a, _LIBCPP_LIFETIMEBOUND const _Tp& __b, _Compare __comp) { | ^ Source/Quaternions.cpp:476:6: error: unknown type name 'max' 476 | if(max == ABS(normalv[0])) { | ^ Source/Quaternions.cpp:476:10: error: expected unqualified-id 476 | if(max == ABS(normalv[0])) { | ^ Source/Quaternions.cpp:480:6: error: reference to 'max' is ambiguous 480 | if(max == ABS(normalv[1])) { | ^ Source/Quaternions.cpp:333:14: note: candidate found by name lookup is 'max' 333 | extern float max; | ^ /usr/include/c++/v1/__algorithm/max.h:35:1: note: candidate found by name lookup is 'std::max' 35 | max(_LIBCPP_LIFETIMEBOUND const _Tp& __a, _LIBCPP_LIFETIMEBOUND const _Tp& __b) { | ^ /usr/include/c++/v1/__algorithm/max.h:29:1: note: candidate found by name lookup is 'std::max' 29 | max(_LIBCPP_LIFETIMEBOUND const _Tp& __a, _LIBCPP_LIFETIMEBOUND const _Tp& __b, _Compare __comp) { | ^ Source/Quaternions.cpp:480:6: error: unknown type name 'max' 480 | if(max == ABS(normalv[1])) { | ^ Source/Quaternions.cpp:480:10: error: expected unqualified-id 480 | if(max == ABS(normalv[1])) { | ^ Source/Quaternions.cpp:484:6: error: reference to 'max' is ambiguous 484 | if(max == ABS(normalv[2])) { | ^ Source/Quaternions.cpp:333:14: note: candidate found by name lookup is 'max' 333 | extern float max; | ^ /usr/include/c++/v1/__algorithm/max.h:35:1: note: candidate found by name lookup is 'std::max' 35 | max(_LIBCPP_LIFETIMEBOUND const _Tp& __a, _LIBCPP_LIFETIMEBOUND const _Tp& __b) { | ^ /usr/include/c++/v1/__algorithm/max.h:29:1: note: candidate found by name lookup is 'std::max' 29 | max(_LIBCPP_LIFETIMEBOUND const _Tp& __a, _LIBCPP_LIFETIMEBOUND const _Tp& __b, _Compare __comp) { | ^ Source/Quaternions.cpp:484:6: error: unknown type name 'max' 484 | if(max == ABS(normalv[2])) { | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. gmake: *** [Makefile:71: objs/Quaternions.o] Error 1 *** Error code 1 Stop. make: stopped making "build" in /usr/ports/games/blackshadeselite