Bug#655788: [Debian-med-packaging] Bug#655788: Bug#655788: igstk: FTBFS: libITKIO.so: undefined reference to `gdcm::PixmapToPixmapFilter::SetInput(gdcm::Pixmap const)'

2012-01-22 Thread Dominique Belhachemi
On Sun, Jan 22, 2012 at 1:40 AM, Steve M. Robbins st...@sumost.ca wrote:
 On Sat, Jan 21, 2012 at 11:12:45PM -0500, Dominique Belhachemi wrote:
 Hi Steve,

 It occurred in a clean pbuilder environment on amd64 and the build
 used the latest itk package:
    Setting up libvxl1.14 (1.14.0-14) ...
    Setting up libinsighttoolkit3.20 (3.20.1-2) ...

 OK, I'm preparing ITK 3.20.1-3 which adds dependency from
 libinsighttoolkit3-dev to libvxl1-dev.  This fixes the
 immediate problem ...

  CMake Warning at /usr/lib/InsightToolkit/UseITK.cmake:53 (FIND_PACKAGE):
    Could not find module FindVXL.cmake or a configuration file for package
    VXL.

 ... because FindVXL.cmake is part of libvxl1-dev.

 Unfortunately, it exposes a different problem.  The build now requires
 file /usr/share/vxl/cmake/doxy_header.html which I cannot find.

The missing file is located in the vxl source package
./vxl-1.14.0/config/cmake/doxygen/doxy_header.html
but it is not part of the vxl binary packages.

igstk compiles fine after applying the following patch to vxl.

--- vxl-1.14.0.orig/config/cmake/Modules/UseVXL.cmake
+++ vxl-1.14.0/config/cmake/Modules/UseVXL.cmake
@@ -132,7 +132,7 @@ IF(VXL_CONFIG_CMAKE)
   ENDIF(VXL_PROVIDE_OLD_CACHE_NAMES)

   # Allow use of VXL's cmake/doxygen framework
-  INCLUDE(${VXL_CMAKE_DOXYGEN_DIR}/doxygen.cmake)
+#  INCLUDE(${VXL_CMAKE_DOXYGEN_DIR}/doxygen.cmake)

   IF(VXL_PROVIDE_STANDARD_OPTIONS)
 # Provide the standard set of VXL CMake options to the project.



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#655788: [Debian-med-packaging] Bug#655788: Bug#655788: igstk: FTBFS: libITKIO.so: undefined reference to `gdcm::PixmapToPixmapFilter::SetInput(gdcm::Pixmap const)'

2012-01-21 Thread Steve M. Robbins
On Sat, Jan 21, 2012 at 11:12:45PM -0500, Dominique Belhachemi wrote:
 Hi Steve,
 
 It occurred in a clean pbuilder environment on amd64 and the build
 used the latest itk package:
Setting up libvxl1.14 (1.14.0-14) ...
Setting up libinsighttoolkit3.20 (3.20.1-2) ...

OK, I'm preparing ITK 3.20.1-3 which adds dependency from 
libinsighttoolkit3-dev to libvxl1-dev.  This fixes the
immediate problem ...

  CMake Warning at /usr/lib/InsightToolkit/UseITK.cmake:53 (FIND_PACKAGE):
    Could not find module FindVXL.cmake or a configuration file for package
    VXL.

... because FindVXL.cmake is part of libvxl1-dev.

Unfortunately, it exposes a different problem.  The build now requires
file /usr/share/vxl/cmake/doxy_header.html which I cannot find.

Build log (amd64):

 dpkg-source -b igstk-4.4.0
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: patches are not applied, applying them now
dpkg-source: info: applying 12_doxygen.diff
dpkg-source: info: applying 34_disable_resource_intensely_tests.diff
dpkg-source: info: applying 90_examples.diff
dpkg-source: info: applying gcc-4.5.diff
dpkg-source: info: applying 50_kfreebsd.diff
dpkg-source: info: building igstk using existing ./igstk_4.4.0.orig.tar.gz
dpkg-source: info: building igstk in igstk_4.4.0-1.debian.tar.gz
dpkg-source: info: building igstk in igstk_4.4.0-1.dsc
 debian/rules build
