Bug 1196315
Summary: | InsightToolkit-devel should requires InsightToolkit-vtk | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Orion Poplawski <orion> |
Component: | InsightToolkit | Assignee: | Mario Ceresa <mrceresa> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | lemenkov, mrceresa, sebp |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-05-28 13:40:25 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: | 1199310 | ||
Bug Blocks: | 1197202 |
Description
Orion Poplawski
2015-02-25 16:55:37 UTC
Rawhide now contains a InsightToolkit-vtk-devel package which contains headers and symbolic link to so file. The problem is, *any* package that loads the ITKTargets.cmake file will get this error, regardless on whether or not it uses the vtk components. So either ITKTargets.cmake needs to get patched to make that optional, or InsightToolkit-devel needs to require InsightToolkit-vtk-devel. This now prevents nifti2dicom from building in rawhide. See https://kojipkgs.fedoraproject.org//work/tasks/2486/9092486/build.log CMake Error at /usr/lib/cmake/InsightToolkit/ITKTargets.cmake:253 (message): The imported target "ITKVtkGlue" references the file "/usr/lib/libITKVtkGlue-4.7.so.1" 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/lib/cmake/InsightToolkit/ITKTargets.cmake" but not all the files it references. Call Stack (most recent call first): /usr/lib/cmake/InsightToolkit/ITKConfig.cmake:50 (include) CMakeLists.txt:41 (find_package) ITK generates the list of modules (ITKTargets.cmake) depending on what was available during compile time. ITKConfig.cmake contains a hard coded list of modules as well. Even if ITKVtkGlue would be removed from ITKTargets.cmake ITKConfig.cmake for the InsightToolkit-devel package, InsightToolkit-vtk-devel would need to overwrite these files. I would have liked to avoid the vtk dependency for the non-vtk parts, but that doesn't seem to be possible as is. I'm going to add InsightToolkit-vtk-devel to requires to InsightToolkit-devel. |