Topic: Unable to build widelands on arch linux
Mars Topic Opener |
Posted at: 2020-06-07, 22:10
Hi, I am not able to build widelands and need some help. In the past, it used to work, but this was before widelands moved to git (i.e. some time ago). I have all the dependencies installed:
and cloned the master branch from git:
The commit is:
However, running
You can find the whole bash session output on [pastebin] (https://pastebin.com/hSbT2mPu) I hope you can help me. Mars Top Quote |
Nordfriese |
Posted at: 2020-06-07, 22:27
Perhaps ld ran out of memory? How much RAM do you have? It easily runs out when linking 7 executables in parallel. You could try
to ease the load on the linker, perhaps that already helps… Edited: 2020-06-07, 22:27
Top Quote |
Nordfriese |
Posted at: 2020-06-07, 22:33
Also please check the content of the file Edited: 2020-06-07, 22:34
Top Quote |
Mars Topic Opener |
Posted at: 2020-06-07, 23:38
Memory usage really seems to be (one of the) problem(s). I have 16 GB of memory, but it's more or less all used close to the end of building widelands. The
The Top Quote |
Mars Topic Opener |
Posted at: 2020-06-08, 00:04
I did some more tests and added a log statement before the assertion
The results are unexpected:
There is no myanmar in the whole git repo and I am not sure where it comes from. My only guess is some old system-wide config files. I will do some more investigation tomorrow. Top Quote |
niektory |
Posted at: 2020-06-08, 04:49
This is the problem:
You have Build 20 installed from the Arch repositories and Widelands loads the data directory from that older version. To make it use the proper data directory start it with:
See also issue #3490 and issue #3776. Top Quote |
Mars Topic Opener |
Posted at: 2020-06-08, 06:08
Thanks for the help and the links to the github issues! Adding the datadir option solved my problem. Top Quote |