Bug 1509365 - OpenIGTLink config broken?
Summary: OpenIGTLink config broken?
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: openigtlink
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dmitry Mikhirev
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-03 15:52 UTC by Mario Ceresa
Modified: 2017-12-10 05:02 UTC (History)
1 user (show)

Fixed In Version: openigtlink-2.0-4.fc26 openigtlink-2.0-6.fc27
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-09 22:23:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patch to fix hardcoded paths in cmake config file (2.20 KB, patch)
2017-11-03 15:52 UTC, Mario Ceresa
no flags Details | Diff

Description Mario Ceresa 2017-11-03 15:52:32 UTC
Created attachment 1347435 [details]
Patch to fix hardcoded paths in cmake config file

Dear mantainer,
I've see that OpenIGTLinkConfig.cmake has broken configuration entries that still refers to the buildroot like:
/builddir/build/BUILD/OpenIGTLink-2.0/build/bin/libOpenIGTLink.so.2.0.0

This causes cmake errors when you try to import it.

It should be using the install path instead which can be obtained with:
get_filename_component(OpenIGTLink_INSTALL_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)

I attach a patch to fix the version present in f26. This worked for me and I was able to load the cmake and compile my project.

There is also a hardcoded path to at the end of OpenIGTLinkTargets.cmake just in case.

Best,

Mario

Comment 1 Fedora Update System 2017-11-19 20:02:51 UTC
openigtlink-2.0-6.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-928103a870

Comment 2 Fedora Update System 2017-11-19 20:03:02 UTC
openigtlink-2.0-4.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-27edab4ec2

Comment 3 Fedora Update System 2017-11-20 19:52:59 UTC
openigtlink-2.0-6.fc27 has been pushed to the Fedora 27 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-928103a870

Comment 4 Fedora Update System 2017-11-20 20:38:46 UTC
openigtlink-2.0-4.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-27edab4ec2

Comment 5 Fedora Update System 2017-12-09 22:23:25 UTC
openigtlink-2.0-4.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2017-12-10 05:02:39 UTC
openigtlink-2.0-6.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.


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