Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 189618 - ufo-ai 2.1.1 compiles but doesn't start because of ref_glx.so
Summary: ufo-ai 2.1.1 compiles but doesn't start because of ref_glx.so
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-20 17:27 UTC by Sebastian Beßler
Modified: 2007-08-23 12:31 UTC (History)
2 users (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 Sebastian Beßler 2007-08-20 17:27:59 UTC
I can't start ufo-ai 2.1.1 

Reproducible: Always

Steps to Reproduce:
1.emerge ufo-ai 
2.start game
3.

Actual Results:  
------- Loading ref_glx.so -------
LoadLibrary ("/usr/games/lib/ufo-ai/ref_glx.so") failed: /usr/games/lib/ufo-ai/ref_glx.so: undefined symbol: Cvar_Get
Dumped console text to /home/metatron/.ufoai/2.1.1/base/gl_debug.txt.
SDL audio device shut down.
recursive shutdown
Error: Couldn't initialize OpenGL renderer!

Expected Results:  
Game should start

Portage 2.1.3.6 (default-linux/x86/2007.0, gcc-4.2.0, glibc-2.6.1-r0, 2.6.22-gentoo-r2 i686)
=================================================================
System uname: 2.6.22-gentoo-r2 i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System release 1.12.10
Timestamp of tree: Mon, 20 Aug 2007 09:30:09 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer -fno-ident -frename-registers -combine -fprefetch-loop-arrays -fweb -fgcse-after-reload"
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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer -fno-ident -frename-registers -combine -fprefetch-loop-arrays -fweb -fgcse-after-reload"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-znow"
LINGUAS="de"
MAKEOPTS="-j2"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/tmp/portage/"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/kde /usr/portage/local/layman/sunrise /usr/portage/local/layman/xeffects /home/metatron/Tools/portage/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac aalib acl acpi additions allegro alsa apache2 bash-completion bcmath berkdb bitmap-fonts branding bzip2 cdda cddb cdparanoia cdr chm cli corba cracklib crypt css ctype cups curl curlwrappers custom-cflags dbus device-mapper disk-partition dri dts dvd dvdnav dvdr dvdread encode exif extensions extrafilters fam fat ffmpeg fftw filter flac fluidsynth fontconfig fortran ftp fuse gd gdbm gif gimp glitz glsa glut gnutls gphoto2 gpm graphviz gtk guile hal hash hashstyle hdri iconv ieee1394 imagemagick imap inotify inquisitio java joystick jpeg jpeg2k kde l7filter lame lcms libnotify lm_sensors log logitech-mouse logrotate lua lzo mad matroska md5sum mhash midi mikmod mjpeg mmap mmx mmxext mng modplug mono mozdevelop moznocompose moznoirc moznomail moznoroaming mozsha1 mp2 mp3 mp4 mpeg msn mudflap musepack musicbrainz ncurses newspr nls nptl nptlonly ntfs nvidia ocaml offensive ogg openal openexr opengl openmp openntpd optimisememory pam pango pcre pdf perl pertty php pike pink plugins png pnm portage posix postgres ppds pppd prediction python qt-copy qt3 qt3support qt4 quicktime rar readline real recode reflection regex reiserfs replytolist ruby samba sane scanner sdl sdl-image sensord session sharedext simplexml skins slang sockets spl sqlite sqlite3 sse sse2 ssl startup-notification svg sysfs tcl tcpd tga themes theora threads thunderbird tiff tk truetype truetype-fonts type1-fonts unicode upnp urandom usb utempter vboxbfe vcd vidix vorbis win32codecs wma wmf wxwindows x264 x86 xattr xcb xcomposite xforms xfs xine xml xmlreader xmlrpc xmlwriter xorg xpm xprint xscreensaver xsl xvid zip zlib zruetype" ALSA_CARDS="emu10k1 via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="fbdev nv nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

cat /etc/portage/package.use
games-strategy/ufo-ai paranoid dga master doc

Driver for Nvidia 6200:
x11-drivers/nvidia-drivers-1.0.9755-r1
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2007-08-22 00:01:23 UTC
It works fine here... strange...

Can someone from amd64 verify that this isn't an amd64-specific problem?
Comment 2 Mike Doty (RETIRED) gentoo-dev 2007-08-22 03:24:44 UTC
WFM

Portage 2.1.3.6 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.6.1-r0, 2.6.22-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r3 x86_64 AMD Opteron(tm) Processor 248
Gentoo Base System release 1.12.10
Timestamp of tree: Wed, 22 Aug 2007 02:30:09 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
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.16.1-r2, 2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -ggdb"
CHOST="x86_64-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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg cvs distlocks metadata-transfer multilib-strict parallel-fetch ppds sandbox sfperms sign splitdebug strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en en_US"
MAKEOPTS="-j5"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
USE="X alsa amd64 apache2 bash-completion berkdb bitmap-fonts browserplugin cli cracklib crypt cups dri dvdread emacs emboss encode ffmpeg firefox foomaticdb fortran gif gpm gstreamer gtk gtk2 hou hpn iconv imlib ipv6 isdnlog javascript jpeg kqemu lzw lzw-tiff midi mozilla mp3 mpeg mplayer mudflap multislot mysql ncurses nls nowin nptl nptlonly nsplugin offensive ogg opengl openmp oss pam pcre pcsc-lite pda pdf perl png ppds pppd python quicktime readline reflection sdl session smartcard smp snmp sou spell spl ssl svg tcl tcltk tcpd tiff tk truetype-fonts type1-fonts usb vorbis xml xorg xpm xv xvid zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Sebastian Beßler 2007-08-22 13:16:48 UTC
After changing my cflags to 
CFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer" and remerge of ufo-ai it works now. 
Comment 4 Mike Doty (RETIRED) gentoo-dev 2007-08-23 04:46:25 UTC
(In reply to comment #3)
> After changing my cflags to 
> CFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer" and remerge of ufo-ai
> it works now. 
> 

Have you gotten into a mission yet?  the game aborts for me when I go into a mission.
Comment 5 Mike Doty (RETIRED) gentoo-dev 2007-08-23 07:14:02 UTC
I tried skipping the first mission(farm4b or something like that) and the game works as expected afterwards.
Comment 6 Sebastian Beßler 2007-08-23 12:31:51 UTC
(In reply to comment #5)
> I tried skipping the first mission(farm4b or something like that) and the game
> works as expected afterwards.

When I start Singleplayer or Network the Game quits and on the console I get the message: Error: Try to get the 1th employee - but you only have 0 hired