2025-07-20 01:23 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001378AIAIpublic2009-05-30 10:38
Reporterblastfame 
Assigned Tohoijui 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
Summary0001378: Gentoo games-strategy/spring-0.78.2.1-r1 ebuild crashes with any AI: 'no "GetGlobalAiVersion" function exported'
Description# emerge spring springlobby
launch springlobby
start a single player game with at least one AI bot (eg CA 4277 on Small Supreme BattleField with one instance of libKAIK-0.13)
The start screen shows with loading information
The map shows with the counter 3 ...2 ...1 ...0 crash :
Incorrect GlobalAI library "/usr/games/lib/spring/AI/Bot-libs/libKAI-0.2.so" (no "GetGlobalAiVersion" function exported)
Additional Informationgalac ~ # emerge --info
Portage 2.1.6.7 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-rc8 i686)
=================================================================
System uname: Linux-2.6.29-rc8-i686-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-glibc2.0
Timestamp of tree: Fri, 10 Apr 2009 19:30:16 +0000
app-shells/bash: 3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python: 2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake: 2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc: 0.4.3-r1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.63
sys-devel/automake: 1.5, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -msse4 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs"
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/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /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 -O2 -msse4 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j9"
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/portage/local/layman/pro-audio /usr/portage/local/layman/roslin /usr/portage/local/layman/Spring /usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa avahi bash-completion berkdb bzip2 caps cdr cli cracklib crypt cups dbus dri dvd fortran gdbm hal iconv ipv6 isdnlog jack midi mmx mmx2 mmxext mtrr mudflap ncurses nls nptl nptlonly nvidia opengl openmp pam pcre perl pppd pulseaudio python readline reflection session smp spl sse sse2 ssl ssse3 startup-notification sysfs tcpd threads unicode usb vim-syntax wifi x86 xcb xorg xscreensaver zeroconf zlib" ALSA_CARDS="hda-intel" 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="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
TagsNo tags attached.
Attached Files

-Relationships
+Relationships

-Notes

~0003386

hoijui (reporter)

looks like the AIs are not compiled for the version of spring you use. maybe you had an older one installed and you start the new spring which tries to use the old AIs. check through all the spring data-dirs.
other then that, i have no idea. i dont have a gentoo to test myself.
The AI Interface changed heavyly since the last release of spring (the one you are using). for example, the GetGobalAIVersion function does not exist anymore, and therefore, the error.. if it is code related (which i think it is not), may vannish anyway, wiht the next release of spring.
so you may compile spring from the latest sources yourself and test if it works, or just wait for the next release.
please report back again if you still have problems after the next release or with current spring sources.

~0003392

blastfame (reporter)

Thanks Hoijui for your quick answer. I have retested the ebuilds from a new gentoo setup and I get the same behaviour. I am a newcomer to Spring and this the first release I've installed. Anyway, I will just play in chicken mode until the next release. Be sure I'll try it as soon as released and come here to give my feedback.

Thanks again.

~0003557

blastfame (reporter)

As you said, the new release fixed it. Let's play !

~0003558

hoijui (reporter)

good! :-)
thanks, for the feedback!
+Notes

-Issue History
Date Modified Username Field Change
2009-04-12 20:38 blastfame New Issue
2009-04-13 12:25 hoijui Note Added: 0003386
2009-04-13 12:25 hoijui Status new => feedback
2009-04-14 22:20 blastfame Note Added: 0003392
2009-05-30 09:32 blastfame Note Added: 0003557
2009-05-30 10:38 hoijui Note Added: 0003558
2009-05-30 10:38 hoijui Status feedback => resolved
2009-05-30 10:38 hoijui Resolution open => fixed
2009-05-30 10:38 hoijui Assigned To => hoijui
+Issue History