Bug#740174: Fix autopkgtest missing dependency

Martin Pitt martin.pitt at ubuntu.com
Wed Feb 26 15:18:01 UTC 2014


Package: lapack
Version: 3.5.0-2
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch trusty
User: autopkgtest-devel at lists.alioth.debian.org
Usertags: autopkgtest

Hello,

lapack's autopkgtest currently fails [1]:

| adt-run: & apt0t-xerbla-c: [----------------------------------------
| tmp.c:1:19: fatal error: stdio.h: No such file or directory
|  #include <stdio.h>

That's because it only test-depends on gcc, but not on libc-dev,
linux-libc-dev, etc. As it's not always libc6-dev but the package name
is different on other architectures, I'll just upgraded the dependency
to build-essential.

I tested that it now succeeds in an LXC container.

Thanks for considering,

Martin

[1] https://jenkins.qa.ubuntu.com/job/trusty-adt-lapack-armhf/7/console
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
-------------- next part --------------
diff -Nru lapack-3.5.0/debian/changelog lapack-3.5.0/debian/changelog
--- lapack-3.5.0/debian/changelog	2013-11-23 16:08:31.000000000 +0100
+++ lapack-3.5.0/debian/changelog	2014-02-26 16:15:06.000000000 +0100
@@ -1,3 +1,10 @@
+lapack (3.5.0-2ubuntu1) trusty; urgency=medium
+
+  * gcc is not enough for the xerbla-c test as we also need libc6-dev and
+    others. Just upgrade the dependency to build-essential.
+
+ -- Martin Pitt <martin.pitt at ubuntu.com>  Wed, 26 Feb 2014 16:14:24 +0100
+
 lapack (3.5.0-2) unstable; urgency=low
 
   * Do not compile the testsuite with -frecursive. Otherwise some test
diff -Nru lapack-3.5.0/debian/tests/control lapack-3.5.0/debian/tests/control
--- lapack-3.5.0/debian/tests/control	2013-09-14 17:28:27.000000000 +0200
+++ lapack-3.5.0/debian/tests/control	2014-02-26 16:13:49.000000000 +0100
@@ -2,4 +2,4 @@
 Depends: liblapack-dev, gfortran
 
 Tests: xerbla-c
-Depends: liblapacke-dev, gcc
+Depends: liblapacke-dev, build-essential
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20140226/01f7a1e6/attachment.sig>


More information about the debian-science-maintainers mailing list