[MacPorts] #41835: kdepimlibs4 @4.11.4: akonadi not found

MacPorts noreply at macports.org
Mon Dec 23 02:35:52 PST 2013


#41835: kdepimlibs4 @4.11.4: akonadi not found
---------------------------+---------------------
  Reporter:  ryandesign@…  |      Owner:  nicos@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.2.1
Resolution:                |   Keywords:
      Port:  kdepimlibs4   |
---------------------------+---------------------

Comment (by nicos@…):

 I finally found how to reproduce the issue you reported. I had missed that
 you had tried to build kdepimlibs4 (not universal) on top of
 akonadi+universal. In this case, I get the same errors with the (32bit)
 inserted.
 It seems to go down to cmake, which does not consider universal bundles
 from apple. When building universal, it gives the one above (so only
 32bit), while building only for x86_64 architecture provides:
 {{{
 "${CMAKE_SIZEOF_VOID_P}"  STREQUAL ""  OR "8" STREQUAL "")
 [snip]
 if(NOT "${CMAKE_SIZEOF_VOID_P}" STREQUAL "8")
   math(EXPR installedBits "8 * 8")
 [snip]
 }}}
 (I dropped identical lines). The version check files are generated either
 by WriteBasicConfigVersionFile.cmake, or BasicConfigVersion-
 AnyNewerVersion.cmake.in.

 I could probably patch akonadi to bypass the issue in case of universal
 build, but I suspect that this problem would propagate to other ports, so
 that it may be better to fix it directly in cmake.

-- 
Ticket URL: <https://trac.macports.org/ticket/41835#comment:6>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list