Package Details: realrtcw 3.1n-3

Git Clone URL: https://aur.archlinux.org/realrtcw.git (read-only, click to copy)
Package Base: realrtcw
Description: An overhaul mod for critically acclaimed Return To Castle Wolfenstein.
Upstream URL: http://www.moddb.com/mods/realrtcw-realism-mod
Keywords: games ioRTCW mod RealRTCW rtcw
Licenses: GPL
Submitter: robertfoster
Maintainer: robertfoster
Last Packager: robertfoster
Votes: 1
Popularity: 0.28
First Submitted: 2017-08-06 13:32
Last Updated: 2020-11-16 18:55

Latest Comments

tuxsavvy commented on 2020-11-16 16:11

Hi, thanks for updating the PKGBUILD. there's a few issues with this latest updated PKGBUILD that I would like to raise, https://aur.archlinux.org/cgit/aur.git/commit/?h=realrtcw&id=6fced2c2a276bf8b796e7ea906557c94d2935ae6 ,

Here is a PKGBUILD which addresses the two following issues,

--- PKGBUILD.orig       2020-11-15 20:31:24.000000000 +0000
+++ PKGBUILD    2020-11-15 00:51:21.463672890 +0000
@@ -1,10 +1,13 @@
 # Maintainer: robertfoster

 msg "This PKGBUILD execute a one-line script to retrieve ModDB valid urls"
