Bug#612602: dolfin: FTBFS: error: 'SCOTCH_Dgraph' was not declared in this scope

Jakub Wilk jwilk at debian.org
Wed Feb 9 13:58:45 UTC 2011


Source: dolfin
Version: 0.9.9-4
Severity: serious
Justification: fails to build from source

dolfin FTBFS in a clean i386 sid chroot. The interesting parts of the 
build log:

| Package versions: [...] libptscotch-5.1_5.1.11.dfsg-3 libptscotch-dev_5.1.11.dfsg-3 [...] libscotch-5.1_5.1.11.dfsg-3 libscotch-dev_5.1.11.dfsg-3 [...]
[...]
| [ 15%] Building CXX object dolfin/CMakeFiles/dolfin.dir/graph/SCOTCH.cpp.o
| cd /build/sbuild-dolfin_0.9.9-4-i386-9pGRcO/dolfin-0.9.9/obj-i486-linux-gnu/dolfin && /usr/bin/g++   -Ddolfin_EXPORTS -DPACKAGE_VERSION=\"0.9.9\" -DBOOST_UBLAS_NDEBUG -DHAS_TRILINOS -DHAS_SLEPC -DHAS_PETSC -DHAS_UMFPACK -DHAS_CHOLMOD -DHAS_SCOTCH -DHAS_ZLIB -DHAS_MPI -DMPICH_IGNORE_CXX_SEEK -g -O2 -g -O2   -O2 -g -fPIC -I/build/sbuild-dolfin_0.9.9-4-i386-9pGRcO/dolfin-0.9.9 -I/usr/include/libxml2 -I/usr/include/trilinos -I/usr/lib/slepcdir/3.0.0 -I/usr/lib/slepcdir/3.0.0/linux-gnu-c-opt/include -I/usr/lib/slepcdir/3.0.0/include -I/usr/lib/petscdir/3.1/linux-gnu-c-opt/include -I/usr/lib/petscdir/3.1/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/lib -I/usr/include/scotch -I/usr/lib -I/usr/include/spooles -I/usr/include/suitesparse -I/usr/lib/openmpi/include/openmpi   -o CMakeFiles/dolfin.dir/graph/SCOTCH.cpp.o -c /build/sbuild-dolfin_0.9.9-4-i386-9pGRcO/dolfin-0.9.9/dolfin/graph/SCOTCH.cpp
| /build/sbuild-dolfin_0.9.9-4-i386-9pGRcO/dolfin-0.9.9/dolfin/graph/SCOTCH.cpp: In static member function 'static void dolfin::SCOTCH::partition(const std::vector<std::set<unsigned int, std::less<unsigned int>, std::allocator<unsigned int> >, std::allocator<std::set<unsigned int, std::less<unsigned int>, std::allocator<unsigned int> > > >&, const std::set<unsigned int, std::less<unsigned int>, std::allocator<unsigned int> >&, const std::vector<unsigned int, std::allocator<unsigned int> >&, dolfin::uint, std::vector<unsigned int, std::allocator<unsigned int> >&)':
| /build/sbuild-dolfin_0.9.9-4-i386-9pGRcO/dolfin-0.9.9/dolfin/graph/SCOTCH.cpp:150: error: 'SCOTCH_Dgraph' was not declared in this scope
| /build/sbuild-dolfin_0.9.9-4-i386-9pGRcO/dolfin-0.9.9/dolfin/graph/SCOTCH.cpp:150: error: expected ';' before 'dgrafdat'
| /build/sbuild-dolfin_0.9.9-4-i386-9pGRcO/dolfin-0.9.9/dolfin/graph/SCOTCH.cpp:151: error: 'dgrafdat' was not declared in this scope
| /build/sbuild-dolfin_0.9.9-4-i386-9pGRcO/dolfin-0.9.9/dolfin/graph/SCOTCH.cpp:151: error: 'SCOTCH_dgraphInit' was not declared in this scope
| /build/sbuild-dolfin_0.9.9-4-i386-9pGRcO/dolfin-0.9.9/dolfin/graph/SCOTCH.cpp:155: error: 'dgrafdat' was not declared in this scope
| /build/sbuild-dolfin_0.9.9-4-i386-9pGRcO/dolfin-0.9.9/dolfin/graph/SCOTCH.cpp:158: error: 'SCOTCH_dgraphBuild' was not declared in this scope
| /build/sbuild-dolfin_0.9.9-4-i386-9pGRcO/dolfin-0.9.9/dolfin/graph/SCOTCH.cpp:164: error: 'dgrafdat' was not declared in this scope
| /build/sbuild-dolfin_0.9.9-4-i386-9pGRcO/dolfin-0.9.9/dolfin/graph/SCOTCH.cpp:164: error: 'SCOTCH_dgraphCheck' was not declared in this scope
| /build/sbuild-dolfin_0.9.9-4-i386-9pGRcO/dolfin-0.9.9/dolfin/graph/SCOTCH.cpp:167: error: 'dgrafdat' was not declared in this scope
| /build/sbuild-dolfin_0.9.9-4-i386-9pGRcO/dolfin-0.9.9/dolfin/graph/SCOTCH.cpp:167: error: 'SCOTCH_dgraphGhst' was not declared in this scope
| /build/sbuild-dolfin_0.9.9-4-i386-9pGRcO/dolfin-0.9.9/dolfin/graph/SCOTCH.cpp:178: error: 'SCOTCH_stratDgraphMap' was not declared in this scope
| /build/sbuild-dolfin_0.9.9-4-i386-9pGRcO/dolfin-0.9.9/dolfin/graph/SCOTCH.cpp:184: error: 'SCOTCH_dgraphPart' was not declared in this scope
| /build/sbuild-dolfin_0.9.9-4-i386-9pGRcO/dolfin-0.9.9/dolfin/graph/SCOTCH.cpp:189: error: 'SCOTCH_dgraphExit' was not declared in this scope

-- 
Jakub Wilk





More information about the debian-science-maintainers mailing list