Bug 20011

Summary: lib64vtkdevel 7.1.0: lack of libvtkWrappingTools-7.1.a
Product: Mageia Reporter: john gibbe <john.gibbe>
Component: RPM PackagesAssignee: Joseph Wang <joequant>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: eatdirt, marja11
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: vtk CVE:
Status comment:

Description john gibbe 2016-12-23 00:15:23 CET
while I try to compile freecad from git trunk I get this message
<code>
CMake Error at //usr/lib64/cmake/vtk-7.1/VTKTargets.cmake:2263 (message):
  The imported target "vtkWrappingTools" references the file

     "/usr/lib/libvtkWrappingTools-7.1.a"

  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/vtk-7.1/VTKTargets.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /lib64/cmake/vtk-7.1/VTKConfig.cmake:70 (include)
  CMakeLists.txt:606 (find_package)
</code>
I findout that VTKTargets.cmake comes from lib64vtkdevel package. The target should have referenced /usr/lib64/libvtkWrappingTools-7.1.a and instead of /usr/lib/libvtkWrappingTools-7.1.a

Anyway libvtkWrappingTools-7.1.a is not in any cauldron package.
Comment 1 Marja Van Waes 2016-12-23 20:43:44 CET
Assigning to the registered vtk maintainer

CC: (none) => eatdirt, marja11
Assignee: bugsquad => joequant
Source RPM: (none) => vtk

Comment 2 Chris Denice 2017-01-11 09:11:49 CET
Noted, I will have a look. We need to package static-devel libraries as well then.

Cheers,
Chris.
Comment 3 Chris Denice 2017-01-11 15:16:58 CET
Should be fixed by the incoming package:

lib64vtk-static-devel-7.1.0-5.mga6.x86_64.rpm

once on the mirrors.

Cheers,
Chris.

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 4 john gibbe 2017-01-13 15:57:25 CET
Thank a lot Chris,

I just gone trough a test and it's now OK for libvtkWrappingTools. 

Unfortunatelly it goes only to the next step as now it asks for vtkParseJava-7.1

<code> 

CMake Error at //usr/lib64/cmake/vtk-7.1/VTKTargets.cmake:2266 (message):
  The imported target "vtkParseJava" references the file

     "/usr/bin/vtkParseJava-7.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/lib64/cmake/vtk-7.1/VTKTargets.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /lib64/cmake/vtk-7.1/VTKConfig.cmake:70 (include)
  CMakeLists.txt:590 (find_package)

</code>
Comment 5 Chris Denice 2017-01-13 16:02:48 CET
ok, thanks for the feedback. Vtk is built without java support, but indeed, I did explicitely remove vtkParseJava-7.1 for that very reason.

Let me try to restore them. I'll push a new version soon!