Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171718 - games-arcade/frozen-bubble-2.1.0 fails to run due to DATADIR definition
Summary: games-arcade/frozen-bubble-2.1.0 fails to run due to DATADIR definition
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-21 20:07 UTC by Marcus Schwartz
Modified: 2009-07-13 21:06 UTC (History)
2 users (show)

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


Attachments
Output of emerge --info (emerge-info.txt,10.86 KB, text/plain)
2007-03-21 20:09 UTC, Marcus Schwartz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Schwartz 2007-03-21 20:07:28 UTC
After emerging 2.1.0, when I ran frozen-bubble, it would fail with:

[*ERROR*] the datafiles seem to be missing! (could not read `@DATADIR@/frozen-bubble/gfx')
          The datafiles need to go to `@DATADIR@/frozen-bubble'.

I was able to work around this by manually editing:

/usr/lib/perl5/site_perl/5.8.8/x86_64-lnux-thread-multi/fb_stuff.pm

and changing line 38:

$FPATH = '@DATADIR@/frozen-bubble';

to:

$FPATH = '/usr/share/games/frozen-bubble';

Note that the $FLPATH on the line below appears to have the same problem, but it doesn't prevent the game from launching.  My emerge --info follows.
Comment 1 Marcus Schwartz 2007-03-21 20:09:52 UTC
Created attachment 114010 [details]
Output of emerge --info
Comment 2 Pacho Ramos gentoo-dev 2007-04-11 20:16:16 UTC
I have emerged frozen-bubble and my FPATH  is:
$FPATH = '/usr/share/games/frozen-bubble';

You can try the following:
emerge --sync
emerge -avuDN world
revdep-rebuild
perl-cleaner all
emerge frozen-bubble

Good luck
Comment 3 Christian Bricart 2007-06-13 14:04:09 UTC
seems to be an issue on amd64 (only?).
I've just emerged games-arcade/frozen-bubble-2.1.0 on x86 and the file is patched correctly on this arch.

emerging the same ebuild on an amd64 arch leaves the file "fb_stuff.pm" unpatched - thus does not substitute @DATADIR@ (and @LIBDIR@) here

Comment 4 James Broadhead 2008-10-02 10:58:35 UTC
I'm seeing the same problem on i686. I did an -uDav world recently, but will try revdep-rebuild and see. 

Comment 5 Valeriy Malov 2009-07-13 19:39:17 UTC
Works for me with games-arcade/frozen-bubble-2.2.0, 2.1.0 is no longer in tree?

My emerge --info:

Portage 2.2_rc33 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30-gentoo-r1-jazz x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r1-jazz-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6550_@_2.33GHz-with-glibc2.2.5
Timestamp of tree: Mon, 13 Jul 2009 18:00:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r3
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O3 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb"
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/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles"
LANG="ru_RU.UTF-8"
LC_ALL="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="ru"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/layman/arcon /usr/local/portage/layman/berkano /usr/local/portage/layman/hollow /usr/local/portage/layman/qutim-overlay /usr/local/portage/layman/sunrise /usr/local/portage/layman/java-overlay /usr/local/portage/layman/qting-edge /usr/local/portage/layman/rion /usr/local/portage/layman/jokey"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac aalib accessibility acl acpi alsa amd64 apache2 avahi bash-completion berkdb bzip2 cgi chm cleartype cli cracklib crypt cups curl dbus dirac directfb divx djvu dri dv dvb dvd encode fat fbcon ffmpeg firefox flac fortran gcj gd gdbm geoip ggi gif gpm hal iconv icq imagemagick ipv6 irc isdnlog jabber java jingle jpeg jpeg2k kde lame libcaca libsamplerate lirc lua mad midi mikmod mjpeg mmx mng modplug mono mp3 mpeg mtp mudflap multilib musepack ncurses networkmanager nls nptl nptlonly nsplugin ntfs ogg openal opengl openmp pam pcre pdf perl png pppd python qt3support qt4 quicktime readline reflection reiser4 reiserfs samba scrobbler sdl sdlaudio session slang sndfile speex spell spl sse sse2 ssl svg sysfs tcl tcpd theora threads tiff truetype unicode usb v4l v4l2 vcd vhook vorbis wavpack wmf wmp xcb xcomposite xinerama xml xorg 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 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" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 Pacho Ramos gentoo-dev 2009-07-13 20:19:42 UTC
Also works fine for me, I vote for closing this at least as NEEDINFO if reporter doesn't provide feedback with current stable

Thanks
Comment 7 Mr. Bones. (RETIRED) gentoo-dev 2009-07-13 21:06:20 UTC
ok, reopen if it's still a problem.