This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Unable to compile on Mac :(

Tags: None
(comma "," separated)
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Unable to compile on Mac :(

Sun Oct 20, 2013 7:56 pm
Unfortunately that is Clang 3.2 - so you'll need to build the last release of Amarok instead at this point i'm afraid.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
vincen
Registered Member
Posts
21
Karma
0
OS

Re: Unable to compile on Mac :(

Mon Oct 21, 2013 4:47 am
bcooksley wrote:Unfortunately that is Clang 3.2 - so you'll need to build the last release of Amarok instead at this point i'm afraid.

Well I talked with guys of Macports and it looks problem is known since Amarok 2.7 and 2.8 has not resolved issue so dead end for now :(
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS

Re: Unable to compile on Mac :(

Mon Oct 21, 2013 5:08 am
What's the actual error? We can try to fix it.


--
Mark Kretschmann - Amarok Developer
vincen
Registered Member
Posts
21
Karma
0
OS

Re: Unable to compile on Mac :(

Mon Oct 21, 2013 5:25 am
markey wrote:What's the actual error? We can try to fix it.

It's an issue with Clang, posted full error log in a previous message in thread ;)
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS

Re: Unable to compile on Mac :(

Mon Oct 21, 2013 5:48 am
I can't find this log, where is it? Anyway, what has been said about Clang 3.2 not being able to compile Amarok is simply not true. I've used it myself.


--
Mark Kretschmann - Amarok Developer
vincen
Registered Member
Posts
21
Karma
0
OS

Re: Unable to compile on Mac :(

Mon Oct 21, 2013 5:50 am
markey wrote:I can't find this log, where is it? Anyway, what has been said about Clang 3.2 not being able to compile Amarok is simply not true. I've used it myself.

viewtopic.php?f=115&t=118011#p294776 ;)
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS

Re: Unable to compile on Mac :(

Mon Oct 21, 2013 6:02 am
Looks like a problem with linking. Also I wonder why the error messages are so garbled. "linklinker command faerror: linkeiled ewr commaithr command failed with exit code 1". What does that even mean?

Code: Select all
info:build ld: symbol(s) not found for architecture x86_64
:info:build ld: symbol(s) not found for architecture x86_64
:info:build Undefined symbols for architecture x86_64:
:info:build   "Playlists::M3UPlaylist::M3UPlaylist(QList<KSharedPtr<Meta::Track> >)", referenced from:
:info:build       Playlists::exportPlaylistFile(QList<KSharedPtr<Meta::Track> > const&, KUrl const&, bool, QList<int> const&) in PlaylistFileSupport.o
:info:build   "Playlists::M3UPlaylist::M3UPlaylist(KUrl const&)", referenced from:
:info:build       Playlists::loadPlaylistFile(KUrl const&) in PlaylistFileSupport.o
:info:build   "Playlists::PLSPlaylist::PLSPlaylist(QList<KSharedPtr<Meta::Track> >)", referenced from:
:info:build       Playlists::exportPlaylistFile(QList<KSharedPtr<Meta::Track> > const&, KUrl const&, bool, QList<int> const&) in PlaylistFileSupport.o
:info:build   "Playlists::PLSPlaylist::PLSPlaylist(KUrl const&)", referenced from:
:info:build       Playlists::loadPlaylistFile(KUrl const&) in PlaylistFileSupport.o
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: clang: clang: clang: clang: clang: error: error: error: linklinker command faerror: linkeiled ewr commaithr command failed with exit code 1 (use -v to see invocation)
:info:build linker command failed with exit code 1 (uerror: linker serror: e -v to see invocalinkertioncomman)
:info:build  command failed with exit code 1 (use -v to see invocation)
:info:build nd failed with exit code 1 (use -v to see invocation)
:info:build d failed with exit code 1 (use -v to see invocation)
:info:build  exit code 1 (use -v to see invocation)
:info:build make[2]: *** [tests/testsqluserplaylistprovider.app/Contents/MacOS/testsqluserplaylistprovider] Error 1


--
Mark Kretschmann - Amarok Developer
vincen
Registered Member
Posts
21
Karma
0
OS

Re: Unable to compile on Mac :(

Mon Oct 21, 2013 6:05 am
markey wrote:Looks like a problem with linking.

so any "easy" solution or is it something complex to resolve ?

markey wrote:Also I wonder why the error messages are so garbled. "linklinker command faerror: linkeiled ewr commaithr command failed with exit code 1". What does that even mean?

perhaps my terminal that is not good :o
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Unable to compile on Mac :(

Mon Oct 21, 2013 7:48 am
I suspect that garbled message may be due to multiple instances of the linker all failing simultaneously - similar output is sometimes observed in the logs on build.kde.org. If you built without parallelism I suspect that would disappear.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS

Re: Unable to compile on Mac :(

Wed Oct 23, 2013 5:45 pm
Hello Vincen,

I wanted to let you know that we have identified the problem, and that we are working on a patch to fix the issue. We should have this patch ready in a few days.

We will notify you here and then you can test it if you are still interested :)


--
Mark Kretschmann - Amarok Developer
vincen
Registered Member
Posts
21
Karma
0
OS

Re: Unable to compile on Mac :(

Thu Oct 24, 2013 5:30 am
markey wrote:I wanted to let you know that we have identified the problem, and that we are working on a patch to fix the issue. We should have this patch ready in a few days.
We will notify you here and then you can test it if you are still interested :)

Thanks a lot for the great news ;) will sure test it as soon as it's avalaible and report here how it goes ;D
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS

Re: Unable to compile on Mac :(

Sun Oct 27, 2013 8:57 am
Here's the patch. You can apply it with "patch -p0 < OSX-Fix-Compilation.patch":

http://pastelink.me/dl/a76973


--
Mark Kretschmann - Amarok Developer
vincen
Registered Member
Posts
21
Karma
0
OS

Re: Unable to compile on Mac :(

Sun Oct 27, 2013 3:24 pm
markey wrote:Here's the patch. You can apply it with "patch -p0 < OSX-Fix-Compilation.patch":
http://pastelink.me/dl/a76973

Thanks Mark but how do I apply this when I install with Macports ?
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS

Re: Unable to compile on Mac :(

Sun Oct 27, 2013 4:54 pm


--
Mark Kretschmann - Amarok Developer
vincen
Registered Member
Posts
21
Karma
0
OS

Re: Unable to compile on Mac :(

Tue Nov 05, 2013 9:08 am
markey wrote:http://guide.macports.org/chunked/development.patches.html#development.patches.applying

Sorry but I didn’t figure out how to apply patch with Macports :( perhaps someone more geek than me will be able to test it ;)


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]