Project

General

Profile

Actions

Bug #47209

closed

cmake fail on crimson-os

Added by Yuval Lifshitz over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

I'm getting this failure on a clean master branch when running "cmake -DWITH_SEASTAR=ON ..":

CMake Error: The inter-target dependency graph contains the following strongly connected component (cycle):
  "crimson-os" of type SHARED_LIBRARY
    depends on "crimson-alienstore" (weak)
  "crimson-alienstore" of type STATIC_LIBRARY
    depends on "crimson-os" (weak)
At least one of these targets is not a STATIC_LIBRARY.  Cyclic dependencies are allowed only among static libraries.
CMake Generate step failed.  Build files cannot be regenerated correctly.

Trying to remove one of the dependencies (in either crimson-os or crimson-alienstore) fixes the cmake issue, but in causing link failure - meaning that the cyclic dependency is real.

Actions #2

Updated by Kefu Chai over 3 years ago

  • Status changed from New to Fix Under Review
  • Assignee set to Yuval Lifshitz
  • Pull request ID set to 36907
Actions #3

Updated by Kefu Chai over 3 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF