Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#38442 closed defect (fixed)

digikam @2.9.0 fails to build: error: ‘loadDcrawPreview’ is not a member of ‘KDcrawIface::KDcraw’

Reported by: bservin@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: haspatch Cc: jgosmann (Jan Gosmann), bservin@…, eborisch (Eric A. Borisch), conor.datast0re@…
Port: digikam

Description

I am trying to build digikam on OS X 10.6.8 with XCode version 3.2.6 but get a build error. I tried to look into the build log, but must admit I don't know where the problem comes from. I attach the build log file.

Attachments (2)

main.log (8.0 MB) - added by bservin@… 11 years ago.
build log file
digikam.diff (3.3 KB) - added by eborisch (Eric A. Borisch) 11 years ago.

Change History (11)

Changed 11 years ago by bservin@…

Attachment: main.log added

build log file

comment:1 Changed 11 years ago by bservin@…

Cc: bservin@… added

Cc Me!

comment:2 Changed 11 years ago by eborisch (Eric A. Borisch)

Keywords: haspatch added

It's an issue with the updated libkdcraw api(ish) change: http://comments.gmane.org/gmane.comp.kde.releases/6484 -- Updating to a new digikam fixes things.

There's another issue with the lastest digikam release for OSX: http://mail.kde.org/pipermail/digikam-devel/2013-January/066115.html

Patch attached addresses both issues, I believe.

Changed 11 years ago by eborisch (Eric A. Borisch)

Attachment: digikam.diff added

comment:3 Changed 11 years ago by eborisch (Eric A. Borisch)

I should have probably left the "# clang stumbles over CV_XADD macro, see #37184" line in the Portfile. Consider when updating.

comment:4 Changed 11 years ago by eborisch (Eric A. Borisch)

Cc: eborisch@… added

Cc Me!

comment:5 Changed 11 years ago by conor.datast0re@…

Cc: conor.datast0re@… added

Cc Me!

comment:6 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: digikam @2.9.0 fails to builddigikam @2.9.0 fails to build: error: ‘loadDcrawPreview’ is not a member of ‘KDcrawIface::KDcraw’

comment:7 Changed 11 years ago by eborisch (Eric A. Borisch)

I plan to commit this (openmaintainer) as the current version will not build, and previously built versions will either not run (I believe, due to names changing in the libkdcraw) or get flagged and rebuilt (failing) by revupgrade after the updated -- currently active in MacPorts -- libkdcraw is installed.

comment:8 Changed 11 years ago by eborisch (Eric A. Borisch)

Resolution: fixed
Status: newclosed

Committed in r104234.

comment:9 Changed 11 years ago by bservin@…

I re-installed digikam this morning, and it builds (and works) now. Thanks for the quick fix !

Note: See TracTickets for help on using tickets.