Bug 1414167
| Summary: | cmake file resolves to `/usr/lib/libstp.so.2.1.2` instead of `/usr/lib64/libstp.so.2.1.2` | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | electron.kiwi |
| Component: | stp | Assignee: | Jerry James <loganjerry> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 25 | CC: | amdunn, loganjerry |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | stp-2.1.2-4.20151122git.3785148.fc24 stp-2.1.2-4.20151122git.3785148.fc25 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-02-17 20:49:35 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: | |||
stp-2.1.2-4.20151122git.3785148.fc24 stp-2.1.2-4.20151122git.3785148.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-043859a6e5 stp-2.1.2-4.20151122git.3785148.fc24 has been pushed to the Fedora 24 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-043859a6e5 stp-2.1.2-4.20151122git.3785148.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-fda07fb097 stp-2.1.2-4.20151122git.3785148.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-fda07fb097 stp-2.1.2-4.20151122git.3785148.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. stp-2.1.2-4.20151122git.3785148.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: The `STPTargets.cmake` file from the `stp-devel` package resolves the path of the `libstp.so` to the wrong folder (`/usr/lib` instead of `/usr/lib64`). Version-Release number of selected component (if applicable): stp-devel-2.1.2-3.20151122git.3785148.fc25.x86_64 Steps to Reproduce: 1. install `stp-devel` on Fedora 25 2. add `find_package(STP CONFIG)` to cmake script Actual results: ~~~ CMake Error at /usr/lib64/cmake/STP/STPTargets.cmake:82 (message): The imported target "libstp" references the file "/usr/lib/libstp.so.2.1.2" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/lib64/cmake/STP/STPTargets.cmake" but not all the files it references. ~~~ Additional info: This is probably just a confusion about `/usr/lib` vs `/usr/lib64` but I do not understand cmake scripts well enough to figure out the correct way of patching this.