Opened 13 years ago

Closed 13 years ago

#31583 closed defect (fixed)

Failed to install libkdcraw (as an dependency of digikam)

Reported by: juhamleino@… Owned by: NicosPavlov
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: paulwwaldo@…
Port: libkdcraw

Description (last modified by mf2k (Frank Schima))

I have a fresh osx Snow Leopard installation and tried to install digikam. The installation fails with compilation of libdckraw package.

--->  Building libkdcraw
Error: Target org.macports.build returned: shell command failed (see log for details)
Error: Failed to install libkdcraw
Log for libkdcraw is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_libkdcraw/libkdcraw/main.log
Error: The following dependencies were not installed: libkdcraw libkexiv2 exiv2 libkipi libksane sane-backends net-snmp liblqr marble libkdeedu opencv faac faad2 liboil oxygen-icons
Error: Status 1 encountered during processing.

Please find the complete log referenced above attached.

Attachments (1)

main.log (113.0 KB) - added by juhamleino@… 13 years ago.
File:/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_libkdcraw/libkdcraw/main.log

Download all attachments as: .zip

Change History (8)

Changed 13 years ago by juhamleino@…

Attachment: main.log added

File:/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_libkdcraw/libkdcraw/main.log

comment:1 Changed 13 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to nicos@…
Port: libkdcraw added

In the future, please fill in the Port field, Cc the maintainer(s) and use WikiFormatting.

comment:2 Changed 13 years ago by NicosPavlov

Summary: Failed to install libdcraw (as an dependency of digikam)Failed to install libkdcraw (as an dependency of digikam)

It seems that it fails here at linking stage, but the log is not very helpful in this case. Would it be possible to install in debug mode and upload the output ? e.g. run:

sudo port clean libkdcraw
sudo port -d install libkdcraw

comment:3 Changed 13 years ago by mf2k (Frank Schima)

The reporter did supply a log with debug mode, that is how it is generated. But the configure phase was complete and did not get shown. The best thing to do is clean the port and try installing again, and then supply the same main.log file if it fails again.

sudo port clean libkdcraw
sudo port install libkdcraw

comment:4 Changed 13 years ago by NicosPavlov

Cc: paulwwaldo@… added

Has the duplicate #31791.

comment:5 Changed 13 years ago by paulwwaldo@…

Cc: paulwwaldo@… removed

Cc Me!

comment:6 Changed 13 years ago by paulwwaldo@…

Cc: paulwwaldo@… added

Cc Me!

comment:7 Changed 13 years ago by NicosPavlov

Resolution: fixed
Status: newclosed

The problem seems to happen when building libkdcraw universal and not having all deps built with this variant. Adding explicitely kdelibs4 as a dependency (which I should have done from the start) seems to ensure proper dependency compilation. Committed in r86529.

Note: See TracTickets for help on using tickets.