#47333 closed defect (fixed)
Processing of port kde4-runtime failed
Reported by: | gerr07@… | Owned by: | NicosPavlov |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | Cc: | ||
Port: | kde4-runtime |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
When trying to install Kdenlive 0.8.2.1, the installation fails at the last dependency - installing kde4-runtime, with the following error (Mac OS 10.6.8, XQuartz 2.3.6 (xorg-server 1.4.2-apple56), XQuartz 2.7.7 (xorg-server 1.15.2):
CMakeFiles/kded_soliduiserver.dir/kded_soliduiserver_automoc.o CMakeFiles/kded_soliduiserver.dir/soliduiserver.o CMakeFiles/kded_soliduiserver.dir/deviceactionsdialog.o CMakeFiles/kded_soliduiserver.dir/deviceaction.o CMakeFiles/kded_soliduiserver.dir/devicenothingaction.o CMakeFiles/kded_soliduiserver.dir/deviceserviceaction.o /opt/local/lib/libkio.5.14.3.dylib /opt/local/lib/libsolid.4.14.3.dylib /opt/local/lib/libQtNetwork.dylib /opt/local/lib/libQtXml.dylib /opt/local/lib/libkdeui.5.14.3.dylib /opt/local/lib/libQtGui.dylib /opt/local/lib/libQtSvg.dylib /opt/local/lib/libkdecore.5.14.3.dylib /opt/local/lib/libQtDBus.dylib /opt/local/lib/libQtCore.dylib -framework Carbon -Wl,-rpath,/opt/local/lib make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/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_kde4-runtime/kde4-runtime/work/build/CMakeFiles 33 [ 22%] Built target kded_soliduiserver make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/build' make: *** [all] Error 2 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/build' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/work/build" && /usr/bin/make -j4 -w all VERBOSE=ON Exit code: 2 Error: org.macports.build for port kde4-runtime returned: command execution failed Warning: targets not executed for kde4-runtime: org.macports.activate org.macports.build org.macports.destroot org.macports.install Please see the log file for port kde4-runtime for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kde4-runtime/kde4-runtime/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port kde4-runtime failed MacBook-Pro-Andrey-Zenin:~ zav450$
The part where configuration fails is in the attaching file. Please help in solving the problem. Thanks
Attachments (10)
Change History (29)
Changed 10 years ago by gerr07@…
Attachment: | terminal.txt added |
---|
comment:1 Changed 10 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to nicos@… |
---|---|
Port: | kde4-runtime added |
In the future, please use WikiFormatting, fill in the Port field and Cc the port maintainers (port info --maintainers kde4-runtime
), if any.
comment:2 Changed 10 years ago by gerr07@…
Yeah well, I'm just a beginner and first time talking to tech support. Expect help from you. Thanks.
comment:3 Changed 10 years ago by gerr07@…
I tried again to install kde4-runtime, in 32 and 64 bit versions, but again the same error, attach another file and waiting for your help. Thanks
Changed 10 years ago by gerr07@…
Attachment: | terminal1.txt added |
---|
comment:4 Changed 9 years ago by NicosPavlov
Sorry to come that late to the ticket. The report is not standard, as it should normally be generated by running
sudo port clean kde4-runtime sudo port -d install kde4-runtime
But there are already some indications in what you submitted, as the configuration status stipulates
The C compiler identification is unknown [snip] /Developer/usr/bin/llvm-g++-4.2
It seems that the selected compiler does not handle the compilation of the port. It has been some time I haven't been on 10.6, so I am not sure if the compiler is standard or not, but I would advise to try compiling with the standard compiler if it was not the case, or we should blacklist this compiler.
comment:5 Changed 9 years ago by gerr07@…
Yes, but how can this be done? I am a simple user, I do video editing and want to try Kdenlive, but do not understand this. So please help me in this, at the user level. How can I do it? Thanks! Write in detail what needs to be done, and I'll send the attachment.
comment:6 Changed 9 years ago by NicosPavlov
First, running
sudo port clean kde4-runtime sudo port -d install kde4-runtime
to get a full report to be attached to this ticket could help.
It seems from what you posted that the build is using a mix of compilers (clang for C and llvm-g++-4.2 for C++), which is not standard. Did you install macports with a standard configuration, and if not, how did you configure it?
If the build still fails, perhaps running
sudo port -d install kde4-runtime configure.compiler=clang
may force to use only one compiler, but I cannot guarantee that without having seen the full report, and without knowing if you installed macports with non-standard parameters.
Changed 9 years ago by gerr07@…
Attachment: | terminal.2.txt added |
---|
comment:7 Changed 9 years ago by gerr07@…
I rebooted the MacBook and used your recommendations, attach the file to the terminal. Thank you for helping me. Await further instruction.
comment:8 Changed 9 years ago by NicosPavlov
The new file you uploaded is from April 1st, so it is not a new attempt. Furthermore, the file you should upload is not a terminal output with verbose (-v) option, but a log with the debug (-d) option, as explained previously (see also the end of the build output):
To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets
The file to be uploaded is the main.log file. You can find the path of the file by running
port logfile kde4-runtime
after the build.
Changed 9 years ago by gerr07@…
Attachment: | terminal.3.txt added |
---|
Changed 9 years ago by gerr07@…
comment:9 Changed 9 years ago by gerr07@…
If I understood correctly, I did again and attached the files. Await further instruction. Thanks!
comment:10 Changed 9 years ago by NicosPavlov
The log confirms that the build is using two compilers:
CC='/Developer/usr/bin/clang' [snip[ CXX='/Developer/usr/bin/llvm-g++-4.2'
Did you try building by forcing the compiler as suggested before?
sudo port -d install kde4-runtime configure.compiler=clang
comment:11 Changed 9 years ago by gerr07@…
Oh yeah, first I ran the command: sudo port clean kde4-runtime
and get this:
Warning: port definitions are more than two weeks old, consider updating them by running 'port selfupdate'. ---> Cleaning kde4-runtime
Then I did it: sudo port -v selfupdate
and get it:
The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated
then I did it: sudo port -v upgrade outdated
and then I did it: sudo port -v install kde4-runtime configure.compiler=clang
and get it:
To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port kde4-runtime failed
All this is in the attached terminal.3.txt. Await further instruction. Thanks!
comment:12 Changed 9 years ago by NicosPavlov
The report seems to confirm that the build is using two different compiler for both C and C++ despite the use of the configure option, which is still surprising to me. In this case, you can try to force the compilers manually by running:
sudo port -d install kde4-runtime configure.cxx=/Developer/usr/bin/clang++ configure.cc=/Developer/usr/bin/clang
In addition, just in case, what is the version of XCode you have on your system?
Changed 9 years ago by gerr07@…
Attachment: | 2015-04-20 17.45.59.png added |
---|
Changed 9 years ago by gerr07@…
Attachment: | 2015-04-20 17.51.21.png added |
---|
Changed 9 years ago by gerr07@…
Attachment: | 2015-04-20 17.52.14.png added |
---|
comment:13 Changed 9 years ago by gerr07@…
On my computer have this:
XQuartz 2.3.6 (xorg-server 1.4.2-apple56), and
XQuartz 2.7.7 (xorg-server 1.15.2)
Attach 3 screen shots. Maybe there is something extra or not? Then how can I remove the unnecessary? I haven't executed the command:
sudo port -d install kde4-runtime configure.cxx=/Developer/usr/bin/clang++ configure.cc=/Developer/usr/bin/clang
Maybe you look at the screenshots, and tell me what to delete? Before I run these commands? Thanks!
comment:14 Changed 9 years ago by NicosPavlov
There is no extra to my knowledge. The command should be run as is in order to try to set both compilers.
comment:15 Changed 9 years ago by gerr07@…
After executing this command:
sudo port -d install kde4-runtime configure.cxx=/Developer/usr/bin/clang++ configure.cc=/Developer/usr/bin/clang
result is not achieved, Attach files, await further instruction. Thanks!
Changed 9 years ago by gerr07@…
Attachment: | main.2.log added |
---|
Changed 9 years ago by gerr07@…
Attachment: | terminal.4.txt added |
---|
comment:16 Changed 9 years ago by NicosPavlov
The program version I am interested in is not the X window system, but the version of the programming IDE of Mac, XCode. Just providing the version number without screenshots should be enough.
As your system appears to not have clang++, it should mean that you have a pretty old version of XCode installed. I would advice to upgrade it to a newer version (typically version 4.2 for OSX 10.6 that you seem to have). There could be other ways to get kde4-runtime to build, but it is likely that you will run into other issues later too.
comment:17 Changed 9 years ago by gerr07@…
Yay, it worked! Using AppCleaner, I cleaned the previous version of XCode, and installed XCode 4.2 for Snow Leopard. Then went to install kde4-runtime, and then start Kdenlive. Now it all works! Thank You very much for your help!
comment:18 Changed 9 years ago by NicosPavlov
Resolution: | → fixed |
---|---|
Status: | new → closed |
Alright. Thanks for the feedback.
comment:19 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
Error: Processing of port kde4-runtime failed