Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-7374

cmake: 3.20.2-4 throws ninja: error: dependency cycle: src/ceph-volume/setup.py -> src/ceph-volume/setup.py

    • rhel-sst-pt-llvm-rust-go
    • ssg_platform_tools
    • 12
    • 15
    • 2
    • QE ack
    • False
    • Hide

      None

      Show
      None
    • No
    • None
    • If docs needed, set a value
    • None

      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.

              tstellar@redhat.com Thomas Stellard
              kkeithle@redhat.com Kaleb Keithley (Inactive)
              Lenka Špačková Lenka Špačková
              Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

                Created:
                Updated:
                Resolved: