Bug 2059201
Summary: | cmake not setting up proper directories in rawhide | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | William Cohen <wcohen> |
Component: | cmake | Assignee: | Björn Esser (besser82) <besser82> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 37 | CC: | besser82, germano.massullo, jplesnik, jreznik, mhroncok, rdieter, trpost, walter.pete, zonexpertconsulting |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-06-30 20:09:20 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 2079833 | ||
Bug Blocks: | 2060431, 2060764, 2060781, 2060821, 2060860, 2060891, 2060898 |
Description
William Cohen
2022-02-28 13:36:01 UTC
This breaks all my cmake based packages. FEDORA-2022-a48185dae6 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-a48185dae6 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. Sorry about that. I've put "Related: rhbz#2059201, rhbz#2059188, rhbz#2057738" in the changelog and Bodhi closed this :( Interesting this bug has been filed as a cmake bug. In my case, I fixed this for libcec by simply changing how cmake is called in the specfile: cmake . to cmake .. Shouldn't we be doing it that way anyway, since fedora packaging builds out of source now? Wrt libcec (or any other fedora package), if using %cmake macro, you shouldn't refer to a directory at all (any more). Good catch. Old habits die hard I guess. Looks like Fedora packaging documentation does indeed reflect this change in the example: https://docs.fedoraproject.org/en-US/packaging-guidelines/CMake/ I'll update libcec to reflect that. Bringing this back to dyninst, the problem does indeed seem to be in the specfile: https://src.fedoraproject.org/rpms/dyninst/blob/rawhide/f/dyninst.spec#_116 The dot needs to go away. This bug appears to have been reported against 'rawhide' during the Fedora Linux 37 development cycle. Changing version to 37. |