Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Feb 2021 15:05:50 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - main-armv7-default][games/nehquake] Failed for nehquake-1.0_8 in build
Message-ID:  <202102031505.113F5oJZ058480@beefy12.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/nehquake/Makefile 516845 2019-11-05 22:16:14Z zeising $
Log URL:        http://beefy12.nyi.freebsd.org/data/main-armv7-default/p562626_sb42a2ea55/logs/nehquake-1.0_8.log
Build URL:      http://beefy12.nyi.freebsd.org/build.html?mastername=main-armv7-default&build=p562626_sb42a2ea55
Log:

=>> Building games/nehquake
build started at Wed Feb  3 15:05:04 UTC 2021
port directory: /usr/ports/games/nehquake
package name: nehquake-1.0_8
building for: FreeBSD main-armv7-default-job-01 14.0-CURRENT FreeBSD 14.0-CURRENT 1400001 arm
maintained by: ports@FreeBSD.org
Makefile ident:      $FreeBSD: head/games/nehquake/Makefile 516845 2019-11-05 22:16:14Z zeising $
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1300134
Jail OSVERSION: 1400001
Job Id: 01




!!! Jail is newer than host. (Jail: 1400001, Host: 1300134) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
UNAME_p=armv7
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1400001
UNAME_v=FreeBSD 14.0-CURRENT 1400001
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
QEMU_EMULATING=1
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-8-gaf08dbda
MASTERMNT=/usr/local/poudriere/data/.m/main-armv7-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-armv7-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-armv7-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 nehquake-1.0_8:
     OPTIMIZED_CFLAGS=on: Use extra compiler optimizations
     SDL=on: Simple Direct Media Layer support
     X86_ASM=on: Enable x86 assembly code
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ports@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/nehquake/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/nehquake/work  HOME=/wrkdirs/usr/ports/games/nehquake/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/nehquake/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
Q1DIR="/usr/local/share/quake" BUILD_SDL=YES USE_OPTIMIZED_CFLAGS=YES USE_X86_ASM=YES SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/nehquake/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/nehquake/work  HOME=/wrkdirs/usr/ports/games/nehquake/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/nehquake/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  "  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--
Q1DIR="share/quake" OPTIMIZED_CFLAGS="" NO_OPTIMIZED_CFLAGS="@comment " SDL="" NO_SDL="@comment " X86_ASM="" NO_X86_ASM="@comment " OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/nehquake"  EXAMPLESDIR="share/examples/nehquake"  DATADIR="share/nehquake"  WWWDIR="www/nehquake"  ETCDIR="etc/nehquake"
--End PLIST_SUB--

--SUB_LIST--
Q1DIR="/usr/local/share/quake" OPTIMIZED_CFLAGS="" NO_OPTIMIZED_CFLAGS="@comment " SDL="" NO_SDL="@comment " X86_ASM="" NO_X86_ASM="@comment " PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/nehquake DOCSDIR=/usr/local/share/doc/nehquake EXAMPLESDIR=/usr/local/share/examples/nehquake  WWWDIR=/usr/local/www/nehquake ETCDIR=/usr/local/etc/nehquake
--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=armv7
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.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: armv7-unknown-freebsd14.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.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=armv7
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400001
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++
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 nehquake 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

===========================================================================
=======================<phase: pkg-depends    >============================
<snip>
                        S_ExtraUpdateTime (); // Improve sound when many entities
                        ^
4 warnings generated.
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Dstricmp=strcasecmp  -D_SDL_BIN -O2 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fno-strict-aliasing -DGLQUAKE -I/usr/local/include -o release/glquake/sv_move.o -c src/sv_move.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
In file included from src/sv_move.c:22:
In file included from src/quakedef.h:264:
src/glquake.h:291:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
extern   bspversion;
~~~~~~   ^
src/sv_move.c:56:8: warning: implicit declaration of function 'SV_HullPointContents' is invalid in C99 [-Wimplicit-function-declaration]
                        if (SV_PointContents (start) != CONTENTS_SOLID)
                            ^
src/world.h:61:37: note: expanded from macro 'SV_PointContents'
#define SV_PointContents(testpoint) SV_HullPointContents(&sv.worldmodel->hulls[0], 0, (testpoint))
                                    ^
src/sv_move.c:142:43: warning: implicit declaration of function 'SV_HullPointContents' is invalid in C99 [-Wimplicit-function-declaration]
                                if ( ((int)ent->v.flags & FL_SWIM) && SV_PointContents(trace.endpos) == CONTENTS_EMPTY )
                                                                      ^
src/world.h:61:37: note: expanded from macro 'SV_PointContents'
#define SV_PointContents(testpoint) SV_HullPointContents(&sv.worldmodel->hulls[0], 0, (testpoint))
                                    ^
src/sv_move.c:321:28: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
        if ( ((rand()&3) & 1) ||  abs(deltay)>abs(deltax))
                                  ^
src/sv_move.c:321:28: note: use function 'fabsf' instead
        if ( ((rand()&3) & 1) ||  abs(deltay)>abs(deltax))
                                  ^~~
                                  fabsf
