Bug#806873: roboptim-core: FTBFS when built with dpkg-buildpackage -A (24 tests failed out of 24)

Santiago Vila sanvila at debian.org
Wed Dec 2 12:08:55 UTC 2015


Package: src:roboptim-core
Version: 2.0-7.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 '/<<PKGBUILDDIR>>'
dh_auto_configure -- \
-DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu \
-DCMAKE_INSTALL_DOCDIR=share/doc/libroboptim-core-doc
	cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DCMAKE_INSTALL_DOCDIR=share/doc/libroboptim-core-doc
-- The C compiler identification is GNU 5.2.1
-- The CXX compiler identification is GNU 5.2.1
-- Check for working C compiler: /usr/bin/cc

[... snipped ...]

<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/Development/visualization-gnuplot-differentiable-function
Unable to find executable: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/visualization-gnuplot-differentiable-function
24/24 Test #24: visualization-gnuplot-differentiable-function ...***Not Run   0.00 sec

0% tests passed, 24 tests failed out of 24

Total Test time (real) =   0.04 sec

The following tests FAILED:
	  1 - interval (Not Run)
	  2 - util (Not Run)
	  3 - result (Not Run)
	  4 - function (Not Run)
	  5 - derivable-function (Not Run)
	  6 - twice-derivable-function (Not Run)
	  7 - quadratic-function (Not Run)
	  8 - linear-function (Not Run)
	  9 - problem-cc (Not Run)
	 10 - numeric-linear-function (Not Run)
	 11 - numeric-quadratic-function (Not Run)
	 12 - n-times-derivable-function (Not Run)
	 13 - parametrized-function (Not Run)
	 14 - derivable-parametrized-function (Not Run)
	 15 - plugin (Not Run)
	 16 - plugin-laststate (Not Run)
	 17 - finite-difference-gradient (Not Run)
	 18 - identity-function (Not Run)
	 19 - constant-function (Not Run)
	 20 - cached-function (Not Run)
	 21 - split (Not Run)
	 22 - visualization-gnuplot-simple (Not Run)
	 23 - visualization-gnuplot-function (Not Run)
	 24 - visualization-gnuplot-differentiable-function (Not Run)
Errors while running CTest
Makefile:152: recipe for target 'test' failed
make[1]: *** [test] Error 8
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_test: make -j1 test ARGS+=-j1 returned exit code 2
debian/rules:26: 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