------------------------------------------------------------------------------- -- Phase: Environment ------------------------------------------------------------------------------- NO_DEPENDS=1 UNAME_r=6.5 UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=unknown UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 LANG=C HOME=/root USER=root TERM=dumb SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: showconfig ------------------------------------------------------------------------------- ===> The following configuration options are available for openbor3979-3979_2: DOCS=on: Build and/or install documentation TREMOR=off: Tremor audio decoder support ===> Use 'make config' to modify these settings SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ENV ------------------------------------------------------------------------------- MAKE=gmake PKG_CONFIG=pkgconf SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/construction/games/openbor3979 XDG_CONFIG_HOME=/construction/games/openbor3979 XDG_CACHE_HOME=/construction/games/openbor3979/.cache HOME=/construction/games/openbor3979 TMPDIR="/tmp" PATH=/construction/games/openbor3979/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/games/openbor3979/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ARGS ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ENV ------------------------------------------------------------------------------- BUILD_LINUX=1 SDKPATH="/usr/local" GCC_TARGET="x86_64-portbld-dragonfly6.5" SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/construction/games/openbor3979 XDG_CONFIG_HOME=/construction/games/openbor3979 XDG_CACHE_HOME=/construction/games/openbor3979/.cache HOME=/construction/games/openbor3979 TMPDIR="/tmp" PATH=/construction/games/openbor3979/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/games/openbor3979/.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 CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 " CPP="cpp" CPPFLAGS="" LDFLAGS=" -Wl,--as-needed " LIBS="" CXX="c++" CXXFLAGS=" -pipe -fcommon -O2 -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" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ARGS ------------------------------------------------------------------------------- CC="cc" LIBRARIES="/usr/local/lib" TARGET_ARCH=x86_64 ARCHFLAGS="" TARGET_FINAL='' BUILD_MMX="" ECHO="echo" DESTDIR=/construction/games/openbor3979/stage SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: PLIST_SUB ------------------------------------------------------------------------------- PORTDOCS="" OSREL=6.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/openbor3979" EXAMPLESDIR="share/examples/openbor" DATADIR="share/openbor" WWWDIR="www/openbor" ETCDIR="etc/openbor" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: SUB_LIST ------------------------------------------------------------------------------- PKGBASE=openbor3979 PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/openbor DOCSDIR=/usr/local/share/doc/openbor3979 EXAMPLESDIR=/usr/local/share/examples/openbor WWWDIR=/usr/local/www/openbor ETCDIR=/usr/local/etc/openbor SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: /etc/make.conf ------------------------------------------------------------------------------- DPORTS_BUILDER=yes DISABLE_LICENSES=yes DEFAULT_VERSIONS=ssl=openssl FORCE_PACKAGE=yes DEVELOPER=yes DFLY_STING_XFAIL=yes USE_PACKAGE_DEPENDS_ONLY=yes PORTSDIR=/xports PORT_DBDIR=/options PKG_DBDIR=/var/db/pkg PKG_CACHEDIR=/var/cache/pkg PKG_COMPRESSION_FORMAT=.tgz DEVELOPER=1 WITH_CCACHE_BUILD=yes CCACHE_DIR=/ccache UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=600503 OSVERSION=9999999 OSREL=6.5 _OSRELEASE=6.5-SYNTH DISTDIR=/distfiles WRKDIRPREFIX=/construction BATCH=yes PACKAGE_BUILDING=yes PKG_CREATE_VERBOSE=yes MAKE_JOBS_NUMBER=13 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/indexinfo-0.3.1.pkg Installing /packages/All/gettext-runtime-0.21.1.pkg Installing /packages/All/gmake-4.3_2.pkg Installing /packages/All/pkgconf-1.8.1,1.pkg Installing /packages/All/ncurses-6.4.pkg ===== Message from ncurses-6.4: -- To get the terminfo database please install the terminfo-db package: pkg install terminfo-db Installing /packages/All/aalib-1.4.r5_13.pkg ===== Message from aalib-1.4.r5_13: -- ===> NOTICE: The aalib 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://docs.freebsd.org/en/articles/contributing/#ports-contributing Installing /packages/All/libXau-1.0.9.pkg Installing /packages/All/xorgproto-2022.1_1.pkg Installing /packages/All/libXdmcp-1.1.3.pkg Installing /packages/All/libxcb-1.15_1.pkg Installing /packages/All/libX11-1.8.6,1.pkg Installing /packages/All/libXext-1.3.4,1.pkg Installing /packages/All/libglvnd-1.6.0.pkg Installing /packages/All/libGLU-9.0.2_2.pkg Installing /packages/All/libXrender-0.9.10_2.pkg Installing /packages/All/libXrandr-1.5.2.pkg Installing /packages/All/sdl-1.2.15_15,2.pkg ===== Message from sdl-1.2.15_15,2: -- Your SDL library has been built with libvgl support, which means that you can run almost any SDL application straight on your console (VESA 2.0 compatible videocard is required). To do this you have to load the vesa kernel module or enable it in your kernel, and set environment variable "SDL_VIDEODRIVER=vgl". Installing /packages/All/ccache-3.7.12_4.pkg Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for gcc create symlink for gcc (world) create symlink for g++ create symlink for g++ (world) ===== Message from ccache-3.7.12_4: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. Installing /packages/All/png-1.6.39.pkg Installing /packages/All/libogg-1.3.5,4.pkg Installing /packages/All/libvorbis-1.3.7_2,3.pkg Installing /packages/All/sdl_gfx-2.0.26.pkg SUCCEEDED 00:00:13 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> openbor3979-3979_2 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> openbor3979-3979_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by openbor3979-3979_2 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> openbor3979-3979_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by openbor3979-3979_2 for building => SHA256 Checksum OK for DCurrent-openbor-3979-2bcf25b_GH0.tar.gz. => SHA256 Checksum OK for 731d96887795.patch. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> openbor3979-3979_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by openbor3979-3979_2 for building ===> Extracting for openbor3979-3979_2 => SHA256 Checksum OK for DCurrent-openbor-3979-2bcf25b_GH0.tar.gz. => SHA256 Checksum OK for 731d96887795.patch. Extracted Memory Use: 17.19M SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for openbor3979-3979_2 ===> Applying distribution patches for openbor3979-3979_2 ===> Applying ports patches for openbor3979-3979_2 from /xports/games/openbor3979/files SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> openbor3979-3979_2 depends on package: gmake>=4.3 - found ===> openbor3979-3979_2 depends on package: pkgconf>=1.3.0_1 - found ===> openbor3979-3979_2 depends on file: /usr/local/bin/sdl-config - found ===> openbor3979-3979_2 depends on file: /usr/local/bin/ccache - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> openbor3979-3979_2 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so) ===> openbor3979-3979_2 depends on shared library: libvorbisfile.so - found (/usr/local/lib/libvorbisfile.so) ===> openbor3979-3979_2 depends on shared library: libSDL_gfx.so - found (/usr/local/lib/libSDL_gfx.so) ===> openbor3979-3979_2 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> openbor3979-3979_2 depends on package: gmake>=4.3 - found ===> openbor3979-3979_2 depends on package: pkgconf>=1.3.0_1 - found ===> openbor3979-3979_2 depends on file: /usr/local/bin/sdl-config - found ===> openbor3979-3979_2 depends on file: /usr/local/bin/ccache - found ===> openbor3979-3979_2 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so) ===> openbor3979-3979_2 depends on shared library: libvorbisfile.so - found (/usr/local/lib/libvorbisfile.so) ===> openbor3979-3979_2 depends on shared library: libSDL_gfx.so - found (/usr/local/lib/libSDL_gfx.so) ===> openbor3979-3979_2 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) ===> Configuring for openbor3979-3979_2 (cd /construction/games/openbor3979/openbor-2bcf25b/engine && VERSION_BUILD=3979 VERSION_COMMIT=2bcf25b /bin/sh ./version.sh) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for openbor3979-3979_2 gmake[1]: Entering directory '/construction/games/openbor3979/openbor-2bcf25b/engine' Compiling LINUX Port: sdl/control.c... Compiling LINUX Port: openbor.c... Compiling LINUX Port: sdl/sblaster.c... Compiling LINUX Port: openborscript.c... Compiling LINUX Port: sdl/joysticks.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c sdl/sblaster.c -o sdl/sblaster.o cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c sdl/control.c -o sdl/control.o cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c sdl/joysticks.c -o sdl/joysticks.o cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c openborscript.c -o openborscript.o cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c openbor.c -o openbor.o Compiling LINUX Port: sdl/timer.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c sdl/timer.c -o sdl/timer.o Compiling LINUX Port: sdl/video.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_ECompiling LINUX Port: sdl/loadgl.c... Compiling LINUX Port: sdl/opengl.c... XCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c sdl/video.c -o sdl/video.o Compiling LINUX Port: sdl/sdlport.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c sdl/loadgl.c -o sdl/loadgl.o cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c sdl/opengl.c -o sdl/opengl.o Compiling LINUX Port: source/adpcmlib/adpcm.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/adpcmlib/adpcm.c -o source/adpcmlib/adpcm.o cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c sdl/sdlport.c -o sdl/sdlport.o Compiling LINUX Port: source/gfxlib/2xSaI.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gfxlib/2xSaI.c -o source/gfxlib/2xSaI.o Compiling LINUX Port: source/gfxlib/bilinear.c... Compiling LINUX Port: sdl/menu.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gfxlib/bilinear.c -o source/gfxlib/bilinear.o cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c sdl/menu.c -o sdl/menu.o Compiling LINUX Port: source/gfxlib/dotmatrix.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gfxlib/dotmatrix.c -o source/gfxlib/dotmatrix.o In file included from sdl/loadgl.h:27, from sdl/loadgl.c:20: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from sdl/loadgl.h:27, from sdl/loadgl.c:20: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 sdl/loadgl.c: In function 'LoadGLFunctions': sdl/loadgl.c:148:34: warning: macro expands to multiple statements [-Wmultistatement-macros] LOADFUNC("glActiveTextureARB", ptr_glActiveTexture); ^~~~~~~~~~~~~~~~~~~ sdl/loadgl.c:97:23: note: in definition of macro 'LOADFUNC' #define LOADFUNC(X,Y) Y = GetProcAddress(X); if(!Y) { printf("Failed to load OpenGL function " X "..."); return 0; } ^ sdl/loadgl.c:147:2: note: some parts of macro expansion are not guarded by this 'if' clause if(!ptr_glActiveTexture) ^~ sdl/loadgl.c:152:36: warning: macro expands to multiple statements [-Wmultistatement-macros] LOADFUNC("glMultiTexCoord2fARB", ptr_glMultiTexCoord2f); ^~~~~~~~~~~~~~~~~~~~~ sdl/loadgl.c:97:23: note: in definition of macro 'LOADFUNC' #define LOADFUNC(X,Y) Y = GetProcAddress(X); if(!Y) { printf("Failed to load OpenGL function " X "..."); return 0; } ^ sdl/loadgl.c:151:2: note: some parts of macro expansion are not guarded by this 'if' clause if(!ptr_glMultiTexCoord2f) ^~ Compiling LINUX Port: source/gfxlib/hq2x.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gfxlib/hq2x.c -o source/gfxlib/hq2x.o Compiling LINUX Port: source/gfxlib/gfx.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gfxlib/gfx.c -o source/gfxlib/gfx.o Compiling LINUX Port: source/gfxlib/scanline.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gfxlib/scanline.c -o source/gfxlib/scanline.o Compiling LINUX Port: source/gfxlib/simple2x.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gfxlib/simple2x.c -o source/gfxlib/simple2x.o Compiling LINUX Port: source/gfxlib/scale2x.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gfxlib/scale2x.c -o source/gfxlib/scale2x.o Compiling LINUX Port: source/gamelib/draw.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/draw.c -o source/gamelib/draw.o Compiling LINUX Port: source/gfxlib/tv2x.c... Compiling LINUX Port: source/gamelib/draw16.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/draw16.c -o source/gamelib/draw16.o cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gfxlib/tv2x.c -o source/gfxlib/tv2x.o Compiling LINUX Port: source/gamelib/draw32.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/draw32.c -o source/gamelib/draw32.o Compiling LINUX Port: source/gamelib/translation.c... Compiling LINUX Port: source/gamelib/bitmap.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/translation.c -o source/gamelib/translation.o cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/bitmap.c -o source/gamelib/bitmap.o Compiling LINUX Port: source/gamelib/anigif.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/anigif.c -o source/gamelib/anigif.o Compiling LINUX Port: source/gamelib/font.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/font.c -o source/gamelib/font.o Compiling LINUX Port: source/gamelib/screen.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/screen.c -o source/gamelib/screen.o Compiling LINUX Port: source/gamelib/screen16.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/screen16.c -o source/gamelib/screen16.o Compiling LINUX Port: source/gamelib/screen32.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/screen32.c -o source/gamelib/screen32.o Compiling LINUX Port: source/gamelib/loadimg.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/loadimg.c -o source/gamelib/loadimg.o Compiling LINUX Port: source/gamelib/palette.c... Compiling LINUX Port: source/gamelib/packfile.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/palette.c -o source/gamelib/palette.o cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/packfile.c -o source/gamelib/packfile.o Compiling LINUX Port: source/gamelib/filecache.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/filecache.c -o source/gamelib/filecache.o Compiling LINUX Port: source/gamelib/pixelformat.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/pixelformat.c -o source/gamelib/pixelformat.o Compiling LINUX Port: source/gamelib/soundmix.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/soundmix.c -o source/gamelib/soundmix.o Compiling LINUX Port: source/gamelib/spriteq.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/spriteq.c -o source/gamelib/spriteq.o Compiling LINUX Port: source/gamelib/sprite.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/sprite.c -o source/gamelib/sprite.o Compiling LINUX Port: source/gamelib/spritex8p16.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/spritex8p16.c -o source/gamelib/spritex8p16.o Compiling LINUX Port: source/gamelib/spritex8p32.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/spritex8p32.c -o source/gamelib/spritex8p32.o Compiling LINUX Port: source/gamelib/commands.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/commands.c -o source/gamelib/commands.o source/gamelib/soundmix.c: In function 'sound_load_sample': source/gamelib/soundmix.c:367:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cache = &soundcache[(int)List_Retrieve(&samplelist)]; ^ source/gamelib/soundmix.c:392:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] List_InsertAfter(&samplelist, (void *)sound_cached, convcache); ^ Compiling LINUX Port: source/gamelib/models.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/models.c -o source/gamelib/models.o In file included from sdl/loadgl.h:27, from sdl/opengl.c:27: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from sdl/loadgl.h:27, from sdl/opengl.c:27: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 Compiling LINUX Port: source/gamelib/transform.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/transform.c -o source/gamelib/transform.o Compiling LINUX Port: source/gamelib/filters.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/gamelib/filters.c -o source/gamelib/filters.o Compiling LINUX Port: source/stringptr.c... Compiling LINUX Port: source/utils.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/stringptr.c -o source/stringptr.o cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/utils.c -o source/utils.o Compiling LINUX Port: source/stristr.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/stristr.c -o source/stristr.o source/gamelib/models.c: In function 'makelowercp': source/gamelib/models.c:23:5: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(convertbuf, name, 1024); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling LINUX Port: source/scriptlib/StackedSymbolTable.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/scriptlib/StackedSymbolTable.c -o source/scriptlib/StackedSymbolTable.o Compiling LINUX Port: source/scriptlib/ScriptVariant.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/scriptlib/ScriptVariant.c -o source/scriptlib/ScriptVariant.o Compiling LINUX Port: source/scriptlib/SymbolTable.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/scriptlib/SymbolTable.c -o source/scriptlib/SymbolTable.o Compiling LINUX Port: source/scriptlib/Instruction.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/scriptlib/Instruction.c -o source/scriptlib/Instruction.o Compiling LINUX Port: source/scriptlib/Interpreter.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/scriptlib/Interpreter.c -o source/scriptlib/Interpreter.o source/utils.c: In function 'getBasePath': source/utils.c:101:35: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] #define COPY_ROOT_PATH(buf, name) strncpy(buf, "./", 2); strncat(buf, name, strlen(name)); strncat(buf, "/", 1); ^~~~~~~~~~~~~~~~~~~~~ source/utils.c:161:9: note: in expansion of macro 'COPY_ROOT_PATH' COPY_ROOT_PATH(buf, name); ^~~~~~~~~~~~~~ source/utils.c:101:92: warning: 'strncat' specified bound 1 equals source length [-Wstringop-overflow=] #define COPY_ROOT_PATH(buf, name) strncpy(buf, "./", 2); strncat(buf, name, strlen(name)); strncat(buf, "/", 1); ^~~~~~~~~~~~~~~~~~~~ source/utils.c:161:9: note: in expansion of macro 'COPY_ROOT_PATH' COPY_ROOT_PATH(buf, name); ^~~~~~~~~~~~~~ source/utils.c:102:35: warning: 'strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] #define COPY_PAKS_PATH(buf, name) strncpy(buf, "./Paks/", 7); strncat(buf, name, strlen(name)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ source/utils.c:164:9: note: in expansion of macro 'COPY_PAKS_PATH' COPY_PAKS_PATH(buf, name); ^~~~~~~~~~~~~~ source/utils.c: In function 'getPakName': source/utils.c:338:9: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] strncat(mod, ".sav", 4); ^~~~~~~~~~~~~~~~~~~~~~~ source/utils.c:341:9: warning: 'strncat' specified bound 3 equals source length [-Wstringop-overflow=] strncat(mod, ".hi", 3); ^~~~~~~~~~~~~~~~~~~~~~ source/utils.c:344:9: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] strncat(mod, ".scr", 4); ^~~~~~~~~~~~~~~~~~~~~~~ source/utils.c:347:9: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] strncat(mod, ".inp", 4); ^~~~~~~~~~~~~~~~~~~~~~~ source/utils.c:350:9: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] strncat(mod, ".cfg", 4); ^~~~~~~~~~~~~~~~~~~~~~~ source/utils.c: In function 'getBasePath': source/utils.c:102:63: warning: 'strncat' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] #define COPY_PAKS_PATH(buf, name) strncpy(buf, "./Paks/", 7); strncat(buf, name, strlen(name)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/utils.c:164:9: note: in expansion of macro 'COPY_PAKS_PATH' COPY_PAKS_PATH(buf, name); ^~~~~~~~~~~~~~ source/utils.c:101:58: warning: 'strncat' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] #define COPY_ROOT_PATH(buf, name) strncpy(buf, "./", 2); strncat(buf, name, strlen(name)); strncat(buf, "/", 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/utils.c:161:9: note: in expansion of macro 'COPY_ROOT_PATH' COPY_ROOT_PATH(buf, name); ^~~~~~~~~~~~~~ source/utils.c: In function 'dirExists': source/utils.c:185:5: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy(realName, dname, 128); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/utils.c: In function 'getPakName': source/utils.c:333:5: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(mod, packfile, strlen(packfile) - 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/utils.c:333:28: note: length computed here strncpy(mod, packfile, strlen(packfile) - 4); ^~~~~~~~~~~~~~~~ source/utils.c: In function 'screenshot': source/utils.c:407:35: warning: '%s' directive writing up to 127 bytes into a region of size between 0 and 127 [-Wformat-overflow=] sprintf(shotname, "%s/%s - %04u.png", screenShotsDir, modname, shotnum); ^~ ~~~~~~~ source/utils.c:407:31: note: directive argument in the range [0, 9999] sprintf(shotname, "%s/%s - %04u.png", screenShotsDir, modname, shotnum); ^~~~~~~~~~~~~~~~~~ source/utils.c:407:13: note: 'sprintf' output between 13 and 267 bytes into a destination of size 128 sprintf(shotname, "%s/%s - %04u.png", screenShotsDir, modname, shotnum); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling LINUX Port: source/scriptlib/ImportCache.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/scriptlib/ImportCache.c -o source/scriptlib/ImportCache.o In file included from source/scriptlib/depends.h:13, from source/scriptlib/Interpreter.h:11, from ./openborscript.h:12, from source/scriptlib/Interpreter.c:9: source/scriptlib/Interpreter.c: In function 'Interpreter_CompileInstructions': source/scriptlib/Interpreter.c:601:56: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] assert(pInstruction->ptheJumpTarget >= (Instruction **)size); // should be true in any sane environments ^ source/globals.h:65:35: note: in definition of macro 'assert' #define assert(x) exitIfFalse((x)?1:0, #x, __func__, __FILE__, __LINE__) ^ Compiling LINUX Port: source/scriptlib/ParserSet.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/scriptlib/ParserSet.c -o source/scriptlib/ParserSet.o source/scriptlib/ImportCache.c: In function 'ImportNode_Init': source/scriptlib/ImportCache.c:123:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] List_InsertAfter(&self->functions, (void *)i, List_GetName(list)); ^ source/scriptlib/ImportCache.c:138:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int index = (int)List_Retrieve(&self->functions); ^ Compiling LINUX Port: source/scriptlib/Parser.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/scriptlib/Parser.c -o source/scriptlib/Parser.o Compiling LINUX Port: source/scriptlib/Lexer.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/scriptlib/Lexer.c -o source/scriptlib/Lexer.o source/gamelib/packfile.c: In function 'casesearch': source/gamelib/packfile.c:320:33: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(fullpath, "%s/%s", dir, entry->d_name); ^ source/gamelib/packfile.c:320:9: note: 'sprintf' output 2 or more bytes (assuming 257) into a destination of size 256 sprintf(fullpath, "%s/%s", dir, entry->d_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/gamelib/packfile.c: In function 'makefilenamecache': source/gamelib/packfile.c:618:9: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy(target, (char *)pak_header + hpos + 12, 256); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'openreadaheadpackfile.part.3', inlined from 'openreadaheadpackfile' at source/gamelib/packfile.c:666:5: source/gamelib/packfile.c:691:5: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy(target, filename, 256); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling LINUX Port: source/scriptlib/Stack.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/scriptlib/Stack.c -o source/scriptlib/Stack.o Compiling LINUX Port: source/scriptlib/List.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/scriptlib/List.c -o source/scriptlib/List.o Compiling LINUX Port: source/preprocessorlib/pp_lexer.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/preprocessorlib/pp_lexer.c -o source/preprocessorlib/pp_lexer.o source/scriptlib/Lexer.c: In function 'Token_InitFromPreprocessor': source/scriptlib/Lexer.c:28:5: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation] strncpy(ptoken->theSource, ppToken->theSource, MAX_TOKEN_LENGTH); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling LINUX Port: source/preprocessorlib/pp_parser.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/preprocessorlib/pp_parser.c -o source/preprocessorlib/pp_parser.o Compiling LINUX Port: source/preprocessorlib/pp_expr.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/preprocessorlib/pp_expr.c -o source/preprocessorlib/pp_expr.o Compiling LINUX Port: source/ramlib/ram.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/ramlib/ram.c -o source/ramlib/ram.o Compiling LINUX Port: source/randlib/rand32.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/randlib/rand32.c -o source/randlib/rand32.o Compiling LINUX Port: source/pnglib/pngdec.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/pnglib/pngdec.c -o source/pnglib/pngdec.o Compiling LINUX Port: source/pnglib/savepng.c... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -c source/pnglib/savepng.c -o source/pnglib/savepng.o source/preprocessorlib/pp_parser.c: In function 'pp_parser_stringify': source/preprocessorlib/pp_parser.c:701:17: warning: 'strncat' specified bound 2 equals source length [-Wstringop-overflow=] strncat(self->token.theSource, "\\\"", 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/preprocessorlib/pp_parser.c:706:17: warning: 'strncat' specified bound 2 equals source length [-Wstringop-overflow=] strncat(self->token.theSource, "\\\\", 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/preprocessorlib/pp_parser.c:722:5: warning: 'strncat' specified bound 1 equals source length [-Wstringop-overflow=] strncat(self->token.theSource, "\"", 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sdl/menu.c: In function 'findPaks': sdl/menu.c:197:5: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy(filelist[i].filename, ds->d_name, strlen(ds->d_name)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sdl/menu.c: In function 'drawMenu': sdl/menu.c:511:5: warning: 'strncpy' output may be truncated copying between 0 and 123 bytes from a string of length 127 [-Wstringop-truncation] strncpy(listing, filelist[list+dListScrollPosition].filename, strlen(filelist[list+dListScrollPosition].filename)-4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sdl/menu.c: In function 'drawBGMPlayer': sdl/menu.c:572:5: warning: 'strncpy' output may be truncated copying between 0 and 123 bytes from a string of length 127 [-Wstringop-truncation] strncpy(listing, filelist[list+dListScrollPosition].filename, strlen(filelist[list+dListScrollPosition].filename)-4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sdl/menu.c:595:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(bgmListing, filelist[bgmCurrent].filename, strlen(filelist[bgmCurrent].filename)-4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sdl/menu.c:594:5: note: length computed here if(strlen(filelist[bgmCurrent].filename)-4 < 24) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sdl/menu.c:597:3: warning: 'strncpy' output may be truncated copying 24 bytes from a string of length 127 [-Wstringop-truncation] strncpy(bgmListing, filelist[bgmCurrent].filename, 24); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sdl/menu.c:604:12: warning: 'strncpy' output may be truncated copying 25 bytes from a string of length 63 [-Wstringop-truncation] if(t1[0]) strncpy(t2, t1, 25); ^~~~~~~~~~~~~~~~~~~ sdl/menu.c:605:12: warning: 'strncpy' output may be truncated copying 25 bytes from a string of length 63 [-Wstringop-truncation] if(a1[0]) strncpy(a2, a1, 25); ^~~~~~~~~~~~~~~~~~~ source/scriptlib/Parser.c: In function 'Parser_CreateLabel': source/scriptlib/Parser.c:220:27: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(theLabel, "L%d", pparser->LabelCount); ^ source/scriptlib/Parser.c:220:5: note: 'sprintf' output between 3 and 13 bytes into a destination of size 12 sprintf(theLabel, "L%d", pparser->LabelCount); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openborscript.c: In function 'openbor_fademusic': openborscript.c:10767:9: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy(musicname, StrCache_Get(varlist[1]->strVal), 128); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c: In function 'load_level': openbor.c:13184:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] level->background = (s_layer *)level->numlayersref++; ^ openbor.c:13201:61: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] level->bglayers[level->numbglayers++] = (s_layer *)level->numlayersref; ^ openbor.c:13205:61: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] level->fglayers[level->numfglayers++] = (s_layer *)level->numlayersref; ^ openbor.c:13209:57: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] level->waters[level->numwaters++] = (s_layer *)level->numlayersref; ^ openbor.c:13213:71: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] level->genericlayers[level->numgenericlayers++] = (s_layer *)level->numlayersref; ^ openbor.c:13219:67: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] level->frontpanels[level->numfrontpanels++] = (s_layer *)level->numlayersref; ^ openbor.c:13239:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] level->panels[i][j] = (s_layer *)level->numlayersref; ^ In file included from openbor.c:14: openbor.c: In function 'set_pain': openbor.h:590:3: warning: macro expands to multiple statements [-Wmultistatement-macros] ent_set_colourmap(e, e->map);\ ^~~~~~~~~~~~~~~~~ openbor.c:18661:20: note: in expansion of macro 'unfrozen' if(iPain->frozen) unfrozen(iPain); ^~~~~~~~ openbor.c:18715:5: note: in expansion of macro 'painflags' painflags(iPain); ^~~~~~~~~ openbor.c:18661:2: note: some parts of macro expansion are not guarded by this 'if' clause if(iPain->frozen) unfrozen(iPain); ^~ openbor.c:18715:5: note: in expansion of macro 'painflags' painflags(iPain); ^~~~~~~~~ openbor.c: In function 'didfind_item': openbor.c:24143:50: warning: self-comparison always evaluates to false [-Wtautological-compare] if(self->weapent->modeldata.shootnum > self->weapent->modeldata.shootnum) ^ openbor.c: In function 'saveasdefault': openbor.c:2791:5: warning: 'strncat' specified bound 128 equals destination size [-Wstringop-overflow=] strncat(path, "default.cfg", 128); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c: In function 'loadfromdefault': openbor.c:2840:5: warning: 'strncat' specified bound 128 equals destination size [-Wstringop-overflow=] strncat(path, "default.cfg", 128); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c: In function 'load_models': openbor.c:10273:13: warning: 'strncat' specified bound 7 equals source length [-Wstringop-overflow=] strncat(tmpBuff, "loading", 7); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c: In function 'gameover': openbor.c:28917:9: warning: 'strncat' specified bound 12 equals source length [-Wstringop-overflow=] strncat(tmpBuff, "gameover.txt", 12); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c: In function 'hallfame': openbor.c:28966:13: warning: 'strncat' specified bound 7 equals source length [-Wstringop-overflow=] strncat(tmpBuff, "hiscore", 7); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c: In function 'showcomplete': openbor.c:29050:13: warning: 'strncat' specified bound 8 equals source length [-Wstringop-overflow=] strncat(tmpBuff, "complete", 8); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c: In function 'selectplayer': openbor.c:29412:17: warning: 'strncat' specified bound 8 equals source length [-Wstringop-overflow=] strncat(string, "unlockbg", 8); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c:29426:17: warning: 'strncat' specified bound 6 equals source length [-Wstringop-overflow=] strncat(string, "select", 6); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c: In function 'openborMain': openbor.c:32234:13: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] strncat(tmpBuff, "logo", 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c:32253:13: warning: 'strncat' specified bound 8 equals source length [-Wstringop-overflow=] strncat(tmpBuff, "logo.txt", 8); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c:32273:21: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] strncat(tmpBuff, "intro.txt", 9); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c:32396:25: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] strncat(tmpBuff, "howto.txt", 9); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c:32430:21: warning: 'strncat' specified bound 6 equals source length [-Wstringop-overflow=] strncat(tmpBuff, "titleb", 6); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c:32445:21: warning: 'strncat' specified bound 5 equals source length [-Wstringop-overflow=] strncat(tmpBuff, "title", 5); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c: In function 'load_levelorder': openbor.c:11578:13: warning: 'strncpy' specified bound 47 equals destination size [-Wstringop-truncation] strncpy(rush_names[1], GET_ARG(6), MAX_NAME_LEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c: In function 'load_level': openbor.c:12261:13: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy(string, value, 128); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c: In function 'smartspawn': openbor.c:26620:9: warning: 'strncpy' output may be truncated copying 47 bytes from a string of length 47 [-Wstringop-truncation] strncpy(e->name, props->alias, MAX_NAME_LEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c:26628:9: warning: 'strncpy' output may be truncated copying 47 bytes from a string of length 47 [-Wstringop-truncation] strncpy(e->itemalias, props->itemalias, MAX_NAME_LEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c: In function 'selectplayer': openbor.c:29425:17: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy(string, custBkgrds, 128); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c: In function 'choose_difficulty': openbor.c:29879:17: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] strncpy(savelevel[saveslot].dName, levelsets[saveslot].name, MAX_NAME_LEN + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c:29930:17: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] strncpy(savelevel[saveslot].dName, levelsets[saveslot].name, MAX_NAME_LEN + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c: In function 'openborMain': openbor.c:32252:13: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy(tmpBuff, custScenes, 128); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c:32391:21: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation] strncpy(previousMusic, currentmusic, sizeof(previousMusic) - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c:32395:25: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy(tmpBuff, custScenes, 128); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c:32272:21: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy(tmpBuff, custScenes, 128); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c:32444:21: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy(tmpBuff, custBkgrds, 128); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbor.c:32429:21: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy(tmpBuff, custBkgrds, 128); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Linking LINUX Port: OpenBOR.elf... cc -pipe -fcommon -O2 -fno-strict-aliasing -std=gnu89 -DAMD64 -I"sdl" -I"'libpng-config" -I"--prefix'/include/libpng" -I"." -I"source" -I"source/adpcmlib" -I"source/gamelib" -I"source/preprocessorlib" -I"source/ramlib" -I"source/randlib" -I"source/scriptlib" -I"source/pnglib" -I"source/gfxlib" -I"/usr/local/include" -I"/usr/local/include/SDL" -DLINUX -Wall -fsigned-char -fno-ident -DSDL -DOV_EXCLUDE_STATIC_CALLBACKS -DOPENGL -DLOADGL -o OpenBOR.elf openbor.o openborscript.o sdl/joysticks.o sdl/control.o sdl/sblaster.o sdl/timer.o sdl/sdlport.o sdl/video.o sdl/menu.o sdl/opengl.o sdl/loadgl.o source/adpcmlib/adpcm.o source/gfxlib/2xSaI.o source/gfxlib/bilinear.o source/gfxlib/dotmatrix.o source/gfxlib/gfx.o source/gfxlib/hq2x.o source/gfxlib/scale2x.o source/gfxlib/scanline.o source/gfxlib/simple2x.o source/gfxlib/tv2x.o source/gamelib/draw.o source/gamelib/draw16.o source/gamelib/draw32.o source/gamelib/font.o source/gamelib/translation.o source/gamelib/anigif.o source/gamelib/bitmap.o source/gamelib/screen.o source/gamelib/screen16.o source/gamelib/screen32.o source/gamelib/loadimg.o source/gamelib/palette.o source/gamelib/packfile.o source/gamelib/filecache.o source/gamelib/pixelformat.o source/gamelib/soundmix.o source/gamelib/spriteq.o source/gamelib/sprite.o source/gamelib/spritex8p16.o source/gamelib/spritex8p32.o source/gamelib/commands.o source/gamelib/models.o source/gamelib/transform.o source/gamelib/filters.o source/stringptr.o source/utils.o source/stristr.o source/scriptlib/StackedSymbolTable.o source/scriptlib/ScriptVariant.o source/scriptlib/SymbolTable.o source/scriptlib/Instruction.o source/scriptlib/Interpreter.o source/scriptlib/ImportCache.o source/scriptlib/ParserSet.o source/scriptlib/Parser.o source/scriptlib/Lexer.o source/scriptlib/Stack.o source/scriptlib/List.o source/preprocessorlib/pp_lexer.o source/preprocessorlib/pp_parser.o source/preprocessorlib/pp_expr.o source/ramlib/ram.o source/randlib/rand32.o source/pnglib/pngdec.o source/pnglib/savepng.o -Wl,--as-needed -L"/usr/local/lib" -lSDL -lSDL_gfx -lpthread -lvorbisfile -lvorbis -logg -lpng -lz -lm gmake[1]: Leaving directory '/construction/games/openbor3979/openbor-2bcf25b/engine' SUCCEEDED 00:00:27 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for openbor3979-3979_2 ===> Generating temporary packing list install -s -m 555 /construction/games/openbor3979/openbor-2bcf25b/engine/OpenBOR.elf /construction/games/openbor3979/stage/usr/local/bin/openbor3979 install -m 0644 /construction/games/openbor3979/openbor-2bcf25b/engine/resources/OpenBOR_Icon_128x128.png /construction/games/openbor3979/stage/usr/local/share/pixmaps/openbor3979.png (cd /construction/games/openbor3979/openbor-2bcf25b/engine && /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) && /usr/bin/find -Ed $1 $3 \( -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} + -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE "README" /construction/games/openbor3979/stage/usr/local/share/doc/openbor3979) ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: check-plist ------------------------------------------------------------------------------- ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for openbor3979-3979_2 file sizes/checksums [4]: 0% file sizes/checksums [4]: 100% Service unavailablepacking files [4]: 0% packing files [4]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:00 TOTAL TIME 00:00:45