From nobody Thu Feb 06 14:58:10 2025 X-Original-To: pkg-fallout@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YpgFv4P8qz5mZP5 for ; Thu, 06 Feb 2025 14:58:11 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YpgFt6XHRz3rvY for ; Thu, 06 Feb 2025 14:58:10 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738853890; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=CxpEeLoD4Kv4mHRfBzk3CDPfQqoZpMY/b1CIT3y91hM=; b=dSBMyb0OpC6EvEA0lPmC+6mCRaSuRhX3ppWRVQvsdj5WIpF7zNVrNtbb0mcIV+L4iSdj1J Jaj9h4uEuyYh4eNlvINKhYWi0BN5MXiCULN9JN2RU2hG+V0H3JJg1Q3v9JKk7Gs62N2xJ5 WUh8T9nsTcKl0BYkvoOOd7yO+Rg97JtxlhUNnRLjR5Zg/WllhXB7glKIPlNxXQe/D72GeX fqV/ZjEzAqf9gmU8+EpOuLUeam1jKsoj5U7Ab1gZOPG6WbFX1Bfo8r9QlpgMDRN0XIZUGo PVZ62r0Rva/ZFcldNz9JNjR/5CCjlaOfpibYaASq71JsEntMovI9zTf1jZT4sw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1738853890; a=rsa-sha256; cv=none; b=eppNxAnHMxJqq/lgUK7OJ0Qei8xmSydBCRUQS4Y8O8FkzVM9FhSaoq1r5vCGZrdgeJNfvW daN6ppTiqdat5CPgOg7ettLLlZRLHWy9+ltwDd4hBRAccTtuNCPZM5x28jcjZ+pcmx3bNM aLmGc5pfMHQ0fPIrgFUhu+LWDt/wvT3s245LPw6Hii/dyxf7w/wY04bjhIJ1EpSu3t40Ae UcX/KG/zQO/KOmZ8UJfqG+WxF8mpGSIk5KAK/ElP/i9Ee2usf6yIjiR9bwl5mUX1YztYIM Cy6KKIb1Zm3ag45CKoU+J/waeqJ3N7r38xHF2KC2i9pxvrHgAhHLXXfxPMpbGw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from beefy18.nyi.freebsd.org (beefy18.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:21]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4YpgFt65Q8zjQJ for ; Thu, 06 Feb 2025 14:58:10 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from root (uid 0) (envelope-from pkg-fallout@FreeBSD.org) id 7664 by beefy18.nyi.freebsd.org (DragonFly Mail Agent v0.13+ on beefy18.nyi.freebsd.org); Thu, 06 Feb 2025 14:58:10 +0000 To: amdmi3@FreeBSD.org Subject: [package - main-amd64-default][games/blackshadeselite] Failed for blackshadeselite-0.0.1_11 in build Cc: pkg-fallout@FreeBSD.org Date: Thu, 06 Feb 2025 14:58:10 +0000 Message-Id: <67a4ce02.7664.31b4a172@beefy18.nyi.freebsd.org> From: List-Id: Fallout logs from package building List-Archive: https://lists.freebsd.org/archives/freebsd-pkg-fallout List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg-fallout@FreeBSD.org 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/p5beddb013d54_s078e8b34b13/logs/blackshadeselite-0.0.1_11.log Build URL: https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p5beddb013d54_s078e8b34b13 Log: =>> Building games/blackshadeselite build started at Thu Feb 6 14:57:41 UTC 2025 port directory: /usr/ports/games/blackshadeselite package name: blackshadeselite-0.0.1_11 building for: FreeBSD main-amd64-default-job-10 15.0-CURRENT FreeBSD 15.0-CURRENT 1500031 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: 5beddb013d5 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: 1500031 Job Id: 10 !!! Jail is newer than host. (Jail: 1500031, Host: 1500028) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500031 UNAME_v=FreeBSD 15.0-CURRENT 1500031 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/10/.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=/usr/local/bin/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-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> License GPLv2+ accepted by the user =========================================================================== =================================================== ===== 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-2.0.5.pkg [main-amd64-default-job-10] Installing pkg-2.0.5... [main-amd64-default-job-10] Extracting pkg-2.0.5: .......... done ===> blackshadeselite-0.0.1_11 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of blackshadeselite-0.0.1_11 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== 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 =========================================================================== =================================================== ===== 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. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== 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. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== 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 =========================================================================== =================================================== ===== 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-10] Installing gmake-4.4.1... [main-amd64-default-job-10] `-- Installing gettext-runtime-0.23.1... [main-amd64-default-job-10] | `-- Installing indexinfo-0.3.1... 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