Fails to build for me:
==> Making package: ftequake-svn r6343-1 (2024-02-19 13:55:38 CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Starting build()...
make: Entering directory 'ftequake-svn/src/trunk/engine'
gcc -x c-header -fvisibility=hidden -DCONFIG_FILE_NAME=config_fteqw.h -DLINK_PNG -DLINK_JPEG -DLINK_QUAKE3 -DLINK_FREETYPE
-march=native -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -Wstrict-aliasing
-Wno-deprecated -Wno-deprecated-declarations -fstack-clash-protection -fcf-protection -fstack-protector-strong -flto=auto -Wall
-Wno-pointer-sign -Wno-unknown-pragmas -Wno-format-zero-length -Wno-strict-aliasing -Iftequake-svn/src/trunk/engine/client
-Iftequake-svn/src/trunk/engine/server -Iftequake-svn/src/trunk/engine/common -Iftequake-svn/src/trunk/engine/gl
-Iftequake-svn/src/trunk/engine/d3d -Iftequake-svn/src/trunk/engine/qclib -I. -I./dxsdk9/include -I./dxsdk7/include -DSVNREVISION=6343
-DSVNDATE=2023-01-09T05:15:31.885010Z -DSERVERONLY -DMULTITHREAD -Os -Iftequake-svn/src/trunk/engine/libs-x86_64-pc-linux-gnu -DBOTLIB
-DBOTLIB_STATIC -DSTATIC_Q3 -I/usr/include/opus -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Iftequake-svn/src/trunk/engine/release/sv_linux -o
ftequake-svn/src/trunk/engine/release/sv_linux/quakedef.h.gch -c ftequake-svn/src/trunk/engine/client/quakedef.h
[...]
gcc -x c-header -fvisibility=hidden -DCONFIG_FILE_NAME=config_fteqw.h -DLINK_PNG -DLINK_JPEG -DLINK_QUAKE3 -DLINK_FREETYPE
-march=native -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -Wstrict-aliasing
-Wno-deprecated -Wno-deprecated-declarations -fstack-clash-protection -fcf-protection -fstack-protector-strong -flto=auto -Wall
-Wno-pointer-sign -Wno-unknown-pragmas -Wno-format-zero-length -Wno-strict-aliasing -Iftequake-svn/src/trunk/engine/client
-Iftequake-svn/src/trunk/engine/server -Iftequake-svn/src/trunk/engine/common -Iftequake-svn/src/trunk/engine/gl
-Iftequake-svn/src/trunk/engine/d3d -Iftequake-svn/src/trunk/engine/qclib -I. -I./dxsdk9/include -I./dxsdk7/include -DSVNREVISION=6343
-DSVNDATE=2023-01-09T05:15:31.885010Z -DCLIENTONLY -DGLQUAKE -I/usr/X11R6/include -DMULTITHREAD -DDYNAMIC_SDL -DUSE_EGL -DWAYLANDQUAKE
-DX11QUAKE -DAUDIO_PULSE -DAUDIO_ALSA -DAUDIO_OSS -DAUDIO_SDL -DOPUS_STATIC -DSPEEX_STATIC -DLIBVORBISFILE_STATIC -DFREETYPE_STATIC
-DLIBPNG_STATIC -DLIBJPEG_STATIC -DZLIB_STATIC -DMINIMAL -Os -Iftequake-svn/src/trunk/engine/libs-x86_64-pc-linux-gnu -DBOTLIB
-DBOTLIB_STATIC -DSTATIC_Q3 -I/usr/include/opus -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Iftequake-svn/src/trunk/engine/release/mingl_linux -o
ftequake-svn/src/trunk/engine/release/mingl_linux/quakedef.h.gch -c ftequake-svn/src/trunk/engine/client/quakedef.h
Makefile:1922: warning: pattern recipe did not update peer target 'ftequake-svn/src/trunk/engine/release/mingl_linux/gl_font.d'.
ftequake-svn/src/trunk/engine/gl/gl_ngraph.c: In function ‘R_FrameTimeGraph’:
ftequake-svn/src/trunk/engine/gl/gl_ngraph.c:247:23: warning: unused variable ‘server_frametime’ [-Wunused-variable]
247 | extern double server_frametime, r_loaderstalltime;
| ^~~~~~~~~~~~~~~~
Makefile:1922: warning: pattern recipe did not update peer target 'ftequake-svn/src/trunk/engine/release/mingl_linux/gl_ngraph.d'.
Makefile:1922: warning: pattern recipe did not update peer target 'ftequake-svn/src/trunk/engine/release/mingl_linux/gl_shader.d'.
Makefile:1922: warning: pattern recipe did not update peer target 'ftequake-svn/src/trunk/engine/release/mingl_linux/gl_shadow.d'.
Makefile:1922: warning: pattern recipe did not update peer target 'ftequake-svn/src/trunk/engine/release/mingl_linux/gl_rlight.d'.
Makefile:1922: warning: pattern recipe did not update peer target 'ftequake-svn/src/trunk/engine/release/mingl_linux/gl_warp.d'.
ftequake-svn/src/trunk/engine/gl/ltface.c:776:87: warning: argument 3 of type ‘short unsigned int[16]’ with mismatched bound
[-Warray-parameter=]
776 | void LightPlane (struct relight_ctx_s *ctx, struct llightinfo_s *l, lightstyleindex_t surf_styles[MAXCPULIGHTMAPS], unsigned int
*surf_expsamples, qbyte *surf_rgbsamples, qbyte *surf_deluxesamples, vec4_t surf_plane, vec4_t surf_texplanes[2], vec2_t exactmins, vec2_t
exactmaxs, int texmins[2], int texsize[2], float lmscale)
In file included from ftequake-svn/src/trunk/engine/client/quakedef.h:184,
from ftequake-svn/src/trunk/engine/gl/ltface.c:1:
ftequake-svn/src/trunk/engine/client/render.h:585:95: note: previously declared as ‘short unsigned int[4]’
585 | void LightPlane (struct relight_ctx_s *ctx, struct llightinfo_s *threadctx, lightstyleindex_t surf_styles[4], unsigned int
*surf_expsamples, qbyte *surf_rgbsamples, qbyte *surf_deluxesamples, vec4_t surf_plane, vec4_t surf_texplanes[2], vec2_t exactmins, vec2_t
exactmaxs, int texmins[2], int texsize[2], float lmscale); //special version that doesn't know what a face is or anything.
Makefile:1922: warning: pattern recipe did not update peer target 'ftequake-svn/src/trunk/engine/release/mingl_linux/ltface.d'.
Makefile:1922: warning: pattern recipe did not update peer target 'ftequake-svn/src/trunk/engine/release/mingl_linux/r_surf.d'.
Makefile:1922: warning: pattern recipe did not update peer target 'ftequake-svn/src/trunk/engine/release/mingl_linux/r_2d.d'.
Makefile:1922: warning: pattern recipe did not update peer target 'ftequake-svn/src/trunk/engine/release/mingl_linux/gl_draw.d'.
ftequake-svn/src/trunk/engine/gl/gl_backend.c: In function ‘BE_GenTempMeshVBO’:
ftequake-svn/src/trunk/engine/gl/gl_backend.c:5091:28: warning: storing the address of local variable ‘m’ in
‘shaderstate.D.35226.meshes’ [-Wdangling-pointer=]
5091 | shaderstate.meshes = &m;
| ~~~~~~~~~~~~~~~~~~~^~~~
ftequake-svn/src/trunk/engine/gl/gl_backend.c:4905:56: note: ‘m’ declared here
4905 | static qboolean BE_GenTempMeshVBO(vbo_t **vbo, mesh_t *m)
| ~~~~~~~~^
ftequake-svn/src/trunk/engine/gl/gl_backend.c:215:3: note: ‘shaderstate’ declared here
215 | } shaderstate;
| ^~~~~~~~~~~
Makefile:1922: warning: pattern recipe did not update peer target 'ftequake-svn/src/trunk/engine/release/mingl_linux/gl_backend.d'.
Makefile:1922: warning: pattern recipe did not update peer target 'ftequake-svn/src/trunk/engine/release/mingl_linux/gl_rmain.d'.
Makefile:1922: warning: pattern recipe did not update peer target 'ftequake-svn/src/trunk/engine/release/mingl_linux/gl_rmisc.d'.
Makefile:1922: warning: pattern recipe did not update peer target 'ftequake-svn/src/trunk/engine/release/mingl_linux/gl_rsurf.d'.
Makefile:1922: warning: pattern recipe did not update peer target 'ftequake-svn/src/trunk/engine/release/mingl_linux/gl_screen.d'.
Makefile:1922: warning: pattern recipe did not update peer target 'ftequake-svn/src/trunk/engine/release/mingl_linux/gl_bloom.d'.
Makefile:1922: warning: pattern recipe did not update peer target 'ftequake-svn/src/trunk/engine/release/mingl_linux/gl_vidcommon.d'.
Makefile:1922: warning: pattern recipe did not update peer target 'ftequake-svn/src/trunk/engine/release/mingl_linux/vk_init.d'.
Makefile:1922: warning: pattern recipe did not update peer target 'ftequake-svn/src/trunk/engine/release/mingl_linux/vk_backend.d'.
Makefile:1922: warning: pattern recipe did not update peer target 'ftequake-svn/src/trunk/engine/release/mingl_linux/gl_vidlinuxglx.d'.
ftequake-svn/src/trunk/engine/gl/gl_vidwayland.c: In function ‘WL_CreateCursor’:
ftequake-svn/src/trunk/engine/gl/gl_vidwayland.c:774:17: warning: ignoring return value of ‘ftruncate’ declared with attribute
‘warn_unused_result’ [-Wunused-result]
774 | ftruncate (fd, size);
| ^~~~~~~~~~~~~~~~~~~~
Makefile:1922: warning: pattern recipe did not update peer target 'ftequake-svn/src/trunk/engine/release/mingl_linux/gl_vidwayland.d'.
Makefile:1922: warning: pattern recipe did not update peer target 'ftequake-svn/src/trunk/engine/release/mingl_linux/gl_videgl.d'.
Makefile:1922: warning: pattern recipe did not update peer target 'ftequake-svn/src/trunk/engine/release/mingl_linux/snd_pulse.d'.
Makefile:1922: warning: pattern recipe did not update peer target 'ftequake-svn/src/trunk/engine/release/mingl_linux/snd_alsa.d'.
Makefile:1922: warning: pattern recipe did not update peer target 'ftequake-svn/src/trunk/engine/release/mingl_linux/snd_linux.d'.
Makefile:1922: warning: pattern recipe did not update peer target 'ftequake-svn/src/trunk/engine/release/mingl_linux/snd_sdl.d'.
Makefile:1922: warning: pattern recipe did not update peer target 'ftequake-svn/src/trunk/engine/release/mingl_linux/cd_linux.d'.
In file included from ftequake-svn/src/trunk/engine/client/sys_linux.c:63:
./../plugins/plugin.h:502:66: error: unknown type name ‘client_t’
502 | F(void, DropClient, (client_t *drop));
| ^~~~~~~~
./../plugins/plugin.h:187:36: note: in definition of macro ‘F’
187 | #define F(t, n, args) t (QDECL *n) args
| ^~~~
./../plugins/plugin.h:503:54: error: unknown type name ‘client_t’
503 | F(void, ExtractFromUserinfo,(client_t *cl, qboolean verbose));
| ^~~~~~~~
./../plugins/plugin.h:187:36: note: in definition of macro ‘F’
187 | #define F(t, n, args) t (QDECL *n) args
| ^~~~
ftequake-svn/src/trunk/engine/client/sys_linux.c: In function ‘Friendly_Crash_Handler’:
ftequake-svn/src/trunk/engine/client/sys_linux.c:1094:17: warning: ignoring return value of ‘write’ declared with attribute
‘warn_unused_result’ [-Wunused-result]
1094 | write(fd, buffer, strlen(buffer));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ftequake-svn/src/trunk/engine/client/sys_linux.c:1102:17: warning: ignoring return value of ‘write’ declared with attribute
‘warn_unused_result’ [-Wunused-result]
1102 | write(fd, buffer, strlen(buffer));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ftequake-svn/src/trunk/engine/client/sys_linux.c:1113:17: warning: ignoring return value of ‘write’ declared with attribute
‘warn_unused_result’ [-Wunused-result]
1113 | write(fd, buffer, strlen(buffer));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ftequake-svn/src/trunk/engine/client/sys_linux.c:1116:17: warning: ignoring return value of ‘write’ declared with attribute
‘warn_unused_result’ [-Wunused-result]
1116 | write(fd, "\n", 1);
| ^~~~~~~~~~~~~~~~~~
make[4]: *** [Makefile:1923: ftequake-svn/src/trunk/engine/release/mingl_linux/sys_linux.o] Error 1
make[3]: *** [Makefile:1995: _out-rel] Error 2
make[2]: *** [Makefile:2011: _cl-rel] Error 2
make[1]: *** [Makefile:2097: mingl-tmp] Error 2
make: *** [Makefile:2099: mingl-rel] Error 2
make: Leaving directory 'ftequake-svn/src/trunk/engine'
==> ERROR: A failure occurred in build().
Aborting...
Pinned Comments
ProfessorKaos64 commented on 2016-09-21 18:51 (UTC)