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

version graph

Package: src:roboptim-core; Maintainer for src:roboptim-core is Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>;

Reported by: Santiago Vila <sanvila@debian.org>

Date: Wed, 2 Dec 2015 12:12:38 UTC

Severity: serious

Tags: patch

Found in version roboptim-core/2.0-7.1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, sanvila@debian.org, Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>:
Bug#806873; Package src:roboptim-core. (Wed, 02 Dec 2015 12:12:42 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Vila <sanvila@debian.org>:
New Bug report received and forwarded. Copy sent to sanvila@debian.org, Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>. (Wed, 02 Dec 2015 12:12:42 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Santiago Vila <sanvila@debian.org>
To: Debian BTS <submit@bugs.debian.org>
Subject: roboptim-core: FTBFS when built with dpkg-buildpackage -A (24 tests failed out of 24)
Date: Wed, 02 Dec 2015 12:08:55 +0000
Package: src:roboptim-core
Version: 2.0-7.1
User: sanvila@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.



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>:
Bug#806873; Package src:roboptim-core. (Tue, 03 May 2016 23:24:03 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>. (Tue, 03 May 2016 23:24:03 GMT) (full text, mbox, link).


Message #10 received at 806873@bugs.debian.org (full text, mbox, reply):

From: Santiago Vila <sanvila@unex.es>
To: 806873@bugs.debian.org, Debian BTS <control@bugs.debian.org>
Cc: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Subject: Re: Bug#806873: roboptim-core: FTBFS when built with dpkg-buildpackage -A (24 tests failed out of 24)
Date: Wed, 4 May 2016 01:21:32 +0200 (CEST)
[Message part 1 (text/plain, inline)]
> <<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

If the executables are not available because we are only building
arch-independent stuff, the easy fix would be to disable the tests
for arch-independent builds.

Patch attached.

Thanks.
[roboptim-core.patch.txt (text/plain, attachment)]

Added tag(s) patch. Request was from Santiago Vila <sanvila@unex.es> to control@bugs.debian.org. (Wed, 04 May 2016 09:36:04 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>:
Bug#806873; Package src:roboptim-core. (Wed, 13 Jul 2016 21:27:20 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>. (Wed, 13 Jul 2016 21:27:20 GMT) (full text, mbox, link).


Message #17 received at 806873@bugs.debian.org (full text, mbox, reply):

From: Santiago Vila <sanvila@unex.es>
To: 806873@bugs.debian.org
Cc: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Subject: Re: Bug#806873: roboptim-core: FTBFS when built with dpkg-buildpackage -A (24 tests failed out of 24)
Date: Wed, 13 Jul 2016 23:26:29 +0200 (CEST)
Greetings.

I have the ok from the Release Managers to consider this issue as RC
for stretch. I'm going to wait at least one week before raising
this to "serious".

There is a patch available for this bug. If you need someone to make
an upload, please ask for a sponsor in debian-mentors.

Thanks.



Severity set to 'serious' from 'important' Request was from Santiago Vila <sanvila@debian.org> to control@bugs.debian.org. (Mon, 01 Aug 2016 21:15:57 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Oct 23 00:05:31 2017; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.