Bug 2059188 - cmake: 3.23.0rc2 broke subdir builds (%cmake_* rpm macros)
Summary: cmake: 3.23.0rc2 broke subdir builds (%cmake_* rpm macros)
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: cmake
Version: 37
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Björn 'besser82' Esser
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2057738 2079833
Blocks: 2081479 2139909
TreeView+ depends on / blocked
 
Reported: 2022-02-28 12:58 UTC by Kaleb KEITHLEY
Modified: 2022-11-03 19:28 UTC (History)
6 users (show)

Fixed In Version: cmake-3.24.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2139909 (view as bug list)
Environment:
Last Closed: 2022-11-03 19:28:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Kaleb KEITHLEY 2022-02-28 12:58:13 UTC
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:

Comment 1 Kaleb KEITHLEY 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

Comment 2 Fedora Update System 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

Comment 3 Fedora Update System 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.

Comment 4 Miro Hrončok 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 :(

Comment 5 Ben Cotton 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 6 Kaleb KEITHLEY 2022-11-03 19:28:55 UTC
f37 has cmake-3.24.2, which works fine.


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