* installing *source* package ‘V8’ ... ** using staged installation Found C++20 compiler: clang++-18 Using CXXCPP=clang++-18 -std=gnu++20 -E Using PKG_CFLAGS=-I/usr/include/v8 Using PKG_LIBS=-lv8 -lv8_libplatform Running feature test for pointer compression... Pointer compression not needed ** libs using C++ compiler: ‘Debian clang version 18.1.8 (11)’ using C++20 rm -f V8.so RcppExports.o bindings.o clang++-18 -std=gnu++20 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I/usr/include/v8 -DV8_ENABLE_CHECKS -DISNODEJS=11.3.244.8-node.23 -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fvisibility=hidden -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o clang++-18 -std=gnu++20 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I/usr/include/v8 -DV8_ENABLE_CHECKS -DISNODEJS=11.3.244.8-node.23 -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fvisibility=hidden -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c bindings.cpp -o bindings.o bindings.cpp:133:10: error: no matching constructor for initialization of 'v8::ScriptOrigin' 133 | return v8::ScriptOrigin(ToJSString( filename.c_str()), v8::Integer::New(isolate, 0), | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 134 | v8::Integer::New(isolate, 0), v8::False(isolate), v8::Local(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | v8::Local(), v8::False(isolate), v8::False(isolate), v8::True(isolate)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/v8/v8-message.h:64:13: note: candidate constructor not viable: no known conversion from 'v8::Local' to 'Isolate *' for 1st argument 64 | V8_INLINE ScriptOrigin(Isolate* isolate, Local resource_name, | ^ ~~~~~~~~~~~~~~~~ /usr/include/v8/v8-message.h:62:17: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 9 were provided 62 | class V8_EXPORT ScriptOrigin { | ^~~~~~~~~~~~ /usr/include/v8/v8-message.h:62:17: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 9 were provided 62 | class V8_EXPORT ScriptOrigin { | ^~~~~~~~~~~~ bindings.cpp:163:42: error: cannot initialize a parameter of type 'ResolveModuleCallback' (aka 'MaybeLocal (*)(Local, Local, Local, Local)') with an lvalue of type 'v8::MaybeLocal (v8::Local, v8::Local, v8::Local)': different number of parameters (4 vs 3) 163 | if(!module->InstantiateModule(context, ResolveModuleCallback).FromMaybe(false)){ | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/v8/v8-script.h:216:53: note: passing argument to parameter 'callback' here 216 | Local context, ResolveModuleCallback callback); | ^ bindings.cpp:215:51: error: cannot initialize a parameter of type 'HostImportModuleDynamicallyCallback' (aka 'MaybeLocal (*)(Local, Local, Local, Local, Local)') with an lvalue of type 'v8::MaybeLocal (v8::Local, v8::Local, v8::Local, v8::Local)': different number of parameters (5 vs 4) 215 | isolate->SetHostImportModuleDynamicallyCallback(ResolveDynamicModuleCallback); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/v8/v8-isolate.h:645:43: note: passing argument to parameter 'callback' here 645 | HostImportModuleDynamicallyCallback callback); | ^ 3 errors generated. make: *** [/home/hornik/tmp/R-d-clang-18/etc/Makeconf:202: bindings.o] Error 1 ERROR: compilation failed for package ‘V8’ * removing ‘/srv/hornik/tmp/CRAN_pretest/V8.Rcheck/V8’