[Pkg-scicomp-devel] Bug#574724: scotch: FTBFS: error: lam_config.h: No such file or directory

Kurt Roeckx kurt at roeckx.be
Sat Mar 20 13:54:08 UTC 2010


Source: scotch
Version: 5.1.7.dfsg-3
Severity: serious

Hi,

There was an error while trying to autobuild your package:

> Start Time: 20100315-2309

[...]

> Build-Depends: cdbs, debhelper (>= 7), bison, flex, zlib1g-dev, chrpath, mpi-default-dev, mpi-default-bin

[...]

> Toolchain package versions: libc6.1-dev_2.10.2-5 dpkg-dev_1.15.5.6 linux-libc-dev_2.6.32-9 g++-4.4_4.4.3-3 gcc-4.4_4.4.3-3 binutils_2.20-6 libstdc++6_4.4.3-3 libstdc++6-4.4-dev_4.4.3-3

[...]

> gcc -g -O3 -I. -fPIC -Drestrict=__restrict -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_PTHREAD -DSCOTCH_RENAME -DSCOTCH_VERSION=\""5.1"\" dummysizes.c -o dummysizes -lz -lm -lrt
> ./dummysizes library.h scotch.h
> ./dummysizes libraryf.h scotchf.h
> gcc -g -O3 -I. -fPIC -Drestrict=__restrict -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_PTHREAD -DSCOTCH_RENAME -c library_error.c -o library_error.o
> In file included from scotch.h:73,
>                  from library_error.c:61:
> /usr/include/mpi/mpi.h:23:24: error: lam_config.h: No such file or directory
> In file included from scotch.h:73,
>                  from library_error.c:61:
> /usr/include/mpi/mpi.h:439: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__ARGS'
> /usr/include/mpi/mpi.h:441: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__ARGS'

[...]

> /usr/include/mpi/mpi.h:1096: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__ARGS'
> make[3]: *** [library_error.o] Error 1
> make[2]: *** [scotch] Error 2
> make[1]: *** [scotch] Error 2
> make: *** [debian/stamp-makefile-build] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
> make[3]: Leaving directory `/build/buildd-scotch_5.1.7.dfsg-3-alpha-Z3NuAT/scotch-5.1.7.dfsg/src/libscotch'
> make[2]: Leaving directory `/build/buildd-scotch_5.1.7.dfsg-3-alpha-Z3NuAT/scotch-5.1.7.dfsg/src/libscotch'
> make[1]: Leaving directory `/build/buildd-scotch_5.1.7.dfsg-3-alpha-Z3NuAT/scotch-5.1.7.dfsg/src'

A full build log can be found at:
http://buildd.debian.org/build.php?arch=alpha&pkg=scotch&ver=5.1.7.dfsg-3

I think you're missing an -I?


Kurt






More information about the Pkg-scicomp-devel mailing list