* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘multinet’ ...
** this is package ‘multinet’ version ‘4.3.2’
** package ‘multinet’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘Debian clang version 21.1.8 (3)’
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp2DL06D/R.INSTALL34b3d411de2ef0/multinet/src'
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -DCRAN -DNS_INFOMAP -DONLY_C_LOCALE=1 -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -Isrc -Ilibs -Iboost -Ieclat/eclat/src -Ieclat/tract/src -Ieclat/math/src -Ieclat/util/src -Ieclat/apriori/src -Iinfomap -fpic -g -O3 -Wall -pedantic -c RcppExports.cpp -o RcppExports.o
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -DCRAN -DNS_INFOMAP -DONLY_C_LOCALE=1 -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -Isrc -Ilibs -Iboost -Ieclat/eclat/src -Ieclat/tract/src -Ieclat/math/src -Ieclat/util/src -Ieclat/apriori/src -Iinfomap -fpic -g -O3 -Wall -pedantic -c init.cpp -o init.o
clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -DCRAN -DNS_INFOMAP -DONLY_C_LOCALE=1 -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -Isrc -Ilibs -Iboost -Ieclat/eclat/src -Ieclat/tract/src -Ieclat/math/src -Ieclat/util/src -Ieclat/apriori/src -Iinfomap -fpic -g -O3 -Wall -pedantic -c r_functions.cpp -o r_functions.o
In file included from r_functions.cpp:9:
In file included from src/community/infomap.hpp:18:
In file included from infomap/infomap/InfomapContext.h:31:
In file included from infomap/infomap/InfomapBase.h:33:
infomap/infomap/../utils/MersenneTwister.h:333:17: warning: arithmetic between different enumeration types ('MTRand::(unnamed enum at infomap/infomap/../utils/MersenneTwister.h:60:5)' and 'MTRand::(unnamed enum at infomap/infomap/../utils/MersenneTwister.h:64:5)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
333 | for ( i = N - M; i--; ++p )
| ~ ^ ~
infomap/infomap/../utils/MersenneTwister.h:340:24: warning: arithmetic between different enumeration types ('MTRand::(unnamed enum at infomap/infomap/../utils/MersenneTwister.h:64:5)' and 'MTRand::(unnamed enum at infomap/infomap/../utils/MersenneTwister.h:60:5)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
340 | *p = twist( p[M-N], p[0], p[1] );
| ~^~
infomap/infomap/../utils/MersenneTwister.h:343:20: warning: arithmetic between different enumeration types ('MTRand::(unnamed enum at infomap/infomap/../utils/MersenneTwister.h:64:5)' and 'MTRand::(unnamed enum at infomap/infomap/../utils/MersenneTwister.h:60:5)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
343 | *p = twist( p[M-N], p[0], state[0] );
| ~^~
In file included from r_functions.cpp:2:
In file included from ./r_functions.h:4:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/Rcpp.h:27:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:64:
In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/vector:68:
/usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_vector.h:376:35: error: arithmetic on a pointer to an incomplete type 'infomap::PerIterationStats'
376 | _M_impl._M_end_of_storage - _M_impl._M_start);
| ~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_vector.h:561:7: note: in instantiation of member function 'std::_Vector_base<infomap::PerIterationStats, std::allocator<infomap::PerIterationStats>>::~_Vector_base' requested here
561 | vector() = default;
| ^
infomap/infomap/InfomapBase.h:54:5: note: in defaulted default constructor for 'std::vector<infomap::PerIterationStats>' first required here
54 | InfomapBase(const Config& conf, NodeFactoryBase* nodeFactory)
| ^
infomap/infomap/InfomapBase.h:46:8: note: forward declaration of 'infomap::PerIterationStats'
46 | struct PerIterationStats;
| ^
In file included from r_functions.cpp:1:
In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/sstream:42:
In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/istream:42:
In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/ios:43:
In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/exception:168:
In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/exception_ptr.h:41:
In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/move.h:37:
/usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/type_traits:1459:23: error: incomplete type 'infomap::PerIterationStats' used in type trait expression
1459 | __bool_constant<__has_trivial_destructor(_Tp)>>::type
| ^
/usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:224:22: note: in instantiation of template class 'std::is_trivially_destructible<infomap::PerIterationStats>' requested here
224 | if constexpr (!is_trivially_destructible<_Value_type>::value)
| ^
/usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:1045:12: note: in instantiation of function template specialization 'std::_Destroy<infomap::PerIterationStats *>' requested here
1045 | std::_Destroy(__first, __last);
| ^
/usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_vector.h:802:7: note: in instantiation of function template specialization 'std::_Destroy<infomap::PerIterationStats *, infomap::PerIterationStats>' requested here
802 | std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish,
| ^
infomap/infomap/InfomapBase.h:54:5: note: in instantiation of member function 'std::vector<infomap::PerIterationStats>::~vector' requested here
54 | InfomapBase(const Config& conf, NodeFactoryBase* nodeFactory)
| ^
infomap/infomap/InfomapBase.h:46:8: note: forward declaration of 'infomap::PerIterationStats'
46 | struct PerIterationStats;
| ^
In file included from r_functions.cpp:1:
In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/sstream:42:
In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/istream:42:
In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/ios:43:
In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/exception:168:
In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/exception_ptr.h:41:
In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/move.h:37:
/usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/type_traits:1461:21: error: static assertion failed due to requirement 'std::__is_complete_or_unbounded(std::__type_identity<infomap::PerIterationStats>{})': template argument must be a complete class or an unbounded array
1461 | static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from r_functions.cpp:1:
In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/sstream:42:
In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/istream:42:
In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/ios:44:
In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/char_traits.h:59:
/usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:225:28: error: arithmetic on a pointer to an incomplete type 'infomap::PerIterationStats'
225 | for (; __first != __last; ++__first)
| ^ ~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/alloc_traits.h:1045:12: note: in instantiation of function template specialization 'std::_Destroy<infomap::PerIterationStats *>' requested here
1045 | std::_Destroy(__first, __last);
| ^
/usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_vector.h:802:7: note: in instantiation of function template specialization 'std::_Destroy<infomap::PerIterationStats *, infomap::PerIterationStats>' requested here
802 | std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish,
| ^
infomap/infomap/InfomapBase.h:54:5: note: in instantiation of member function 'std::vector<infomap::PerIterationStats>::~vector' requested here
54 | InfomapBase(const Config& conf, NodeFactoryBase* nodeFactory)
| ^
infomap/infomap/InfomapBase.h:46:8: note: forward declaration of 'infomap::PerIterationStats'
46 | struct PerIterationStats;
| ^
In file included from r_functions.cpp:13:
In file included from src/community/modularity.hpp:47:
src/community/modularity.ipp:149:15: warning: unused variable 'actor' [-Wunused-variable]
149 | for (auto actor: *mnet->actors())
| ^~~~~
r_functions.cpp:3234:21: note: in instantiation of function template specialization 'uu::net::modularity<uu::net::MultilayerNetwork, uu::net::CommunityStructure<uu::net::MultilayerNetwork>>' requested here
3234 | return uu::net::modularity(mnet, communities.get(), omega);
| ^
4 warnings and 4 errors generated.
make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:197: r_functions.o] Error 1
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp2DL06D/R.INSTALL34b3d411de2ef0/multinet/src'
ERROR: compilation failed for package ‘multinet’
* removing ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/multinet’