[Pkg-scicomp-devel] Bug#459025: Bug#459025: Bug#459025: parmetis_3.1-8+b1(unstable/amd64/xenophanes): FTBFS: Doesn't search for mpi.h in right include path

Christophe Prud'homme prudhomm at gmail.com
Fri Jan 4 11:20:27 UTC 2008


I just uploaded a new version of parmetis which should fix this bug
I will check the build logs


On Jan 4, 2008 11:52 AM, Marc 'HE' Brockschmidt <marc at marcbrockschmidt.de>
wrote:

> "Ondrej Certik" <ondrej at certik.cz> writes:
> > On Jan 4, 2008 10:15 AM, Marc 'HE' Brockschmidt <
> marc at marcbrockschmidt.de> wrote:
> >> I tried rebuilding parmetis against the new mpich packages, so that the
> >> whole heap of packages can migrate to testing. This failed:
> >>
> >> | Automatic build of parmetis_3.1-8+b1 on xenophanes by sbuild/amd64
> 98-farm
> >> | Build started at 20080104-0031
> >> |
> ******************************************************************************
> >>
> >> [...]
> >>
> >> | make[2]: Entering directory `/build/buildd/parmetis-3.1/METISLib'
> >> | gcc -I. -I.. -I/build/buildd/parmetis-3.1/ -O3 -c coarsen.c
> >> | In file included from ./metis.h:27,
> >> |                  from coarsen.c:13:
> >> | ../parmetis.h:17:17: error: mpi.h: No such file or directory
> >> | In file included from ./metis.h:27,
> >> |                  from coarsen.c:13:
> >> | ../parmetis.h:59: error: expected declaration specifiers or '...'
> before 'MPI_Comm'
> >> [...]
> >>
> >> A complete build log can be found at
> >>
> http://experimental.debian.net/build.php?arch=amd64&pkg=parmetis&ver=3.1-8+b1
> >>
> >> I guess you will need to update the build scripts to look into
> >> /usr/lib/openmpi/include.
> > The problem is, that openmpi package moved the *.h files out of
> > /usr/include to /usr/lib and created
> > a link from /usr/include/openmpi. However, that link doesn't always
> > work. And if the link doesn't work,
> > it's a FHS violation -  *.h files should be in /usr/include/... not in
> /usr/lib.
>
> Ehm, parmetis is *only* looking into the standard include path + some
> local dirs. There is no "mpi.h" in /usr/include, even if the symlink
> exists. Either you need to add /usr/include/openmpi to the include path
> or try to include openmpi/mpi.h (which sounds b0rken) (ie add
> -I/usr/include/openmpi and everything should be fine).
>
> Marc
> --
> Fachbegriffe der Informatik - Einfach erklärt
> 158: Geisterfahrer
>       Gegenrichtungsfahrbahnbenutzer (Burkhardt Schröder)
>
> _______________________________________________
> Pkg-scicomp-devel mailing list
> Pkg-scicomp-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-scicomp-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/pkg-scicomp-devel/attachments/20080104/9d477b4d/attachment-0001.htm 


More information about the Pkg-scicomp-devel mailing list