Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 154550 - games-strategy/glest-2.0.0-r1 doesn't work 'out-of-the-box'
Summary: games-strategy/glest-2.0.0-r1 doesn't work 'out-of-the-box'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High minor
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-09 03:42 UTC by Jouni Rinne
Modified: 2007-09-27 23:21 UTC (History)
0 users

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


Attachments
The output of 'strace glest' (glest_strace,63.30 KB, text/plain)
2006-11-16 13:36 UTC, Jouni Rinne
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jouni Rinne 2006-11-09 03:42:14 UTC
In order to make glest-2.0.0-r1 to work I had to do the following:

cp /usr/share/games/glest/glest.ini ~/.glest/
cp /usr/share/games/glest/data/lang/english.lng ~/.glest/data/lang/

Could you please either
a) Inform users (via 'einfo') to carry out the same steps, or
b) Modify the ebuild to do these steps automatically.
Comment 1 Tristan Heaven (RETIRED) gentoo-dev 2006-11-09 05:08:13 UTC
does this work?

mv ~/.glest{,.old}; glest
Comment 2 Jouni Rinne 2006-11-09 05:26:34 UTC
Nope. Here's the whole output:

madmax@bluelight ~ $ mv ~/.glest{,.old}; glest
Exception: Can't open properties file: glest.ini
madmax@bluelight ~ $ cp /usr/share/games/glest/glest.ini ~/.glest/
madmax@bluelight ~ $ glest
Exception: Can't open properties file: data/lang/english.lng
madmax@bluelight ~ $ mkdir -p ~/.glest/data/lang
madmax@bluelight ~ $ cp /usr/share/games/glest/data/lang/english.lng ~/.glest/data/lang/
madmax@bluelight ~ $ glest

...and so it works again.
Comment 3 SpanKY gentoo-dev 2006-11-09 19:02:44 UTC
works fine for me ... all i did was:
rm -rf .glest
glest

in fact, if you run it through strace, glest does the right thing:
...
mkdir("/home/vapier/.glest", 0750)      = 0
chdir("/home/vapier/.glest")            = 0
mkdir("screens", 0750)                  = 0
chdir("/usr/share/games/glest")         = 0
open("/home/vapier/.glest/glest.ini", O_RDONLY) = -1 ENOENT (No such file or directory)
open("glest.ini", O_RDONLY)             = 5
read(5, "; === Properties File === \r\n; Th"..., 8191) = 979
...
open("/home/vapier/.glest/data/lang/english.lng", O_RDONLY) = -1 ENOENT (No such file or directory)
open("data/lang/english.lng", O_RDONLY) = 5
read(5, "; English lang file\r\n\r\n3dArt=3D "..., 8191) = 3325
...
Comment 4 Tristan Heaven (RETIRED) gentoo-dev 2006-11-12 03:26:41 UTC
Please paste/attach the output of 'strace glest' and 'emerge --info'
Comment 5 Jouni Rinne 2006-11-16 13:35:20 UTC
Sorry for the delay, here's 'emerge --info' and - as an attachment - output of strace, when there aren't an ~/.glest directory.

Portage 2.1.2_rc1-r7 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.5-r0, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.12.6
Last Sync: Wed, 15 Nov 2006 18:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.6, 2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="fi_FI@euro"
LINGUAS="fi en"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 aac acpi alsa apm asf avi berkdb bitmap-fonts cairo cdr cli cracklib crypt cups curl dga divx4linux dlloader dri dv dvd dvdread elibc_glibc emboss encode ffmpeg firefox flac foomaticdb fortran gdbm gif gnome gnustep gpm gstreamer gtk gtk2 hal iconv ieee1394 imagemagick imap imlib input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse isdnlog jack jpeg kde kernel_linux ladspa lash lcms libg++ libwww linguas_en linguas_fi lua mad matroska mikmod mjpeg mmap mmx motif mp3 mpeg ncurses nls nodrm nptl nptlonly nsplugin nvidia ogg oggvorbis opengl pcre perl png pppd python qt qt3 quicktime readline real reflection ruby scanner sdl session sndfile spl sse ssl svg tcpd theora tidy tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 video_cards_mga video_cards_nv video_cards_nvidia video_cards_s3 video_cards_s3virge video_cards_v4l video_cards_vesa vorbis win32codecs x264 xine xinerama xml xorg xv xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 6 Jouni Rinne 2006-11-16 13:36:44 UTC
Created attachment 102151 [details]
The output of 'strace glest'
Comment 7 Mr. Bones. (RETIRED) gentoo-dev 2007-09-27 23:21:09 UTC
2.0.1 seems better.