Topic: build error
Ex-Member Topic Opener |
Posted at: 2017-11-27, 10:28
Trying to build current trunk on Arch linux I get this
Edit by kaputtnik: Use Codeblocks Edited: 2017-11-27, 11:48
Top Quote |
kaputtnik |
Posted at: 2017-11-27, 11:55
I am also on arch-linux but didn't get this error. Can you check wich compiler you are using?
You could try to disable ASAN (Adress Sanitizer) by adding a compile switch '-a':
The '-w' switch omits also building of website related executables, so compilation is a bit faster. Edited: 2017-11-27, 13:12
Fight simulator for Widelands: |
GunChleoc |
Posted at: 2017-11-27, 14:27
Another option would be to create a release build with our compile script, which will also switch off ASan:
If you're not using our compile script, find the following line in CMakeLists.txt:
And set the option to OFF. This is what I could find on the internet: https://github.com/google/sanitizers/issues/810 Busy indexing nil values Top Quote |
Ex-Member Topic Opener |
Posted at: 2017-11-27, 14:32
I just use the pkgbuild from aur which does not seem to have a compile directive, no idea which compiler it uses, I have gcc and clang. Top Quote |
kaputtnik |
Posted at: 2017-11-27, 15:59
Ah... the pkgbuild. Try to edit the file PKGBUILD and add the option after line 50:
Note the additional backslash (' \') after '...=/usr/share/widelands'. If that works the package maintainer of the aur should be informed. Fight simulator for Widelands: |
GunChleoc |
Posted at: 2017-11-27, 19:28
Thanks for the info - I have popped the maintainer an e-mail. Busy indexing nil values Top Quote |
Tmk |
Posted at: 2017-11-27, 19:33
I built the package with and without kaputtniks changes and can confirm the crash and also the fix. I made a note at the packages site. Edit: Oh hello GunChleoc, you were faster Edited: 2017-11-27, 19:34
Top Quote |
kaputtnik |
Posted at: 2017-11-27, 21:35
Thanks TmK And of course GunChleoc Fight simulator for Widelands: |
GunChleoc |
Posted at: 2017-11-27, 22:12
Well, you solved it, we're just passing on the message Busy indexing nil values Top Quote |
gamag |
Posted at: 2017-11-27, 22:41
Should be fixed now. Thank you for notifying me, Tmk and GunChleoc Top Quote |