Opened 12 years ago
Closed 12 years ago
#36008 closed defect (duplicate)
kdelibs4: Building failure
Reported by: | sevendump@… | Owned by: | sharky@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | michaelld (Michael Dickens) | |
Port: | kdelibs4 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
I'm trying to install Krusader (KDE File manager) on Mac OS 10.7.4. The process ends with an error when building kdelibs4.
sudo port install krusader ---> Computing dependencies for krusader ---> Dependencies to be installed: kde4-runtime kdelibs4 libssh openslp oxygen-icons qimageblitz ---> Building kdelibs4 Error: org.macports.build for port kdelibs4 returned: command execution failed Error: Failed to install kdelibs4 Please see the log file for port kdelibs4 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs4/kdelibs4/main.log Error: The following dependencies were not installed: kde4-runtime kdelibs4 libssh openslp oxygen-icons qimageblitz To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port krusader failed
Attachments (1)
Change History (5)
Changed 12 years ago by sevendump@…
comment:1 follow-up: 2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | michaelld@… added |
---|---|
Description: | modified (diff) |
Owner: | changed from macports-tickets@… to sharky@… |
Port: | kdelibs4 added |
Priority: | High → Normal |
comment:2 Changed 12 years ago by sevendump@…
Replying to ryandesign@…:
The log shows that this was not a clean build attempt, so you should "sudo port clean kdelibs4". But it also shows you are building with clang, which is known not to work if you're using Xcode 4.4+; see #34378 for the workaround. Let us know if that helps.
I do the following:
sudo port clean kdelibs4 sudo port install kdelibs4 configure.compiler=llvm-gcc-4.2
and kdelibs4 was successfully build! Im happy ;) Big Thanx! But now dont builded Krusader ;( I tried the same trick as with kdelibs4, but it did not help.
End part of main.log:
:info:build "Solid::Device::parent() const", referenced from: :info:build MediaButton::eject(QString) in libGUI.a(mediabutton.o) :info:build ld: symbol(s) not found for architecture x86_64 :info:build collect2: ld returned 1 exit status :info:build make[2]: *** [krusader/krusader.app/Contents/MacOS/krusader] Error 1 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_krusader/krusader/work/build' :info:build make[1]: *** [krusader/CMakeFiles/krusader.dir/all] Error 2 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_krusader/krusader/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_krusader/krusader/work/build' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_krusader/krusader/work/build" && /usr/bin/make -j3 -w all :info:build Exit code: 2 :error:build org.macports.build for port krusader returned: command execution failed :debug:build Error code: CHILDSTATUS 59066 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 krusader: org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Please see the log file for port krusader for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_krusader/krusader/main.log
comment:4 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
The log shows that this was not a clean build attempt, so you should "sudo port clean kdelibs4". But it also shows you are building with clang, which is known not to work if you're using Xcode 4.4+; see #34378 for the workaround. Let us know if that helps.