You are not logged in.

#1 2008-12-19 09:45:52

connexion2000
Member
Registered: 2006-10-15
Posts: 116

Amarok2 compilation fails on 4%, segmentation fault

Hi!
I am trying to compile amarok2 using PKGBUILD from AUR. It results in error:

Linking CXX executable generator
/bin/sh: line 1: 13531 Segmentation fault      /home/gpan/Desktop/amarok/src/amarok-2.0/src/scriptengine/generator/generator/generator --output-directory=/home/gpan/Desktop/amarok/src/amarok-2.0/src/scriptengine/generator/generator --include-paths=/usr/include
make[2]: *** [src/scriptengine/generator/generator/generator] Error 139
make[1]: *** [src/scriptengine/generator/generator/CMakeFiles/generator.dir/all] Error 2
make: *** [all] Error 2
==> ERROR: Build Failed.
    Aborting...

What might be wrong?

Offline

#2 2008-12-19 10:38:30

Solid1986Snake
Member
Registered: 2007-06-18
Posts: 258

Re: Amarok2 compilation fails on 4%, segmentation fault

Same for me here... i am searching for a solution since 4 or 5 weeks... nothing found yet...

At the moment i am using extragear-mutlimedia package from kde-svn user repository....

Offline

#3 2009-01-13 21:43:51

Lifty
Member
Registered: 2006-11-05
Posts: 62

Re: Amarok2 compilation fails on 4%, segmentation fault

Same here for me on 64bit with kde 4.1.96. It is really frustrating and it seems like very few people got this error. I hope there is a solution

Offline

#4 2009-01-13 21:55:22

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Amarok2 compilation fails on 4%, segmentation fault

'makepkg --asroot' as a temporary workaround

Offline

#5 2009-01-14 14:04:39

Lifty
Member
Registered: 2006-11-05
Posts: 62

Re: Amarok2 compilation fails on 4%, segmentation fault

Yes, it works! Ive successfully compiled amarok 2.0.1.1. Thank you pressh.
Nevertheless its still strange. I have tried it twice as root yesterday and had no luck. Maybe it was something in the qt or cmake packages which I updated today before building again.

Offline

#6 2009-01-15 01:51:16

cookiecaper
Member
Registered: 2007-09-22
Posts: 198

Re: Amarok2 compilation fails on 4%, segmentation fault

I get segfaults often while compiling KDE 4 applications with makepkg. It's sad and I hope it gets fixed soon. Try building koffice2-beta too, should get the same thing.

Offline

#7 2009-01-15 20:13:06

Lifty
Member
Registered: 2006-11-05
Posts: 62

Re: Amarok2 compilation fails on 4%, segmentation fault

I did and everything was fine. Just took very long to compile but right now Im  trying kpresenter big_smile

Offline

#8 2009-03-06 01:22:39

cookiecaper
Member
Registered: 2007-09-22
Posts: 198

Re: Amarok2 compilation fails on 4%, segmentation fault

Still getting this problem. Any hope for a real fix? sad

Offline

#9 2009-03-06 14:10:21

connexion2000
Member
Registered: 2006-10-15
Posts: 116

Re: Amarok2 compilation fails on 4%, segmentation fault

So you need to compile mysql with -fPIC and amarok2 will compile fine. You don't need to compile amarok by root. I can upload some packages if you want (x86_64)

Offline

#10 2009-03-06 14:49:16

cookiecaper
Member
Registered: 2007-09-22
Posts: 198

Re: Amarok2 compilation fails on 4%, segmentation fault

I get a segfault at 4% when I try to compile as normal user. I was having MySQL -fPIC problems, but I recompiled so those went away. I have a working SVN build now, but I still have this issue of 4% segmentation fault unless I pass --asroot.

Offline

#11 2009-03-06 19:48:47

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: Amarok2 compilation fails on 4%, segmentation fault

compilation of kde4 applications with fakeroot and nvidia libGL is known to fail. Either build fakeroot with TCP communication instead of IPC, or make sure you build in a chroot that has mesa's libgl instead of nvidia's libgl.

Offline

Board footer

Powered by FluxBB