Bug 12530 - Boson 0.7 released
Bug#: 12530 Product:  Gentoo Linux Version: 1.0 Platform: All
OS/Version: All Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: whale@linux.nu
Component: Games
URL:  http://boson.eu.org/
Summary: Boson 0.7 released
Keywords:  
Status Whiteboard: 
Opened: 2002-12-21 13:18 0000
Description:   Opened: 2002-12-21 13:18 0000
New version, looks like a good step forward..

------- Comment #1 From SpanKY 2002-12-22 00:48:03 0000 -------
*** Bug 8262 has been marked as a duplicate of this bug. ***

------- Comment #2 From SpanKY 2002-12-22 01:58:45 0000 -------
thomas: i'm finding that the boson-0.7 ebuild is dieing with linker errors ...

more specifically, it dies while linking bounit ...
bouniteditor.o(.gnu.linkonce.d._ZTV12BoUnitEditor+0x20): undefined reference to 
`BoUnitEditor::~BoUnitEditor [in-charge]()'
bouniteditor.o(.gnu.linkonce.d._ZTV12BoUnitEditor+0x24): undefined reference to 
`BoUnitEditor::~BoUnitEditor [in-charge deleting]()'
bouniteditor.o(.gnu.linkonce.d._ZTV12BoUnitEditor+0x1c0): undefined reference 
to `BoUnitEditor::slotTypeChanged()'
more follow ...

i noticed you provided a boson tar file for 0.6.1 that fixed things ... any 
chance you could shed some light on this problem ? :)

you can find the ebuild i'm working with here:
http://wh0rd.tk/gentoo/my-ebuilds/app-games/boson/boson-0.7.ebuild

------- Comment #3 From harvalen 2002-12-22 12:03:26 0000 -------
I tried the ebuild.
The build works nicely.

When I start the game (using nvidia's opengl) I'm able to see the menu at the beginning, but when I choose a computer player and presses ok to start the game it segfaults with the following backtrace:
#0  0x415dca99 in wait4 () from /lib/libc.so.6
#1  0x4165920c in __DTOR_END__ () from /lib/libc.so.6
#2  0x414b7ba3 in waitpid () from /lib/libpthread.so.0
#3  0x40b7644e in KCrash::defaultCrashHandler(int) ()
   from /usr/kde/3.1/lib/libkdecore.so.4
#4  0x4081f42e in glXUseXFont () from /usr/lib/libGL.so.1

So I switched to xfree opengl and I then the game started up nicely and I'm able to play (although it was slow), but got the following output in my terminal: 
WARNING: KDE detected X Error: BadFont (invalid Font parameter) \x07
  Major opcode:  \x81
boson: ERROR: [bool Player::isFogged(int, int) const] x=-1,y=-1 out of range (2500)
boson: ERROR: [bool Player::isFogged(int, int) const] x=-2,y=-2 out of range (2500)
BosonPath: WARNING: no path found

I'm using:
KDE 3.1 rc5
Qt 3.1.1
nvidia 3123 drivers.
xft2
development-kernel 2.5.47
+the latest stable packages they depend on.
my cflags is the following:
CFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O2 -pipe -fforce-addr -fomit-frame-pointer -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args"

------- Comment #4 From SpanKY 2002-12-23 14:54:13 0000 -------
what version of gcc and glibc are you using ?
i have the same packages as you ...
glibc-2.3.1-r2
gcc-3.2.1-r6

------- Comment #5 From SpanKY 2002-12-23 17:55:51 0000 -------
alrighty i guess my problems were related to pic ...
disable pic and it works ;)

http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/app-games/boson/boson-0.7.ebuild?rev=1.1&content-type=text/vnd.viewcvs-markup