Bug 1444563
Summary: | FindGLUT.cmake claims it needs libXi-devel, freeglut-devel does not | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ed Beroset <beroset> | ||||||
Component: | cmake | Assignee: | Orion Poplawski <orion> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 25 | CC: | besser82, extras-qa, helio, jreznik, logans, ltinkl, mnewsome, orion, rdieter, tsmetana | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
URL: | https://gitlab.kitware.com/cmake/cmake/issues/14060 | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | cmake-3.8.0-3.fc26 cmake-3.8.0-3.fc25 | Doc Type: | If docs needed, set a value | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | 1207045 | Environment: | |||||||
Last Closed: | 2017-05-12 14:11:49 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: | |||||||||
Attachments: |
|
Description
Ed Beroset
2017-04-22 21:04:44 UTC
Created attachment 1273458 [details]
minimal test case
Created attachment 1273459 [details]
patch to include libXi and libXmu only if found
The test case may be run by running "cmake ." in the same directory. On my Fedora 25 machine, the output includes: -- GLUT_LIBRARIES: /usr/lib64/libglut.so;GLUT_Xmu_LIBRARY-NOTFOUND;/usr/lib64/libXi.so That's faulty because the Xmu and Xi libraries are actually optional, so if either is not found, they should be omitted from the GLUT_LIBRARIES list. Any program actually needing features from either library can still explicitly require them. The patched version of LibGLUT.cmake omits libXi or libXmu if not found. With the patch applied, the output on my machine is: -- GLUT_LIBRARIES: /usr/lib64/libglut.so;/usr/lib64/libXi.so Please work with upstream on this. I've updated the upstream report url. cmake-3.8.0-3.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-bc3e5b4fdd cmake-3.8.0-3.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-106f864275 cmake-3.8.0-3.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-bc3e5b4fdd cmake-3.8.0-3.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-106f864275 cmake-3.8.0-3.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report. cmake-3.8.0-3.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report. cmake-3.8.0-3.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report. |