Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 435482 - games-fps/rtcw-1.41b - error on game launch - ui/menddef.h not found
Summary: games-fps/rtcw-1.41b - error on game launch - ui/menddef.h not found
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-19 08:07 UTC by Jared B.
Modified: 2019-12-09 03:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jared B. 2012-09-19 08:07:07 UTC
I recently performed an unexpected system rebuild, and I'm having trouble getting Return to Castle Wolfenstein working again.  I have it installed and copied over all of the necessary pk3 files, but when running it I get the output shown below:



$ /usr/games/bin/rtcwsp 
Wolf 1.41 linux-i386 Dec  4 2002
----- FS_Startup -----
Current search path:
/home/jbreland/.wolf/main
/opt/rtcw/main/sp_pak4.pk3 (21 files)
/opt/rtcw/main/sp_pak3.pk3 (14 files)
/opt/rtcw/main/sp_pak2.pk3 (232 files)
/opt/rtcw/main/sp_pak1.pk3 (1342 files)
/opt/rtcw/main/pak0.pk3 (4775 files)
/opt/rtcw/main

----------------------
6384 files in pk3 files
execing default.cfg
couldn't exec language.cfg
execing wolfconfig.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
Bypassing CD checks
----- Client Initialization -----
Cmd_AddCommand: map_restart already defined
----- Initializing Renderer ----
-------------------------------
----- Client Initialization Complete -----
----- R_Init -----
...loading libGL.so.1: Initializing OpenGL display
...setting mode 3: 640 480
Using XFree86-VidModeExtension Version 2.2
XF86DGA Mouse (Version 2.0) initialized
XFree86-VidModeExtension Activated at 640x480
Using 4/4/4 Color bits, 24 depth, 0 stencil display.
GL_RENDERER: GeForce GTX 460/PCIe/SSE2
Initializing OpenGL extensions
...using GL_S3_s3tc
...ignoring GL_EXT_texture_env_add
...using GL_ARB_multitexture
...using GL_EXT_compiled_vertex_array
...using GL_NV_fog_distance
XF86 Gamma extension initialized

GL_VENDOR: NVIDIA Corporation
GL_RENDERER: GeForce GTX 460/PCIe/SSE2
GL_VERSION: 4.2.0 NVIDIA 295.71
GL_EXTENSIONS: <SNIP - not very useful/>
GL_MAX_TEXTURE_SIZE: 16384
GL_MAX_ACTIVE_TEXTURES_ARB: 4

PIXELFORMAT: color(32-bits) Z(24-bit) stencil(0-bits)
MODE: 3, 640 x 480 fullscreen hz:N/A
GAMMA: hardware w/ 0 overbright bits
CPU: 
rendering primitives: single glDrawElements
texturemode: GL_LINEAR_MIPMAP_NEAREST
picmip: 1
picmip2: 2
texture bits: 32
multitexture: enabled
compiled vertex arrays: enabled
texenv add: disabled
compressed textures: enabled
ATI truform: disabled
NV distance fog: enabled
Fog Mode: GL_EYE_RADIAL_NV
Initializing Shaders
...loading 'scripts/ai.shader'
...loading 'scripts/alpha.shader'
...loading 'scripts/blacksmokeanim.shader'
...loading 'scripts/blacksmokeanimb.shader'
...loading 'scripts/characters.shader'
...loading 'scripts/clipboard.shader'
...loading 'scripts/common.shader'
...loading 'scripts/cursorhints.shader'
...loading 'scripts/decals.shader'
...loading 'scripts/eerie.shader'
...loading 'scripts/expblue.shader'
...loading 'scripts/explode1.shader'
...loading 'scripts/fijets.shader'
...loading 'scripts/firest.shader'
...loading 'scripts/flamethrower.shader'
...loading 'scripts/funnel.shader'
...loading 'scripts/gfx.shader'
...loading 'scripts/heat.shader'
...loading 'scripts/lights.shader'
...loading 'scripts/liquid.shader'
...loading 'scripts/maxx.shader'
...loading 'scripts/menu.shader'
...loading 'scripts/metal.shader'
...loading 'scripts/models.shader'
...loading 'scripts/netest.shader'
...loading 'scripts/oldwolf.shader'
...loading 'scripts/organics.shader'
...loading 'scripts/particle.shader'
...loading 'scripts/q3view.shader'
...loading 'scripts/sfx.shader'
...loading 'scripts/signs.shader'
...loading 'scripts/skin.shader'
...loading 'scripts/sky.shader'
...loading 'scripts/solo.shader'
...loading 'scripts/surfaces.shader'
...loading 'scripts/terrain.shader'
...loading 'scripts/test.shader'
...loading 'scripts/twiltb.shader'
...loading 'scripts/twiltb2.shader'
...loading 'scripts/ui.shader'
...loading 'scripts/ui_hud.shader'
...loading 'scripts/ui_notebook.shader'
...loading 'scripts/ui_wolf.shader'
...loading 'scripts/viewflames.shader'
...loading 'scripts/walls.shader'
...loading 'scripts/z_light.shader'
----- finished R_Init -----

