Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#42988 - [vtk] libvtkWrappingTools.a missing OR cmake files shipped with package does not match its contents

Attached to Project: Community Packages
Opened by Daniel Canelhas (dcanelhas) - Tuesday, 02 December 2014, 15:02 GMT
Last edited by Andrzej Giniewicz (Giniu) - Wednesday, 03 December 2014, 11:09 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Andrzej Giniewicz (Giniu)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

using the vtk library in cmake based projects is broken due to either vtwWrappingTools being left out of the package or a faulty set of cmake modules being packaged with the current vtk package (i.e. the VTKTargets does not match the current vtk build)

Additional info:
* package version(s): vtk-6.1.0-1

* config and/or log files etc.

CMake Error at /usr/lib/cmake/vtk-6.1/VTKTargets.cmake:3259 (message):
The imported target "vtkWrappingTools" references the file

"/usr/lib/libvtkWrappingTools-6.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/lib/cmake/vtk-6.1/VTKTargets.cmake"

but not all the files it references.

Call Stack (most recent call first):
/usr/lib64/cmake/vtk-6.1/VTKConfig.cmake:49 (include)
/usr/share/cmake-3.0/Modules/FindVTK.cmake:88 (find_package)
CMakeLists.txt:32 (find_package)


-- Configuring incomplete, errors occurred!

Steps to reproduce:

create CMakeLists.txt containing:

#CMakeLists.txt
cmake_minimum_required(VERSION 2.4.6)
PROJECT("VtkBug")

SET( CMAKE_VERBOSE_MAKEFILE ON)
find_package(VTK REQUIRED)
#EOF

then run:

cmake .
This task depends upon

Closed by  Andrzej Giniewicz (Giniu)
Wednesday, 03 December 2014, 11:09 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 6.1.0-2 by adding options=(staticlibs) to PKGBUILD.
Comment by Doug Newgard (Scimmia) - Wednesday, 03 December 2014, 06:15 GMT
Arch removes static libraries wherever possible, especially when a shared version is available. I don't see a shared version of that lib.

Loading...