Opened 5 years ago

Closed 5 years ago

#57803 closed defect (fixed)

libkexiv2: Could NOT find Exiv2: Found unsuitable version "..", but required is at least "0.21"

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: NicosPavlov
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: libkexiv2

Description

libkexiv2 doesn't build:

-- Could NOT find Exiv2: Found unsuitable version "..", but required is at least "0.21" (found /opt/local/lib/libexiv2.dylib)

-----------------------------------------------------------------------------
-- The following REQUIRED packages could NOT be located on your system.
-- You must install these packages before continuing.
-----------------------------------------------------------------------------
   * Exiv2 (0.21 or higher)  <http://www.exiv2.org>
     Required to build libkexiv2.

-----------------------------------------------------------------------------

CMake Error at /opt/local/share/apps/cmake/modules/MacroLogFeature.cmake:152 (MESSAGE):
  Exiting: Missing Requirements
Call Stack (most recent call first):
  CMakeLists.txt:139 (MACRO_DISPLAY_FEATURE_LOG)

Attachments (1)

patch-FindExiv2.diff (624 bytes) - added by NicosPavlov 5 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 5 years ago by kencu (Ken)

The previous exiv2 version seemingly satisfies the test, but the current exiv2 version does not. cmake can be mysterious sometimes. I reverted exiv2 until someone shows how to sort this out. I can't seem to find exactly where this test is happening.

comment:2 Changed 5 years ago by NicosPavlov

This is because exiv2 moved the version information from one file to another, breaking the FindExiv2.cmake file (provided by kdelibs4). This can be fixed in kdelibs4 with the attached patch.

There are however other problems, as there have been some changes in the API of Exiv2 version 0.27, so that libkexiv2 does not build regardless of finding the library.

Changed 5 years ago by NicosPavlov

Attachment: patch-FindExiv2.diff added

comment:3 Changed 5 years ago by Marius Schamschula <mschamschula@…>

Resolution: fixed
Status: assignedclosed

In dcbf39e2d920efc9b32f3718635f74286a26cf7f/macports-ports (master):

libkexiv2: fix build against exiv2 0.27

kdelibs4: fix cmake module for exiv2
Closes: #57803

Note: See TracTickets for help on using tickets.