cmake problem with new port

Ryan Schmidt ryandesign at macports.org
Tue Dec 3 14:18:34 PST 2013


On Dec 3, 2013, at 16:16, MK-MacPorts at techno.ms wrote:

> when trying to set up a new port I ran into a strange thing with cmake:
> ---
> :info:configure -- Configuring done
> :info:configure CMake Error: The inter-target dependency graph contains the following strongly connected component (cycle):
> :info:configure   "server" of type SHARED_LIBRARY
> :info:configure     depends on "core" (weak)
> :info:configure     depends on "view" (weak)
> :info:configure   "view" of type SHARED_LIBRARY
> :info:configure     depends on "server" (weak)
> :info:configure     depends on "core" (weak)
> :info:configure   "core" of type SHARED_LIBRARY
> :info:configure     depends on "server" (weak)
> :info:configure At least one of these targets is not a STATIC_LIBRARY.  Cyclic dependencies are allowed only among static libraries.
>> 
> I don’t understand what’s going on here…
> 
> I am using the kde4 portgroup for that port.
> 
> Any hint for me?

All I can tell you is what cmake already told you: There is a circular dependency and it’s not allowed. Sounds like a broken cmake file. Have you reported this to whoever wrote it? They need to fix it.





More information about the macports-dev mailing list