Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jun 2017 04:43:02 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - 110armv6-quarterly][games/quake2max] Failed for quake2max-0.45_11 in build
Message-ID:  <201706240443.v5O4h29x072323@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:     danfe@FreeBSD.org
Last committer: mat@FreeBSD.org
Ident:          $FreeBSD: branches/2017Q2/games/quake2max/Makefile 412346 2016-04-01 14:00:51Z mat $
Log URL:        http://beefy15.nyi.freebsd.org/data/110armv6-quarterly/444183/logs/quake2max-0.45_11.log
Build URL:      http://beefy15.nyi.freebsd.org/build.html?mastername=110armv6-quarterly&build=444183
Log:

====>> Building games/quake2max
build started at Sat Jun 24 04:42:40 UTC 2017
port directory: /usr/ports/games/quake2max
building for: FreeBSD 110armv6-quarterly-job-09 11.0-RELEASE-p10 FreeBSD 11.0-RELEASE-p10 r317487 arm
maintained by: danfe@FreeBSD.org
Makefile ident:      $FreeBSD: branches/2017Q2/games/quake2max/Makefile 412346 2016-04-01 14:00:51Z mat $
Poudriere version: 3.1.19-40-ga434dff0
Host OSVERSION: 1200033
Jail OSVERSION: 1100122
Job Id: 09

---Begin Environment---
SHELL=/bin/csh
UNAME_p=armv6
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1100122
UNAME_v=FreeBSD 11.0-RELEASE-p10 r317487
UNAME_r=11.0-RELEASE-p10
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/110armv6-quarterly/ref
QEMU_EMULATING=1
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=quake2max-0.45_11
OLDPWD=/
PWD=/usr/local/poudriere/data/.m/110armv6-quarterly/ref/.p/pool
MASTERNAME=110armv6-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
POUDRIERE_VERSION=3.1.19-40-ga434dff0
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for quake2max-0.45_11:
     CLIENT=on: Build original client
     DEDICATED=on: Build dedicated server
     GAME=off: Build main game (default mod)
     GLX=on: Build OpenGL renderer
     OPTIMIZED_CFLAGS=on: Use extra compiler optimizations
     SDLCLIENT=on: Build SDL client
     SDLGL=on: Build SDL OpenGL renderer
===> Use 'make config' to modify these settings
---End OPTIONS List---

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
SDL_CONFIG=/usr/local/bin/sdl-config MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/games/quake2max/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/quake2max/work  HOME=/wrkdirs/usr/ports/games/quake2max/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
LIBDIR="/usr/local/lib/quake2max" BUILD_QUAKE2MAX=YES BUILD_DEDICATED=YES BUILD_GLX=YES WITH_OPTIMIZED_CFLAGS=YES BUILD_QUAKE2MAX-SDL=YES BUILD_SDLGL=YES Q2DIR="/usr/local/share/quake2" SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/quake2max/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/quake2max/work  HOME=/wrkdirs/usr/ports/games/quake2max/work TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/local/lib/quake2max"  CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe  -fno-strict-aliasing"  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS=""  LDFLAGS="" LIBS=""  CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing "  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--
LIBDIR="lib/quake2max"
CLIENT=""
DEDICATED=""
GAME="@comment
"
GLX=""
SDLCLIENT=""
SDLGL=""
Q2DIR="share/quake2"
OSREL=11.0
PREFIX=%D
LOCALBASE=/usr/local
RESETPREFIX=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
LIB32DIR=lib
DOCSDIR="share/doc/quake2max"
EXAMPLESDIR="share/examples/quake2max"
DATADIR="share/quake2max"
WWWDIR="www/quake2max"
ETCDIR="etc/quake2max"
--End PLIST_SUB--