src/sv_move.c:321:40: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
        if ( ((rand()&3) & 1) ||  abs(deltay)>abs(deltax))
                                              ^
src/sv_move.c:321:40: note: use function 'fabsf' instead
        if ( ((rand()&3) & 1) ||  abs(deltay)>abs(deltax))
                                              ^~~
                                              fabsf
5 warnings generated.
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Dstricmp=strcasecmp  -D_SDL_BIN -O2 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fno-strict-aliasing -DGLQUAKE -I/usr/local/include -o release/glquake/sv_user.o -c src/sv_user.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
In file included from src/sv_user.c:22:
In file included from src/quakedef.h:264:
src/glquake.h:291:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
extern   bspversion;
~~~~~~   ^
1 warning generated.
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Dstricmp=strcasecmp  -D_SDL_BIN -O2 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fno-strict-aliasing -DGLQUAKE -I/usr/local/include -o release/glquake/zone.o -c src/zone.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
In file included from src/zone.c:22:
In file included from src/quakedef.h:264:
src/glquake.h:291:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
extern   bspversion;
~~~~~~   ^
1 warning generated.
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Dstricmp=strcasecmp  -D_SDL_BIN -O2 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fno-strict-aliasing -DGLQUAKE -I/usr/local/include -o release/glquake/view.o -c src/view.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
In file included from src/view.c:22:
In file included from src/quakedef.h:264:
src/glquake.h:291:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
extern   bspversion;
~~~~~~   ^
1 warning generated.
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Dstricmp=strcasecmp  -D_SDL_BIN -O2 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fno-strict-aliasing -DGLQUAKE -I/usr/local/include -o release/glquake/wad.o -c src/wad.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
In file included from src/wad.c:22:
In file included from src/quakedef.h:264:
src/glquake.h:291:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
extern   bspversion;
~~~~~~   ^
1 warning generated.
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Dstricmp=strcasecmp  -D_SDL_BIN -O2 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fno-strict-aliasing -DGLQUAKE -I/usr/local/include -o release/glquake/world.o -c src/world.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
In file included from src/world.c:22:
In file included from src/quakedef.h:264:
src/glquake.h:291:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
extern   bspversion;
~~~~~~   ^
1 warning generated.
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Dstricmp=strcasecmp  -D_SDL_BIN -O2 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fno-strict-aliasing -DGLQUAKE -I/usr/local/include -o release/glquake/sys_linux.o -c src/sys_linux.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
In file included from src/sys_linux.c:20:
In file included from src/quakedef.h:264:
src/glquake.h:291:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
extern   bspversion;
~~~~~~   ^
1 warning generated.
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Dstricmp=strcasecmp  -D_SDL_BIN -O2 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fno-strict-aliasing -DGLQUAKE -I/usr/local/include -o release/glquake/snd_dma.o -c src/snd_dma.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
In file included from src/snd_dma.c:22:
In file included from src/quakedef.h:264:
src/glquake.h:291:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
extern   bspversion;
~~~~~~   ^
1 warning generated.
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Dstricmp=strcasecmp  -D_SDL_BIN -O2 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fno-strict-aliasing -DGLQUAKE -I/usr/local/include -o release/glquake/snd_mem.o -c src/snd_mem.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
In file included from src/snd_mem.c:22:
In file included from src/quakedef.h:264:
src/glquake.h:291:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
extern   bspversion;
~~~~~~   ^
src/snd_mem.c:215:18: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                if (!Q_strncmp(data_p, name, 4))
                               ^~~~~~
src/common.h:144:22: note: passing argument to parameter 's1' here
int Q_strncmp (char *s1, char *s2, int count);
                     ^
src/snd_mem.c:265:29: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (!(data_p && !Q_strncmp(data_p+8, "WAVE", 4)))
                                   ^~~~~~~~
src/common.h:144:22: note: passing argument to parameter 's1' here
int Q_strncmp (char *s1, char *s2, int count);
                     ^
src/snd_mem.c:306:18: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        if (!strncmp (data_p + 28, "mark", 4))
                                      ^~~~~~~~~~~
/usr/include/string.h:102:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t) __pure;
                             ^
4 warnings generated.
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Dstricmp=strcasecmp  -D_SDL_BIN -O2 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fno-strict-aliasing -DGLQUAKE -I/usr/local/include -o release/glquake/snd_mix.o -c src/snd_mix.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
In file included from src/snd_mix.c:22:
In file included from src/quakedef.h:264:
src/glquake.h:291:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
extern   bspversion;
~~~~~~   ^
src/snd_mix.c:363:6: warning: assigning to 'unsigned char *' from 'signed char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        sfx = (signed char *)sc->data + ch->pos;
            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Dstricmp=strcasecmp  -D_SDL_BIN -O2 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fno-strict-aliasing -DGLQUAKE -I/usr/local/include -o release/glquake/cd_linux.o -c src/cd_linux.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
