[package - main-i386-default][games/netradiant] Failed for netradiant-20150621_4 in build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 15 Feb 2023 04:44:48 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: danfe@FreeBSD.org Log URL: https://pkg-status.freebsd.org/beefy17/data/main-i386-default/pb4e310378258_s3a3450eda6/logs/netradiant-20150621_4.log Build URL: https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=pb4e310378258_s3a3450eda6 Log: =>> Building games/netradiant build started at Wed Feb 15 04:44:18 UTC 2023 port directory: /usr/ports/games/netradiant package name: netradiant-20150621_4 building for: FreeBSD main-i386-default-job-04 14.0-CURRENT FreeBSD 14.0-CURRENT 1400079 i386 maintained by: danfe@FreeBSD.org Makefile ident: Poudriere version: 3.2.8-23-ga7f8d188 Host OSVERSION: 1400073 Jail OSVERSION: 1400079 Job Id: 04 !!! Jail is newer than host. (Jail: 1400079, Host: 1400073) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/sh UNAME_p=i386 UNAME_m=i386 OSVERSION=1400079 UNAME_v=FreeBSD 14.0-CURRENT 1400079 UNAME_r=14.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 LOCALBASE=/usr/local USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.8-23-ga7f8d188 MASTERMNT=/usr/local/poudriere/data/.m/main-i386-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=main-i386-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/main-i386-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--- ===> The following configuration options are available for netradiant-20150621_4: GAMEPACK=on: Install gamepacks for some popular games ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- danfe@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/games/netradiant/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/netradiant/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/netradiant/work/.cache HOME=/wrkdirs/usr/ports/games/netradiant/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/netradiant/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/netradiant/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 --End CONFIGURE_ENV-- --MAKE_ENV-- BUILD=release DOWNLOAD_GAMEPACKS=no EXE=i386 RADIANT_ABOUTMSG="For FreeBSD 14.0 (i386)" XDG_DATA_HOME=/wrkdirs/usr/ports/games/netradiant/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/netradiant/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/netradiant/work/.cache HOME=/wrkdirs/usr/ports/games/netradiant/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/netradiant/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/netradiant/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 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-isystem /usr/local/include" LDFLAGS=" -fstack-protector-strong -L/usr/local/lib " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-pro tector-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-- ARCH=i386 GAMEPACK="" NO_GAMEPACK="@comment " GTK2_VERSION="2.10.0" GTK3_VERSION="3.0.0" GTK4_VERSION="4.0.0" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/netradiant" EXAMPLESDIR="share/examples/netradiant" DATADIR="share/netradiant" WWWDIR="www/netradiant" ETCDIR="etc/netradiant" --End PLIST_SUB-- --SUB_LIST-- ARCH=i386 GAMEPACK="" NO_GAMEPACK="@comment " PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/netradiant DOCSDIR=/usr/local/share/doc/netradiant EXAMPLESDIR=/usr/local/share/examples/netradiant WWWDIR=/usr/local/www/netradiant ETCDIR=/usr/local/etc/netradiant --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes MACHINE=i386 MACHINE_ARCH=i386 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_921dbbb2=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-m" "elf_i386_fbsd" "-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_921dbbb2_58173849=yes CC_OUTPUT_921dbbb2_9bdba57c=yes CC_OUTPUT_921dbbb2_6a4fe7f5=yes CC_OUTPUT_921dbbb2_6bcac02b=yes CC_OUTPUT_921dbbb2_67d20829=yes CC_OUTPUT_921dbbb2_bfa62e83=yes CC_OUTPUT_921dbbb2_f0b4d593=yes CC_OUTPUT_921dbbb2_308abb44=yes CC_OUTPUT_921dbbb2_f00456e5=yes CC_OUTPUT_921dbbb2_65ad290d=yes CC_OUTPUT_921dbbb2_f2776b26=yes CC_OUTPUT_921dbbb2_53255a77=yes CC_OUTPUT_921dbbb2_911cfe02=yes CC_OUTPUT_921dbbb2_b2657cc3=yes CC_OUTPUT_921dbbb2_380987f7=yes CC_OUTPUT_921dbbb2_160933ec=yes CC_OUTPUT_921dbbb2_fb62803b=yes CC_OUTPUT_921dbbb2_af59ad06=yes CC_OUTPUT_921dbbb2_a15f3fcf=yes _OBJC_CCVERSION_921dbbb2=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=i386 OPSYS=FreeBSD _OSRELEASE=14.0-CURRENT OSREL=14.0 OSVERSION=1400079 PYTHONBASE=/usr/local CONFIGURE_MAX_CMD_LEN=524288 HAVE_PORTS_ENV=1 #### Misc Poudriere #### 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) 524288 stack size (kbytes, -s) 65536 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 GPLv2 accepted by the user =========================================================================== =======================<phase: pkg-depends >============================ ===> netradiant-20150621_4 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.19.1_1.pkg [main-i386-default-job-04] Installing pkg-1.19.1_1... [main-i386-default-job-04] Extracting pkg-1.19.1_1: .......... done ===> netradiant-20150621_4 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of netradiant-20150621_4 =========================================================================== =======================<phase: fetch-depends >============================ =========================================================================== =======================<phase: fetch >============================ ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by netradiant-20150621_4 for building =========================================================================== =======================<phase: checksum >============================ ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by netradiant-20150621_4 for building => SHA256 Checksum OK for netradiant-20150621-src.tar.xz. => SHA256 Checksum OK for q3map2.6. => SHA256 Checksum OK for DarkPlacesPack.zip. => SHA256 Checksum OK for Doom3Pack.zip. => SHA256 Checksum OK for ETPack.zip. => SHA256 Checksum OK for NeverballPack.zip. => SHA256 Checksum OK for NexuizPack.zip. => SHA256 Checksum OK for OpenArenaPack.zip. => SHA256 Checksum OK for OsirionPack.zip. => SHA256 Checksum OK for Quake1Pack.zip. => SHA256 Checksum OK for Quake2Pack.zip. => SHA256 Checksum OK for Quake2WorldPack.zip. => SHA256 Checksum OK for Quake3Pack.zip. => SHA256 Checksum OK for Quake4Pack.zip. <snip> GLIB_DEPRECATED ^ /usr/local/include/glib-2.0/glib/gmacros.h:1242:25: note: expanded from macro 'GLIB_DEPRECATED' #define GLIB_DEPRECATED G_DEPRECATED _GLIB_EXTERN ^ /usr/local/include/glib-2.0/glib/gmacros.h:1201:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ 3 warnings generated. cc tools/quake3/q3data/3dslib.c -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fcommon -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -isystem /usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For FreeBSD 14.0 (i386)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"i386\"" -c -o tools/quake3/q3data/3dslib.o tools/quake3/q3data/3dslib.c:65:34: warning: passing 'unsigned short *' to parameter of type 'short *' converts between pointers to integer types with different sign [-Wpointer-sign] while ( ReadChunkAndLength( fp, &chunkID, &chunkLen ) ) ^~~~~~~~ tools/quake3/q3data/3dslib.c:50:49: note: passing argument to parameter 'chunk' here static int ReadChunkAndLength( FILE *fp, short *chunk, long *len ){ ^ tools/quake3/q3data/3dslib.c:97:34: warning: passing 'unsigned short *' to parameter of type 'short *' converts between pointers to integer types with different sign [-Wpointer-sign] while ( ReadChunkAndLength( fp, &chunkID, &chunkLen ) ) ^~~~~~~~ tools/quake3/q3data/3dslib.c:50:49: note: passing argument to parameter 'chunk' here static int ReadChunkAndLength( FILE *fp, short *chunk, long *len ){ ^ tools/quake3/q3data/3dslib.c:246:34: warning: passing 'unsigned short *' to parameter of type 'short *' converts between pointers to integer types with different sign [-Wpointer-sign] while ( ReadChunkAndLength( fp, &chunkID, &chunkLen ) ) ^~~~~~~~ tools/quake3/q3data/3dslib.c:50:49: note: passing argument to parameter 'chunk' here static int ReadChunkAndLength( FILE *fp, short *chunk, long *len ){ ^ tools/quake3/q3data/3dslib.c:365:34: warning: passing 'unsigned short *' to parameter of type 'short *' converts between pointers to integer types with different sign [-Wpointer-sign] while ( ReadChunkAndLength( fp, &chunkID, &chunkLen ) ) ^~~~~~~~ tools/quake3/q3data/3dslib.c:50:49: note: passing argument to parameter 'chunk' here static int ReadChunkAndLength( FILE *fp, short *chunk, long *len ){ ^ tools/quake3/q3data/3dslib.c:351:6: warning: unused variable 'i' [-Wunused-variable] int i = 0; ^ tools/quake3/q3data/3dslib.c:410:34: warning: passing 'unsigned short *' to parameter of type 'short *' converts between pointers to integer types with different sign [-Wpointer-sign] while ( ReadChunkAndLength( fp, &chunkID, &chunkLen ) ) ^~~~~~~~ tools/quake3/q3data/3dslib.c:50:49: note: passing argument to parameter 'chunk' here static int ReadChunkAndLength( FILE *fp, short *chunk, long *len ){ ^ tools/quake3/q3data/3dslib.c:473:32: warning: passing 'unsigned short *' to parameter of type 'short *' converts between pointers to integer types with different sign [-Wpointer-sign] if ( !ReadChunkAndLength( fp, &chunkID, &chunkLen ) ) { ^~~~~~~~ tools/quake3/q3data/3dslib.c:50:49: note: passing argument to parameter 'chunk' here static int ReadChunkAndLength( FILE *fp, short *chunk, long *len ){ ^ tools/quake3/q3data/3dslib.c:480:34: warning: passing 'unsigned short *' to parameter of type 'short *' converts between pointers to integer types with different sign [-Wpointer-sign] while ( ReadChunkAndLength( fp, &chunkID, &chunkLen ) ) ^~~~~~~~ tools/quake3/q3data/3dslib.c:50:49: note: passing argument to parameter 'chunk' here static int ReadChunkAndLength( FILE *fp, short *chunk, long *len ){ ^ tools/quake3/q3data/3dslib.c:501:13: warning: unused function 'ComputeNormals' [-Wunused-function] static void ComputeNormals( _3DSTriObject_t *pTO, triangle_t *pTris ){ ^ 9 warnings generated. cc tools/quake3/q3data/compress.c -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fcommon -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -isystem /usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For FreeBSD 14.0 (i386)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"i386\"" -c -o tools/quake3/q3data/compress.o cc tools/quake3/q3data/images.c -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fcommon -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -isystem /usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For FreeBSD 14.0 (i386)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"i386\"" -c -o tools/quake3/q3data/images.o tools/quake3/q3data/images.c:384:6: warning: variable 'fullbright' set but not used [-Wunused-but-set-variable] int fullbright; ^ 1 warning generated. cc tools/quake3/q3data/md3lib.c -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fcommon -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -isystem /usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For FreeBSD 14.0 (i386)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"i386\"" -c -o tools/quake3/q3data/md3lib.o tools/quake3/q3data/md3lib.c:104:12: warning: variable 'shortestSide' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] else if ( len[2] > len[0] && len[2] > len[1] ) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/md3lib.c:107:6: note: uninitialized use occurs here len[shortestSide] = -1; ^~~~~~~~~~~~ tools/quake3/q3data/md3lib.c:104:7: note: remove the 'if' if its condition is always true else if ( len[2] > len[0] && len[2] > len[1] ) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/md3lib.c:104:12: warning: variable 'shortestSide' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized] else if ( len[2] > len[0] && len[2] > len[1] ) { ^~~~~~~~~~~~~~~ tools/quake3/q3data/md3lib.c:107:6: note: uninitialized use occurs here len[shortestSide] = -1; ^~~~~~~~~~~~ tools/quake3/q3data/md3lib.c:104:12: note: remove the '&&' if its condition is always true else if ( len[2] > len[0] && len[2] > len[1] ) { ^~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/md3lib.c:38:31: note: initialize the variable 'shortestSide' to silence this warning int longestSide, shortestSide, hypotSide; ^ = 0 tools/quake3/q3data/md3lib.c:93:12: warning: variable 'longestSide' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] else if ( len[2] > len[0] && len[2] > len[1] ) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/md3lib.c:96:6: note: uninitialized use occurs here len[longestSide] = -1; ^~~~~~~~~~~ tools/quake3/q3data/md3lib.c:93:7: note: remove the 'if' if its condition is always true else if ( len[2] > len[0] && len[2] > len[1] ) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/md3lib.c:93:12: warning: variable 'longestSide' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized] else if ( len[2] > len[0] && len[2] > len[1] ) { ^~~~~~~~~~~~~~~ tools/quake3/q3data/md3lib.c:96:6: note: uninitialized use occurs here len[longestSide] = -1; ^~~~~~~~~~~ tools/quake3/q3data/md3lib.c:93:12: note: remove the '&&' if its condition is always true else if ( len[2] > len[0] && len[2] > len[1] ) { ^~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/md3lib.c:38:17: note: initialize the variable 'longestSide' to silence this warning int longestSide, shortestSide, hypotSide; ^ = 0 tools/quake3/q3data/md3lib.c:81:12: warning: variable 'origin' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] else if ( len[2] > len[0] && len[2] > len[1] ) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/md3lib.c:124:25: note: uninitialized use occurs here pTag->origin[0] = pTri[origin][0]; ^~~~~~ tools/quake3/q3data/md3lib.c:81:7: note: remove the 'if' if its condition is always true else if ( len[2] > len[0] && len[2] > len[1] ) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/md3lib.c:81:12: warning: variable 'origin' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized] else if ( len[2] > len[0] && len[2] > len[1] ) { ^~~~~~~~~~~~~~~ tools/quake3/q3data/md3lib.c:124:25: note: uninitialized use occurs here pTag->origin[0] = pTri[origin][0]; ^~~~~~ tools/quake3/q3data/md3lib.c:81:12: note: remove the '&&' if its condition is always true else if ( len[2] > len[0] && len[2] > len[1] ) { ^~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/md3lib.c:39:12: note: initialize the variable 'origin' to silence this warning int origin; ^ = 0 tools/quake3/q3data/md3lib.c:81:12: warning: variable 'hypotSide' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] else if ( len[2] > len[0] && len[2] > len[1] ) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/md3lib.c:85:6: note: uninitialized use occurs here len[hypotSide] = -1; ^~~~~~~~~ tools/quake3/q3data/md3lib.c:81:7: note: remove the 'if' if its condition is always true else if ( len[2] > len[0] && len[2] > len[1] ) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/md3lib.c:81:12: warning: variable 'hypotSide' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized] else if ( len[2] > len[0] && len[2] > len[1] ) { ^~~~~~~~~~~~~~~ tools/quake3/q3data/md3lib.c:85:6: note: uninitialized use occurs here len[hypotSide] = -1; ^~~~~~~~~ tools/quake3/q3data/md3lib.c:81:12: note: remove the '&&' if its condition is always true else if ( len[2] > len[0] && len[2] > len[1] ) { ^~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/md3lib.c:38:42: note: initialize the variable 'hypotSide' to silence this warning int longestSide, shortestSide, hypotSide; ^ = 0 tools/quake3/q3data/md3lib.c:152:25: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'FILE *' (aka 'struct __sFILE *') [-Wint-conversion] fileSize = filelength( fileno( fp ) ); ^~~~~~~~~~~~ /usr/include/stdio.h:502:19: note: expanded from macro 'fileno' #define fileno(p) (!__isthreaded ? __sfileno(p) : (fileno)(p)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/../common/cmdlib.h:83:25: note: passing argument to parameter 'f' here int Q_filelength( FILE *f ); ^ tools/quake3/q3data/md3lib.c:153:32: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'FILE *' (aka 'struct __sFILE *') [-Wint-conversion] _buffer = malloc( filelength( fileno( fp ) ) ); ^~~~~~~~~~~~ /usr/include/stdio.h:502:19: note: expanded from macro 'fileno' #define fileno(p) (!__isthreaded ? __sfileno(p) : (fileno)(p)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/../common/cmdlib.h:83:25: note: passing argument to parameter 'f' here int Q_filelength( FILE *f ); ^ tools/quake3/q3data/md3lib.c:171:36: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] printf( " file size: %d\n", fileSize ); ~~ ^~~~~~~~ %ld tools/quake3/q3data/md3lib.c:174:9: warning: cast from 'char *' to 'md3Tag_t *' (aka 'struct md3Tag_s *') increases required alignment from 1 to 4 [-Wcast-align] pTag = ( md3Tag_t * ) ( ( ( char * ) buffer ) + header.ofsTags ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/md3lib.c:185:13: warning: cast from 'char *' to 'md3Surface_t *' increases required alignment from 1 to 4 [-Wcast-align] pSurface = ( md3Surface_t * ) ( ( ( char * ) buffer ) + header.ofsSurfaces ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/md3lib.c:191:26: warning: cast from 'char *' to 'md3Shader_t *' increases required alignment from 1 to 4 [-Wcast-align] md3Shader_t *pShader = ( md3Shader_t * ) ( ( ( char * ) pSurface ) + pSurface->ofsShaders ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/md3lib.c:207:14: warning: cast from 'char *' to 'md3Surface_t *' increases required alignment from 1 to 4 [-Wcast-align] pSurface = ( md3Surface_t * ) ( ( ( char * ) pSurface ) + pSurface->ofsEnd ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 13 warnings and 2 errors generated. gmake[1]: *** [Makefile:487: tools/quake3/q3data/md3lib.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... 5 warnings generated. gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/netradiant/work/netradiant-20150621-src' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/games/netradiant