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

Unable to compile on Mac :(

Tags: None
(comma "," separated)
vincen
Registered Member
Posts
21
Karma
0
OS

Unable to compile on Mac :(

Sat Oct 19, 2013 11:06 am
Hi,

Did someone succeeded to compile Amarok with MacPorts on Mountain Lion ? compilation crashes and i'm not enough geek to understand what's the issue :( No one made a port of Amarok avalaible for download ?

Thanks,

Vincèn
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Unable to compile on Mac :(

Sun Oct 20, 2013 2:35 am
Please post the error you are receiving as part of the Macports build process.


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

Re: Unable to compile on Mac :(

Sun Oct 20, 2013 6:46 am
bcooksley wrote:Please post the error you are receiving as part of the Macports build process.

Code: Select all
MacPro:~ vincen$ sudo port install amarok
Password:
--->  Computing dependencies for amarok
--->  Building amarok
Error: org.macports.build for port amarok returned: command execution failed
Please see the log file for port amarok for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_amarok/amarok/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port amarok failed

and the last lines of the main.log file:
Code: Select all
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_amarok/amarok/work/build'
:info:build /opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_amarok/amarok/work/build/CMakeFiles  85 86
:info:build [ 76%] Built target testmasterslavesynchronizationjob
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_amarok/amarok/work/build'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_amarok/amarok/work/build'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_amarok/amarok/work/build" && /usr/bin/make -j8 -w all
:info:build Exit code: 2
:error:build org.macports.build for port amarok returned: command execution failed
:debug:build Error code: CHILDSTATUS 938 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: targets not executed for amarok: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port amarok for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_amarok/amarok/main.log
MacPro:~ vincen$


Thanks
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Unable to compile on Mac :(

Sun Oct 20, 2013 7:08 am
Unfortunately the offending line is missing in the excerpt of main.log. Can you post the full file somewhere it can be examined (like paste.kde.org)?


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

Re: Unable to compile on Mac :(

Sun Oct 20, 2013 7:13 am
bcooksley wrote:Unfortunately the offending line is missing in the excerpt of main.log. Can you post the full file somewhere it can be examined (like paste.kde.org)?

complete log file avalaible here: http://dl.free.fr/jtwa74U3q

Thanks
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: Unable to compile on Mac :(

Sun Oct 20, 2013 7:16 am
Could you please use a service that doesn't cause a delay, like http://paste.kde.org? Also please change the validity of the paste to "forever"


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
vincen
Registered Member
Posts
21
Karma
0
OS

Re: Unable to compile on Mac :(

Sun Oct 20, 2013 7:18 am
Mamarok wrote:Could you please use a service that doesn't cause a delay, like http://paste.kde.org? Also please change the validity of the paste to "forever"

I used this service as I'm unable to share on paste.kde.org, it generates a "The data field is required." ????? unless I pasted the whole log in text mode, and added a name to the paste :(
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Unable to compile on Mac :(

Sun Oct 20, 2013 7:19 am
The data field on paste.kde.org is the main area textbox - it is quite unusual for it to not be filled.
Do note that the title and password are totally optional - so you can leave those blank.


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

Re: Unable to compile on Mac :(

Sun Oct 20, 2013 7:23 am
bcooksley wrote:The data field on paste.kde.org is the main area textbox - it is quite unusual for it to not be filled.
Do note that the title and password are totally optional - so you can leave those blank.

hum I didn't realise but the log file is 1.1M which is probably too much text for paste.kde.org no ?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Unable to compile on Mac :(

Sun Oct 20, 2013 7:45 am
That is likely the case. A review of the file at the hoster you uploaded it to indicates that Clang (the Apple supplied compiler) is encountering problems linking components of Amarok together.

I would suggest attempting to compile a release version of Amarok - or contacting the Macports developers who can then raise the issue with the Amarok developers.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: Unable to compile on Mac :(

Sun Oct 20, 2013 7:54 am
Which Clang version do you use? It should be 3.3 at least, 3.2 doesn't compile Amarok


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
vincen
Registered Member
Posts
21
Karma
0
OS

Re: Unable to compile on Mac :(

Sun Oct 20, 2013 7:59 am
bcooksley wrote:That is likely the case. A review of the file at the hoster you uploaded it to indicates that Clang (the Apple supplied compiler) is encountering problems linking components of Amarok together.
I would suggest attempting to compile a release version of Amarok - or contacting the Macports developers who can then raise the issue with the Amarok developers.

well it's supposed to compile a released version of Amarok but it looks like Macports is not using latest version of Amarok, so will contact Amarok developers and keep you posted here, just in case ;)
vincen
Registered Member
Posts
21
Karma
0
OS

Re: Unable to compile on Mac :(

Sun Oct 20, 2013 8:00 am
Mamarok wrote:Which Clang version do you use? It should be 3.3 at least, 3.2 doesn't compile Amarok

to be honest no idea :( is it supposed to be a part of Mac OSX ? Or Macports ?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Unable to compile on Mac :(

Sun Oct 20, 2013 8:00 am
Clang as far as I am aware is supplied by Apple - what is the output of "clang --version"?


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

Re: Unable to compile on Mac :(

Sun Oct 20, 2013 8:03 am
bcooksley wrote:Clang as far as I am aware is supplied by Apple - what is the output of "clang --version"?

Code: Select all
MacPro:amarok vincen$ clang --version
Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin12.5.0
Thread model: posix


Bookmarks



Who is online

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