[Debian-med-packaging] Bug#618183: vtkedge: FTBFS: /bin/sh: /usr/bin/vtkEncodeString: not found

Andreas Tille andreas at an3as.eu
Wed Mar 16 08:31:44 UTC 2011


Hi Mehdi,

thanks for your patch but this does not apply.  The file
  vtkGenerateVTKConfig.cmake
which is subject of the patch is auto generated and I do not
have a clue how to fix the cmake.in file (which strangely does
not contain those strings you are changing).

I commited the patch into SVN in any case but did not activated
in the series file.  (Remark: Any DD has write permissions to
the Debian Med SVN - so if you like you can change things there.)

Any help is welcome

      Andreas.

On Tue, Mar 15, 2011 at 10:14:01PM +0100, Mehdi Dogguy wrote:
> clone 618183 -1
> reassign -1 vtk
> retitle -1 vtkEncodeString is in bin/ according to VTKConfig.cmake
> thanks
> 
> On 03/13/2011 06:47 PM, Lucas Nussbaum wrote:
> > 
> >> [ 19%] Generating vtkKWEWireframePainter_vs.cxx /bin/sh: 
> >> /usr/bin/vtkEncodeString: not found make[3]: *** 
> >> [Rendering/vtkKWEWireframePainter_vs.cxx] Error 127
> > 
> 
> Looks like this failure is due to a typo in
> /usr/lib/vtk-5.6/VTKConfig.cmake which tells cmake to use
> /usr/bin/vtkEncodeString when it should be /usr/lib/vtk-5.6/vtkEncodeString.
> 
> The attached patch fixes the issue. Please let me know if you intend to
> upload a fix or if you prefer an NMU.
> 
> This fix is not enough to get vtkedge building fine though. It fails with:
> 
> make[3]: Entering directory `/tmp/vtkedge-0.1.0/obj-x86_64-linux-gnu'
> [ 60%] Building CXX object
> VolumeRendering/CMakeFiles/vtkKWEVolumeRendering.dir/vtkKWEGPUVolumeRayCastMapper.o
> [ 61%] Building CXX object
> VolumeRendering/CMakeFiles/vtkKWEVolumeRendering.dir/vtkKWERepresentativeVolumeImageCreator.o
> [ 62%] Building CXX object
> VolumeRendering/CMakeFiles/vtkKWEVolumeRendering.dir/vtkKWEVolumeMapper.o
> /tmp/vtkedge-0.1.0/VolumeRendering/vtkKWEVolumeMapper.cxx: In member
> function 'void vtkKWEVolumeMapper::Initialize(vtkRenderWindow*,
> vtkVolume*)':
> /tmp/vtkedge-0.1.0/VolumeRendering/vtkKWEVolumeMapper.cxx:264:87: error:
> no matching function for call to
> 'vtkVolumeTextureMapper3D::IsRenderSupported(vtkVolumeProperty*)'
> /usr/include/vtk-5.6/vtkVolumeTextureMapper3D.h:112:15: note: candidate
> is: virtual int
> vtkVolumeTextureMapper3D::IsRenderSupported(vtkVolumeProperty*,
> vtkRenderer*)
> make[3]: ***
> [VolumeRendering/CMakeFiles/vtkKWEVolumeRendering.dir/vtkKWEVolumeMapper.o]
> Error 1
> 
> … which looks like #614433.
> 
> So, some work has to be done in vtkedge too…
> 
> Regards,
> 
> -- 
> Mehdi Dogguy مهدي الدڤي
> http://dogguy.org/

> >From 34f327fbadda04c649f758db85933be578dec2cb Mon Sep 17 00:00:00 2001
> From: Mehdi Dogguy <mehdi at dogguy.org>
> Date: Tue, 15 Mar 2011 21:35:34 +0100
> Subject: [PATCH] vtkEncodeString is in lib/ not in bin/
> 
> ---
>  vtkGenerateVTKConfig.cmake |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/vtkGenerateVTKConfig.cmake b/vtkGenerateVTKConfig.cmake
> index 388e262..1fdb5b5 100644
> --- a/vtkGenerateVTKConfig.cmake
> +++ b/vtkGenerateVTKConfig.cmake
> @@ -242,7 +242,7 @@ IF(VTK_WRAP_JAVA)
>    SET(VTK_WRAP_JAVA_EXE_CONFIG ${DOLLAR}{VTK_INSTALL_PREFIX}${VTK_INSTALL_BIN_DIR}/vtkWrapJava${VTK_EXE_EXT})
>    SET(VTK_JAVA_JAR_CONFIG ${DOLLAR}{VTK_INSTALL_PREFIX}${VTK_INSTALL_JAVA_DIR}/vtk.jar)
>  ENDIF(VTK_WRAP_JAVA)
> -SET(VTK_ENCODESTRING_EXE_CONFIG ${DOLLAR}{VTK_INSTALL_PREFIX}${VTK_INSTALL_BIN_DIR}/vtkEncodeString${VTK_EXE_EXT})
> +SET(VTK_ENCODESTRING_EXE_CONFIG ${DOLLAR}{VTK_INSTALL_PREFIX}${VTK_INSTALL_PACKAGE_DIR}/vtkEncodeString${VTK_EXE_EXT})
>  
>  # VTK style script locations.
>  SET(VTK_DOXYGEN_HOME_CONFIG ${DOLLAR}{VTK_INSTALL_PREFIX}${VTK_INSTALL_DOXYGEN_DIR})
> -- 
> 1.7.2.5
> 

> _______________________________________________
> Debian-med-packaging mailing list
> Debian-med-packaging at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/debian-med-packaging

-- 
http://fam-tille.de





More information about the Debian-med-packaging mailing list