Bug#806876: visp: FTBFS when built with dpkg-buildpackage -A (143 tests failed out of 143)

Santiago Vila sanvila at debian.org
Wed Dec 2 12:09:01 UTC 2015


Package: src:visp
Version: 2.10.0+dfsg-1
User: sanvila at debian.org
Usertags: binary-indep
Severity: important

Dear maintainer:

I tried to build this package with "dpkg-buildpackage -A"
(i.e. only architecture-independent packages), and it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh  build-indep --parallel
   dh_testdir -i -O--parallel
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<BUILDDIR>>/visp-2.10.0+dfsg'
# Copy monkey images to replace lena 
cp debian/new-images/img-monkey* doc/image
cp debian/new-images/monkey.* tutorial/image
# Continue with dh_auto_configure
dh_auto_configure -- -DCMAKE_INSTALL_LIBDIR:STRING="lib/x86_64-linux-gnu" -DCMAKE_BUILD_TYPE=Release -DBUILD_DEMOS=ON -DBUILD_TESTS=ON -DBUILD_EXAMPLES=ON -DBUILD_TUTORIALS=ON -DBUILD_SHARED_LIBS=ON -DUSE_FFMPEG=OFF -DUSE_OPENCV=ON -DUSE_COIN=ON -DUSE_LAPACK=ON -DUSE_GSL=ON -DUSE_OGRE=ON -DUSE_XML2=ON -DUSE_GTK2=ON -DUSE_LIBJPEG=ON -DUSE_LIBPNG=ON -DUSE_X11=ON -DUSE_ZBAR=ON -DUSE_DMTX=ON -DUSE_DC1394=ON -DUSE_V4L2=ON -DUSE_OIS=ON -DUSE_LIBFREENECT=ON
	cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_INSTALL_LIBDIR:STRING=lib/x86_64-linux-gnu -DCMAKE_BUILD_TYPE=Release -DBUILD_DEMOS=ON -DBUILD_TESTS=ON -DBUILD_EXAMPLES=ON -DBUILD_TUTORIALS=ON -DBUILD_SHARED_LIBS=ON -DUSE_FFMPEG=OFF -DUSE_OPENCV=ON -DUSE_COIN=ON -DUSE_LAPACK=ON -DUSE_GSL=ON -DUSE_OGRE=ON -DUSE_XML2=ON -DUSE_GTK2=ON -DUSE_LIBJPEG=ON -DUSE_LIBPNG=ON -DUSE_X11=ON -DUSE_ZBAR=ON -DUSE_DMTX=ON -DUSE_DC1394=ON -DUSE_V4L2=ON -DUSE_OIS=ON -DUSE_LIBFREENECT=ON
-- The C compiler identification is GNU 5.2.1

[... snipped ...]

	114 - templateTrackerPyramidal-SSDESM-SRT (Not Run)
	115 - templateTrackerPyramidal-SSDESM-Translation (Not Run)
	116 - templateTrackerPyramidal-SSDForwardAdditional-Affine (Not Run)
	117 - templateTrackerPyramidal-SSDForwardAdditional-Homography (Not Run)
	118 - templateTrackerPyramidal-SSDForwardAdditional-HomographySL3 (Not Run)
	119 - templateTrackerPyramidal-SSDForwardAdditional-SRT (Not Run)
	120 - templateTrackerPyramidal-SSDForwardAdditional-Translation (Not Run)
	121 - templateTrackerPyramidal-SSDForwardCompositional-Affine (Not Run)
	122 - templateTrackerPyramidal-SSDForwardCompositional-Homography (Not Run)
	123 - templateTrackerPyramidal-SSDForwardCompositional-HomographySL3 (Not Run)
	124 - templateTrackerPyramidal-SSDForwardCompositional-SRT (Not Run)
	125 - templateTrackerPyramidal-SSDForwardCompositional-Translation (Not Run)
	126 - templateTrackerPyramidal-SSDInverseCompositional-Affine (Not Run)
	127 - templateTrackerPyramidal-SSDInverseCompositional-Homography (Not Run)
	128 - templateTrackerPyramidal-SSDInverseCompositional-HomographySL3 (Not Run)
	129 - templateTrackerPyramidal-SSDInverseCompositional-SRT (Not Run)
	130 - templateTrackerPyramidal-SSDInverseCompositional-Translation (Not Run)
	131 - templateTrackerPyramidal-ZNCCForwardAdditional-Affine (Not Run)
	132 - templateTrackerPyramidal-ZNCCForwardAdditional-Homography (Not Run)
	133 - templateTrackerPyramidal-ZNCCForwardAdditional-HomographySL3 (Not Run)
	134 - templateTrackerPyramidal-ZNCCForwardAdditional-SRT (Not Run)
	135 - templateTrackerPyramidal-ZNCCForwardAdditional-Translation (Not Run)
	136 - templateTrackerPyramidal-ZNCCInverseCompositional-Affine (Not Run)
	137 - templateTrackerPyramidal-ZNCCInverseCompositional-Homography (Not Run)
	138 - templateTrackerPyramidal-ZNCCInverseCompositional-HomographySL3 (Not Run)
	139 - templateTrackerPyramidal-ZNCCInverseCompositional-SRT (Not Run)
	140 - templateTrackerPyramidal-ZNCCInverseCompositional-Translation (Not Run)
	141 - videoReader (Not Run)
	142 - imageSequenceReader (Not Run)
	143 - wireframeSimulator (Not Run)
Errors while running CTest
Makefile:119: recipe for target 'test' failed
make[2]: *** [test] Error 8
make[2]: Leaving directory '/<<BUILDDIR>>/visp-2.10.0+dfsg/obj-x86_64-linux-gnu'
dh_auto_test: make -j1 test ARGS+=-j1 returned exit code 2
debian/rules:107: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<BUILDDIR>>/visp-2.10.0+dfsg'
debian/rules:70: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

Sorry not to have a fix, as I am reporting many bugs similar to
this one. The common hints are:

* If the only architecture-independent packages are dummy transitional
ones and they were released with jessie, the easy fix is to drop them
now.

* When using "dh", it is allowed to use (independently)
optional targets override_dh_foo-arch and override_dh_foo-indep
(for several values of "foo").


Once that both "dpkg-buildpackage -A" and "dpkg-buildpackage -B" work
properly, the package would be suitable to be uploaded in source-only
form if you wish.

Thanks.



More information about the debian-science-maintainers mailing list