-_url=$(curl https://www.moddb.com/downloads/start/201571/all | grep -Po '(?<=href="/)[^"]*' | head -1)
+_mainid=201571
+_addonsid=201574
+_urlmain=$(curl https://www.moddb.com/downloads/start/${_mainid}/all | grep -Po '(?<=href="/)[^"]*' | head -1)
+_urladdons=$(curl https://www.moddb.com/downloads/start/${_addonsid}/all | grep -Po '(?<=href="/)[^"]*' | head -1)
 pkgname=realrtcw
 pkgver=3.1n
-pkgrel=1
+pkgrel=3
 pkgdesc="An overhaul mod for critically acclaimed Return To Castle Wolfenstein."
 arch=('i686' 'x86_64')
 url="http://www.moddb.com/mods/realrtcw-realism-mod"
@@ -12,10 +15,17 @@
 depends=('freetype2' 'graphite' 'harfbuzz' 'iortcw-data' 'libjpeg-turbo' 'libogg' 'openal' 'opus' 'opusfile' 'pcre' 'sdl2' 'zlib')
 makedepends=('unzip')
 install='realrtcw.install'
-_commit="559c3a7fc4dcf1fcab7405d51b987c789ad53cee"
+md5sums=('b0f5e7c4986f59ac28b0f78180f28988'
+         'db1682d588cf8556b2574f435f1610e7'
+         'da5b75e49061fb87f940dceaa10ca250'
+         '19ef21acfceb965f36b53b70267641d1'
+         '7e3991e5f331662419ad1ed04e49366c'
+         '88752202a0da9bc9cb467b6f0f201132')
+_commit="a1344ab17a53bda530e1f34c1a80bca7afcadcf4"

 source=("$pkgname-$pkgver.tar.gz::https://github.com/wolfetplayer/RealRTCW/archive/${_commit}.tar.gz"
-  "$pkgname-$pkgver.zip::https://www.moddb.com/${_url}"
+  "$pkgname-$pkgver.zip::https://www.moddb.com/${_urlmain}"
+  "$pkgname-$pkgver-addons.zip::https://www.moddb.com/${_urladdons}"
   "$pkgname.png"
   "$pkgname.launcher"
   "$pkgname.desktop"
@@ -64,6 +74,9 @@
       "$pkgdir/opt/realrtcw/main"
   done

+  # Installing RealRTCW Addons Pack
+  cp -R "$srcdir/copy this folder content into rtcw root directory/"* "$pkgdir/opt/realrtcw"
+
   # Modify Launcher Scripts
   if [ "$CARCH" = "x86_64" ]; then
     # x86_64 Systems
@@ -87,9 +100,3 @@
   install -Dm 644 "$srcdir/realrtcw.png" \
     "$pkgdir/usr/share/icons/hicolor/512x512/apps/realrtcw.png"
 }
-
-md5sums=('8ab96775a884f39160e40a5551c0420b'
-  '6f140b9df87f6fb362c323b0b5656710'
-  '19ef21acfceb965f36b53b70267641d1'
-  '7e3991e5f331662419ad1ed04e49366c'
-  '88752202a0da9bc9cb467b6f0f201132')

Below is the failed build log if using commit from master branch:

make[1]: Entering directory '/home/no/realrtcw/src/RealRTCW-9574099d1c064cf07c6c437565212a3bf7ccc87f'

Building in build/release-linux-x86_64:
  PLATFORM: linux
  ARCH: x86_64
  FILE_ARCH: x86_64
  VERSION: 3.1
  COMPILE_PLATFORM: linux
  COMPILE_ARCH: x86_64
  HAVE_VM_COMPILED: true
  PKG_CONFIG: pkg-config
  CC: cc
  CXX: g++

  CFLAGS:
    -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wall -fno-strict-aliasing -pipe -DUSE_ICON -DARCH_STRING="x86_64" -m64 -DBUILD_FREETYPE -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 -DPRODUCT_DATE="Nov 10 2020" -DPRODUCT_VERSION="3.1" -Wformat=2 -Wformat-security -Wno-format-nonliteral -Wstrict-aliasing=2 -Wmissing-format-attribute
    -Wdisabled-optimization -MMD -DNDEBUG -O3 -ffast-math

  CLIENT_CFLAGS:
    -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -DUSE_OPENAL -DUSE_OPENAL_DLOPEN -DUSE_VOIP -DUSE_CODEC_OPUS -I/usr/include/opus -DUSE_RENDERER_DLOPEN -DUSE_MUMBLE -DUSE_BLOOM

  SERVER_CFLAGS:
    -DUSE_VOIP

  LDFLAGS:
    -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now

  LIBS:
    -ldl -lm -lz

  CLIENT_LIBS:
    -pthread -lSDL2 -lrt -lopusfile -lopus -logg

  Output:
    RealRTCW.x86_64
    renderer_sp_opengl1_x86_64.so
    renderer_sp_rend2_x86_64.so
    main/cgame.sp.x86_64.so
    main/qagame.sp.x86_64.so
    main/ui.sp.x86_64.so

make[2]: Entering directory '/home/no/realrtcw/src/RealRTCW-9574099d1c064cf07c6c437565212a3bf7ccc87f'
CC code/client/cl_cgame.c
CC code/client/cl_cin.c
CC code/client/cl_console.c
CC code/client/cl_input.c
CC code/client/cl_keys.c
CC code/client/cl_main.c
CC code/client/cl_net_chan.c
CC code/client/cl_parse.c
CC code/client/cl_scrn.c
CC code/client/cl_ui.c
CC code/client/cl_avi.c
CC code/qcommon/cm_load.c
CC code/qcommon/cm_patch.c
CC code/qcommon/cm_polylib.c
CC code/qcommon/cm_test.c
CC code/qcommon/cm_trace.c
CC code/qcommon/cmd.c
CC code/qcommon/common.c
CC code/qcommon/cvar.c
CC code/qcommon/files.c
CC code/qcommon/md4.c
CC code/qcommon/md5.c
CC code/qcommon/msg.c
CC code/qcommon/net_chan.c
CC code/qcommon/net_ip.c
CC code/qcommon/huffman.c
CC code/client/snd_altivec.c
CC code/client/snd_adpcm.c
CC code/client/snd_dma.c
CC code/client/snd_mem.c
CC code/client/snd_mix.c
CC code/client/snd_wavelet.c
CC code/client/snd_main.c
CC code/client/snd_codec.c
CC code/client/snd_codec_wav.c
CC code/client/snd_codec_ogg.c
CC code/client/snd_codec_opus.c
CC code/client/qal.c
CC code/client/snd_openal.c
CC code/client/cl_curl.c
CC code/server/sv_bot.c
CC code/server/sv_ccmds.c
CC code/server/sv_client.c
CC code/server/sv_game.c
CC code/server/sv_init.c
CC code/server/sv_main.c
CC code/server/sv_net_chan.c
CC code/server/sv_snapshot.c
CC code/server/sv_world.c
CC code/qcommon/q_math.c
CC code/qcommon/q_shared.c
In function ‘Q_strncpyz’,
    inlined from ‘COM_StripFilename’ at code/qcommon/q_shared.c:171:2:
code/qcommon/q_shared.c:938:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
  938 |  strncpy( dest, src, destsize-1 );
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
code/qcommon/q_shared.c: In function ‘COM_StripFilename’:
code/qcommon/q_shared.c:171:23: note: length computed here
  171 |  Q_strncpyz( out, in, strlen( in ) );
      |                       ^~~~~~~~~~~~
CC code/zlib-1.2.11/unzip.c
CC code/zlib-1.2.11/ioapi.c
CC code/qcommon/puff.c
CC code/qcommon/vm.c
CC code/qcommon/vm_interpreted.c
BOT_CC code/botlib/be_aas_bspq3.c
BOT_CC code/botlib/be_aas_cluster.c
BOT_CC code/botlib/be_aas_debug.c
BOT_CC code/botlib/be_aas_entity.c
BOT_CC code/botlib/be_aas_file.c
BOT_CC code/botlib/be_aas_main.c
BOT_CC code/botlib/be_aas_move.c
BOT_CC code/botlib/be_aas_optimize.c
BOT_CC code/botlib/be_aas_reach.c
BOT_CC code/botlib/be_aas_route.c
BOT_CC code/botlib/be_aas_routealt.c
BOT_CC code/botlib/be_aas_routetable.c
BOT_CC code/botlib/be_aas_sample.c
BOT_CC code/botlib/be_ai_char.c
BOT_CC code/botlib/be_ai_chat.c
BOT_CC code/botlib/be_ai_gen.c
BOT_CC code/botlib/be_ai_goal.c
In function ‘BotGoalName’,
    inlined from ‘BotDumpAvoidGoals’ at code/botlib/be_ai_goal.c:686:4:
code/botlib/be_ai_goal.c:645:4: warning: ‘strncpy’ output may be truncated copying 31 bytes from a string of length 79 [-Wstringop-truncation]
  645 |    strncpy( name, itemconfig->iteminfo[li->iteminfo].name, size - 1 );
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘BotGoalName’,
    inlined from ‘BotDumpGoalStack’ at code/botlib/be_ai_goal.c:1016:3:
code/botlib/be_ai_goal.c:645:4: warning: ‘strncpy’ output may be truncated copying 31 bytes from a string of length 79 [-Wstringop-truncation]
  645 |    strncpy( name, itemconfig->iteminfo[li->iteminfo].name, size - 1 );
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BOT_CC code/botlib/be_ai_move.c
BOT_CC code/botlib/be_ai_weap.c
BOT_CC code/botlib/be_ai_weight.c
BOT_CC code/botlib/be_ea.c
BOT_CC code/botlib/be_interface.c
BOT_CC code/botlib/l_crc.c
BOT_CC code/botlib/l_libvar.c
BOT_CC code/botlib/l_log.c
BOT_CC code/botlib/l_memory.c
BOT_CC code/botlib/l_precomp.c
BOT_CC code/botlib/l_script.c
code/botlib/l_precomp.c: In function ‘PC_StringizeTokens’:
code/botlib/l_precomp.c:469:3: warning: ‘strncat’ output may be truncated copying between 0 and 1023 bytes from a string of length 1023 [-Wstringop-truncation]
  469 |   strncat( token->string, t->string, MAX_TOKEN - strlen( token->string ) - 1 );
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BOT_CC code/botlib/l_struct.c
SPLINE_CXX code/splines/math_angles.cpp
SPLINE_CXX code/splines/math_matrix.cpp
In file included from code/splines/q_splineshared.h:426,
                 from code/splines/math_angles.cpp:29:
code/splines/math_matrix.h: In constructor ‘mat3_t::mat3_t(float (*)[3])’:
code/splines/math_matrix.h:94:35: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class idVec3’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
   94 |  memcpy( mat, src, sizeof( *src ) );
      |                                   ^
In file included from code/splines/q_splineshared.h:424,
                 from code/splines/math_angles.cpp:29:
code/splines/math_vector.h:132:7: note: ‘class idVec3’ declared here
  132 | class idVec3 {
      |       ^~~~~~
In file included from code/splines/q_splineshared.h:426,
                 from code/splines/math_matrix.cpp:29:
code/splines/math_matrix.h: In constructor ‘mat3_t::mat3_t(float (*)[3])’:
code/splines/math_matrix.h:94:35: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class idVec3’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
   94 |  memcpy( mat, src, sizeof( *src ) );
      |                                   ^
In file included from code/splines/q_splineshared.h:424,
                 from code/splines/math_matrix.cpp:29:
code/splines/math_vector.h:132:7: note: ‘class idVec3’ declared here
  132 | class idVec3 {
      |       ^~~~~~
SPLINE_CXX code/splines/math_quaternion.cpp
SPLINE_CXX code/splines/math_vector.cpp
In file included from code/splines/math_quaternion.cpp:30:
code/splines/math_matrix.h: In constructor ‘mat3_t::mat3_t(float (*)[3])’:
code/splines/math_matrix.h:94:35: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class idVec3’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
   94 |  memcpy( mat, src, sizeof( *src ) );
      |                                   ^
In file included from code/splines/math_matrix.h:33,
                 from code/splines/math_quaternion.cpp:30:
code/splines/math_vector.h:132:7: note: ‘class idVec3’ declared here
  132 | class idVec3 {
      |       ^~~~~~
SPLINE_CXX code/splines/q_parse.cpp
SPLINE_CXX code/splines/splines.cpp
In file included from code/splines/q_splineshared.h:426,
                 from code/splines/q_parse.cpp:31:
code/splines/math_matrix.h: In constructor ‘mat3_t::mat3_t(float (*)[3])’:
code/splines/math_matrix.h:94:35: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class idVec3’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
   94 |  memcpy( mat, src, sizeof( *src ) );
      |                                   ^
In file included from code/splines/q_splineshared.h:424,
                 from code/splines/q_parse.cpp:31:
code/splines/math_vector.h:132:7: note: ‘class idVec3’ declared here
  132 | class idVec3 {
      |       ^~~~~~
In file included from code/splines/q_splineshared.h:426,
                 from code/splines/splines.cpp:29:
code/splines/math_matrix.h: In constructor ‘mat3_t::mat3_t(float (*)[3])’:
code/splines/math_matrix.h:94:35: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class idVec3’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
   94 |  memcpy( mat, src, sizeof( *src ) );
      |                                   ^
In file included from code/splines/q_splineshared.h:424,
                 from code/splines/splines.cpp:29:
code/splines/math_vector.h:132:7: note: ‘class idVec3’ declared here
  132 | class idVec3 {
      |       ^~~~~~
SPLINE_CXX code/splines/util_str.cpp
In file included from code/splines/q_splineshared.h:426,
                 from code/splines/util_str.cpp:32:
code/splines/math_matrix.h: In constructor ‘mat3_t::mat3_t(float (*)[3])’:
code/splines/math_matrix.h:94:35: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class idVec3’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
   94 |  memcpy( mat, src, sizeof( *src ) );
      |                                   ^
In file included from code/splines/q_splineshared.h:424,
                 from code/splines/util_str.cpp:32:
code/splines/math_vector.h:132:7: note: ‘class idVec3’ declared here
  132 | class idVec3 {
      |       ^~~~~~
CC code/sdl/sdl_input.c
CC code/sdl/sdl_snd.c
CC code/sys/con_log.c
CC code/sys/sys_main.c
CC code/sys/con_tty.c
CC code/asm/snapvector.c
CC code/asm/ftola.c
CC code/qcommon/vm_x86.c
code/sys/sys_main.c: In function ‘Sys_LoadDll’:
code/sys/sys_main.c:531:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  531 |   if(!*topDir)
      |   ^~
code/sys/sys_main.c:534:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  534 |    len = Com_sprintf(libPath, sizeof(libPath), "%s%c%s", topDir, PATH_SEP, name);
      |    ^~~
CC code/sys/sys_unix.c
code/sys/sys_unix.c:55:13: warning: ‘realsteamPath’ defined but not used [-Wunused-variable]
   55 | static char realsteamPath[ MAX_OSPATH ] = { 0 };
      |             ^~~~~~~~~~~~~
CC code/client/libmumblelink.c
REF_CC code/renderer/tr_altivec.c
REF_CC code/renderer/tr_animation.c
REF_CC code/renderer/tr_backend.c
REF_CC code/renderer/tr_bsp.c
REF_CC code/renderer/tr_cmds.c
REF_CC code/renderer/tr_cmesh.c
REF_CC code/renderer/tr_curve.c
REF_CC code/renderer/tr_flares.c
REF_CC code/renderer/tr_font.c
REF_CC code/renderer/tr_image.c
REF_CC code/renderer/tr_image_bmp.c
REF_CC code/renderer/tr_image_jpg.c
REF_CC code/renderer/tr_image_pcx.c
REF_CC code/renderer/tr_image_png.c
REF_CC code/renderer/tr_image_tga.c
REF_CC code/renderer/tr_init.c
REF_CC code/renderer/tr_light.c
REF_CC code/renderer/tr_main.c
REF_CC code/renderer/tr_marks.c
REF_CC code/renderer/tr_mesh.c
REF_CC code/renderer/tr_model.c
REF_CC code/renderer/tr_model_iqm.c
REF_CC code/renderer/tr_noise.c
REF_CC code/renderer/tr_scene.c
REF_CC code/renderer/tr_shade.c
REF_CC code/renderer/tr_shade_calc.c
REF_CC code/renderer/tr_shader.c
REF_CC code/renderer/tr_shadows.c
REF_CC code/renderer/tr_sky.c
REF_CC code/renderer/tr_surface.c
REF_CC code/renderer/tr_world.c
REF_CC code/renderer/tr_bloom.c
REF_CC code/sdl/sdl_gamma.c
REF_CC code/sdl/sdl_glimp.c
REF_CC code/qcommon/q_shared.c
In function ‘Q_strncpyz’,
    inlined from ‘COM_StripFilename’ at code/qcommon/q_shared.c:171:2:
code/qcommon/q_shared.c:938:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
  938 |  strncpy( dest, src, destsize-1 );
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
code/qcommon/q_shared.c: In function ‘COM_StripFilename’:
code/qcommon/q_shared.c:171:23: note: length computed here
  171 |  Q_strncpyz( out, in, strlen( in ) );
      |                       ^~~~~~~~~~~~
REF_CC code/qcommon/puff.c
REF_CC code/qcommon/q_math.c
REF_CC code/renderer/tr_subs.c
REF_CC code/rend2/tr_animation.c
REF_CC code/rend2/tr_backend.c
REF_CC code/rend2/tr_bsp.c
REF_CC code/rend2/tr_cmds.c
REF_CC code/rend2/tr_curve.c
REF_CC code/rend2/tr_dsa.c
REF_CC code/rend2/tr_extramath.c
REF_CC code/rend2/tr_extensions.c
REF_CC code/rend2/tr_fbo.c
REF_CC code/rend2/tr_flares.c
REF_CC code/rend2/tr_font.c
REF_CC code/rend2/tr_glsl.c
REF_CC code/rend2/tr_image.c
REF_CC code/rend2/tr_image_bmp.c
REF_CC code/rend2/tr_image_jpg.c
REF_CC code/rend2/tr_image_pcx.c
REF_CC code/rend2/tr_image_png.c
REF_CC code/rend2/tr_image_tga.c
REF_CC code/rend2/tr_image_dds.c
REF_CC code/rend2/tr_init.c
REF_CC code/rend2/tr_light.c
REF_CC code/rend2/tr_main.c
REF_CC code/rend2/tr_marks.c
REF_CC code/rend2/tr_mesh.c
REF_CC code/rend2/tr_model.c
REF_CC code/rend2/tr_model_iqm.c
REF_CC code/rend2/tr_noise.c
REF_CC code/rend2/tr_postprocess.c
REF_CC code/rend2/tr_scene.c
REF_CC code/rend2/tr_shade.c
REF_CC code/rend2/tr_shade_calc.c
REF_CC code/rend2/tr_shader.c
REF_CC code/rend2/tr_shadows.c
REF_CC code/rend2/tr_sky.c
REF_CC code/rend2/tr_surface.c
REF_CC code/rend2/tr_vbo.c
REF_CC code/rend2/tr_world.c
REF_STR code/rend2/glsl/bokeh_fp.glsl
REF_STR code/rend2/glsl/bokeh_vp.glsl
REF_STR code/rend2/glsl/calclevels4x_fp.glsl
REF_STR code/rend2/glsl/calclevels4x_vp.glsl
REF_STR code/rend2/glsl/depthblur_fp.glsl
REF_STR code/rend2/glsl/depthblur_vp.glsl
REF_STR code/rend2/glsl/dlight_fp.glsl
REF_STR code/rend2/glsl/dlight_vp.glsl
REF_STR code/rend2/glsl/down4x_fp.glsl
REF_STR code/rend2/glsl/down4x_vp.glsl
REF_STR code/rend2/glsl/fogpass_fp.glsl
REF_STR code/rend2/glsl/fogpass_vp.glsl
REF_STR code/rend2/glsl/generic_fp.glsl
REF_STR code/rend2/glsl/generic_vp.glsl
REF_STR code/rend2/glsl/lightall_fp.glsl
REF_STR code/rend2/glsl/lightall_vp.glsl
REF_STR code/rend2/glsl/pshadow_fp.glsl
REF_STR code/rend2/glsl/pshadow_vp.glsl
REF_STR code/rend2/glsl/shadowfill_fp.glsl
REF_STR code/rend2/glsl/shadowfill_vp.glsl
REF_STR code/rend2/glsl/shadowmask_fp.glsl
REF_STR code/rend2/glsl/shadowmask_vp.glsl
REF_STR code/rend2/glsl/ssao_fp.glsl
REF_STR code/rend2/glsl/ssao_vp.glsl
REF_STR code/rend2/glsl/texturecolor_fp.glsl
REF_STR code/rend2/glsl/texturecolor_vp.glsl
REF_STR code/rend2/glsl/tonemap_fp.glsl
REF_STR code/rend2/glsl/tonemap_vp.glsl
CGAME_CC code/cgame/cg_main.c
CGAME_CC code/game/bg_animation.c
code/cgame/cg_main.c: In function ‘CG_LoadTranslationTextStrings’:
code/cgame/cg_main.c:893:2: warning: format not a string literal and no format arguments [-Wformat-security]
  893 |  Com_sprintf(filename, MAX_QPATH, file);
      |  ^~~~~~~~~~~
CGAME_CC code/game/bg_misc.c
CGAME_CC code/game/bg_pmove.c
CGAME_CC code/game/bg_slidemove.c
CGAME_CC code/game/bg_lib.c
CGAME_CC code/cgame/cg_atmospheric.c
code/cgame/cg_atmospheric.c: In function ‘CG_EffectParse’:
code/cgame/cg_atmospheric.c:732:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  732 |    if (cg_atmFx.effectsplashshader)
      |    ^~
code/cgame/cg_atmospheric.c:734:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  734 |     rainSFXindoor = trap_S_RegisterSound("sound/atmosphere/rain_indoor.wav");
      |     ^~~~~~~~~~~~~
CGAME_CC code/cgame/cg_consolecmds.c
CGAME_CC code/cgame/cg_draw.c
CGAME_CC code/cgame/cg_drawtools.c
CGAME_CC code/cgame/cg_effects.c
CGAME_CC code/cgame/cg_ents.c
CGAME_CC code/cgame/cg_event.c
CGAME_CC code/cgame/cg_flamethrower.c
CGAME_CC code/cgame/cg_info.c
CGAME_CC code/cgame/cg_localents.c
CGAME_CC code/cgame/cg_marks.c
CGAME_CC code/cgame/cg_newdraw.c
CGAME_CC code/cgame/cg_particles.c
CGAME_CC code/cgame/cg_players.c
CGAME_CC code/cgame/cg_playerstate.c
CGAME_CC code/cgame/cg_polybus.c
CGAME_CC code/cgame/cg_predict.c
CGAME_CC code/cgame/cg_scoreboard.c
CGAME_CC code/cgame/cg_servercmds.c
CGAME_CC code/cgame/cg_snapshot.c
CGAME_CC code/cgame/cg_sound.c
CGAME_CC code/cgame/cg_trails.c
CGAME_CC code/cgame/cg_view.c
CGAME_CC code/cgame/cg_weapons.c
UI_CC code/ui/ui_shared.c
SHLIB_CC code/qcommon/q_math.c
SHLIB_CC code/qcommon/q_shared.c
CGAME_CC code/cgame/cg_syscalls.c
In function ‘Q_strncpyz’,
    inlined from ‘COM_StripFilename’ at code/qcommon/q_shared.c:171:2:
code/qcommon/q_shared.c:938:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
  938 |  strncpy( dest, src, destsize-1 );
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
code/qcommon/q_shared.c: In function ‘COM_StripFilename’:
code/qcommon/q_shared.c:171:23: note: length computed here
  171 |  Q_strncpyz( out, in, strlen( in ) );
      |                       ^~~~~~~~~~~~
GAME_CC code/game/g_main.c
GAME_CC code/game/ai_cast.c
GAME_CC code/game/ai_cast_characters.c
GAME_CC code/game/ai_cast_debug.c
GAME_CC code/game/ai_cast_events.c
GAME_CC code/game/ai_cast_fight.c
GAME_CC code/game/ai_cast_func_attack.c
GAME_CC code/game/ai_cast_func_boss1.c
GAME_CC code/game/ai_cast_funcs.c
GAME_CC code/game/ai_cast_script_actions.c
code/game/ai_cast_funcs.c: In function ‘AIFunc_BattleMG42’:
code/game/ai_cast_funcs.c:3997:22: warning: variable ‘bestangles’ set but not used [-Wunused-but-set-variable]
 3997 |  vec3_t angles, vec, bestangles;
      |                      ^~~~~~~~~~
GAME_CC code/game/ai_cast_script.c
GAME_CC code/game/ai_cast_script_ents.c
GAME_CC code/game/ai_cast_sight.c
GAME_CC code/game/ai_cast_think.c
GAME_CC code/game/ai_chat.c
GAME_CC code/game/ai_cmd.c
GAME_CC code/game/ai_dmnet.c
GAME_CC code/game/ai_dmq3.c
GAME_CC code/game/ai_main.c
GAME_CC code/game/ai_team.c
GAME_CC code/game/bg_animation.c
GAME_CC code/game/bg_misc.c
GAME_CC code/game/bg_pmove.c
GAME_CC code/game/bg_slidemove.c
GAME_CC code/game/bg_lib.c
GAME_CC code/game/g_active.c
GAME_CC code/game/g_alarm.c
GAME_CC code/game/g_bot.c
GAME_CC code/game/g_client.c
GAME_CC code/game/g_cmds.c
GAME_CC code/game/g_combat.c
GAME_CC code/game/g_items.c
GAME_CC code/game/g_mem.c
GAME_CC code/game/g_misc.c
GAME_CC code/game/g_missile.c
GAME_CC code/game/g_mover.c
GAME_CC code/game/g_props.c
GAME_CC code/game/g_save.c
GAME_CC code/game/g_script_actions.c
GAME_CC code/game/g_script.c
GAME_CC code/game/g_session.c
GAME_CC code/game/g_spawn.c
GAME_CC code/game/g_svcmds.c
GAME_CC code/game/g_target.c
GAME_CC code/game/g_team.c
GAME_CC code/game/g_tramcar.c
GAME_CC code/game/g_trigger.c
GAME_CC code/game/g_utils.c
GAME_CC code/game/g_weapon.c
GAME_CC code/game/g_syscalls.c
UI_CC code/ui/ui_main.c
UI_CC code/ui/ui_atoms.c
UI_CC code/ui/ui_gameinfo.c
UI_CC code/ui/ui_players.c
UI_CC code/game/bg_misc.c
UI_CC code/game/bg_lib.c
UI_CC code/ui/ui_syscalls.c
LD build/release-linux-x86_64/RealRTCW.x86_64
/usr/bin/ld: build/release-linux-x86_64/client/files.o: in function `FS_Startup':
files.c:(.text+0x770f): undefined reference to `Sys_SteamWorkshopPath'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:2170: build/release-linux-x86_64/RealRTCW.x86_64] Error 1
make[2]: *** Waiting for unfinished jobs....
rm build/release-linux-x86_64/rend2/glsl/bokeh_fp.c build/release-linux-x86_64/rend2/glsl/generic_vp.c build/release-linux-x86_64/rend2/glsl/ssao_fp.c build/release-linux-x86_64/rend2/glsl/calclevels4x_vp.c build/release-linux-x86_64/rend2/glsl/texturecolor_vp.c build/release-linux-x86_64/rend2/glsl/down4x_vp.c build/release-linux-x86_64/rend2/glsl/fogpass_fp.c build/release-linux-x86_64/rend2/glsl/depthblur_vp.c build/release-linux-x86_64/rend2/glsl/fogpass_vp.c build/release-linux-x86_64/rend2/glsl/shadowmask_fp.c build/release-linux-x86_64/rend2/glsl/texturecolor_fp.c build/release-linux-x86_64/rend2/glsl/down4x_fp.c build/release-linux-x86_64/rend2/glsl/tonemap_vp.c build/release-linux-x86_64/rend2/glsl/pshadow_vp.c build/release-linux-x86_64/rend2/glsl/lightall_fp.c build/release-linux-x86_64/rend2/glsl/dlight_fp.c build/release-linux-x86_64/rend2/glsl/generic_fp.c build/release-linux-x86_64/rend2/glsl/lightall_vp.c build/release-linux-x86_64/rend2/glsl/depthblur_fp.c build/release-linux-x86_64/rend2/glsl/calclevels4x_fp.c build/release-linux-x86_64/rend2/glsl/tonemap_fp.c build/release-linux-x86_64/rend2/glsl/shadowmask_vp.c build/release-linux-x86_64/rend2/glsl/shadowfill_vp.c build/release-linux-x86_64/rend2/glsl/bokeh_vp.c build/release-linux-x86_64/rend2/glsl/pshadow_fp.c build/release-linux-x86_64/rend2/glsl/dlight_vp.c build/release-linux-x86_64/rend2/glsl/ssao_vp.c build/release-linux-x86_64/rend2/glsl/shadowfill_fp.c
make[2]: Leaving directory '/home/no/realrtcw/src/RealRTCW-9574099d1c064cf07c6c437565212a3bf7ccc87f'
make[1]: *** [Makefile:1361: targets] Error 2
make[1]: Leaving directory '/home/no/realrtcw/src/RealRTCW-9574099d1c064cf07c6c437565212a3bf7ccc87f'
make: *** [Makefile:1278: release] Error 2

tuxsavvy commented on 2020-11-05 13:48

realrtcw-3.1n.zip file no longer exists. The closest file(s) includes:

alexbrinister commented on 2019-10-27 17:16

libjpeg-turbo should be part of makedepends. When built in a chroot, the package fails to build with the following error about a missing header:

code/renderer/tr_image_jpg.c:39:10: fatal error: jpeglib.h: No such file or directory
   39 | #include <jpeglib.h>
      |          ^~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:2582: build/release-linux-x86_64/renderer/tr_image_jpg.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/build/realrtcw/src/RealRTCW-3.0'
make[1]: *** [Makefile:1361: targets] Error 2
make[1]: Leaving directory '/build/realrtcw/src/RealRTCW-3.0'
make: *** [Makefile:1278: release] Error 2
==> ERROR: A failure occurred in package_realrtcw().
    Aborting...
==> ERROR: Build failed, check /var/lib/aurbuild/x86_64/alexbrinister/build