reassign 698698 kwwidgets
tags 698698 patch
thanks
Michael Karcher has debugged the problem and found the reason for the
symbol lookup failure is kwwidgets not depending on required libraries
for additional symbols volviews requires. The problem was triggered
with vtk adding the linker option --as-needed for compiled.
The attached patch and proposed debdiff fixes the problem for me, also
reassigning to kwwidgets.
Cheers,
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - [email protected]
`. `' Freie Universitaet Berlin - [email protected]
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
diff -Nru kwwidgets-1.0.0~cvs20100930/debian/changelog
kwwidgets-1.0.0~cvs20100930/debian/changelog
--- kwwidgets-1.0.0~cvs20100930/debian/changelog 2012-01-10
16:00:46.000000000 +0100
+++ kwwidgets-1.0.0~cvs20100930/debian/changelog 2013-04-17
21:52:13.000000000 +0200
@@ -1,3 +1,11 @@
+kwwidgets (1.0.0~cvs20100930-7.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Depend on additional vtk libraries to avoid problems
+ with unresolved symbols in volview (Closes: #698698).
+
+ -- John Paul Adrian Glaubitz <[email protected]> Wed, 17 Apr 2013
21:51:10 +0200
+
kwwidgets (1.0.0~cvs20100930-7) unstable; urgency=low
* Improve finding of init.tcl/tk.tcl, required for VolView to work.
diff -Nru
kwwidgets-1.0.0~cvs20100930/debian/patches/100_fix_lib_dependencies.patch
kwwidgets-1.0.0~cvs20100930/debian/patches/100_fix_lib_dependencies.patch
--- kwwidgets-1.0.0~cvs20100930/debian/patches/100_fix_lib_dependencies.patch
1970-01-01 01:00:00.000000000 +0100
+++ kwwidgets-1.0.0~cvs20100930/debian/patches/100_fix_lib_dependencies.patch
2013-04-17 21:51:05.000000000 +0200
@@ -0,0 +1,38 @@
+Description: Patch to fix library dependencies on vtk.
+ TODO: Put a short summary on the line above and replace this paragraph
+ with a longer explanation of this change. Complete the meta-information
+ with other relevant fields (see below for details). To make it easier, the
+ information below has been extracted from the changelog. Adjust it or drop
+ it.
+ .
+ kwwidgets (1.0.0~cvs20100930-7) unstable; urgency=low
+ .
+ * Improve finding of init.tcl/tk.tcl, required for VolView to work.
+Author: Mathieu Malaterre <[email protected]>
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: http://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: <YYYY-MM-DD>
+
+--- kwwidgets-1.0.0~cvs20100930.orig/CMakeLists.txt
++++ kwwidgets-1.0.0~cvs20100930/CMakeLists.txt
+@@ -745,6 +745,10 @@ add_library(KWWidgets
+ target_link_libraries(KWWidgets vtkCommonTCL)
+ if(KWWidgets_BUILD_VTK_WIDGETS)
+ if(VTK_WRAP_TCL)
++ target_link_libraries(KWWidgets vtkFilteringTCL)
++ target_link_libraries(KWWidgets vtkImagingTCL)
++ target_link_libraries(KWWidgets vtkGraphicsTCL)
++ target_link_libraries(KWWidgets vtkIOTCL)
+ if(VTK_USE_RENDERING OR VTK_USE_RENDERING_ISSET)
+ target_link_libraries(KWWidgets vtkRenderingTCL)
+ target_link_libraries(KWWidgets vtkHybridTCL)
diff -Nru kwwidgets-1.0.0~cvs20100930/debian/patches/series
kwwidgets-1.0.0~cvs20100930/debian/patches/series
--- kwwidgets-1.0.0~cvs20100930/debian/patches/series 2012-01-10
15:59:42.000000000 +0100
+++ kwwidgets-1.0.0~cvs20100930/debian/patches/series 2013-04-17
21:50:41.000000000 +0200
@@ -2,3 +2,4 @@
fixtest.patch
vtk58pythonwrapping.patch
tcltk_relative.patch
+100_fix_lib_dependencies.patch
--- kwwidgets-1.0.0~cvs20100930/CMakeLists.txt~ 2013-04-17 21:02:12.000000000 +0200
+++ kwwidgets-1.0.0~cvs20100930/CMakeLists.txt 2013-04-17 21:11:44.444978767 +0200
@@ -745,6 +745,10 @@
target_link_libraries(KWWidgets vtkCommonTCL)
if(KWWidgets_BUILD_VTK_WIDGETS)
if(VTK_WRAP_TCL)
+ target_link_libraries(KWWidgets vtkFilteringTCL)
+ target_link_libraries(KWWidgets vtkImagingTCL)
+ target_link_libraries(KWWidgets vtkGraphicsTCL)
+ target_link_libraries(KWWidgets vtkIOTCL)
if(VTK_USE_RENDERING OR VTK_USE_RENDERING_ISSET)
target_link_libraries(KWWidgets vtkRenderingTCL)
target_link_libraries(KWWidgets vtkHybridTCL)