This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2139909 - cmake: 3.20.2-4 throws ninja: error: dependency cycle: src/ceph-volume/setup.py -> src/ceph-volume/setup.py
Summary: cmake: 3.20.2-4 throws ninja: error: dependency cycle: src/ceph-volume/setup....
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: cmake
Version: CentOS Stream
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Tom Stellard
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
Depends On: 2057738 2059188 2079833
Blocks: 2081479
TreeView+ depends on / blocked
 
Reported: 2022-11-03 19:20 UTC by Kaleb KEITHLEY
Modified: 2023-09-22 16:34 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2059188
Environment:
Last Closed: 2023-09-22 16:34:07 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker   RHEL-7374 0 None Migrated None 2023-09-22 16:33:54 UTC
Red Hat Issue Tracker RHELPLAN-138289 0 None None None 2022-11-03 19:32:41 UTC

Description Kaleb KEITHLEY 2022-11-03 19:20:52 UTC
see, e.g., https://cbs.centos.org/koji/taskinfo?taskID=3073264 or more specifically  the end of https://cbs.centos.org/kojifiles/work/tasks/3264/3073264/build.log where $subject is thrown

using cmake-3.24.2-1 works (e.g. see https://cbs.centos.org/koji/taskinfo?taskID=3073579. Even if the build fails later for other reasons.)

Curiously, cmake-3.20.2-4 in Stream 9 doesn't exhibit the same error. Perhaps a cmake expert can figure out why?


+++ This bug was initially created as a clone of Bug #2059188 +++

Description of problem: several (of my) packages that built previously on rawhide with cmake-3.22.0 now don't build.

E.g. https://kojipkgs.fedoraproject.org//work/tasks/6197/83316197/build.log (https://koji.fedoraproject.org/koji/taskinfo?taskID=83316197) fails with 
  Error: /builddir/build/BUILD/nfs-ganesha-4.0/src/redhat-linux-build is not a directory

Other packages like ceph now fail with the same error.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from Kaleb KEITHLEY on 2022-02-28 15:14:32 UTC ---

If I disable the subdir build (with '%global __cmake_in_source_build 1'  then with ceph builds I also get the following:
   ninja: error: dependency cycle: src/ceph-volume/setup.py -> src/ceph-volume/setup.py

--- Additional comment from Fedora Update System on 2022-03-02 22:11:53 UTC ---

FEDORA-2022-a48185dae6 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-a48185dae6

--- Additional comment from Fedora Update System on 2022-03-02 22:12:40 UTC ---

FEDORA-2022-a48185dae6 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

--- Additional comment from Miro Hrončok on 2022-03-02 22:24:43 UTC ---

Sorry about that. I've put "Related: rhbz#2059201, rhbz#2059188, rhbz#2057738" in the changelog and Bodhi closed this :(

--- Additional comment from Ben Cotton on 2022-08-09 13:13:24 UTC ---

This bug appears to have been reported against 'rawhide' during the Fedora Linux 37 development cycle.
Changing version to 37.

Comment 1 Timm Bäder 2022-12-02 07:30:34 UTC
> +++ This bug was initially created as a clone of Bug #2059188 +++

That bug and this one are different though, right?

I don't think we have a real cmake expert unfortunately (and if Tom is, he is out for the rest of the year).
It does sound like cmake is at fault here (since an upgrade fixes the problem), but is this really the first
ceph build since that cmake package hit the buildroot? Serge pushed the update mid-2021.

Can you work around the problem by switching back to make files instead?

Comment 2 Tom Stellard 2023-01-21 07:20:39 UTC
Is this still an issue?

Comment 3 Kaleb KEITHLEY 2023-05-03 12:22:29 UTC
(In reply to Tom Stellard from comment #2)
> Is this still an issue?

Yes, it's still an issue. Builds still fail in cmake using the cmake from appstream.

Comment 4 RHEL Program Management 2023-09-22 16:32:16 UTC
Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug.

Comment 5 RHEL Program Management 2023-09-22 16:34:07 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.

Due to differences in account names between systems, some fields were not replicated.  Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.

To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer.  You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:

"Bugzilla Bug" = 1234567

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.


Note You need to log in before you can comment on or make changes to this bug.