Bug#896617: med-fichier: autopkgtest fails with new version of openmpi

Paul Gevers elbrus at debian.org
Sun Apr 22 20:55:50 BST 2018


Source: med-fichier
Version: 3.0.6-12
Severity: normal
User: debian-ci at lists.debian.org
Usertags: needs-update

With the upload of version 3.0.1-1 of openmpi, the autopkgtest of
med-fichier¹ started to fail with the error copied below. This is caused
by the hard coding of the include path for mpi in the test cases as the
openmpi changed the location of it. More robust would be something like:

gcc `pkg-config --cflags hdf5-openmpi hdf5-serial` -lmedC -o usescase
usescase.c

Please fix your autopkgtest.

Paul

¹ https://ci.debian.net/packages/m/med-fichier/

autopkgtest [11:25:55]: test build1: [-----------------------
In file included from /usr/include/hdf5/openmpi/hdf5.h:24:0,
                 from /usr/include/med.h:22,
                 from usescase.c:23:
/usr/include/hdf5/openmpi/H5public.h:61:13: fatal error: mpi.h: No such
file or directory
 #   include <mpi.h>
             ^~~~~~~
compilation terminated.
autopkgtest [11:25:55]: test build1: -----------------------]
autopkgtest [11:25:55]: test build1:  - - - - - - - - - - results - - -
- - - - - - -
build1               FAIL non-zero exit status 1
autopkgtest [11:25:55]: test build1:  - - - - - - - - - - stderr - - - -
- - - - - -
In file included from /usr/include/hdf5/openmpi/hdf5.h:24:0,
                 from /usr/include/med.h:22,
                 from usescase.c:23:
/usr/include/hdf5/openmpi/H5public.h:61:13: fatal error: mpi.h: No such
file or directory
 #   include <mpi.h>
             ^~~~~~~
compilation terminated.

autopkgtest [11:25:57]: test build2: [-----------------------
In file included from /usr/include/hdf5/openmpi/hdf5.h:24:0,
                 from /usr/include/med.h:22,
                 from usescase.c:22:
/usr/include/hdf5/openmpi/H5public.h:61:13: fatal error: mpi.h: No such
file or directory
 #   include <mpi.h>
             ^~~~~~~
compilation terminated.
autopkgtest [11:25:58]: test build2: -----------------------]

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20180422/f6bb494c/attachment.sig>


More information about the debian-science-maintainers mailing list