[MacPorts] #41835: cmake: internal architecture check breaks build (was: kdepimlibs4 @4.11.4: akonadi not found)

MacPorts noreply at macports.org
Wed Dec 25 18:55:46 PST 2013


#41835: cmake: internal architecture check breaks build
---------------------------+---------------------
  Reporter:  ryandesign@…  |      Owner:  nicos@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.2.1
Resolution:                |   Keywords:
      Port:  kdepimlibs4   |
---------------------------+---------------------
Changes (by nicos@…):

 * cc: css@… (added)


Old description:

> kdepimlibs4 fails to configure:
>
> {{{
> -- The following REQUIRED packages have not been found:
>
>  * Akonadi (required version >= 1.10.1) , Akonadi server libraries ,
> <http://pim.kde.org/akonadi>
>    Access to PIM storage and services
>
> CMake Error at
> /opt/local/share/cmake-2.8/Modules/FeatureSummary.cmake:430 (message):
>   feature_summary() Error: REQUIRED package(s) are missing, aborting
> CMake
>   run.
> Call Stack (most recent call first):
>   CMakeLists.txt:205 (feature_summary)
> }}}
>
> akonadi is installed:
>
> {{{
> $ port -v installed akonadi
> The following ports are currently installed:
>   akonadi @1.11.0_0+mariadb+universal-mysql5 (active) platform='darwin
> 13' archs='i386 x86_64'
> }}}

New description:

 Additional information: Cmake performs some internal architecture checks,
 based on the size of pointers to differentiate 32 and 64 bit binaries.
 This approach breaks builds on Macports when universal and non-universal
 ports are mixed. In particular, builds fail if trying to build a non-
 universal port on top of a universal one. The issue described below is a
 particular case, where kdepimlibs4 (non-universal) fails on top of
 akonadi+universal.

 kdepimlibs4 fails to configure:

 {{{
 -- The following REQUIRED packages have not been found:

  * Akonadi (required version >= 1.10.1) , Akonadi server libraries ,
 <http://pim.kde.org/akonadi>
    Access to PIM storage and services

 CMake Error at /opt/local/share/cmake-2.8/Modules/FeatureSummary.cmake:430
 (message):
   feature_summary() Error: REQUIRED package(s) are missing, aborting CMake
   run.
 Call Stack (most recent call first):
   CMakeLists.txt:205 (feature_summary)
 }}}

 akonadi is installed:

 {{{
 $ port -v installed akonadi
 The following ports are currently installed:
   akonadi @1.11.0_0+mariadb+universal-mysql5 (active) platform='darwin 13'
 archs='i386 x86_64'
 }}}

--

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


More information about the macports-tickets mailing list