* installing *source* package ‘growfunctions’ ... ** this is package ‘growfunctions’ version ‘0.17’ ** package ‘growfunctions’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: ‘gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)’ using C++ compiler: ‘g++ (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)’ make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-CXX20/growfunctions/src' g++ -std=gnu++20 -I"/data/gannet/ripley/R/cxx20/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c dpmix.cpp -o dpmix.o g++ -std=gnu++20 -I"/data/gannet/ripley/R/cxx20/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c dpmix_count.cpp -o dpmix_count.o g++ -std=gnu++20 -I"/data/gannet/ripley/R/cxx20/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c dpmix_moves.cpp -o dpmix_moves.o g++ -std=gnu++20 -I"/data/gannet/ripley/R/cxx20/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c gen_bb.cpp -o gen_bb.o gen_bb.cpp: In function ‘SEXPREC* predict_gmrf_bb(SEXP, SEXP, SEXP)’: gen_bb.cpp:480:68: error: reference to ‘span’ is ambiguous 480 | Qstar_tete_p(m,k) = Qstar_p(m,k).submat(span(T_train,(T_tot-1)), | ^~~~ In file included from /usr/include/c++/15/format:51, from /usr/include/c++/15/bits/chrono_io.h:41, from /usr/include/c++/15/chrono:3378, from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo:53, from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo.h:32, from growfunctions.h:11, from gen_bb.cpp:1: /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ In file included from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo:155: /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ gen_bb.cpp:481:56: error: reference to ‘span’ is ambiguous 481 | span(T_train,(T_tot-1))); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ gen_bb.cpp:482:68: error: reference to ‘span’ is ambiguous 482 | Qstar_tetr_p(m,k) = Qstar_p(m,k).submat(span(T_train,(T_tot-1)), | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ gen_bb.cpp:483:56: error: reference to ‘span’ is ambiguous 483 | span(0,(T_train-1))); | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ make[1]: *** [/data/gannet/ripley/R/cxx20/etc/Makeconf:201: gen_bb.o] Error 1 g++ -std=gnu++20 -I"/data/gannet/ripley/R/cxx20/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c gp.cpp -o gp.o g++ -std=gnu++20 -I"/data/gannet/ripley/R/cxx20/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c gpbfix.cpp -o gpbfix.o g++ -std=gnu++20 -I"/data/gannet/ripley/R/cxx20/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c gpdpbmix.cpp -o gpdpbmix.o g++ -std=gnu++20 -I"/data/gannet/ripley/R/cxx20/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c gpdpmix.cpp -o gpdpmix.o g++ -std=gnu++20 -I"/data/gannet/ripley/R/cxx20/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c gpdpmix_moves.cpp -o gpdpmix_moves.o gpdpmix_moves.cpp: In function ‘arma::mat update_w(const arma::mat&, double)’: gpdpmix_moves.cpp:1407:19: error: reference to ‘span’ is ambiguous 1407 | w_tot.submat(span(0,(P-1)),span::all) = wpm; | ^~~~ In file included from /usr/include/c++/15/format:51, from /usr/include/c++/15/bits/chrono_io.h:41, from /usr/include/c++/15/chrono:3378, from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo:53, from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57, from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo.h:32, from growfunctions.h:11, from gpdpmix_moves.cpp:1: /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ In file included from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo:155: /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ gpdpmix_moves.cpp:1407:33: error: reference to ‘span’ is ambiguous 1407 | w_tot.submat(span(0,(P-1)),span::all) = wpm; | ^~~~ /usr/include/c++/15/span:60:11: note: candidates are: ‘template class std::span’ 60 | class span; | ^~~~ /data/gannet/ripley/R/test-dev/RcppArmadillo/include/current/armadillo_bits/span.hpp:38:8: note: ‘struct arma::span’ 38 | struct span : public span_base<> | ^~~~ make[1]: *** [/data/gannet/ripley/R/cxx20/etc/Makeconf:201: gpdpmix_moves.o] Error 1 g++ -std=gnu++20 -I"/data/gannet/ripley/R/cxx20/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c gpfix.cpp -o gpfix.o gcc -I"/data/gannet/ripley/R/cxx20/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes -c growfunctions_init.c -o growfunctions_init.o g++ -std=gnu++20 -I"/data/gannet/ripley/R/cxx20/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c lsqcluster_cpp.cpp -o lsqcluster_cpp.o g++ -std=gnu++20 -I"/data/gannet/ripley/R/cxx20/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c sppmcarmix_moves.cpp -o sppmcarmix_moves.o g++ -std=gnu++20 -I"/data/gannet/ripley/R/cxx20/include" -DNDEBUG -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c utility.cpp -o utility.o make[1]: Target 'all' not remade because of errors. make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-CXX20/growfunctions/src' ERROR: compilation failed for package ‘growfunctions’ * removing ‘/data/gannet/ripley/R/packages/tests-CXX20/growfunctions.Rcheck/growfunctions’