[Debian-med-packaging] Bug#577060: FTBS due to MPI related problem.

Francesco P. Lovergine frankie at debian.org
Tue Apr 13 10:30:53 UTC 2010


On Sat, Apr 10, 2010 at 02:11:12PM -0500, Steve M. Robbins wrote:
> tags 577060 + help unreproducible moreinfo
> thanks
> 
> Hi,
> 
> I just built minc in a clean sid chroot (using pbuilder) and found
> no problem on my and64 system.
> 
> 
> On Fri, Apr 09, 2010 at 11:29:48AM +0200, Francesco P. Lovergine wrote:
> 
> > make[3]: Entering directory `/tmp/buildd/minc-2.0.18'
> > /bin/bash ./libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I./libsrc -I./volume_io/Include -I./volume_io/Include -I./progs/Proglib -I./conversion/Acr_nema -I./libsrc2    -I/usr/include/mpi -c -o libsrc/ParseArgv.lo libsrc/ParseArgv.c
> > libtool: compile:  cc -DHAVE_CONFIG_H -I. -I./libsrc -I./volume_io/Include -I./volume_io/Include -I./progs/Proglib -I./conversion/Acr_nema -I./libsrc2 -I/usr/include/mpi -c libsrc/ParseArgv.c  -fPIC -DPIC -o libsrc/.libs/ParseArgv.o
> > In file included from /usr/include/H5public.h:57,
> >                  from /usr/include/hdf5.h:24,
> >                  from libsrc/minc.h:588,
> >                  from libsrc/minc_private.h:84,
> >                  from libsrc/ParseArgv.c:23:
> > /usr/include/mpi/mpi.h:221: error: expected identifier or '(' before 'int'
> > /usr/include/mpi/mpi.h:228: error: expected identifier or '(' before 'int'
> 
> I need some help:
> 
> 1) What version of hdf5 are you using?  I'm using libhdf5-opennmpi-dev
>    (1.8.4-patch1-1).
> 
> 2) What version of MPI?  I'm using libopenmpi-dev (1.4.1-3).
> 
> 3) line 221 of mpi.h doesn't have 'int'; here it reads:
>    typedef struct ompi_communicator_t *MPI_Comm;
> 
> 4) line 228 of mpi.h doesn't have 'int'; here it reads:
>    typedef struct ompi_info_t *MPI_Info;
> 
> Regards,
> -Steve

Sorry it seemed independent, but indeed it is related to the netcdf v4.
If you tried to build using libnetcdf-dev (>= 1:4.0.0) (available in
experimental) you got this result. Note that no other package gives
this problem, so I suspect it is due to some oddities with
macros/defines. Note that new netcdf 4 depends on HDF5 now.

-- 
Francesco P. Lovergine





More information about the Debian-med-packaging mailing list