[Debian-med-packaging] Bug#698698: volview does not start because of a missing symbol
John Paul Adrian Glaubitz
glaubitz at physik.fu-berlin.de
Wed Apr 17 20:10:07 UTC 2013
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 - glaubitz at debian.org
`. `' Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
-------------- next part --------------
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 <glaubitz at physik.fu-berlin.de> 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 <mathieu.malaterre at gmail.com>
+
+---
+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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kwwidgets-fix-lib-depends.patch
Type: text/x-diff
Size: 657 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20130417/d29a2f0c/attachment.patch>
More information about the Debian-med-packaging
mailing list