Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37474 - egoboo - Could not find Setup.txt
Summary: egoboo - Could not find Setup.txt
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-07 05:09 UTC by Aben Siatris
Modified: 2004-01-13 01:57 UTC (History)
0 users

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 Aben Siatris 2004-01-07 05:09:37 UTC
Could not find Setup.txt in /usr/share/egoboo/
here is only setup.txt, not Setup.txt!

Reproducible: Always
Steps to Reproduce:
1.emerge -kuv egoboo
2.egoboo

Actual Results:  
Egoboo, Copyright (C) 2000 Aaron Bishop
ERROR: Could not find Setup.txt

Segmentation fault



Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.6.0-mm1)
=================================================================
System uname: 2.6.0-mm1 i686 Intel(R) Celeron(TM) CPU                1300MHz
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -fprefetch-loop-arrays
-ffast-math -fforce-addr -falign-functions=4 -fprefetch-loop-arrays
-funroll-loops -pipe -msse -mmmx"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -fprefetch-loop-arrays
-ffast-math -fforce-addr -falign-functions=4 -fprefetch-loop-arrays
-funroll-loops -pipe -msse -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ http://gentoo.inode.at/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo
http://212.219.247.18/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acl apm arts avi berkdb bindist cdr cjk crypt cups curl dga
directfb dvb encode esd fbcon flash foomaticdb gdbm ggi gif gnome gpm gtk gtk2
guile icc imlib java javascript jpeg kde libg++ libwww lirc mad maildir mikmod
mmx motif mozilla mpeg nas ncurses nls nv nvidia odbc oggvorbis opengl oss pam
pdflib perl png python qt quicktime readline ruby ruby18 samba sdl slang spell
sse ssl svga tcltk tcpd threads tiff truetype x86 xkb xml xml2 xmms xv zlib"
Comment 1 Aben Siatris 2004-01-07 05:18:56 UTC
after renaming setup.txt to Setup.txt same error.
also using strace... egoboo opening setup.txt, and writing about Setup.txt
renaming Setup.txt to setup.txt

strace ./egoboo in /usr/share/egoboo (as normal user in group games)
write(1, "Egoboo, Copyright (C) 2000 Aaron"..., 40Egoboo, Copyright (C) 2000 Aaron Bishop
) = 40
open("basicdat/netlog.txt", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 EACCES (Permission denied)
open("setup.txt", O_RDWR)               = -1 EACCES (Permission denied)
write(2, "ERROR: Could not find Setup.txt\n"..., 33ERROR: Could not find Setup.txt

) = 33
open("errorlog.txt", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 EACCES (Permission denied)
rt_sigaction(SIGSEGV, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGSEGV, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGBUS, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGBUS, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGFPE, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGFPE, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGPIPE, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGPIPE, {SIG_DFL}, {SIG_DFL}, 8) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

ok, "su" into user root

Egoboo, Copyright (C) 2000 Aaron Bishop
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Unable to set video mode:
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-01-08 03:14:02 UTC
Strange that it worked at all.  Resync, remerge and try it again please.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2004-01-11 19:25:47 UTC
Works for me and no input for three days.  Closing as WORKSFORME.  Reopen if it's
still a problem.
Comment 4 Aben Siatris 2004-01-12 03:24:58 UTC
It has been few days since my last report. Rsynced/Rebuild => same errors...
game can run only as user root, but crashed on selecting video mode.

why is the binary in /usr/bin?
-rwxr-xr-x 1 root root egoboo
Comment 5 SpanKY gentoo-dev 2004-01-12 13:31:28 UTC
root@vapier 2 root # strings /usr/games/bin/egoboo | grep /usr/
cd /usr/share/games/egoboo

the fact you're using -k and the binary is in /usr/bin/ scares me

so do this to fix your system:
emerge -C egoboo
rm /usr/bin/egoboo
emerge egoboo
Comment 6 Aben Siatris 2004-01-13 01:57:41 UTC
bash-2.05b$ more /var/db/pkg/games-rpg/egoboo-2.22/CONTENTS
dir /usr
dir /usr/bin
obj /usr/bin/egoboo e7b50c0d2ed611fcc240bed0d000a9b3 1073562435
dir /usr/share
dir /usr/share/doc
dir /usr/share/doc/egoboo-2.22
...


after reemerging...:

bash-2.05b$ more /var/db/pkg/games-rpg/egoboo-2.22/CONTENTS
dir /usr
dir /usr/games
dir /usr/games/bin
obj /usr/games/bin/egoboo 8fdd536c285db946dda0e0f0dc303f3b 1073989042
dir /usr/share
dir /usr/share/doc
dir /usr/share/doc/egoboo-2.22
...

now is all ok, and game is stable running, thank you.