For the last month I have been unable to start any game, new game or tutorials all crash just before displaying the world. According to the terminal output alll data blocks load, then
GameLoader::load() took 51ms
Done reloading the game from replay
Replay writer has started
Segmentation fault (core dumped)
The strange message about reloading from replay might be a clue as I do not have replays and certainly do not load them. The error started after trunk update to include building work area conflicts and has persisted through several updates.
Assuming it might be something I had done and I had something wrong in my configuration directory I deleted `/.widelands and let the gme create a new one, but the results was the same.
I decided to start from the begining and deleted the widelands-repo directory and the checked out a current version to compile with the supplied script, it failed to compile due to errors in interactive_gamebase.cc and interactive_player.cc. I checked the files I had with those online and saw no difference and the reran the compile script, this started to compile after the two error files, the script seems to assume that if something has been built previously and has no change the it does not need to be recompiled, this means the two files that were reported as errors on the first run were not compiled correctly and trying to run the game segfaults.
I then tried the Archlinux bzr build but that fails with
/bin/ld: ../../graphic/libgraphic_gl_utils.a(initialize.cc.o): undefined reference to symbol 'glDrawBuffer' /bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../lib/libGL.so: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make: [src/economy/test/CMakeFiles/test_economy.dir/build.make:499: src/economy/test/test_economy] Error 1 make: [CMakeFiles/Makefile2:10123: src/economy/test/CMakeFiles/test_economy.dir/all] Error 2 make: *** [Makefile:141: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build widelands-bzr.
I have also tried building from git but I have not been able to get my fork mirrored for a month and building from git has always been problamatic.