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.
Probably similar to bug #239977
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
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
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)
A good example of a "complete waste of time". Dumb game anyways. Anyways, it's fixed with this patch and looks good to me.
Bundled libs are evil :) Not an xcb bug then. Thanks
Fixed, thanks.