------- sound initialization -------
------------------------------------
----- Sound Info -----
sound system is muted
    1 stereo
32768 samples
   16 samplebits
    1 submission_chunk
22050 speed
0xf0244000 dma buffer
No background file.
----------------------
Sound memory manager started
Sys_LoadDll(/opt/rtcw/main/uii386.so)... ok
Sys_LoadDll(ui) found **vmMain** at  0xee812778  
Sys_LoadDll(ui) succeeded!
Parsing menu file:ui/mai..menu
Parsing menu file:ui/setup.menu
^1Error: file ui/setup.menu, line 1: file ui/menddef.h not found
Parsing menu file:ui/controls.menu
^1Error: file ui/controls.menu, line 1: file ui/menddef.h not found
Parsing menu file:ui/cdkey.menu
^1Error: file ui/cdkey.menu, line 1: file ui/menddef.h not found
Parsing menu file:ui/system.menu
^1Error: file ui/system.menu, line 1: file ui/menddef.h not found
Parsing menu file:ui/options.menu
^1Error: file ui/options.menu, line 1: file ui/menddef.h not found
Parsing menu file:ui/credit.menu
^1Error: file ui/credit.menu, line 1: file ui/menddef.h not found
Parsing menu file:ui/connect.menu
^1Error: file ui/connect.menu, line 1: file ui/menddef.h not found
Parsing menu file:ui/qui..menu
Parsing menu file:ui/vid_restart.menu
^1Error: file ui/vid_restart.menu, line 1: file ui/menddef.h not found
Parsing menu file:ui/snd_restart.menu
^1Error: file ui/snd_restart.menu, line 1: file ui/menddef.h not found
Parsing menu file:ui/rec_restart.menu
^1Error: file ui/rec_restart.menu, line 1: file ui/menddef.h not found
Parsing menu file:ui/default.menu
^1Error: file ui/default.menu, line 1: file ui/menddef.h not found
Parsing menu file:ui/error.menu
^1Error: file ui/error.menu, line 1: file ui/menddef.h not found
Parsing menu file:ui/serverinfo.menu
^1Error: file ui/serverinfo.menu, line 1: file ui/menddef.h not found
Parsing menu file:ui/quitcredit.menu
^1Error: file ui/quitcredit.menu, line 1: file ui/menddef.h not found
Parsing menu file:ui/resetscore.menu
^1Error: file ui/resetscore.menu, line 1: file ui/menddef.h not found
Parsing menu file:ui/buy_pop.menu
Parsing menu file:ui/multiplayer_pop.menu
^1Error: file ui/multiplayer_pop.menu, line 1: file ui/menddef.h not found
Parsing menu file:ui/pla..menu
Parsing menu file:ui/loa..menu
Parsing menu file:ui/mod..menu
Parsing menu file:ui/briefing.menu
^1Error: file ui/briefing.menu, line 1: file ui/menddef.h not found
UI menu load time = 4 milli seconds
Parsing menu file:ui/ingame.menu
^1Error: file ui/ingame.menu, line 1: file ui/menddef.h not found
Parsing menu file:ui/ingame_controls.menu
^1Error: file ui/ingame_controls.menu, line 1: file ui/menddef.h not found
Parsing menu file:ui/ingame_options.menu
^1Error: file ui/ingame_options.menu, line 1: file ui/menddef.h not found
Parsing menu file:ui/ingame_system.menu
^1Error: file ui/ingame_system.menu, line 1: file ui/menddef.h not found
Parsing menu file:ui/ingame_leave.menu
^1Error: file ui/ingame_leave.menu, line 1: file ui/menddef.h not found
Parsing menu file:ui/ingame_player.menu
^1Error: file ui/ingame_player.menu, line 1: file ui/menddef.h not found
Parsing menu file:ui/ingame_load.menu
^1Error: file ui/ingame_load.menu, line 1: file ui/menddef.h not found
Parsing menu file:ui/ingame_save.menu
^1Error: file ui/ingame_save.menu, line 1: file ui/menddef.h not found
Parsing menu file:ui/in_vid_restart.menu
^1Error: file ui/in_vid_restart.menu, line 1: file ui/menddef.h not found
Parsing menu file:ui/in_snd_restart.menu
^1Error: file ui/in_snd_restart.menu, line 1: file ui/menddef.h not found
Parsing menu file:ui/in_rec_restart.menu
^1Error: file ui/in_rec_restart.menu, line 1: file ui/menddef.h not found
Parsing menu file:ui/notebook.menu
^1Error: file ui/notebook.menu, line 1: file ui/menddef.h not found
Parsing menu file:ui/clipboard.menu
^1Error: file ui/clipboard.menu, line 1: file ui/menddef.h not found
Parsing menu file:ui/bookz.menu
^1Error: file ui/bookz.menu, line 1: file ui/menddef.h not found
Parsing menu file:ui/bookv.menu
^1Error: file ui/bookv.menu, line 1: file ui/menddef.h not found
Parsing menu file:ui/bookp.menu
^1Error: file ui/bookp.menu, line 1: file ui/menddef.h not found
Parsing menu file:ui/pregame.menu
^1Error: file ui/pregame.menu, line 1: file ui/menddef.h not found
Parsing menu file:ui/tes..menu
Parsing menu file:ui/ingame_help.menu
^1Error: file ui/ingame_help.menu, line 1: file ui/menddef.h not found
UI menu load time = 8 milli seconds
--- Common Initialization Complete ---
Opening IP socket: localhost:27960
Hostname: blackdog.legroom.net
Alias: blackdog
IP: 192.168.0.3
Started tty console (use +set ttycon 0 to disable)
]\quit
----- CL_Shutdown -----
RE_Shutdown( 1 )
-----------------------
----- CL_Shutdown -----
-----------------------
Shutdown tty console


