Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106186 - gav (GPL arcade voleyball) searches for themes in wrong path
Summary: gav (GPL arcade voleyball) searches for themes in wrong path
Status: RESOLVED WONTFIX
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: 2005-09-16 06:43 UTC by Yasha Davidov
Modified: 2005-09-18 01:02 UTC (History)
0 users

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


Attachments
strace gav 2> log_gav (log_gav,48.22 KB, text/plain)
2005-09-18 00:21 UTC, Yasha Davidov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yasha Davidov 2005-09-16 06:43:43 UTC
It seems that gave was compiled (configured) with wrong path.
It starts ok if current dir is /usr/share/games/gav/themes

Reproducible: Always
Steps to Reproduce:
1.# emerge gav
2.$ gav

Actual Results:  
Verifying Theme `classic' [themes/classic/]:
Aborted


Expected Results:  
Verifying Theme `classic' [/usr/share/games/gav/themes/classic/]:
(game should start)

Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.5-20050130,
glibc-2.3.5-r1, 2.6.12-gentoo-r9-02 i686)
=================================================================
System uname: 2.6.12-gentoo-r9-02 i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo"
LANG="ru_RU.koi8r"
LC_ALL="ru_RU.koi8r"
MAKEOPTS="-j4"
PKGDIR="/mnt/win_h/portage-pkg"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 7zip X aac aalib acpi alsa apm avi bash-completion berkdb
bitmap-fonts bonobo bzip2 bzlib cdr cpdflib crypt cups curl divx doc dvd dvdr
dvdread eds emacs emboss encode ethereal exif fam ffmpeg firefox flac flash
flatfile fontserver foomaticdb fortran ftp gcj gd gdbm gif gimpprint gnome gpm
gstreamer gtk gtk2 gtkhtml guile hal iconv icq imagemagick imlib ipv6 jabber
java jpeg libcaca libg++ libwww mad mikmod ming mmx mmxext mng motif mozilla
mozsvg mp3 mpeg mule ncurses nls nptl ogg oggvorbis opengl oscar pam pcre pda
pdflib perl php plotutils plugin png pnp posix ppds python quicktime readline
samba sdl sockets spell sqlite sse ssl svg tcltk tcpd tetex theora tiff truetype
truetype-fonts type1-fonts usb vorbis win32codecs wmf x xine xml xml2 xmms xosd
xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2005-09-16 12:45:16 UTC
what does "which gav" print out for you?

Works fine for me.
Comment 2 Yasha Davidov 2005-09-16 14:15:19 UTC
davidov@music ~ $ which gav
/usr/games/bin/gav

I just tried reemerging gav. The same result.

One more note: I am using 0.8.0 version of gav.
Version 0.7.3 fails to compile with error messages:
davidov@music ~ $ sudo emerge =gav-0.7.3
Calculating dependencies ...done!
>>> emerge (1 of 1) games-arcade/gav-0.7.3 to /
>>> md5 files   ;-) gav-0.8.0.ebuild
>>> md5 files   ;-) gav-0.7.3.ebuild
>>> md5 files   ;-) files/digest-gav-0.7.3
>>> md5 files   ;-) files/digest-gav-0.8.0
>>> md5 src_uri ;-) gav-0.7.3.tar.gz
>>> md5 src_uri ;-) fabeach.tgz
>>> md5 src_uri ;-) florindo.tgz
>>> md5 src_uri ;-) inverted.tgz
>>> md5 src_uri ;-) naive.tgz
>>> md5 src_uri ;-) unnamed.tgz
>>> md5 src_uri ;-) yisus.tgz
>>> md5 src_uri ;-) yisus2.tgz
>>> Unpacking source...
>>> Unpacking gav-0.7.3.tar.gz to /var/tmp/portage/gav-0.7.3/work
>>> Unpacking gav-0.7.3.tar.gz to /var/tmp/portage/gav-0.7.3/work/gav-0.7.3/themes
>>> Unpacking fabeach.tgz to /var/tmp/portage/gav-0.7.3/work/gav-0.7.3/themes
>>> Unpacking florindo.tgz to /var/tmp/portage/gav-0.7.3/work/gav-0.7.3/themes
>>> Unpacking inverted.tgz to /var/tmp/portage/gav-0.7.3/work/gav-0.7.3/themes
>>> Unpacking naive.tgz to /var/tmp/portage/gav-0.7.3/work/gav-0.7.3/themes
>>> Unpacking unnamed.tgz to /var/tmp/portage/gav-0.7.3/work/gav-0.7.3/themes
>>> Unpacking yisus.tgz to /var/tmp/portage/gav-0.7.3/work/gav-0.7.3/themes
>>> Unpacking yisus2.tgz to /var/tmp/portage/gav-0.7.3/work/gav-0.7.3/themes
>>> Source unpacked.

!!! ERROR: games-arcade/gav-0.7.3 failed.
!!! Function egamesconf, Line 66, Exitcode 1
!!! no configure script found
!!! If you need support, post the topmost build error, NOT this status message.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2005-09-16 20:03:04 UTC
What?  That's totally not the same error.  The last comment you posted bailed
out  with no configure script found.
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2005-09-16 20:07:25 UTC
And why are you trying to use 0.7.3?  Try it with 0.8.0.
Comment 5 SpanKY gentoo-dev 2005-09-16 23:11:36 UTC
0.8.0 worked for me on amd64 ...
Comment 6 Yasha Davidov 2005-09-17 03:12:09 UTC
(In reply to comment #3)
> What?  That's totally not the same error.  The last comment you posted bailed
> out  with no configure script found.

No. I am using version 0.8.0!
The log was related to 0.7.3 but error about path is related to 0.8.0.
Sorry for mixing bug reports.

Comment 7 Mr. Bones. (RETIRED) gentoo-dev 2005-09-17 14:35:20 UTC
works fine here.

run it under strace and attach the output please.
Comment 8 Yasha Davidov 2005-09-18 00:21:45 UTC
Created attachment 68717 [details]
strace gav 2> log_gav
Comment 9 SpanKY gentoo-dev 2005-09-18 00:40:33 UTC
this is a feature of gav ...

it checks $PWD to see if a 'themes' dir exists ... if it does, it uses that ...
if it doesnt, it falls back to /usr/share/games/gav/themes/

your strace verifies this behavior:
open("themes", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 5
Comment 10 Yasha Davidov 2005-09-18 01:02:09 UTC
(In reply to comment #9)
> this is a feature of gav ...
> 
> it checks $PWD to see if a 'themes' dir exists ... if it does, it uses that ...
> if it doesnt, it falls back to /usr/share/games/gav/themes/
> 
> your strace verifies this behavior:
> open("themes", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 5
Thanks! Now I see. I have themes dir in my $HOME.
Renaming of $HOME/themes to other name solves the problem.