* installing *source* package ‘phutil’ ... ** this is package ‘phutil’ version ‘0.0.2’ ** package ‘phutil’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘clang version 23.1.0-rc2’ make[1]: Entering directory '/data/localhost/ripley/R/packages/tests-clang-trunk/phutil/src' /usr/local/clang23/bin/clang++ -std=gnu++20 -I"/data/localhost/ripley/R/R-clang-trunk/include" -DNDEBUG -DNO_LEGACY_NONAPI -I'/data/localhost/ripley/R/test-clang/BH/include' -I'/data/localhost/ripley/R/test-clang/cpp11/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c bottleneck.cpp -o bottleneck.o /usr/local/clang23/bin/clang++ -std=gnu++20 -I"/data/localhost/ripley/R/R-clang-trunk/include" -DNDEBUG -DNO_LEGACY_NONAPI -I'/data/localhost/ripley/R/test-clang/BH/include' -I'/data/localhost/ripley/R/test-clang/cpp11/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c cpp11.cpp -o cpp11.o /usr/local/clang23/bin/clang++ -std=gnu++20 -I"/data/localhost/ripley/R/R-clang-trunk/include" -DNDEBUG -DNO_LEGACY_NONAPI -I'/data/localhost/ripley/R/test-clang/BH/include' -I'/data/localhost/ripley/R/test-clang/cpp11/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c diagram_parser.cpp -o diagram_parser.o /usr/local/clang23/bin/clang++ -std=gnu++20 -I"/data/localhost/ripley/R/R-clang-trunk/include" -DNDEBUG -DNO_LEGACY_NONAPI -I'/data/localhost/ripley/R/test-clang/BH/include' -I'/data/localhost/ripley/R/test-clang/cpp11/include' -isystem /usr/local/clang23/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c wasserstein.cpp -o wasserstein.o In file included from wasserstein.cpp:1: In file included from ./hera/wasserstein.h:37: In file included from ./hera/wasserstein/basic_defs_ws.h:48: In file included from ./hera/wasserstein/../common.h:39: ./hera/wasserstein/../common/diagram_point.h:214:47: error: no member named 'fabs' in namespace 'std'; did you mean simply 'fabs'? 214 | result = std::max(result, std::fabs(a[d] - b[d])); | ^~~~~~~~~ | fabs /usr/local/clang23/bin/../include/c++/v1/math.h:474:20: note: 'fabs' declared here 474 | using std::__math::fabs; | ^ In file included from wasserstein.cpp:1: In file included from ./hera/wasserstein.h:37: In file included from ./hera/wasserstein/basic_defs_ws.h:48: In file included from ./hera/wasserstein/../common.h:39: ./hera/wasserstein/../common/diagram_point.h:218:31: error: no member named 'fabs' in namespace 'std'; did you mean simply 'fabs'? 218 | result += std::fabs(a[d] - b[d]); | ^~~~~~~~~ | fabs /usr/local/clang23/bin/../include/c++/v1/math.h:474:20: note: 'fabs' declared here 474 | using std::__math::fabs; | ^ In file included from wasserstein.cpp:1: In file included from ./hera/wasserstein.h:37: In file included from ./hera/wasserstein/basic_defs_ws.h:48: In file included from ./hera/wasserstein/../common.h:39: ./hera/wasserstein/../common/diagram_point.h:223:31: error: no member named 'pow' in namespace 'std'; did you mean simply 'pow'? 223 | result += std::pow(std::fabs(a[d] - b[d]), p); | ^~~~~~~~ | pow /usr/local/clang23/bin/../include/c++/v1/math.h:499:20: note: 'pow' declared here 499 | using std::__math::pow; | ^ In file included from wasserstein.cpp:1: In file included from ./hera/wasserstein.h:37: In file included from ./hera/wasserstein/basic_defs_ws.h:48: In file included from ./hera/wasserstein/../common.h:39: ./hera/wasserstein/../common/diagram_point.h:223:40: error: no member named 'fabs' in namespace 'std'; did you mean simply 'fabs'? 223 | result += std::pow(std::fabs(a[d] - b[d]), p); | ^~~~~~~~~ | fabs /usr/local/clang23/bin/../include/c++/v1/math.h:474:20: note: 'fabs' declared here 474 | using std::__math::fabs; | ^ In file included from wasserstein.cpp:1: In file included from ./hera/wasserstein.h:37: In file included from ./hera/wasserstein/basic_defs_ws.h:48: In file included from ./hera/wasserstein/../common.h:39: ./hera/wasserstein/../common/diagram_point.h:225:26: error: no member named 'pow' in namespace 'std'; did you mean simply 'pow'? 225 | result = std::pow(result, 1.0 / p); | ^~~~~~~~ | pow /usr/local/clang23/bin/../include/c++/v1/math.h:499:20: note: 'pow' declared here 499 | using std::__math::pow; | ^ In file included from wasserstein.cpp:1: In file included from ./hera/wasserstein.h:37: In file included from ./hera/wasserstein/basic_defs_ws.h:48: In file included from ./hera/wasserstein/../common.h:39: ./hera/wasserstein/../common/diagram_point.h:239:35: error: no member named 'fabs' in namespace 'std'; did you mean simply 'fabs'? 239 | result = std::max(std::fabs(a.getRealX() - b.getRealX()), std::fabs(a.getRealY() - b.getRealY())); | ^~~~~~~~~ | fabs /usr/local/clang23/bin/../include/c++/v1/math.h:474:20: note: 'fabs' declared here 474 | using std::__math::fabs; | ^ In file included from wasserstein.cpp:1: In file included from ./hera/wasserstein.h:37: In file included from ./hera/wasserstein/basic_defs_ws.h:48: In file included from ./hera/wasserstein/../common.h:39: ./hera/wasserstein/../common/diagram_point.h:239:75: error: no member named 'fabs' in namespace 'std'; did you mean simply 'fabs'? 239 | result = std::max(std::fabs(a.getRealX() - b.getRealX()), std::fabs(a.getRealY() - b.getRealY())); | ^~~~~~~~~ | fabs /usr/local/clang23/bin/../include/c++/v1/math.h:474:20: note: 'fabs' declared here 474 | using std::__math::fabs; | ^ In file included from wasserstein.cpp:1: In file included from ./hera/wasserstein.h:37: In file included from ./hera/wasserstein/basic_defs_ws.h:48: In file included from ./hera/wasserstein/../common.h:39: ./hera/wasserstein/../common/diagram_point.h:241:26: error: no member named 'fabs' in namespace 'std'; did you mean simply 'fabs'? 241 | result = std::fabs(a.getRealX() - b.getRealX()) + std::fabs(a.getRealY() - b.getRealY()); | ^~~~~~~~~ | fabs /usr/local/clang23/bin/../include/c++/v1/math.h:474:20: note: 'fabs' declared here 474 | using std::__math::fabs; | ^ In file included from wasserstein.cpp:1: In file included from ./hera/wasserstein.h:37: In file included from ./hera/wasserstein/basic_defs_ws.h:48: In file included from ./hera/wasserstein/../common.h:39: ./hera/wasserstein/../common/diagram_point.h:241:67: error: no member named 'fabs' in namespace 'std'; did you mean simply 'fabs'? 241 | result = std::fabs(a.getRealX() - b.getRealX()) + std::fabs(a.getRealY() - b.getRealY()); | ^~~~~~~~~ | fabs /usr/local/clang23/bin/../include/c++/v1/math.h:474:20: note: 'fabs' declared here 474 | using std::__math::fabs; | ^ In file included from wasserstein.cpp:1: In file included from ./hera/wasserstein.h:37: In file included from ./hera/wasserstein/basic_defs_ws.h:48: In file included from ./hera/wasserstein/../common.h:39: ./hera/wasserstein/../common/diagram_point.h:244:26: error: no member named 'pow' in namespace 'std'; did you mean simply 'pow'? 244 | result = std::pow(std::pow(std::fabs(a.getRealX() - b.getRealX()), p) + std::pow(std::fabs(a.getRealY() - b.getRealY()), p), 1.0 / p); | ^~~~~~~~ | pow /usr/local/clang23/bin/../include/c++/v1/math.h:499:20: note: 'pow' declared here 499 | using std::__math::pow; | ^ In file included from wasserstein.cpp:1: In file included from ./hera/wasserstein.h:37: In file included from ./hera/wasserstein/basic_defs_ws.h:48: In file included from ./hera/wasserstein/../common.h:39: ./hera/wasserstein/../common/diagram_point.h:244:35: error: no member named 'pow' in namespace 'std'; did you mean simply 'pow'? 244 | result = std::pow(std::pow(std::fabs(a.getRealX() - b.getRealX()), p) + std::pow(std::fabs(a.getRealY() - b.getRealY()), p), 1.0 / p); | ^~~~~~~~ | pow /usr/local/clang23/bin/../include/c++/v1/math.h:499:20: note: 'pow' declared here 499 | using std::__math::pow; | ^ In file included from wasserstein.cpp:1: In file included from ./hera/wasserstein.h:37: In file included from ./hera/wasserstein/basic_defs_ws.h:48: In file included from ./hera/wasserstein/../common.h:39: ./hera/wasserstein/../common/diagram_point.h:244:44: error: no member named 'fabs' in namespace 'std'; did you mean simply 'fabs'? 244 | result = std::pow(std::pow(std::fabs(a.getRealX() - b.getRealX()), p) + std::pow(std::fabs(a.getRealY() - b.getRealY()), p), 1.0 / p); | ^~~~~~~~~ | fabs /usr/local/clang23/bin/../include/c++/v1/math.h:474:20: note: 'fabs' declared here 474 | using std::__math::fabs; | ^ In file included from wasserstein.cpp:1: In file included from ./hera/wasserstein.h:37: In file included from ./hera/wasserstein/basic_defs_ws.h:48: In file included from ./hera/wasserstein/../common.h:39: ./hera/wasserstein/../common/diagram_point.h:244:89: error: no member named 'pow' in namespace 'std'; did you mean simply 'pow'? 244 | result = std::pow(std::pow(std::fabs(a.getRealX() - b.getRealX()), p) + std::pow(std::fabs(a.getRealY() - b.getRealY()), p), 1.0 / p); | ^~~~~~~~ | pow /usr/local/clang23/bin/../include/c++/v1/math.h:499:20: note: 'pow' declared here 499 | using std::__math::pow; | ^ In file included from wasserstein.cpp:1: In file included from ./hera/wasserstein.h:37: In file included from ./hera/wasserstein/basic_defs_ws.h:48: In file included from ./hera/wasserstein/../common.h:39: ./hera/wasserstein/../common/diagram_point.h:244:98: error: no member named 'fabs' in namespace 'std'; did you mean simply 'fabs'? 244 | result = std::pow(std::pow(std::fabs(a.getRealX() - b.getRealX()), p) + std::pow(std::fabs(a.getRealY() - b.getRealY()), p), 1.0 / p); | ^~~~~~~~~ | fabs /usr/local/clang23/bin/../include/c++/v1/math.h:474:20: note: 'fabs' declared here 474 | using std::__math::fabs; | ^ In file included from wasserstein.cpp:1: In file included from ./hera/wasserstein.h:37: In file included from ./hera/wasserstein/basic_defs_ws.h:48: In file included from ./hera/wasserstein/../common.h:39: ./hera/wasserstein/../common/diagram_point.h:239:40: error: call to function 'fabs' that is neither visible in the template definition nor found by argument-dependent lookup 239 | result = std::max(std::fabs(a.getRealX() - b.getRealX()), std::fabs(a.getRealY() - b.getRealY())); | ^ ./hera/wasserstein/../common/diagram_point.h:253:16: note: in instantiation of member function 'hera::DistImpl>::operator()' requested here 253 | return DistImpl()(a, b, p, dim); | ^ ./hera/wasserstein/../common/diagram_point.h:126:24: note: in instantiation of function template specialization 'hera::dist_lp>' requested here 126 | return dist_lp(*this, a_proj, p, dim); | ^ ./hera/wasserstein.h:333:51: note: in instantiation of member function 'hera::DiagramPoint<>::persistence_lp' requested here 333 | total_cost_A += std::pow(dgm_A.back().persistence_lp(params.internal_p), params.wasserstein_power); | ^ wasserstein.cpp:57:20: note: in instantiation of function template specialization 'hera::wasserstein_cost_detailed>>' requested here 57 | auto res = hera::wasserstein_cost_detailed(diagramA, diagramB, params); | ^ /usr/include/bits/mathcalls.h:216:14: note: 'fabs' should be declared prior to the call site 216 | __MATHCALLX (fabs,, (_Mdouble_ __x), (__const__)); | ^ In file included from wasserstein.cpp:1: In file included from ./hera/wasserstein.h:37: In file included from ./hera/wasserstein/basic_defs_ws.h:48: In file included from ./hera/wasserstein/../common.h:39: ./hera/wasserstein/../common/diagram_point.h:239:80: error: call to function 'fabs' that is neither visible in the template definition nor found by argument-dependent lookup 239 | result = std::max(std::fabs(a.getRealX() - b.getRealX()), std::fabs(a.getRealY() - b.getRealY())); | ^ /usr/include/bits/mathcalls.h:216:14: note: 'fabs' should be declared prior to the call site 216 | __MATHCALLX (fabs,, (_Mdouble_ __x), (__const__)); | ^ In file included from wasserstein.cpp:1: In file included from ./hera/wasserstein.h:37: In file included from ./hera/wasserstein/basic_defs_ws.h:48: In file included from ./hera/wasserstein/../common.h:39: ./hera/wasserstein/../common/diagram_point.h:241:31: error: call to function 'fabs' that is neither visible in the template definition nor found by argument-dependent lookup 241 | result = std::fabs(a.getRealX() - b.getRealX()) + std::fabs(a.getRealY() - b.getRealY()); | ^ /usr/include/bits/mathcalls.h:216:14: note: 'fabs' should be declared prior to the call site 216 | __MATHCALLX (fabs,, (_Mdouble_ __x), (__const__)); | ^ In file included from wasserstein.cpp:1: In file included from ./hera/wasserstein.h:37: In file included from ./hera/wasserstein/basic_defs_ws.h:48: In file included from ./hera/wasserstein/../common.h:39: ./hera/wasserstein/../common/diagram_point.h:241:72: error: call to function 'fabs' that is neither visible in the template definition nor found by argument-dependent lookup 241 | result = std::fabs(a.getRealX() - b.getRealX()) + std::fabs(a.getRealY() - b.getRealY()); | ^ /usr/include/bits/mathcalls.h:216:14: note: 'fabs' should be declared prior to the call site 216 | __MATHCALLX (fabs,, (_Mdouble_ __x), (__const__)); | ^ In file included from wasserstein.cpp:1: In file included from ./hera/wasserstein.h:37: In file included from ./hera/wasserstein/basic_defs_ws.h:48: In file included from ./hera/wasserstein/../common.h:39: ./hera/wasserstein/../common/diagram_point.h:244:49: error: call to function 'fabs' that is neither visible in the template definition nor found by argument-dependent lookup 244 | result = std::pow(std::pow(std::fabs(a.getRealX() - b.getRealX()), p) + std::pow(std::fabs(a.getRealY() - b.getRealY()), p), 1.0 / p); | ^ /usr/include/bits/mathcalls.h:216:14: note: 'fabs' should be declared prior to the call site 216 | __MATHCALLX (fabs,, (_Mdouble_ __x), (__const__)); | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[1]: *** [/data/localhost/ripley/R/R-clang-trunk/etc/Makeconf:197: wasserstein.o] Error 1 make[1]: Target 'all' not remade because of errors. make[1]: Leaving directory '/data/localhost/ripley/R/packages/tests-clang-trunk/phutil/src' ERROR: compilation failed for package ‘phutil’ * removing ‘/data/localhost/ripley/R/packages/tests-clang-trunk/phutil.Rcheck/phutil’