Bug 1960791
Summary: | /usr/bin/cmake3 has gone away | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Troy Dawson <tdawson> | |
Component: | cmake | Assignee: | serge_sans_paille <sguelton> | |
Status: | CLOSED ERRATA | QA Contact: | Michal Kolar <mkolar> | |
Severity: | unspecified | Docs Contact: | Eva-Lotte Gebhardt <egebhard> | |
Priority: | unspecified | |||
Version: | 8.5 | CC: | carl, egebhard, logans, mattias.ellert, mhroncok, sguelton, smooge, terje.rosten, tschelle, yselkowi | |
Target Milestone: | beta | Keywords: | Bugfix, Regression, Triaged, ZStream | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | cmake-3.20.2-2.el8 | Doc Type: | Rebase: Bug Fixes Only | |
Doc Text: |
.CMake missing versioned symlinks to CMake binaries restored
Unlike previous CMake versions, CMake 3.18.2 did not provide versioned symlinks to CMake binaries. As a consequence, builds that require `cmake3` failed. With this update, the symlink to the `cmake3` binaries are restored and, as a result, all affected builds function again.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1965142 (view as bug list) | Environment: | ||
Last Closed: | 2021-11-09 18:40:52 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: | ||||
Bug Blocks: | 1965142 |
Description
Troy Dawson
2021-05-14 22:14:52 UTC
Also, the new package does not Provide: cmake3 = %{version}-%{release} This is a regression w.r.t. the last version and source packages with BuildRequires: cmake3 no longer build: DEBUG util.py:444: No matching package to install: 'cmake3 >= 3.1' DEBUG util.py:446: Package gcc-c++-8.4.1-1.el8.x86_64 is already installed. DEBUG util.py:446: Package make-1:4.2.1-10.el8.x86_64 is already installed. DEBUG util.py:444: Not all dependencies satisfied DEBUG util.py:444: Error: Some packages could not be found. DEBUG util.py:598: Child return code was: 1 Looking through the previous packages in RHEL-8.3 we shipped ``` $ rpm -qp ./non_modular/cmake-3.11.4-7.el8.x86_64.rpm --provides bundled(kwsys) bundled(md5-deutsch) cmake = 3.11.4-7.el8 cmake(x86-64) = 3.11.4-7.el8 cmake3 = 3.11.4-7.el8 ``` and in Fedora packages we also ship cmake3 provides in all of the trees ``` rpm -qp 34/Everything/x86_64/os/Packages/c/cmake-3.19.7-1.fc34.i686.rpm --provides warning: 34/Everything/x86_64/os/Packages/c/cmake-3.19.7-1.fc34.i686.rpm: Header V4 RSA/SHA256 Signature, key ID 45719a39: NOKEY bundled(kwsys) bundled(md5-deutsch) cmake = 3.19.7-1.fc34 cmake(x86-32) = 3.19.7-1.fc34 cmake3 = 3.19.7-1.fc34 ``` The patch https://git.centos.org/rpms/cmake/c/09b85a86fd26251b569658b4ecb5db9ace298606?branch=c8s seems to be where this change got introduced. hi! I am also missing this, could we get quick fix as the change is trivial? Just to confirm, it looks like this will not be fixed in 8.4? Is there a particular reason this regression can't be resolved in 8.4? It should be, see bug 1965142. Yaakov, Scott can't see bug 1965142, it's private. Can we make that bug public for folks to track the progress? Hi Serge! This is the first draft for this bugfix RN. I'm looking forward to your feedback! Thank you very much, Eva-Lotte .CMake missing versionned symlink to cmake binaries Previously, CMake did not provide the `cmake3` binaries. As a consequence, builds needing `cmake3` failed. With this update, the symlink to the `cmake3` binaries is added and, as a result, all affected builds function again. That description makes it sound like we added something. But this was a regression, meaning that it was a feature that was accidentally removed and this errata brings that feature back. .CMake missing versioned symlinks to cmake binaries Previously CMake provided versioned symlinks to cmake binaries, CMake 3.18.2 did not provide the symlinks. As a consequence, builds needing `cmake3` failed. With this update, the symlink to the `cmake3` binaries are restored and, as a result, all affected builds function again. Thank you very much for your input, indeed the RN shouldn't sound like that. Here is the updated draft: .CMake missing versioned symlinks to cmake binaries restored Unlike previous CMake versions, CMake 3.18.2 did not provide versioned symlinks to cmake binaries. As a consequence, builds needing `cmake3` failed. With this update, the symlink to the `cmake3` binaries are restored and, as a result, all affected builds function again. Verified with cmake-3.20.2-2.el8. Hi @Eval-Lotte, I second Troy opinion and <3 your latest version Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (cmake bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2021:4246 |