[Debian-med-packaging] Bug#581296: minc: FTBFS: mpi.h:221: error: expected identifier or '(' before 'int'

Lucas Nussbaum lucas at lucas-nussbaum.net
Wed May 12 07:50:15 UTC 2010


Source: minc
Version: 2.0.18-1
Severity: serious
Tags: squeeze sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20100511 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> /bin/bash ./libtool --tag=CC   --mode=compile gcc -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/voxel_loop.lo libsrc/voxel_loop.c
> libtool: compile:  gcc -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/image_conversion.c  -fPIC -DPIC -o libsrc/.libs/image_conversion.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/image_conversion.c:169:
> /usr/include/mpi/mpi.h:221: error: expected identifier or '(' before 'int'libtool: compile:  gcc -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/dim_conversion.c  -fPIC -DPIC -o libsrc/.libs/dim_conversion.o
> libtool: compile:  gcc -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
> libtool: compile:  gcc -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/nd_loop.c  -fPIC -DPIC -o libsrc/.libs/nd_loop.o
> libtool: compile:  gcc -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/time_stamp.c  -fPIC -DPIC -o libsrc/.libs/time_stamp.o
> libtool: compile:  gcc -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/minc_error.c  -fPIC -DPIC -o libsrc/.libs/minc_error.o
> libtool: compile:  gcc -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/netcdf_convenience.c  -fPIC -DPIC -o libsrc/.libs/netcdf_convenience.o
> 
> /usr/include/mpi/mpi.h:228: error: expected identifier or '(' before 'int'
> libtool: compile:  gcc -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/voxel_loop.c  -fPIC -DPIC -o libsrc/.libs/voxel_loop.o
> libtool: compile:  gcc -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/value_conversion.c  -fPIC -DPIC -o libsrc/.libs/value_conversion.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/nd_loop.c:60:
> /usr/include/mpi/mpi.h:221: error: expected identifier or '(' before 'int'
> /usr/include/mpi/mpi.h:228: error: expected identifier or '(' before 'int'
> 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/dim_conversion.c:93:
> /usr/include/mpi/mpi.h:221: error: expected identifier or '(' before 'int'
> /usr/include/mpi/mpi.h:228: error: expected identifier or '(' before 'int'
> 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'
> libtool: compile:  gcc -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/minc_convenience.c  -fPIC -DPIC -o libsrc/.libs/minc_convenience.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/time_stamp.c:62:
> /usr/include/mpi/mpi.h:221: error: expected identifier or '(' before 'int'
> /usr/include/mpi/mpi.h:228: error: expected identifier or '(' before 'int'
> libsrc/image_conversion.c: In function 'miicv_create':
> libsrc/image_conversion.c:219: error: 'MAX_NC_OPEN' undeclared (first use in this function)
> libsrc/image_conversion.c:219: error: (Each undeclared identifier is reported only once
> libsrc/image_conversion.c:219: error: for each function it appears in.)
> make[3]: *** [libsrc/nd_loop.lo] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2010/05/11/minc_2.0.18-1_lsid64.buildlog

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |





More information about the Debian-med-packaging mailing list