The game actually does run, but all I get is a terminal.  I get no menu, and no obvious way to start a game.  Entering 'quit' will let me exit the game gracefully.  The output above is from a fresh profile (ie., after removing ~/.wolf), but I get the same behavior even if I try to use my old profile.  The multiple version (rtcwmp) behaves the same way.

So far I haven't had any luck figuring out the cause, but based on this semi-related forum thread I'm guessing it may be related to the zlib/minizip changes from last year:

https://forums.gentoo.org/viewtopic-t-902090-start-0.html

Unfortunately, that thread is specifically about urbanterror, and the fix appears to be a source code patch.  I don't seem to have that option here.  That's also assumes, of course, that this is indeed the same issue.

Anyone able to confirm one way or another what's causing this?  Any fixes or workarounds?

Here's my emerge --info, in case it's helpful:

$ emerge --info
Portage 2.1.11.9 (default/linux/amd64/10.0, gcc-4.5.4, glibc-2.15-r2, 3.4.9-gentoo x86_64)
=================================================================
System uname: Linux-3.4.9-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_860_@_2.80GHz-with-gentoo-2.1
Timestamp of tree: Wed, 19 Sep 2012 00:15:01 +0000
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.3 DOOM3 Introversion LOKI-EULA Oracle-BCLA-JavaSE postal2 PUEL Q3AEULA QUAKE4 RTCW RTCW-ETEULA ut2003"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/home/jbreland/data/files/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="lzma"
PORTAGE_COMPRESS_FLAGS="-7"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/jbreland/data/dev/portage"
SYNC="rsync://209.221.142.124/gentoo-portage"
USE="X a52 aac acl alsa amd64 ao bash-completion bzip2 cairo cdda cddb cli cracklib crypt cxx dbus dga dri dts dvd exif fam flac gdbm gif gmp handbook iconv icu jpeg jpeg2k kde lcms libnotify libsamplerate lzma lzo mad matroska mmap mmx modules mp3 mudflap multilib nls nptl ogg openal openexr opengl openmp pam pch pcntl pcre png pppd qt4 readline session smp sndfile spell sse sse2 ssl startup-notification svg syslog taglib tcpd theora threads tiff truetype unicode vim-syntax vorbis x264 xcb xcomposite xinerama xmp xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

Reproducible: Always
Comment 1 Arfrever Frehtes Taifersar Arahesis 2019-12-09 03:55:42 UTC
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=010852d13e7f1c59bc11ab2e3efe806dfacebaf4

commit 010852d13e7f1c59bc11ab2e3efe806dfacebaf4
Author:     Aaron Bauman <bman@gentoo.org>
AuthorDate: 2019-12-08 21:13:32 +0000
Commit:     Aaron Bauman <bman@gentoo.org>
CommitDate: 2019-12-08 21:13:32 +0000

    games-*/*: drop last-rited pkgs
    
    Bug: https://bugs.gentoo.org/515926
    Bug: https://bugs.gentoo.org/510960
    
    Signed-off-by: Aaron Bauman <bman@gentoo.org>