Source: med-fichier
Version: 3.0.6-12
Severity: normal
User: debian...@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: -----------------------]

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to