In file included from src/cd_linux.c:41:
In file included from src/quakedef.h:264:
src/glquake.h:291:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
extern   bspversion;
~~~~~~   ^
1 warning generated.
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Dstricmp=strcasecmp  -D_SDL_BIN -O2 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fno-strict-aliasing -DGLQUAKE -I/usr/local/include -o release/glquake/snd_linux.o -c src/snd_linux.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
In file included from src/snd_linux.c:34:
In file included from src/quakedef.h:264:
src/glquake.h:291:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
extern   bspversion;
~~~~~~   ^
1 warning generated.
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Dstricmp=strcasecmp  -D_SDL_BIN -O2 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fno-strict-aliasing -DGLQUAKE -I/usr/local/include -o release/glquake/gl_vidlinuxglx.o -c src/gl_vidlinuxglx.c
cc: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
In file included from src/gl_vidlinuxglx.c:32:
In file included from src/quakedef.h:264:
src/glquake.h:291:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
extern   bspversion;
~~~~~~   ^
In file included from src/gl_vidlinuxglx.c:42:
/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."
 ^
src/gl_vidlinuxglx.c:597:52: warning: passing 'char *' to parameter of type 'const GLubyte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                qglMTexCoord2fSGIS = (void *) qglGetProcAddress (ARB ? "glMultiTexCoord2fARB" : "glMTexCoord2fSGIS");
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/GL/glx.h:313:61: note: passing argument to parameter here
extern __GLXextFuncPtr glXGetProcAddressARB (const GLubyte *);
                                                            ^
src/gl_vidlinuxglx.c:598:54: warning: passing 'char *' to parameter of type 'const GLubyte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                qglSelectTextureSGIS = (void *) qglGetProcAddress (ARB ? "glActiveTextureARB" : "glSelectTextureSGIS");
                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/GL/glx.h:313:61: note: passing argument to parameter here
extern __GLXextFuncPtr glXGetProcAddressARB (const GLubyte *);
                                                            ^
src/gl_vidlinuxglx.c:640:12: warning: assigning to 'const char *' from 'const GLubyte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        gl_vendor = glGetString (GL_VENDOR);
                  ^ ~~~~~~~~~~~~~~~~~~~~~~~
src/gl_vidlinuxglx.c:642:14: warning: assigning to 'const char *' from 'const GLubyte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        gl_renderer = glGetString (GL_RENDERER);
                    ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
src/gl_vidlinuxglx.c:645:13: warning: assigning to 'const char *' from 'const GLubyte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        gl_version = glGetString (GL_VERSION);
                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~
src/gl_vidlinuxglx.c:647:16: warning: assigning to 'const char *' from 'const GLubyte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        gl_extensions = glGetString (GL_EXTENSIONS);
                      ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
9 warnings generated.
/nxb-bin/usr/bin/cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Dstricmp=strcasecmp  -D_SDL_BIN -O2 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -fno-strict-aliasing -o release/nehahra release/glquake/cl_demo.o release/glquake/cl_input.o release/glquake/cl_main.o release/glquake/cl_parse.o release/glquake/cl_tent.o release/glquake/chase.o release/glquake/cmd.o release/glquake/common.o release/glquake/console.o release/glquake/crc.o release/glquake/cvar.o release/glquake/d_vars.o release/glquake/dzipcrc.o release/glquake/dzipdecode.o release/glquake/dzipun.o release/glquake/dzipmain.o release/glquake/gl_draw.o release/glquake/gl_mesh.o release/glquake/gl_model.o release/glquake/gl_refrag.o release/glquake/gl_rlight.o release/glquake/gl_rmain.o release/glquake/gl_rmisc.o release/glquake/gl_rsurf.o release/glquake/gl_screen.o release/glquake/gl_warp.o release/glquake/host.o release/glquake/host_cmd.o release/glquake/keys.o release/glquake/menu
 .o release/glquake/mathlib.o release/glquake/neh.o release/glquake/net_dgrm.o release/glquake/net_loop.o release/glquake/net_main.o release/glquake/net_vcr.o release/glquake/net_udp.o release/glquake/net_bsd.o release/glquake/pr_cmds.o release/glquake/pr_edict.o release/glquake/pr_exec.o release/glquake/r_part.o release/glquake/r_vars.o release/glquake/sbar.o release/glquake/sv_main.o release/glquake/sv_phys.o release/glquake/sv_move.o release/glquake/sv_user.o release/glquake/zone.o release/glquake/view.o release/glquake/wad.o release/glquake/world.o release/glquake/sys_linux.o release/glquake/snd_dma.o release/glquake/snd_mem.o release/glquake/snd_mix.o release/glquake/gl_vidlinuxglx.o release/glquake/cd_linux.o release/glquake/snd_linux.o  -L/usr/local/lib -lGL -lX11 -lXext -lXxf86dga -lXxf86vm  -fstack-protector-strong  -lm -lz -lm -lz
ld: error: duplicate symbol: sb_lines
>>> defined at gl_screen.c
>>>            release/glquake/gl_screen.o:(sb_lines)
>>> defined at sbar.c
>>>            release/glquake/sbar.o:(.bss+0x518)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [Makefile:202: release/nehahra] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/nehquake/work/NehQuake-bjp-bin-src.linux'
gmake[1]: *** [Makefile:112: release] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/nehquake/work/NehQuake-bjp-bin-src.linux'
*** Error code 1

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



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