[Debian-med-packaging] Bug#817163: camitk: FTBFS when built with dpkg-buildpackage -A (191 tests failed out of 191)

Santiago Vila sanvila at debian.org
Tue Mar 8 16:52:43 UTC 2016


Package: src:camitk
Version: 3.4.0-2
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
# For debian build, do not authorize parallel build (too much RAM 
# needed for Imaging CEP on arch that have small memory size)
dh build-indep --builddirectory=camitk-build
   dh_testdir -i -O--builddirectory=camitk-build
   dh_update_autotools_config -i -O--builddirectory=camitk-build
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- -DCMAKE_SKIP_RPATH:BOOL=TRUE -DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=FALSE -DCMAKE_BUILD_TYPE:STRING=None -DCEP_IMAGING:BOOL=TRUE -DCEP_MODELING:BOOL=TRUE -DAPIDOC_SDK:BOOL=TRUE -DCAMITK_DISABLE_TRANSLATION=TRUE
	cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_SKIP_RPATH:BOOL=TRUE -DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=FALSE -DCMAKE_BUILD_TYPE:STRING=None -DCEP_IMAGING:BOOL=TRUE -DCEP_MODELING:BOOL=TRUE -DAPIDOC_SDK:BOOL=TRUE -DCAMITK_DISABLE_TRANSLATION=TRUE
-- The C compiler identification is GNU 5.3.1
-- The CXX compiler identification is GNU 5.3.1

[... snipped ...]

	158 - application-testcomponentsitkimage_LEVEL1_7 (Not Run)
	159 - application-testcomponentsitkimage_LEVEL1_8 (Not Run)
	160 - application-testcomponentsitkimage_LEVEL1_9 (Not Run)
	161 - application-testcomponentsitkimage_LEVEL1_10 (Not Run)
	162 - application-testcomponentsitkimage_LEVEL1_11 (Not Run)
	163 - application-testcomponentsitkimage_LEVEL1_12 (Not Run)
	164 - application-testcomponentsitkimage_LEVEL1_13 (Not Run)
	165 - application-testcomponentsitkimage_LEVEL1_14 (Not Run)
	166 - application-testcomponentsitkimage_LEVEL1_15 (Not Run)
	167 - application-testcomponentsitkimage_LEVEL1_16 (Not Run)
	168 - application-testcomponentsitkimage_LEVEL1_17 (Not Run)
	169 - application-testactionsitkfilters1 (Not Run)
	170 - application-testactionsitkfilters2 (Not Run)
	171 - application-testactionsitkfilters3 (Not Run)
	172 - application-testactionsitkfilters4 (Not Run)
	173 - application-testactionsitkfilters5 (Not Run)
	174 - application-testactionsitkfilters6 (Not Run)
	175 - application-testactionsitkfilters7 (Not Run)
	176 - application-testactionsitkfilters8 (Not Run)
	177 - application-testactionsitkfilters9 (Not Run)
	178 - application-testactionsitksegmentation1 (Not Run)
	179 - application-testactionsitksegmentation2 (Not Run)
	180 - application-testactionsitksegmentation3 (Not Run)
	181 - application-testactionsitksegmentation4 (Not Run)
	182 - library-lmltest1 (Not Run)
	183 - library-lmltest2 (Not Run)
	184 - library-lmltest3 (Failed)
	185 - library-pmltest1 (Not Run)
	186 - library-pmltest2 (Not Run)
	187 - library-pmltest3 (Failed)
	188 - application-testcomponentsphysicalmodel1 (Not Run)
	189 - application-testcomponentsmmlcomponent1 (Not Run)
	190 - application-testactionsmml1 (Not Run)
	191 - application-testactionsmml2 (Not Run)
Errors while running CTest
debian/rules:80: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 8
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:59: 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-med-packaging mailing list