Bug#714935: libvtk5-dev: VTKTargets.cmake adds dependency to other packages (tcl-vtk, python-vtk and libvtk-java)
Emmanuel Promayon
Emmanuel.Promayon at imag.fr
Thu Jul 4 12:55:11 UTC 2013
Package: libvtk5-dev
Version: 5.8.0-13+b1
Severity: normal
Dear Maintainer,
I have the following FTBFS when I try a building camitk packages using pbuilder
(DIST=unstable, arch=amd64, using svn-buildpackage):
CMake Error at /usr/lib/vtk-5.8/VTKTargets.cmake:308 (message):
The imported target "vtkWrapTcl" references the file
"/usr/bin/vtkWrapTcl"
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/vtk-5.8/VTKTargets.cmake"
but not all the files it references.
Call Stack (most recent call first):
/usr/lib/vtk-5.8/VTKConfig.cmake:200 (INCLUDE)
/usr/share/cmake-2.8/Modules/FindVTK.cmake:73 (find_package)
/usr/lib/gdcm-2.2/UseGDCM.cmake:23 (FIND_PACKAGE)
/usr/lib/InsightToolkit/UseITK.cmake:100 (INCLUDE)
sdk/cmake/modules/macros/CamiTKOpenSourcePackaging.cmake:108 (include)
CMakeLists.txt:29 (camitk_opensource_packaging)
-- Configuring incomplete, errors occurred!
dh_auto_configure: cmake .. -DCMAKE_INSTALL_PREFIX=/usr
-DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo
-DCMAKE_SKIP_RPATH:BOOL=ON -DCMAKE_INSTALL_RPATH
SE_LINK_PATH:BOOL=OFF -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo
-DCEP_IMAGING:BOOL=TRUE -DCEP_MODELING:BOOL=TRUE -DAPIDOC_SDK:BOOL=TRUE
-DCAMITK_DICOM_INCOMPLETE_SUPPO
:BOOL=ON returned exit code 1
make[1]: *** [override_dh_auto_configure] Error 2
make[1]: Leaving directory `/tmp/buildd/camitk-3.2.0'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package
W: no hooks of type C found -- ignoring
I: unmounting /var/cache/pbuilder/repo filesystem
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
I: cleaning the build env
I: removing directory /var/cache/pbuilder/build//37371 and its subdirectories
Command '/bin/sh -c pdebuild --buildresult /homelocal/gmcao/desktop/promayon
/debian-med/trunk/../build-area ' failed in '/homelocal/gmcao/desktop/promayon
/debian-med/
ild-area/camitk-3.2.0', how to continue now? [Qri?]: q
This can be fixed by adding tcl-vtk as a dependency in camitk d/control Build-
Depends list. But then it generates a similar error for missing
/usr/bin/vtkWrapPython and /usr/bin/vtkParseJava, which in turn can be fixed by
adding respectively python-vtk and libvtk-java in the Build-Depends list.
Although this can be fixed, it also adds unnecessary dependencies to the
package.
Please let me know if you need more information about this bug, or if this
seems completely normal.
When I checked solved bugs, I found bug #663571. It might be linked (i.e., the
fix to #663571 might lead to a similar solution to fix this).
Best regards (and thanks for all your work on vtk packaging!)
EP
-- System Information:
Debian Release: 7.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/6 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libvtk5-dev depends on:
ii libavcodec-dev 6:0.8.6-1
ii libavformat-dev 6:0.8.6-1
ii libavutil-dev 6:0.8.6-1
ii libc6-dev 2.13-38
ii libexpat1-dev [libexpat-dev] 2.1.0-1
ii libfreetype6-dev 2.4.9-1.1
ii libgl1-mesa-dev [libgl-dev] 8.0.5-4
ii libgl2ps-dev 1.3.6-1
ii libglu1-mesa-dev [libglu-dev] 8.0.5-4
ii libjpeg8-dev [libjpeg-dev] 8d-1
ii libmysqlclient-dev 5.5.31+dfsg-0+wheezy1
ii libnetcdf-dev 1:4.1.3-6+b1
ii libpng12-dev [libpng-dev] 1.2.49-1
ii libpq-dev 9.1.9-1
ii libqt4-dev 4:4.8.2+dfsg-11
ii libswscale-dev 6:0.8.6-1
ii libtiff4-dev [libtiff-dev] 3.9.6-11
ii libvtk5.8 5.8.0-13+b1
ii libx11-dev 2:1.5.0-1
ii libxft-dev 2.3.1-1
ii libxml2-dev 2.8.0+dfsg1-7+nmu1
ii libxss-dev 1:1.2.2-1
ii libxt-dev 1:1.1.3-1
ii mpi-default-dev 1.0.1
ii tcl8.5-dev 8.5.11-2
ii tk8.5-dev 8.5.11-2
ii x11proto-core-dev 7.0.23-1
ii zlib1g-dev 1:1.2.7.dfsg-13
libvtk5-dev recommends no packages.
Versions of packages libvtk5-dev suggests:
ii vtk-doc 5.8.0-13
ii vtk-examples 5.8.0-13
-- no debconf information
More information about the debian-science-maintainers
mailing list