Date: Sun, 18 Oct 2020 21:14:12 GMT From: pkg-fallout@FreeBSD.org To: pkg-fallout@FreeBSD.org Subject: [package - head-armv6-default][games/criticalmass] Failed for criticalmass-1.5.0_2, 1 in build Message-ID: <202010182114.09ILECup025244@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: ports@FreeBSD.org Last committer: zeising@FreeBSD.org Ident: $FreeBSD: head/games/criticalmass/Makefile 516845 2019-11-05 22:16:14Z zeising $ Log URL: http://beefy8.nyi.freebsd.org/data/head-armv6-default/p552535_s366779/logs/criticalmass-1.5.0_2,1.log Build URL: http://beefy8.nyi.freebsd.org/build.html?mastername=head-armv6-default&build=p552535_s366779 Log: =>> Building games/criticalmass build started at Sun Oct 18 21:12:50 UTC 2020 port directory: /usr/ports/games/criticalmass package name: criticalmass-1.5.0_2,1 building for: FreeBSD head-armv6-default-job-01 13.0-CURRENT FreeBSD 13.0-CURRENT 1300121 arm maintained by: ports@FreeBSD.org Makefile ident: $FreeBSD: head/games/criticalmass/Makefile 516845 2019-11-05 22:16:14Z zeising $ Poudriere version: 3.2.8-5-gc81843e5 Host OSVERSION: 1300100 Jail OSVERSION: 1300121 Job Id: 01 !!! Jail is newer than host. (Jail: 1300121, Host: 1300100) !!! !!! 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=1300121 UNAME_v=FreeBSD 13.0-CURRENT 1300121 UNAME_r=13.0-CURRENT 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/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-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --disable-optimize --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/criticalmass/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/criticalmass/work HOME=/wrkdirs/usr/ports/games/criticalmass/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/criticalmass/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/criticalmass/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/criticalmass/work HOME=/wrkdirs/usr/ports/games/criticalmass/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/criticalmass/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 PREFIX=/usr/local LOCALBASE=/usr/local CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu++98 " 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-- OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/criticalmass" EXAMPLESDIR="share/examples/criticalmass" DATADIR="share/criticalmass" WWWDIR="www/criticalmass" ETCDIR="etc/criticalmass" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/criticalmass DOCSDIR=/usr/local/share/doc/criticalmass EXAMPLESDIR=/usr/local/share/examples/criticalmass WWWDIR=/usr/local/www/criticalmass ETCDIR=/usr/local/etc/criticalmass --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 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-0-g176249bd673) Target: armv6-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin _ALTCCVERSION_9d218390=none _CXXINTERNAL_9c45a5b1=FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-0-g176249bd673) 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 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-0-g176249bd673) 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=1300121 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 >============================ ===> NOTICE: The criticalmass port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License GPLv2+ accepted by the user =========================================================================== =======================<phase: pkg-depends >============================ ===> criticalmass-1.5.0_2,1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.15.10.txz [head-armv6-default-job-01] Installing pkg-1.15.10... [head-armv6-default-job-01] Extracting pkg-1.15.10: .......... done ===> criticalmass-1.5.0_2,1 depends on file: /usr/local/sbin/pkg - found <snip> checking host system type... armv6-portbld-freebsd13.0 checking target system type... armv6-portbld-freebsd13.0 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking for gcc... /nxb-bin/usr/bin/cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /nxb-bin/usr/bin/cc accepts -g... yes checking for /nxb-bin/usr/bin/cc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of /nxb-bin/usr/bin/cc... none checking whether we are using the GNU C++ compiler... yes checking whether /nxb-bin/usr/bin/c++ accepts -g... yes checking dependency style of /nxb-bin/usr/bin/c++... none checking for ranlib... ranlib checking for an ANSI C-conforming const... yes checking for main in -lSDL... yes checking for main in -lSDL_image... yes checking for main in -lSDL_mixer... yes checking for main in -ltinyxml... yes checking for main in -lpng... yes checking for main in -lz... yes checking for glBegin in -lGL... yes checking for sin in -lm... yes configure: creating ./config.status config.status: creating Makefile config.status: creating utils/Makefile config.status: creating utilssdl/Makefile config.status: creating utilsgl/Makefile config.status: creating game/Makefile config.status: creating tools/Makefile config.status: creating defines.h config.status: executing depfiles commands Configuration: Version: 1.5 Source code location: . Install path: /usr/local Compiler: /nxb-bin/usr/bin/cc /nxb-bin/usr/bin/c++ C++ flags: -std=c++0x -DGAME_HAS_HERO_PARTICLE -W -Wall -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE host: armv6-portbld-freebsd13.0 target: armv6-portbld-freebsd13.0 =========================================================================== =======================<phase: build >============================ ===> Building for criticalmass-1.5.0_2,1 /nxb-bin/usr/bin/make all-recursive Making all in utils /nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -DDATA_DIR=\"/usr/local/share/Critical_Mass/\" -I. -I.. -std=c++0x -DGAME_HAS_HERO_PARTICLE -W -Wall -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o Config.o Config.cpp Config.cpp:160:23: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] else if( (argv[i][0] == '-')) ~~~~~~~~~~~^~~~~~ Config.cpp:160:23: note: remove extraneous parentheses around the comparison to silence this warning else if( (argv[i][0] == '-')) ~ ^ ~ Config.cpp:160:23: note: use '=' to turn this equality comparison into an assignment else if( (argv[i][0] == '-')) ^~ = 1 warning generated. /nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -DDATA_DIR=\"/usr/local/share/Critical_Mass/\" -I. -I.. -std=c++0x -DGAME_HAS_HERO_PARTICLE -W -Wall -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o GetDataPath.o GetDataPath.cpp GetDataPath.cpp:176:52: warning: unused parameter 'subDir' [-Wunused-parameter] std::string getWritableDataPath( const std::string subDir) ^ 1 warning generated. /nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -DDATA_DIR=\"/usr/local/share/Critical_Mass/\" -I. -I.. -std=c++0x -DGAME_HAS_HERO_PARTICLE -W -Wall -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o Endian.o Endian.cpp /nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -DDATA_DIR=\"/usr/local/share/Critical_Mass/\" -I. -I.. -std=c++0x -DGAME_HAS_HERO_PARTICLE -W -Wall -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o FPS.o FPS.cpp /nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -DDATA_DIR=\"/usr/local/share/Critical_Mass/\" -I. -I.. -std=c++0x -DGAME_HAS_HERO_PARTICLE -W -Wall -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o RectanglePacker.o RectanglePacker.cpp /nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -DDATA_DIR=\"/usr/local/share/Critical_Mass/\" -I. -I.. -std=c++0x -DGAME_HAS_HERO_PARTICLE -W -Wall -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o Random.o Random.cpp /nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -DDATA_DIR=\"/usr/local/share/Critical_Mass/\" -I. -I.. -std=c++0x -DGAME_HAS_HERO_PARTICLE -W -Wall -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o R250.o R250.cpp /nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -DDATA_DIR=\"/usr/local/share/Critical_Mass/\" -I. -I.. -std=c++0x -DGAME_HAS_HERO_PARTICLE -W -Wall -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o ResourceManager.o ResourceManager.cpp /nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -DDATA_DIR=\"/usr/local/share/Critical_Mass/\" -I. -I.. -std=c++0x -DGAME_HAS_HERO_PARTICLE -W -Wall -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o Trace.o Trace.cpp /nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -DDATA_DIR=\"/usr/local/share/Critical_Mass/\" -I. -I.. -std=c++0x -DGAME_HAS_HERO_PARTICLE -W -Wall -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o Value.o Value.cpp /nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -DDATA_DIR=\"/usr/local/share/Critical_Mass/\" -I. -I.. -std=c++0x -DGAME_HAS_HERO_PARTICLE -W -Wall -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o WalkDirectory.o WalkDirectory.cpp /nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -DDATA_DIR=\"/usr/local/share/Critical_Mass/\" -I. -I.. -std=c++0x -DGAME_HAS_HERO_PARTICLE -W -Wall -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o zStream.o zStream.cpp /nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -DDATA_DIR=\"/usr/local/share/Critical_Mass/\" -I. -I.. -std=c++0x -DGAME_HAS_HERO_PARTICLE -W -Wall -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o zStreamBufferImplLZMA.o zStreamBufferImplLZMA.cpp /nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -DDATA_DIR=\"/usr/local/share/Critical_Mass/\" -I. -I.. -std=c++0x -DGAME_HAS_HERO_PARTICLE -W -Wall -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o zStreamBufferImplZLib.o zStreamBufferImplZLib.cpp rm -f libutils.a ar cru libutils.a Config.o GetDataPath.o Endian.o FPS.o RectanglePacker.o Random.o R250.o ResourceManager.o Trace.o Value.o WalkDirectory.o zStream.o zStreamBufferImplLZMA.o zStreamBufferImplZLib.o ranlib libutils.a Making all in utilssdl /nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I. -I.. -I../utils -std=c++0x -DGAME_HAS_HERO_PARTICLE -W -Wall -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o Audio.o Audio.cpp /nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I. -I.. -I../utils -std=c++0x -DGAME_HAS_HERO_PARTICLE -W -Wall -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o SampleManager.o SampleManager.cpp /nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I. -I.. -I../utils -std=c++0x -DGAME_HAS_HERO_PARTICLE -W -Wall -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o PNG.o PNG.cpp /nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I. -I.. -I../utils -std=c++0x -DGAME_HAS_HERO_PARTICLE -W -Wall -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o zrwops.o zrwops.cpp rm -f libutilssdl.a ar cru libutilssdl.a Audio.o SampleManager.o PNG.o zrwops.o ranlib libutilssdl.a Making all in utilsgl /nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I. -I.. -I../utils -I../utilssdl -std=c++0x -DGAME_HAS_HERO_PARTICLE -W -Wall -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o Camera.o Camera.cpp /nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I. -I.. -I../utils -I../utilssdl -std=c++0x -DGAME_HAS_HERO_PARTICLE -W -Wall -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o GLBitmapCollection.o GLBitmapCollection.cpp In file included from GLBitmapCollection.cpp:17: In file included from ./GLBitmapCollection.hpp:22: In file included from ../vmmlib/vector.hpp:7: ./vmmlib/exception.hpp:62:16: warning: returning address of local temporary object [-Wreturn-stack-address] return ss.str().c_str(); ^~~~~~~~ 1 warning generated. /nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I. -I.. -I../utils -I../utilssdl -std=c++0x -DGAME_HAS_HERO_PARTICLE -W -Wall -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o GLBitmapFont.o GLBitmapFont.cpp In file included from GLBitmapFont.cpp:15: In file included from ./GLBitmapFont.hpp:17: In file included from ./GLBitmapCollection.hpp:22: In file included from ../vmmlib/vector.hpp:7: ./vmmlib/exception.hpp:62:16: warning: returning address of local temporary object [-Wreturn-stack-address] return ss.str().c_str(); ^~~~~~~~ 1 warning generated. /nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I. -I.. -I../utils -I../utilssdl -std=c++0x -DGAME_HAS_HERO_PARTICLE -W -Wall -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o GLExtension.o GLExtension.cpp /nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I. -I.. -I../utils -I../utilssdl -std=c++0x -DGAME_HAS_HERO_PARTICLE -W -Wall -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o GLMultiTexture.o GLMultiTexture.cpp /nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I. -I.. -I../utils -I../utilssdl -std=c++0x -DGAME_HAS_HERO_PARTICLE -W -Wall -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o GLVertexArrayEXT.o GLVertexArrayEXT.cpp /nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I. -I.. -I../utils -I../utilssdl -std=c++0x -DGAME_HAS_HERO_PARTICLE -W -Wall -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o GLTexture.o GLTexture.cpp /nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I. -I.. -I../utils -I../utilssdl -std=c++0x -DGAME_HAS_HERO_PARTICLE -W -Wall -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o GLTextureCubeMap.o GLTextureCubeMap.cpp /nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I. -I.. -I../utils -I../utilssdl -std=c++0x -DGAME_HAS_HERO_PARTICLE -W -Wall -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c -o GLVertexBufferObject.o GLVertexBufferObject.cpp In file included from GLVertexBufferObject.cpp:15: In file included from ./GLVertexBufferObject.hpp:19: In file included from ../vmmlib/vector.hpp:7: ./vmmlib/exception.hpp:62:16: warning: returning address of local temporary object [-Wreturn-stack-address] return ss.str().c_str(); ^~~~~~~~ In file included from GLVertexBufferObject.cpp:15: ./GLVertexBufferObject.hpp:53:9: error: use of undeclared identifier 'glBindBuffer' glBindBuffer(GL_ARRAY_BUFFER, _vboBuffer); ^ ./GLVertexBufferObject.hpp:54:9: error: use of undeclared identifier 'glBindBuffer' glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, _iboBuffer); ^ ./GLVertexBufferObject.hpp:59:9: error: use of undeclared identifier 'glBindBuffer' glBindBuffer(GL_ARRAY_BUFFER, 0); ^ ./GLVertexBufferObject.hpp:60:9: error: use of undeclared identifier 'glBindBuffer' glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); ^ GLVertexBufferObject.cpp:39:9: error: use of undeclared identifier 'glDeleteBuffers'; did you mean 'glSelectBuffer'? glDeleteBuffers(1, &_vboBuffer); ^~~~~~~~~~~~~~~ glSelectBuffer /usr/local/include/GL/gl.h:1430:23: note: 'glSelectBuffer' declared here GLAPI void GLAPIENTRY glSelectBuffer( GLsizei size, GLuint *buffer ); ^ GLVertexBufferObject.cpp:44:9: error: use of undeclared identifier 'glDeleteBuffers'; did you mean 'glSelectBuffer'? glDeleteBuffers(1, &_iboBuffer); ^~~~~~~~~~~~~~~ glSelectBuffer /usr/local/include/GL/gl.h:1430:23: note: 'glSelectBuffer' declared here GLAPI void GLAPIENTRY glSelectBuffer( GLsizei size, GLuint *buffer ); ^ GLVertexBufferObject.cpp:55:5: error: use of undeclared identifier 'glGenBuffers' glGenBuffers( 1, &_vboBuffer); ^ GLVertexBufferObject.cpp:56:5: error: use of undeclared identifier 'glGenBuffers' glGenBuffers( 1, &_iboBuffer); ^ GLVertexBufferObject.cpp:122:5: error: use of undeclared identifier 'glBufferData' glBufferData(GL_ARRAY_BUFFER, totalVBOSize, vboRawBuffer, GL_STATIC_DRAW); ^ GLVertexBufferObject.cpp:123:5: error: use of undeclared identifier 'glBufferData' glBufferData(GL_ELEMENT_ARRAY_BUFFER, totalIBOSize, iboRawBuffer, GL_STATIC_DRAW); ^ GLVertexBufferObject.cpp:138:54: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] glVertexPointer(3, GL_FLOAT, sizeof(VertexInfo), BUFFER_OFFSET(_vertsOffset)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ GLVertexBufferObject.cpp:19:39: note: expanded from macro 'BUFFER_OFFSET' #define BUFFER_OFFSET(i) ((char*)NULL + (i)) ~~~~~~~~~~~ ^ GLVertexBufferObject.cpp:143:55: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] glNormalPointer(GL_FLOAT, sizeof(VertexInfo), BUFFER_OFFSET(_normsOffset)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ GLVertexBufferObject.cpp:19:39: note: expanded from macro 'BUFFER_OFFSET' #define BUFFER_OFFSET(i) ((char*)NULL + (i)) ~~~~~~~~~~~ ^ GLVertexBufferObject.cpp:148:60: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] glTexCoordPointer(2, GL_FLOAT, sizeof(VertexInfo), BUFFER_OFFSET(_texelsOffset)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ GLVertexBufferObject.cpp:19:39: note: expanded from macro 'BUFFER_OFFSET' #define BUFFER_OFFSET(i) ((char*)NULL + (i)) ~~~~~~~~~~~ ^ GLVertexBufferObject.cpp:153:57: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] glColorPointer(4, GL_FLOAT, sizeof(VertexInfo), BUFFER_OFFSET(_colorsOffset)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ GLVertexBufferObject.cpp:19:39: note: expanded from macro 'BUFFER_OFFSET' #define BUFFER_OFFSET(i) ((char*)NULL + (i)) ~~~~~~~~~~~ ^ 5 warnings and 10 errors generated. *** Error code 1 Stop. make[3]: stopped in /wrkdirs/usr/ports/games/criticalmass/work/CriticalMass-1.5/utilsgl *** Error code 1 *** Error code 1 *** Error code 1 Stop. make: stopped in /usr/ports/games/criticalmass
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010182114.09ILECup025244>