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#43024 - [vtk] Please use VTK_USE_SYSTEM_{AUTOBAHN,TWISTED,ZOPE} etc. instead of simply removing files

Attached to Project: Community Packages
Opened by Alain Kalker (ackalker) - Saturday, 06 December 2014, 12:12 GMT
Last edited by Andrzej Giniewicz (Giniu) - Saturday, 06 December 2014, 19:27 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Andrzej Giniewicz (Giniu)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Related to the resolution of  FS#43000 ,  FS#43005  :

Removing Python modules from the package after `make install` is a bit heavy-handed, there could be customizations or patches in there which are incompatible with the system versions.
Given that VTK is somewhat like the showcase example for the use of CMake, VTK has ample support for configuring the use of system libraries instead of packaged versions.

Please configure
- VTK_USE_SYSTEM_AUTOBAHN (if possible)
- VTK_USE_SYSTEM_TWISTED
- VTK_USE_SYSTEM_ZOPE
and possibly others instead of simply removing the files from the package.

A (bit hacky but very useful) oneliner to search for configurable settings is:

$ cd src/VTK-6.1.0 && grep -roh 'VTK_USE_SYSTEM_[_A-Z]\+' . | sort -u
VTK_USE_SYSTEM_AUTOBAHN
VTK_USE_SYSTEM_EXPAT
VTK_USE_SYSTEM_FREETYPE
VTK_USE_SYSTEM_GL
VTK_USE_SYSTEM_HDF
VTK_USE_SYSTEM_JPEG
VTK_USE_SYSTEM_JSONCPP
VTK_USE_SYSTEM_LIBPROJ
VTK_USE_SYSTEM_LIBXML
VTK_USE_SYSTEM_NETCDF
VTK_USE_SYSTEM_OGGTHEORA
VTK_USE_SYSTEM_PNG
VTK_USE_SYSTEM_TIFF
VTK_USE_SYSTEM_TWISTED
VTK_USE_SYSTEM_XDMF
VTK_USE_SYSTEM_ZLIB
VTK_USE_SYSTEM_ZOPE


Additional info:
* package version(s)
vtk 6.1.0-6
* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Andrzej Giniewicz (Giniu)
Saturday, 06 December 2014, 19:27 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 6.1.0-7
Comment by Alain Kalker (ackalker) - Saturday, 06 December 2014, 12:41 GMT
From the PKGBUILD, I suspect some other problems,
in the `for` loop composing `cmake_system_flags`:
- HDF5 should be HDF
- LIBXML2 should be LIBXML
- LIBPROJ should be added (package `proj` is a dependency of `gdal` which is in `depends`)

Perhaps there are more, I haven't checked everything.
Comment by Alain Kalker (ackalker) - Saturday, 06 December 2014, 12:49 GMT
Strike the comments about HDF5 and LIBXML2, there is an error in my grep regexp.
Corrected version:

$ ( cd src/VTK-6.1.0 && grep -roh 'VTK_USE_SYSTEM_[_A-Z0-9]\+' . ) | sort -u
VTK_USE_SYSTEM_AUTOBAHN
VTK_USE_SYSTEM_EXPAT
VTK_USE_SYSTEM_FREETYPE
VTK_USE_SYSTEM_GL2PS
VTK_USE_SYSTEM_HDF5
VTK_USE_SYSTEM_JPEG
VTK_USE_SYSTEM_JSONCPP
VTK_USE_SYSTEM_LIBPROJ4
VTK_USE_SYSTEM_LIBXML2
VTK_USE_SYSTEM_NETCDF
VTK_USE_SYSTEM_OGGTHEORA
VTK_USE_SYSTEM_PNG
VTK_USE_SYSTEM_TIFF
VTK_USE_SYSTEM_TWISTED
VTK_USE_SYSTEM_XDMF2
VTK_USE_SYSTEM_ZLIB
VTK_USE_SYSTEM_ZOPE
Comment by Andrzej Giniewicz (Giniu) - Saturday, 06 December 2014, 17:58 GMT
I will look into it. For now, python2-autobahn, gl2ps and xdmf are in AUR, so I will not enable them yet. Maybe in future. And - VTK_USE_SYSTEM_NETCDF - does not work with our netcdf. Gentoo and Fedora have patches to enable system installed netcdf, maybe we should have one as well. But again, it's not a priority. Finally, about LIBPROJ4, it seems that VTK uses http://libproj4.maptools.org/ while proj package provides http://trac.osgeo.org/proj/ - those seems to be different libraries.

Loading...