test -x debian/rules
mkdir -p obj-x86_64-linux-gnu
/usr/share/cdbs/1/rules/buildcore.mk:109: WARNING:  DEB_DH_STRIP_ARGS is a 
deprecated variable
/usr/bin/make -f debian/rules reverse-config
make[1]: Entering directory 
`/home/steve/Packages/debian-med/trunk/packages/igstk/build-area/igstk-4.4.0'
make[1]: Nothing to be done for `reverse-config'.
make[1]: Leaving directory 
`/home/steve/Packages/debian-med/trunk/packages/igstk/build-area/igstk-4.4.0'
cd .  
QUILT_PATCHES=/home/steve/Packages/debian-med/trunk/packages/igstk/build-area/igstk-4.4.0/debian/patches
 quilt --quiltrc /dev/null push -a || test $? = 2
File series fully applied, ends at patch 50_kfreebsd.diff
touch debian/stamp-patched
/usr/bin/make -f debian/rules update-config
make[1]: Entering directory 
`/home/steve/Packages/debian-med/trunk/packages/igstk/build-area/igstk-4.4.0'
make[1]: Nothing to be done for `update-config'.
make[1]: Leaving directory 
`/home/steve/Packages/debian-med/trunk/packages/igstk/build-area/igstk-4.4.0'
cd obj-x86_64-linux-gnu  cmake 
/home/steve/Packages/debian-med/trunk/packages/igstk/build-area/igstk-4.4.0/. 
-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_C_COMPILER:FILEPATH=cc 
-DCMAKE_CXX_COMPILER:FILEPATH=g++ -DCMAKE_C_FLAGS=-g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security 
-Wall -DCMAKE_CXX_FLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 
-Wformat -Wformat-security -Werror=format-security -Wall -DCMAKE_SKIP_RPATH=ON 
-DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr 
-DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_CXX_FLAGS=-Wno-deprecated 
-DCMAKE_VERBOSE_MAKEFILE=0 -DCMAKE_SHARED_LINKER_FLAGS=-Wl,--as-needed 
-DCMAKE_EXE_LINKER_FLAGS=-Wl,--as-needed -DCMAKE_SKIP_RPATH:BOOL=ON 
-DIGSTK_WITH_LIBRARY_VERSION:BOOL=ON -DIGSTK_DEVELOPMENT_VERSION:BOOL=ON 
-DIGSTK_BUILD_EXAMPLES:BOOL=OFF -DIGSTK_BUILD_TESTING:BOOL=ON 
-DCMAKE_BUILD_TYPE:STRING=Release -DIGSTK_USE_Qt:BOOL=ON 
-DIGSTK_USE_FLTK:BOOL=ON -DIGSTK_USE_OpenIGTLink:BOOL=ON 
-DIGSTK_USE_OpenCV:BOOL=OFF -DIGSTK_USE_MicronTracker:BOOL=OFF 
-DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_DOCUMENTATION:BOOL=ON 
-DQT_MOC_EXECUTABLE:PATH=/usr/bin/moc-qt4 
-DQT_UIC_EXECUTABLE:PATH=/usr/bin/uic-qt4 
-DQT_QMAKE_EXECUTABLE:PATH=/usr/bin/qmake
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Warning (dev) at /usr/lib/InsightToolkit/ITKConfig.cmake:50 (IF):
  given arguments:

ON

  An argument named ON appears in a conditional statement.  Policy CMP0012
  is not set: if() recognizes numbers and boolean constants.  Run cmake
  --help-policy CMP0012 for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindITK.cmake:48 (FIND_PACKAGE)
  CMakeLists.txt:47 (FIND_PACKAGE)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found Doxygen: /usr/bin/doxygen 
-- Found Perl: /usr/bin/perl 
CMake Error: File /usr/share/vxl/cmake/doxy_header.html does not exist.
CMake Error at /usr/share/vxl/cmake/doxygen.cmake:203 (configure_file):
  configure_file Problem configuring file
Call Stack (most recent call first):
  /usr/share/vxl/cmake/UseVXL.cmake:135 (INCLUDE)