--SUB_LIST--
Q2DIR="/usr/local/share/quake2"
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/quake2max
DOCSDIR=/usr/local/share/doc/quake2max
EXAMPLESDIR=/usr/local/share/examples/quake2max
WWWDIR=/usr/local/www/quake2max
ETCDIR=/usr/local/etc/quake2max
--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
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 ####
ARCH=armv6
CONFIGURE_MAX_CMD_LEN=262144
OPSYS=FreeBSD
OSREL=11.0
OSVERSION=1100122
PYTHONBASE=/usr/local
UID=0
_JAVA_OS_LIST_REGEXP=native\|linux
_JAVA_VENDOR_LIST_REGEXP=openjdk\|oracle\|sun
_JAVA_VERSION_LIST_REGEXP=1.6\|1.7\|1.8\|1.6+\|1.7+\|1.8+
_OSRELEASE=11.0-RELEASE-p10
#### Misc Poudriere ####
GID=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
READELF=/nxb-bin/usr/bin/readelf
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 GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   quake2max-0.45_11 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.1.txz
pkg-static: Warning: Major OS version upgrade detected.  Running "pkg-static install -f pkg" recommended
[110armv6-quarterly-job-09] Installing pkg-1.10.1...
[110armv6-quarterly-job-09] Extracting pkg-1.10.1: .......... done
===>   quake2max-0.45_11 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of quake2max-0.45_11
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by quake2max-0.45_11 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by quake2max-0.45_11 for building
=> SHA256 Checksum OK for Quake2maX_0.45-src_unix.tar.bz2.
<snip>
        } while (stage = stage->next);
                       ^
                 (                  )
ref_gl/gl_script.c:2172:17: note: use '==' to turn this assignment into an equality comparison
        } while (stage = stage->next);
                       ^
                       ==
6 warnings generated.
/nxb-bin/usr/bin/cc -O2 -pipe  -fno-strict-aliasing -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -O2 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -DUNIX_VERSION='"0.45"' -fPIC -I/usr/local/include -I/usr/X11R6/include -o release/ref_gl/gl_vlights.o -c ref_gl/gl_vlights.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
/nxb-bin/usr/bin/cc -O2 -pipe  -fno-strict-aliasing -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -O2 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -DUNIX_VERSION='"0.45"' -fPIC -I/usr/local/include -I/usr/X11R6/include -o release/ref_gl/gl_warp.o -c ref_gl/gl_warp.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
ref_gl/gl_warp.c:961:6: warning: implicit declaration of function 'GL_Spheremap' is invalid in C99 [-Wimplicit-function-declaration]
                                        GL_Spheremap(true);
                                        ^
1 warning generated.
/nxb-bin/usr/bin/cc -O2 -pipe  -fno-strict-aliasing -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -O2 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -DUNIX_VERSION='"0.45"' -fPIC -I/usr/local/include -I/usr/X11R6/include -o release/ref_gl/sul_png.o -c ref_gl/sul_png.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
ref_gl/sul_png.c:274:17: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        my_png->tmpBuf = raw; //buf = whole file content
                       ^ ~~~
ref_gl/sul_png.c:281:29: warning: incompatible pointer types passing 'unsigned long *' to parameter of type 'png_uint_32 *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
        png_get_IHDR(png, pnginfo, &my_png->Width, &my_png->Height,&my_png->BitDepth, &my_png->ColorType, &my_png->Interlace, &my_png->Compression, &my_png->Filter );
                                   ^~~~~~~~~~~~~~
/usr/local/include/png.h:2066:45: note: passing argument to parameter 'width' here
    png_const_inforp info_ptr, png_uint_32 *width, png_uint_32 *height,
                                            ^
ref_gl/sul_png.c:281:45: warning: incompatible pointer types passing 'unsigned long *' to parameter of type 'png_uint_32 *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
        png_get_IHDR(png, pnginfo, &my_png->Width, &my_png->Height,&my_png->BitDepth, &my_png->ColorType, &my_png->Interlace, &my_png->Compression, &my_png->Filter );
                                                   ^~~~~~~~~~~~~~~
/usr/local/include/png.h:2066:65: note: passing argument to parameter 'height' here
    png_const_inforp info_ptr, png_uint_32 *width, png_uint_32 *height,
                                                                ^
ref_gl/sul_png.c:287:3: warning: implicit declaration of function 'png_set_gray_1_2_4_to_8' is invalid in C99 [-Wimplicit-function-declaration]
                png_set_gray_1_2_4_to_8(png);
                ^
