Page 1 of 1

ArchLinux upgrade broke my MT

PostPosted: Thu Sep 03, 2015 06:33
by benrob0329
So I have been using an AUR build of MT for quite some time now, (as the official binary is outdated) and I just did a full system upgrade. Everything is supposed to go smoothly, but it didn't. Anyways the main thing that went wrong was the fact that Irrlicht was updated, so I had to re build MT (not a big deal, it takes about half an hour to rebuild it).

But no matter if I use minetest-git or minetest-git with LuaJIT and other cool stuff (I dont remember the exact name, but I thought LuaJIT was worth a shot to see if it would make things run faster) I get this error:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Segmentation fault (core dumped)


..and that's it...

I'm running ArchLinux x86_64 with pacor and yauort (though I do know how to use the AUR manually), and I do have the multilib repo enabled. My DE is GNOME 3.

Re: ArchLinux upgrade broke my MT

PostPosted: Thu Sep 03, 2015 07:21
by rubenwardy
We are aware this and are working to fix this. In the meantime you should downgrade Irrlicht.

Re: ArchLinux upgrade broke my MT

PostPosted: Thu Sep 03, 2015 09:28
by Morn76
benrob0329 wrote:But no matter if I use minetest-git or minetest-git with LuaJIT and other cool stuff (I dont remember the exact name, but I thought LuaJIT was worth a shot to see if it would make things run faster)

I think LuaJIT is auto-detected by the Minetest Makefile. Meaning if the luajit package is installed, both minetest-git and minetest-git-leveldb (my PKGBUILD with all the extra cool stuff) should use it.

Re: ArchLinux upgrade broke my MT

PostPosted: Thu Sep 03, 2015 10:40
by rubenwardy
Some more news: the crash is an Irrlicht problem, not a Minetest problem, which means we can't really fix it, we have to wait for Irrlicht to fix it.

Source: #minetest-dev

Re: ArchLinux upgrade broke my MT

PostPosted: Thu Sep 03, 2015 15:03
by benrob0329
Ok, thanks rubenwary!

I guess thats a problem with roling realese distros, anyone know the exact name of the previos Irrlicht package?

Re: ArchLinux upgrade broke my MT

PostPosted: Thu Sep 03, 2015 16:16
by Morn76
benrob0329 wrote:Ok, thanks rubenwary!

I guess thats a problem with roling realese distros, anyone know the exact name of the previos Irrlicht package?

http://repo-arm-download.archlinuxcn.or ... pkg.tar.xz

Re: ArchLinux upgrade broke my MT

PostPosted: Fri Sep 04, 2015 11:43
by trukoil
Irrlicht updated to 1.8.2-2 and Minetest from repository didn't crash (0.4.12)

Compiling 0.4.13 from git, we'll see if crash.

Re: ArchLinux upgrade broke my MT

PostPosted: Fri Sep 04, 2015 12:26
by trukoil
In-game now, resolved here.

Re: ArchLinux upgrade broke my MT

PostPosted: Fri Sep 04, 2015 23:51
by benrob0329
Well, I downgraded Irrlicht, and compiled minetest-git-leveldb and it works! Oh, and LuaJIT is SOOO much FASTER, thanks Morn76!

Re: ArchLinux upgrade broke my MT

PostPosted: Sat Sep 05, 2015 11:16
by Morn76
benrob0329 wrote:Well, I downgraded Irrlicht, and compiled minetest-git-leveldb and it works! Oh, and LuaJIT is SOOO much FASTER, thanks Morn76!

You're very welcome, benrob0329! :-)

Re: ArchLinux upgrade broke my MT

PostPosted: Mon Sep 07, 2015 09:41
by Morn76
I've switched my PKGBUILD (minetest-git-leveldb) from gcc to clang; now it works again with the latest Arch irrlicht package (which is also compiled with clang).

Re: ArchLinux upgrade broke my MT

PostPosted: Mon Sep 07, 2015 14:53
by benrob0329
Thanks, now I can have an up to date system! I'm glad people are moving to Clang, I think that it's a better compiler than GCC.

Re: ArchLinux upgrade broke my MT

PostPosted: Mon Sep 07, 2015 15:41
by Morn76
benrob0329 wrote:Thanks, now I can have an up to date system! I'm glad people are moving to Clang, I think that it's a better compiler than GCC.

I think it is more because of its license and Stallman being against it that Linux distros do not like to use Clang. Just in terms of speed and error messages it's clearly better than GCC, but it is an ideological issue…

Re: ArchLinux upgrade broke my MT

PostPosted: Mon Sep 07, 2015 16:14
by benrob0329
Yeah, but I think that if enough people use it then they will have to switch!

Re: ArchLinux upgrade broke my MT

PostPosted: Mon Sep 07, 2015 16:36
by Morn76
benrob0329 wrote:Yeah, but I think that if enough people use it then they will have to switch!

It will at least have to be an option for some packages that need it, but I don't know if distro maintainers will ever compile all packages with it, including the kernel. From what I've seen, something like 5% of LInux packages don't build with Clang, so that might be an issue.

Re: ArchLinux upgrade broke my MT

PostPosted: Mon Sep 07, 2015 18:18
by benrob0329
Well, there isn't much difference between GCC and Clang code writing wise (I think) other than a few small things (see the Clang website) so porting those shouldn't be that hard.