Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60752 - quake2 "entering video menu" crash
Summary: quake2 "entering video menu" crash
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-18 02:53 UTC by Steve
Modified: 2005-01-04 14:06 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 Steve 2004-08-18 02:53:20 UTC
quake2-icculus-0.15-r1.ebuild


I have seen many reports of, and experienced a crash when entering the "video options" menu...

quake2 is looking for driver libs in /usr/share/games/quake2-data, but they actualy live in /usr/games/lib/quake2-icculus

shouldn't be too hard to patch for someone who knows what they are doing :-)

strace:

stat64("/usr/share/games/quake2-data/ref_soft.so", 0xbfffea6c) = -1 ENOENT (No such file or directory)
stat64("/usr/share/games/quake2-data/ref_softx.so", 0xbfffea6c) = -1 ENOENT (No such file or directory)
stat64("/usr/share/games/quake2-data/ref_softsdl.so", 0xbfffea6c) = -1 ENOENT (No such file or directory)
stat64("/usr/share/games/quake2-data/ref_glx.so", 0xbfffea6c) = -1 ENOENT (No such file or directory)
stat64("/usr/share/games/quake2-data/ref_sdlgl.so", 0xbfffea6c) = -1 ENOENT (No such file or directory)


Steve.
Comment 1 SpanKY gentoo-dev 2004-08-18 15:55:31 UTC
awesome, i'll try to fix this soon
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2004-08-26 06:46:24 UTC
*** Bug 61801 has been marked as a duplicate of this bug. ***
Comment 3 Marcos González 2004-08-26 06:53:55 UTC
Althoug the video menu fix was duplicate (sorry, my fault), the game386.so files placing bug is a different bug. Only wanted to note that, in case it could be overlooked. I wish I helped.
Comment 4 SpanKY gentoo-dev 2005-01-03 15:52:01 UTC
fixed in 0.16 ... forgot to patch the VID_CheckRefExists() function
Comment 5 Marcos González 2005-01-04 12:51:10 UTC
When I try to emerge it, this is what I get:



[...]
/var/tmp/portage/quake2-icculus-0.16/work/quake2-r0.16/src/xatrix/xatrixsrc320.shar:
rogue
 * Applying 0.16-rogue-nan.patch ...

 * Failed Patch: 0.16-rogue-nan.patch!
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/quake2-icculus-0.16/temp/0.16-rogue-nan.patch-30948.out


!!! ERROR: games-fps/quake2-icculus-0.16 failed.
!!! Function epatch, Line 410, Exitcode 0
!!! Failed Patch: 0.16-rogue-nan.patch!
!!! If you need support, post the topmost build error, NOT this status message.



This is the content of /var/tmp/portage/quake2-icculus-0.16/temp/0.16-rogue-nan.patch-22453.out:



***** 0.16-rogue-nan.patch *****

================================

PATCH COMMAND:  patch -p0 -g0 < /usr/portage/games-fps/quake2-icculus/files/0.16-rogue-nan.patch

================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- src/rogue/g_local.h.orig	2005-01-03 02:16:03.233329552 -0500
|+++ src/rogue/g_local.h	2005-01-03 02:16:03.244327880 -0500
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
================================

PATCH COMMAND:  patch -p1 -g0 < /usr/portage/games-fps/quake2-icculus/files/0.16-rogue-nan.patch

================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- src/rogue/g_local.h.orig	2005-01-03 02:16:03.233329552 -0500
|+++ src/rogue/g_local.h	2005-01-03 02:16:03.244327880 -0500
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
================================

PATCH COMMAND:  patch -p2 -g0 < /usr/portage/games-fps/quake2-icculus/files/0.16-rogue-nan.patch

================================
patching file g_local.h
Hunk #1 FAILED at 24.
1 out of 1 hunk FAILED -- saving rejects to file g_local.h.rej
================================

PATCH COMMAND:  patch -p3 -g0 < /usr/portage/games-fps/quake2-icculus/files/0.16-rogue-nan.patch

================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- src/rogue/g_local.h.orig	2005-01-03 02:16:03.233329552 -0500
|+++ src/rogue/g_local.h	2005-01-03 02:16:03.244327880 -0500
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
================================

PATCH COMMAND:  patch -p4 -g0 < /usr/portage/games-fps/quake2-icculus/files/0.16-rogue-nan.patch

================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- src/rogue/g_local.h.orig	2005-01-03 02:16:03.233329552 -0500
|+++ src/rogue/g_local.h	2005-01-03 02:16:03.244327880 -0500
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
Comment 6 Chris Gianelloni (RETIRED) gentoo-dev 2005-01-04 13:04:11 UTC
File a new bug
Comment 7 Marcos González 2005-01-04 14:06:58 UTC
Sorry, I thought only the ebuild had been updated, and so, the failure was because of the changes.
But now I realize also the program has bumped from 0.15 to 0.16, so it wasn't mandatorily an ebuid fault. I'll open a new bug. Thank you.