ref_gl/sul_png.c:322:7: warning: assigning to 'byte *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                *pic= my_png->Data;
                    ^ ~~~~~~~~~~~~
5 warnings generated.
/nxb-bin/usr/bin/cc -O2 -pipe  -fno-strict-aliasing -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -O2 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -DUNIX_VERSION='"0.45"' -fPIC -I/usr/local/include -I/usr/X11R6/include -o release/ref_gl/qgl_unix.o -c unix/qgl_unix.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
/nxb-bin/usr/bin/cc -O2 -pipe  -fno-strict-aliasing -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -O2 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -DUNIX_VERSION='"0.45"' -fPIC -I/usr/local/include -I/usr/X11R6/include -o release/ref_gl/q_shared.o -c game/q_shared.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
/nxb-bin/usr/bin/cc -O2 -pipe  -fno-strict-aliasing -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -O2 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -DUNIX_VERSION='"0.45"' -fPIC -I/usr/local/include -I/usr/X11R6/include -o release/ref_gl/qsh_unix.o -c unix/qsh_unix.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
unix/qsh_unix.c:156:8: warning: implicitly declaring library function 'tolower' with type 'int (int)' [-Wimplicit-function-declaration]
                *s = tolower(*s);
                     ^
unix/qsh_unix.c:156:8: note: include the header <ctype.h> or explicitly provide a declaration for 'tolower'
unix/qsh_unix.c:159:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
2 warnings generated.
/nxb-bin/usr/bin/cc -O2 -pipe  -fno-strict-aliasing -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -O2 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -DUNIX_VERSION='"0.45"' -fPIC -I/usr/local/include -I/usr/X11R6/include -o release/ref_gl/glob.o -c unix/glob.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
/nxb-bin/usr/bin/cc -O2 -pipe  -fno-strict-aliasing -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -O2 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -DUNIX_VERSION='"0.45"' -fPIC -I/usr/local/include -I/usr/X11R6/include -o release/ref_gl/gl_glx.o -c unix/gl_glx.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
In file included from unix/gl_glx.c:57:
/usr/local/include/X11/extensions/xf86dga.h:9:2: warning: "xf86dga.h is obsolete and may be removed in the future." [-W#warnings]
#warning "xf86dga.h is obsolete and may be removed in the future."
 ^
/usr/local/include/X11/extensions/xf86dga.h:10:2: warning: "include <X11/extensions/Xxf86dga.h> instead." [-W#warnings]
#warning "include <X11/extensions/Xxf86dga.h> instead."
 ^
unix/gl_glx.c:601:2: warning: implicitly declaring library function '_exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
        _exit(0);
        ^
unix/gl_glx.c:601:2: note: include the header <unistd.h> or explicitly provide a declaration for '_exit'
unix/gl_glx.c:896:2: warning: implicit declaration of function 'CIN_ProcessCins' is invalid in C99 [-Wimplicit-function-declaration]
        CIN_ProcessCins();
        ^
unix/gl_glx.c:942:1: warning: '/*' within block comment [-Wcomment]
/*------------------------------------------------*/
^
unix/gl_glx.c:971:1: warning: '/*' within block comment [-Wcomment]
/*------------------------------------------------*/
^
unix/gl_glx.c:1008:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                ret = strdup(data);
                                             ^~~~
/usr/include/string.h:85:26: note: passing argument to parameter here
char    *strdup(const char *) __malloc_like;
                            ^
7 warnings generated.

==================== Linking quake2/rfx_glx.so ====================

/nxb-bin/usr/bin/cc -O2 -pipe  -fno-strict-aliasing -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -O2 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -DUNIX_VERSION='"0.45"' -shared -o quake2/rfx_glx.so release/ref_gl/gl_cin.o release/ref_gl/gl_draw.o release/ref_gl/gl_image.o release/ref_gl/gl_light.o release/ref_gl/gl_mesh.o release/ref_gl/gl_model.o release/ref_gl/gl_rmain.o release/ref_gl/gl_rmisc.o release/ref_gl/gl_rsurf.o release/ref_gl/gl_script.o release/ref_gl/gl_vlights.o release/ref_gl/gl_warp.o release/ref_gl/sul_png.o release/ref_gl/qgl_unix.o release/ref_gl/q_shared.o release/ref_gl/qsh_unix.o release/ref_gl/glob.o release/ref_gl/gl_glx.o -L/usr/local/lib -L/usr/X11R6/lib -lX11 -lXext -lXxf86dga -lXxf86vm -lGLU -ljpeg -lpng
/nxb-bin/usr/bin/cc -O2 -pipe  -fno-strict-aliasing -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -O2 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/cmd.o -c qcommon/cmd.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
qcommon/cmd.c:161:19: warning: passing 'byte [32768]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        Cbuf_InsertText (defer_text_buf);
                         ^~~~~~~~~~~~~~
qcommon/cmd.c:114:29: note: passing argument to parameter 'text' here
void Cbuf_InsertText (char *text)
                            ^
1 warning generated.
/nxb-bin/usr/bin/cc -O2 -pipe  -fno-strict-aliasing -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -O2 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/cmodel.o -c qcommon/cmodel.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
/nxb-bin/usr/bin/cc -O2 -pipe  -fno-strict-aliasing -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -O2 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/common.o -c qcommon/common.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
/nxb-bin/usr/bin/cc -O2 -pipe  -fno-strict-aliasing -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -O2 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/crc.o -c qcommon/crc.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
/nxb-bin/usr/bin/cc -O2 -pipe  -fno-strict-aliasing -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -O2 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/cvar.o -c qcommon/cvar.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
/nxb-bin/usr/bin/cc -O2 -pipe  -fno-strict-aliasing -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -O2 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/files.o -c qcommon/files.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
qcommon/files.c:767:24: warning: '&&' within '||' [-Wlogical-op-parentheses]
        if (modType("baseq2") && (!strcmp(dir,BASEDIRNAME)) || (*dir == 0))
            ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~
qcommon/files.c:767:24: note: place parentheses around the '&&' expression to silence this warning
        if (modType("baseq2") && (!strcmp(dir,BASEDIRNAME)) || (*dir == 0))
                              ^
            (                                              )
1 warning generated.
/nxb-bin/usr/bin/cc -O2 -pipe  -fno-strict-aliasing -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -O2 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/md4.o -c qcommon/md4.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
/nxb-bin/usr/bin/cc -O2 -pipe  -fno-strict-aliasing -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -O2 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/net_chan.o -c qcommon/net_chan.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
/nxb-bin/usr/bin/cc -O2 -pipe  -fno-strict-aliasing -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -O2 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/sv_ccmds.o -c server/sv_ccmds.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
server/sv_ccmds.c:928:17: warning: passing 'char [32768]' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        SZ_Init (&buf, buf_data, sizeof(buf_data));
                       ^~~~~~~~
server/../qcommon/qcommon.h:131:37: note: passing argument to parameter 'data' here
void SZ_Init (sizebuf_t *buf, byte *data, int length);
                                    ^
1 warning generated.
/nxb-bin/usr/bin/cc -O2 -pipe  -fno-strict-aliasing -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -O2 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/sv_ents.o -c server/sv_ents.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
/nxb-bin/usr/bin/cc -O2 -pipe  -fno-strict-aliasing -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -O2 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/sv_game.o -c server/sv_game.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
/nxb-bin/usr/bin/cc -O2 -pipe  -fno-strict-aliasing -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -O2 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/sv_init.o -c server/sv_init.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
/nxb-bin/usr/bin/cc -O2 -pipe  -fno-strict-aliasing -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -O2 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/sv_main.o -c server/sv_main.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
/nxb-bin/usr/bin/cc -O2 -pipe  -fno-strict-aliasing -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -O2 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/sv_send.o -c server/sv_send.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
/nxb-bin/usr/bin/cc -O2 -pipe  -fno-strict-aliasing -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -O2 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/sv_user.o -c server/sv_user.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
/nxb-bin/usr/bin/cc -O2 -pipe  -fno-strict-aliasing -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -O2 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/sv_world.o -c server/sv_world.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
/nxb-bin/usr/bin/cc -O2 -pipe  -fno-strict-aliasing -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -O2 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/qsh_unix.o -c unix/qsh_unix.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
unix/qsh_unix.c:156:8: warning: implicitly declaring library function 'tolower' with type 'int (int)' [-Wimplicit-function-declaration]
                *s = tolower(*s);
                     ^
unix/qsh_unix.c:156:8: note: include the header <ctype.h> or explicitly provide a declaration for 'tolower'
unix/qsh_unix.c:159:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
2 warnings generated.
/nxb-bin/usr/bin/cc -O2 -pipe  -fno-strict-aliasing -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -O2 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/sys_unix.o -c unix/sys_unix.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
/nxb-bin/usr/bin/cc -O2 -pipe  -fno-strict-aliasing -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -O2 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/glob.o -c unix/glob.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
/nxb-bin/usr/bin/cc -O2 -pipe  -fno-strict-aliasing -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -O2 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/net_udp.o -c unix/net_udp.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
unix/net_udp.c:128:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
unix/net_udp.c:181:53: warning: implicit declaration of function 'inet_addr' is invalid in C99 [-Wimplicit-function-declaration]
                *(int *)&((struct sockaddr_in *)sadr)->sin_addr = inet_addr(copy);
                                                                  ^
unix/net_udp.c:301:35: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                        , 0, (struct sockaddr *)&from, &fromlen);
                                                       ^~~~~~~~
/usr/include/sys/socket.h:627:96: note: passing argument to parameter here
ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                                               ^
3 warnings generated.
/nxb-bin/usr/bin/cc -O2 -pipe  -fno-strict-aliasing -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -O2 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/q_shared.o -c game/q_shared.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
/nxb-bin/usr/bin/cc -O2 -pipe  -fno-strict-aliasing -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -O2 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/pmove.o -c qcommon/pmove.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
/nxb-bin/usr/bin/cc -O2 -pipe  -fno-strict-aliasing -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -O2 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/cl_null.o -c null/cl_null.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
null/cl_null.c:55:35: warning: unknown escape sequence '\^' [-Wunknown-escape-sequence]
        Com_Printf ("Unknown command \"%s\^r\n", cmd);
                                         ^~
1 warning generated.
/nxb-bin/usr/bin/cc -O2 -pipe  -fno-strict-aliasing -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -O2 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -DUNIX_VERSION='"0.45"' -DDEDICATED_ONLY -o release/ded/cd_null.o -c null/cd_null.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
/nxb-bin/usr/bin/cc -O2 -pipe  -fno-strict-aliasing -DC_ONLY -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -O2 -ffast-math -fomit-frame-pointer -fexpensive-optimizations -DUNIX_VERSION='"0.45"' -o quake2/quake2max-ded release/ded/cmd.o release/ded/cmodel.o release/ded/common.o release/ded/crc.o release/ded/cvar.o release/ded/files.o release/ded/md4.o release/ded/net_chan.o release/ded/sv_ccmds.o release/ded/sv_ents.o release/ded/sv_game.o release/ded/sv_init.o release/ded/sv_main.o release/ded/sv_send.o release/ded/sv_user.o release/ded/sv_world.o release/ded/qsh_unix.o release/ded/sys_unix.o release/ded/glob.o release/ded/net_udp.o release/ded/q_shared.o release/ded/pmove.o release/ded/cl_null.o release/ded/cd_null.o -lm -lz
release/ded/q_shared.o: In function `RotatePointAroundVector':
game/q_shared.c:(.text+0x40): undefined reference to `sincos'
release/ded/q_shared.o: In function `AngleVectors':
game/q_shared.c:(.text+0x568): undefined reference to `sincosf'
game/q_shared.c:(.text+0x59c): undefined reference to `sincosf'
game/q_shared.c:(.text+0x5d0): undefined reference to `sincosf'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [Makefile:458: quake2/quake2max-ded] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/quake2max/work/Quake2maX_0.45-src_unix'
gmake[1]: *** [Makefile:184: release] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/quake2max/work/Quake2maX_0.45-src_unix'
*** Error code 1

Stop.
make: stopped in /usr/ports/games/quake2max



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706240443.v5O4h29x072323>