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

Johannes Ring johannr at simula.no
Wed Feb 9 15:04:32 UTC 2011


Jakub,

Thanks for your report. This error is because ptscotch.h in
libptscotch-dev does not define SCOTCH_PTSCOTCH as it did before. I
have filed a bug report for that package (#612606).

Thanks again,

Johannes

On Wed, Feb 9, 2011 at 2:58 PM, Jakub Wilk <jwilk at debian.org> wrote:
> 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
>
>
>
> --
> debian-science-maintainers mailing list
> debian-science-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/debian-science-maintainers
>





More information about the debian-science-maintainers mailing list