[Dune] problems with dune-functions building
Christoph GrĂ¼ninger
christoph.grueninger at iws.uni-stuttgart.de
Fri Jun 3 07:05:38 CEST 2016
Dear Carsten,
find attached the output with -ftemplate-backtrace-limit=0. Thanks for
having a look!
Bye
Christoph
> Scanning dependencies of target dunegrid
> [ 3%] Building CXX object lib/CMakeFiles/dunegrid.dir/__/dune/grid/onedgrid/onedgrid.cc.o
> [ 7%] Building CXX object lib/CMakeFiles/dunegrid.dir/__/dune/grid/onedgrid/onedgridfactory.cc.o
> [ 11%] Building CXX object lib/CMakeFiles/dunegrid.dir/__/dune/grid/onedgrid/nulliteratorfactory.cc.o
> [ 14%] Building CXX object lib/CMakeFiles/dunegrid.dir/__/dune/grid/io/file/dgfparser/dgfparser.cc.o
> In file included from /temp/gruenich/dune/complete/dune-grid/dune/grid/io/file/dgfparser/dgfparser.cc:12:
> In file included from /temp/gruenich/dune/complete/dune-geometry/dune/geometry/referenceelements.hh:15:
> In file included from /temp/gruenich/dune/complete/dune-geometry/dune/geometry/genericgeometry/codimtable.hh:8:
> In file included from /temp/gruenich/dune/complete/dune-common/dune/common/tupleutility.hh:8:
> /usr/bin/../lib64/gcc/x86_64-suse-linux/6/../../../../include/c++/6/tuple:483:62: error: pack expansion contains parameter packs '_Elements' and '_UElements' that have different lengths (1 vs. 0)
> return __and_<is_constructible<_Elements, _UElements&&>...>::value;
> ~~~~~~~~~ ~~~~~~~~~~ ^
> /usr/bin/../lib64/gcc/x86_64-suse-linux/6/../../../../include/c++/6/tuple:615:21: note: in instantiation of function template specialization 'std::_TC<true, Dune::ReferenceElement<double, 0>::GeometryArray<0> >::_MoveConstructibleTuple<>' requested here
> _MoveConstructibleTuple<_UElements...>()
> ^
> /usr/bin/../lib64/gcc/x86_64-suse-linux/6/../../../../include/c++/6/tuple:620:19: note: while substituting prior template arguments into non-type template parameter [with _UElements = <>]
> constexpr tuple(_UElements&&... __elements)
> ^~~~~
> /usr/bin/../lib64/gcc/x86_64-suse-linux/6/../../../../include/c++/6/tuple:541:11: note: while substituting deduced template arguments into function template 'tuple' [with _UElements = <>, $1 = (no value)]
> class tuple : public _Tuple_impl<0, _Elements...>
> ^
> /temp/gruenich/dune/complete/dune-geometry/dune/geometry/referenceelements.hh:399:5: note: in instantiation of member function 'Dune::ReferenceElement<double, 0>::ReferenceElement' requested here
> ReferenceElementContainer ()
> ^
> /temp/gruenich/dune/complete/dune-geometry/dune/geometry/referenceelements.hh:483:54: note: in instantiation of member function 'Dune::ReferenceElementContainer<double, 0>::ReferenceElementContainer' requested here
> static ReferenceElementContainer< ctype, dim > container;
> ^
> /temp/gruenich/dune/complete/dune-geometry/dune/geometry/referenceelements.hh:462:14: note: in instantiation of member function 'Dune::ReferenceElements<double, 0>::container' requested here
> return container() ( type );
> ^
> /temp/gruenich/dune/complete/dune-geometry/dune/geometry/referenceelements.hh:358:50: note: in instantiation of member function 'Dune::ReferenceElements<double, 0>::general' requested here
> return ReferenceElements< ctype, dim-cc >::general( refElement.type( i, cc ) );
> ^
> /temp/gruenich/dune/complete/dune-geometry/dune/geometry/referenceelements.hh:379:53: note: in instantiation of function template specialization 'Dune::ReferenceElement<double, 1>::CreateGeometries<1>::subRefElement<1>' requested here
> typename Codim< codim >::Geometry geometry( subRefElement( refElement, i, codimVariable ), origins[ i ], jacobianTransposeds[ i ] );
> ^
> /temp/gruenich/dune/complete/dune-common/dune/common/forloop.hh:46:12: note: in instantiation of member function 'Dune::ReferenceElement<double, 1>::CreateGeometries<1>::apply' requested here
> B::apply( std::forward<Params>(params)... );
> ^
> /temp/gruenich/dune/complete/dune-geometry/dune/geometry/referenceelements.hh:248:50: note: in instantiation of function template specialization 'Dune::ForLoopHelper::Apply<Dune::ReferenceElement<double, 1>::CreateGeometries<0>, Dune::GenericForLoop<Apply,
> CreateGeometries, 1, 1> >::apply<Dune::ReferenceElement<double, 1> &, Dune::GenericGeometry::CodimTable<GeometryArray, 1> &>' requested here
> Dune::ForLoop< CreateGeometries, 0, dim >::apply( *this, geometries_ );
> ^
> /temp/gruenich/dune/complete/dune-geometry/dune/geometry/referenceelements.hh:402:31: note: in instantiation of member function 'Dune::ReferenceElement<double, 1>::initialize' requested here
> values_[ topologyId ].initialize( topologyId );
> ^
> /temp/gruenich/dune/complete/dune-geometry/dune/geometry/referenceelements.hh:483:54: note: in instantiation of member function 'Dune::ReferenceElementContainer<double, 1>::ReferenceElementContainer' requested here
> static ReferenceElementContainer< ctype, dim > container;
> ^
> /temp/gruenich/dune/complete/dune-geometry/dune/geometry/referenceelements.hh:462:14: note: in instantiation of member function 'Dune::ReferenceElements<double, 1>::container' requested here
> return container() ( type );
> ^
> /temp/gruenich/dune/complete/dune-geometry/dune/geometry/referenceelements.hh:358:50: note: in instantiation of member function 'Dune::ReferenceElements<double, 1>::general' requested here
> return ReferenceElements< ctype, dim-cc >::general( refElement.type( i, cc ) );
> ^
> /temp/gruenich/dune/complete/dune-geometry/dune/geometry/referenceelements.hh:379:53: note: in instantiation of function template specialization 'Dune::ReferenceElement<double, 2>::CreateGeometries<1>::subRefElement<1>' requested here
> typename Codim< codim >::Geometry geometry( subRefElement( refElement, i, codimVariable ), origins[ i ], jacobianTransposeds[ i ] );
> ^
> /temp/gruenich/dune/complete/dune-common/dune/common/forloop.hh:45:12: note: in instantiation of member function 'Dune::ReferenceElement<double, 2>::CreateGeometries<1>::apply' requested here
> A::apply( std::forward<Params>(params)... );
> ^
> /temp/gruenich/dune/complete/dune-common/dune/common/forloop.hh:46:12: note: in instantiation of function template specialization 'Dune::ForLoopHelper::Apply<Dune::ReferenceElement<double, 2>::CreateGeometries<1>, Dune::GenericForLoop<Apply, CreateGeometries, 2, 2>
> >::apply<Dune::ReferenceElement<double, 2> &, Dune::GenericGeometry::CodimTable<GeometryArray, 2> &>' requested here
> B::apply( std::forward<Params>(params)... );
> ^
> /temp/gruenich/dune/complete/dune-geometry/dune/geometry/referenceelements.hh:248:50: note: in instantiation of function template specialization 'Dune::ForLoopHelper::Apply<Dune::ReferenceElement<double, 2>::CreateGeometries<0>, Dune::GenericForLoop<Apply,
> CreateGeometries, 1, 2> >::apply<Dune::ReferenceElement<double, 2> &, Dune::GenericGeometry::CodimTable<GeometryArray, 2> &>' requested here
> Dune::ForLoop< CreateGeometries, 0, dim >::apply( *this, geometries_ );
> ^
> /temp/gruenich/dune/complete/dune-geometry/dune/geometry/referenceelements.hh:402:31: note: in instantiation of member function 'Dune::ReferenceElement<double, 2>::initialize' requested here
> values_[ topologyId ].initialize( topologyId );
> ^
> /temp/gruenich/dune/complete/dune-geometry/dune/geometry/referenceelements.hh:483:54: note: in instantiation of member function 'Dune::ReferenceElementContainer<double, 2>::ReferenceElementContainer' requested here
> static ReferenceElementContainer< ctype, dim > container;
> ^
> /temp/gruenich/dune/complete/dune-geometry/dune/geometry/referenceelements.hh:468:14: note: in instantiation of member function 'Dune::ReferenceElements<double, 2>::container' requested here
> return container().simplex();
> ^
> /temp/gruenich/dune/complete/dune-grid/dune/grid/io/file/dgfparser/entitykey_inline.hh:135:43: note: in instantiation of member function 'Dune::ReferenceElements<double, 2>::simplex' requested here
> = ReferenceElements< double, dim >::simplex();
> ^
> /temp/gruenich/dune/complete/dune-grid/dune/grid/io/file/dgfparser/entitykey_inline.hh:155:16: note: in instantiation of function template specialization 'Dune::ElementFaceUtil::generateSimplexFace<2>' requested here
> return generateSimplexFace< 2 >( element, f );
> ^
> In file included from /temp/gruenich/dune/complete/dune-grid/dune/grid/io/file/dgfparser/dgfparser.cc:12:
> In file included from /temp/gruenich/dune/complete/dune-geometry/dune/geometry/referenceelements.hh:15:
> In file included from /temp/gruenich/dune/complete/dune-geometry/dune/geometry/genericgeometry/codimtable.hh:8:
> In file included from /temp/gruenich/dune/complete/dune-common/dune/common/tupleutility.hh:8:
> /usr/bin/../lib64/gcc/x86_64-suse-linux/6/../../../../include/c++/6/tuple:489:60: error: pack expansion contains parameter packs '_UElements' and '_Elements' that have different lengths (0 vs. 1)
> return __and_<is_convertible<_UElements&&, _Elements>...>::value;
> ~~~~~~~~~~ ~~~~~~~~~ ^
> /usr/bin/../lib64/gcc/x86_64-suse-linux/6/../../../../include/c++/6/tuple:617:21: note: in instantiation of function template specialization 'std::_TC<true, Dune::ReferenceElement<double, 0>::GeometryArray<0> >::_ImplicitlyMoveConvertibleTuple<>' requested here
> _ImplicitlyMoveConvertibleTuple<_UElements...>()
> ^
> /usr/bin/../lib64/gcc/x86_64-suse-linux/6/../../../../include/c++/6/tuple:620:19: note: while substituting prior template arguments into non-type template parameter [with _UElements = <>]
> constexpr tuple(_UElements&&... __elements)
> ^~~~~
> /usr/bin/../lib64/gcc/x86_64-suse-linux/6/../../../../include/c++/6/tuple:541:11: note: while substituting deduced template arguments into function template 'tuple' [with _UElements = <>, $1 = (no value)]
> class tuple : public _Tuple_impl<0, _Elements...>
> ^
> /temp/gruenich/dune/complete/dune-geometry/dune/geometry/referenceelements.hh:399:5: note: in instantiation of member function 'Dune::ReferenceElement<double, 0>::ReferenceElement' requested here
> ReferenceElementContainer ()
> ^
> /temp/gruenich/dune/complete/dune-geometry/dune/geometry/referenceelements.hh:483:54: note: in instantiation of member function 'Dune::ReferenceElementContainer<double, 0>::ReferenceElementContainer' requested here
> static ReferenceElementContainer< ctype, dim > container;
> ^
> /temp/gruenich/dune/complete/dune-geometry/dune/geometry/referenceelements.hh:462:14: note: in instantiation of member function 'Dune::ReferenceElements<double, 0>::container' requested here
> return container() ( type );
> ^
> /temp/gruenich/dune/complete/dune-geometry/dune/geometry/referenceelements.hh:358:50: note: in instantiation of member function 'Dune::ReferenceElements<double, 0>::general' requested here
> return ReferenceElements< ctype, dim-cc >::general( refElement.type( i, cc ) );
> ^
> /temp/gruenich/dune/complete/dune-geometry/dune/geometry/referenceelements.hh:379:53: note: in instantiation of function template specialization 'Dune::ReferenceElement<double, 1>::CreateGeometries<1>::subRefElement<1>' requested here
> typename Codim< codim >::Geometry geometry( subRefElement( refElement, i, codimVariable ), origins[ i ], jacobianTransposeds[ i ] );
> ^
> /temp/gruenich/dune/complete/dune-common/dune/common/forloop.hh:46:12: note: in instantiation of member function 'Dune::ReferenceElement<double, 1>::CreateGeometries<1>::apply' requested here
> B::apply( std::forward<Params>(params)... );
> ^
> /temp/gruenich/dune/complete/dune-geometry/dune/geometry/referenceelements.hh:248:50: note: in instantiation of function template specialization 'Dune::ForLoopHelper::Apply<Dune::ReferenceElement<double, 1>::CreateGeometries<0>, Dune::GenericForLoop<Apply,
> CreateGeometries, 1, 1> >::apply<Dune::ReferenceElement<double, 1> &, Dune::GenericGeometry::CodimTable<GeometryArray, 1> &>' requested here
> Dune::ForLoop< CreateGeometries, 0, dim >::apply( *this, geometries_ );
> ^
> /temp/gruenich/dune/complete/dune-geometry/dune/geometry/referenceelements.hh:402:31: note: in instantiation of member function 'Dune::ReferenceElement<double, 1>::initialize' requested here
> values_[ topologyId ].initialize( topologyId );
> ^
> /temp/gruenich/dune/complete/dune-geometry/dune/geometry/referenceelements.hh:483:54: note: in instantiation of member function 'Dune::ReferenceElementContainer<double, 1>::ReferenceElementContainer' requested here
> static ReferenceElementContainer< ctype, dim > container;
> ^
> /temp/gruenich/dune/complete/dune-geometry/dune/geometry/referenceelements.hh:462:14: note: in instantiation of member function 'Dune::ReferenceElements<double, 1>::container' requested here
> return container() ( type );
> ^
> /temp/gruenich/dune/complete/dune-geometry/dune/geometry/referenceelements.hh:358:50: note: in instantiation of member function 'Dune::ReferenceElements<double, 1>::general' requested here
> return ReferenceElements< ctype, dim-cc >::general( refElement.type( i, cc ) );
> ^
> /temp/gruenich/dune/complete/dune-geometry/dune/geometry/referenceelements.hh:379:53: note: in instantiation of function template specialization 'Dune::ReferenceElement<double, 2>::CreateGeometries<1>::subRefElement<1>' requested here
> typename Codim< codim >::Geometry geometry( subRefElement( refElement, i, codimVariable ), origins[ i ], jacobianTransposeds[ i ] );
> ^
> /temp/gruenich/dune/complete/dune-common/dune/common/forloop.hh:45:12: note: in instantiation of member function 'Dune::ReferenceElement<double, 2>::CreateGeometries<1>::apply' requested here
> A::apply( std::forward<Params>(params)... );
> ^
> /temp/gruenich/dune/complete/dune-common/dune/common/forloop.hh:46:12: note: in instantiation of function template specialization 'Dune::ForLoopHelper::Apply<Dune::ReferenceElement<double, 2>::CreateGeometries<1>, Dune::GenericForLoop<Apply, CreateGeometries, 2, 2>
> >::apply<Dune::ReferenceElement<double, 2> &, Dune::GenericGeometry::CodimTable<GeometryArray, 2> &>' requested here
> B::apply( std::forward<Params>(params)... );
> ^
> /temp/gruenich/dune/complete/dune-geometry/dune/geometry/referenceelements.hh:248:50: note: in instantiation of function template specialization 'Dune::ForLoopHelper::Apply<Dune::ReferenceElement<double, 2>::CreateGeometries<0>, Dune::GenericForLoop<Apply,
> CreateGeometries, 1, 2> >::apply<Dune::ReferenceElement<double, 2> &, Dune::GenericGeometry::CodimTable<GeometryArray, 2> &>' requested here
> Dune::ForLoop< CreateGeometries, 0, dim >::apply( *this, geometries_ );
> ^
> /temp/gruenich/dune/complete/dune-geometry/dune/geometry/referenceelements.hh:402:31: note: in instantiation of member function 'Dune::ReferenceElement<double, 2>::initialize' requested here
> values_[ topologyId ].initialize( topologyId );
> ^
> /temp/gruenich/dune/complete/dune-geometry/dune/geometry/referenceelements.hh:483:54: note: in instantiation of member function 'Dune::ReferenceElementContainer<double, 2>::ReferenceElementContainer' requested here
> static ReferenceElementContainer< ctype, dim > container;
> ^
> /temp/gruenich/dune/complete/dune-geometry/dune/geometry/referenceelements.hh:468:14: note: in instantiation of member function 'Dune::ReferenceElements<double, 2>::container' requested here
> return container().simplex();
> ^
> /temp/gruenich/dune/complete/dune-grid/dune/grid/io/file/dgfparser/entitykey_inline.hh:135:43: note: in instantiation of member function 'Dune::ReferenceElements<double, 2>::simplex' requested here
> = ReferenceElements< double, dim >::simplex();
> ^
> /temp/gruenich/dune/complete/dune-grid/dune/grid/io/file/dgfparser/entitykey_inline.hh:155:16: note: in instantiation of function template specialization 'Dune::ElementFaceUtil::generateSimplexFace<2>' requested here
> return generateSimplexFace< 2 >( element, f );
> ^
> 2 errors generated.
> lib/CMakeFiles/dunegrid.dir/build.make:134: recipe for target 'lib/CMakeFiles/dunegrid.dir/__/dune/grid/io/file/dgfparser/dgfparser.cc.o' failed
More information about the Dune
mailing list