Created attachment 633652 [details] Log of widelands Hey there, first, to prevent "undefined reference to symbol 'glDrawBuffer'" I have to add "-DOpenGL_GL_PREFERENCE=LEGACY" to mycmakeargs in ebuild. After that, the game builds and installs fine. But when trying to load any map, the game segfaults (see attached log). Any Idea why this happens and how I can actually play the game?
Please join IRC #gentoo-games to find out more. Please paste emerge info Did you try 0.20-r1 (note the r1) Do you see the same bug in games-strategy/widelands-9999?
widelands-9999 works. I tried git bisect, but it always says: Some good revs are not ancestors of the bad rev. git bisect cannot work properly in this case. Maybe you mistook good and bad revs? However I did it by hand and find commit 04eed12abdbb13d90e6ba37831acc88e9b6ac79f to be the first working one. The lua-scripts are making the difference. This does work also: git checkout 1a00367e4e6dbe4ab771276aac6fde11be577f1 # the commit before git checkout 04eed12abdbb13d90e6ba37831acc88e9b6ac79f -- data/tribes/workers/barbarians/*/init.lua But according to https://github.com/widelands/widelands/pull/3779 there should be no change that fixes a crash. I have no idea why widelands crashes for me without the changes to the init.lua files.
I can confirm this segmentation fault bug for games-strategy/widelands-0.20-r1 on amd64/17.1/dekstop profile with VIDEO_CARDS="intel". games-strategy/widelands-9999 works without issues.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8fb6aa58c65e3faf26d14cc0e4564adfb20ab3d commit b8fb6aa58c65e3faf26d14cc0e4564adfb20ab3d Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2021-06-03 14:15:08 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2021-06-03 16:17:51 +0000 games-strategy/widelands: add 0.21 - add python3_{9,10} - enable minor tests - let trivial website tools be built - removed upstreamed patches - use upstream provided .desktop - update LICENSE for the various assets Closes: https://bugs.gentoo.org/718116 Closes: https://bugs.gentoo.org/736268 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> games-strategy/widelands/Manifest | 1 + games-strategy/widelands/widelands-0.21.ebuild | 58 ++++++++++++++++++++++++++ 2 files changed, 59 insertions(+)