Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 660362 - x11-libs/libxcb-1.13 bug prevents running Civilization 5
Summary: x11-libs/libxcb-1.13 bug prevents running Civilization 5
Status: RESOLVED DUPLICATE of bug 616402
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-04 16:27 UTC by Michał Dec
Modified: 2018-07-07 18:27 UTC (History)
3 users (show)

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


Attachments
emerge --info x11-libs/libxcb (emerge_info_libxcb.txt,6.22 KB, text/plain)
2018-07-04 16:27 UTC, Michał Dec
Details
gdb ./Civ5XP (gdb_xcb.txt,4.40 KB, text/plain)
2018-07-04 16:28 UTC, Michał Dec
Details
running bt inside of gdb that started Civ5XP (gdb_bt_xcb.txt,2.20 KB, text/plain)
2018-07-04 17:46 UTC, Michał Dec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Dec 2018-07-04 16:27:09 UTC
Created attachment 538310 [details]
emerge --info x11-libs/libxcb

The native Linux port can't start when it's using the system's libxcb. Copying libxcb.so.1 and libxcb-dri3.so.0 from Steam i386 runtime into the directory where Civ5XP binary is located relieves the issue.
Comment 1 Michał Dec 2018-07-04 16:28:02 UTC
Created attachment 538312 [details]
gdb ./Civ5XP
Comment 2 Mike Gilbert gentoo-dev 2018-07-04 16:35:42 UTC
Just running it in gdb is not very helpful. Run the "bt" command in gdb to obtain a backtrace.
Comment 3 Michał Dec 2018-07-04 17:46:52 UTC
Created attachment 538316 [details]
running bt inside of gdb that started Civ5XP
Comment 4 Mart Raudsepp gentoo-dev 2018-07-05 05:25:50 UTC
Civ5BE seems to have this issue as well as Civ5XP. Civ6 seems to work. I didn't pinpoint this to a xcb upgrade, but it does indeed have xcb in the stacktraces.
Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2018-07-05 22:18:34 UTC
Is that related to bug 616402? Especially bug 616402 comment 11?
Comment 6 Michał Dec 2018-07-07 17:54:59 UTC
Chí-Thanh Christopher Nguyễn: recompiling x11-libs/libxcb with -mstackrealign helped :) No CFLAGS needed to be gutted, just add the stack realign to default CFLAGS.
Comment 7 Matt Turner gentoo-dev 2018-07-07 18:27:51 UTC

*** This bug has been marked as a duplicate of bug 616402 ***