Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 248895 - games-fps/postal2mp-demo xcb errors
Summary: games-fps/postal2mp-demo xcb errors
Status: RESOLVED FIXED
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: 2008-11-26 14:00 UTC by Roger
Modified: 2009-09-26 11:27 UTC (History)
0 users

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


Attachments
postal2mp-demo-1407-r1.ebuild.diff (postal2mp-demo-1407-r1.ebuild.diff,1.03 KB, patch)
2008-11-26 15:47 UTC, Roger
Details | Diff
postal2mp-demo-1407-r1.ebuild.diff (postal2mp-demo-1407-r1.ebuild.diff,661 bytes, patch)
2008-11-26 16:30 UTC, Roger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Roger 2008-11-26 14:00:13 UTC
I get xcb errors when trying to start this game games-fps/postal2mp-demo-1407

There is a hack/fix work around:

# rm /opt/postal2mp-demo/System/libSDL-1.2.so.0
# ln -s /usr/lib/libSDL-1.2.so.0 /opt/postal2mp-demo/System/libSDL-1.2.so.0


Reproducible: Always

Actual Results:  
$ postal2mp-demo
postal2-bin: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
Signal: SIGIOT [iot trap]
Aborting.


Crash information will be saved to your logfile.


(Unfortunately, I'm still looking for the darn logfile as it's not in ~/.postal2demo!)


This hack/fix could probably be easily integrated into the current ebuild.
Comment 1 Serkan Kaba (RETIRED) gentoo-dev 2008-11-26 14:33:11 UTC
Probably similar to bug #239977
Comment 2 Roger 2008-11-26 14:53:31 UTC
Exactly right.

Reading the patch, the following should be added to this ebuild:

dosym /usr/$(get_libdir)/libSDL-1.2.so.0 "${dir}"/System/libSDL-1.2.so.0 || die

Comment 3 Roger 2008-11-26 15:47:17 UTC
Created attachment 173477 [details, diff]
postal2mp-demo-1407-r1.ebuild.diff

These additions were instituted using Bug #239977 (ut2004.ebuild.diff) 	

  Added inherit multilib (Is this needed? Wasn't sure but it sounded good.)

  Added >=media-libs/libsdl-1.2 to RDEPEND

  Adds libSDL-1.2.so.0 as a symlink instead of using statically provided libsdl
Comment 4 Roger 2008-11-26 16:30:39 UTC
Created attachment 173482 [details, diff]
postal2mp-demo-1407-r1.ebuild.diff

These additions were instituted using Bug #239977 (ut2004.ebuild.diff)  

  Added >=media-libs/libsdl-1.2 to RDEPEND

  Adds libSDL-1.2.so.0 as a symlink instead of using statically provided libsdl

(Dropped "inherit multilib" from previous patch)
Comment 5 Roger 2008-11-26 16:31:40 UTC
A good example of a "complete waste of time".  Dumb game anyways.

Anyways, it's fixed with this patch and looks good to me.
Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2009-09-13 08:10:59 UTC
Bundled libs are evil :) Not an xcb bug then.

Thanks
Comment 7 Tristan Heaven (RETIRED) gentoo-dev 2009-09-26 11:27:51 UTC
Fixed, thanks.