===========================================================================
=======================<phase: configure >============================
===> Configuring for postgresql10-plv8js-1.4.8_6
===========================================================================
=======================<phase: build >============================
===> Building for postgresql10-plv8js-1.4.8_6
gmake[1]: Entering directory '/wrkdirs/usr/ports/databases/postgresql-plv8js/work/plv8-1.4.8'
sed -e 's/^#undef PLV8_VERSION/#define PLV8_VERSION "1.4.8"/' plv8_config.h.in > plv8_config.h
c++ -Wall -O2 -std=c++11 -fno-rtti -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include -I/usr/local/include -fPIC -c -o plv8.o plv8.cc
In file included from plv8.cc:8:
In file included from ./plv8.h:12:
In file included from /usr/local/include/v8.h:30:
/usr/local/include/v8-internal.h:506:38: error: no template named 'remove_cv_t' in namespace 'std'; did you mean 'remove_cv'?
!std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
~~~~~^~~~~~~~~~~
remove_cv
/usr/include/c++/v1/type_traits:697:50: note: 'remove_cv' declared here
template <class _Tp> struct _LIBCPP_TEMPLATE_VIS remove_cv
^
In file included from plv8.cc:8:
./plv8.h:86:6: error: no type named 'ExternalArrayType' in namespace 'v8'
v8::ExternalArrayType ext_array;
~~~~^
./plv8.h:174:41: error: no member named 'NewSymbol' in 'v8::String'
context->Global()->Get(v8::String::NewSymbol("plv8")));
~~~~~~~~~~~~^
./plv8.h:180:30: error: too few arguments to function call, expected 2, have 1
v8::External::New(fcinfo));
~~~~~~~~~~~~~~~~~ ^
/usr/local/include/v8.h:6062:3: note: 'New' declared here
static Local<External> New(Isolate* isolate, void* value);
^
In file included from plv8.cc:8:
./plv8.h:211:40: error: no member named 'NewSymbol' in 'v8::String'
context->Global()->Get(v8::String::NewSymbol("plv8")));
~~~~~~~~~~~~^
./plv8.h:217:32: error: too few arguments to function call, expected 2, have 1
v8::External::New(conv));
~~~~~~~~~~~~~~~~~ ^
/usr/local/include/v8.h:6062:3: note: 'New' declared here
static Local<External> New(Isolate* isolate, void* value);
^
In file included from plv8.cc:8:
./plv8.h:219:36: error: too few arguments to function call, expected 2, have 1
v8::External::New(tupstore));
~~~~~~~~~~~~~~~~~ ^
/usr/local/include/v8.h:6062:3: note: 'New' declared here
static Local<External> New(Isolate* isolate, void* value);
^
In file included from plv8.cc:8:
./plv8.h:247:55: error: no type named 'Arguments' in namespace 'v8'
extern v8::Handle<v8::Value> Subtransaction(const v8::Arguments& args) throw();
~~~~^
In file included from plv8.cc:19:
In file included from /usr/local/include/postgresql/server/commands/trigger.h:17:
In file included from /usr/local/include/postgresql/server/nodes/execnodes.h:17:
In file included from /usr/local/include/postgresql/server/access/genam.h:19:
In file included from /usr/local/include/postgresql/server/nodes/tidbitmap.h:26:
In file included from /usr/local/include/postgresql/server/utils/dsa.h:17:
In file included from /usr/local/include/postgresql/server/port/atomics.h:70:
/usr/local/include/postgresql/server/port/atomics/arch-x86.h:143:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register char _res = 1;
^~~~~~~~~
In file included from plv8.cc:19:
In file included from /usr/local/include/postgresql/server/commands/trigger.h:17:
In file included from /usr/local/include/postgresql/server/nodes/execnodes.h:31:
In file included from /usr/local/include/postgresql/server/storage/condition_variable.h:25:
/usr/local/include/postgresql/server/storage/s_lock.h:226:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register slock_t _res = 1;
^~~~~~~~~
plv8.cc:229:14: error: no member named 'Dispose' in 'v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >'
env->recv.Dispose();
~~~~~~~~~ ^
plv8.cc:230:14: error: no member named 'Clear' in 'v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >'
env->recv.Clear();
~~~~~~~~~ ^
plv8.cc:270:15: error: calling a protected constructor of class 'v8::HandleScope'
HandleScope handle_scope;
^
/usr/local/include/v8.h:1233:13: note: declared protected here
V8_INLINE HandleScope() = default;
^
plv8.cc:276:17: error: no matching function for call to 'CreateExecEnv'
proc->xenv = CreateExecEnv(proc->cache->function);
^~~~~~~~~~~~~
plv8.cc:132:23: note: candidate function not viable: no known conversion from 'Persistent<v8::Function>' to 'Handle<v8::Function>' (aka 'Local<v8::Function>') for 1st argument
static plv8_exec_env *CreateExecEnv(Handle<Function> script);
^
plv8.cc:329:17: error: calling a protected constructor of class 'v8::HandleScope'
HandleScope handle_scope;
^
/usr/local/include/v8.h:1233:13: note: declared protected here
V8_INLINE HandleScope() = default;
^
plv8.cc:332:19: error: no viable conversion from 'Persistent<v8::Context>' to 'Handle<v8::Context>' (aka 'Local<v8::Context>')
Handle<Context> global_context = GetGlobalContext();
^ ~~~~~~~~~~~~~~~~~~
/usr/local/include/v8.h:201:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'Persistent<v8::Context>' to 'const v8::Local<v8::Context> &' for 1st argument
class Local {
^
/usr/local/include/v8.h:201:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'Persistent<v8::Context>' to 'v8::Local<v8::Context> &&' for 1st argument
/usr/local/include/v8.h:205:13: note: candidate template ignored: could not match 'Local' against 'Persistent'
V8_INLINE Local(Local<S> that)
^
/usr/local/include/v8.h:349:22: note: explicit constructor is not a candidate
explicit V8_INLINE Local(T* that) : val_(that) {}
^
plv8.cc:373:12: error: no matching constructor for initialization of 'v8::TryCatch'
TryCatch try_catch;
^
/usr/local/include/v8.h:10249:12: note: candidate constructor not viable: requires single argument 'isolate', but no arguments were provided
explicit TryCatch(Isolate* isolate);
^
/usr/local/include/v8.h:10371:3: note: candidate constructor not viable: requires 1 argument, but 0 were provided
TryCatch(const TryCatch&) = delete;
^
plv8.cc:377:58: error: too few arguments to function call, expected 4, have 3
Local<v8::Value> result = fn->Call(receiver, nargs, args);
~~~~~~~~ ^
/usr/local/include/v8.h:4779:3: note: 'Call' declared here
V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
^
/usr/local/include/v8config.h:502:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
^
plv8.cc:393:19: error: no viable conversion from 'Persistent<v8::Context>' to 'Handle<v8::Context>' (aka 'Local<v8::Context>')
Handle<Context> context = xenv->context;
^ ~~~~~~~~~~~~~
/usr/local/include/v8.h:201:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'Persistent<v8::Context>' to 'const v8::Local<v8::Context> &' for 1st argument
class Local {
^
/usr/local/include/v8.h:201:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'Persistent<v8::Context>' to 'v8::Local<v8::Context> &&' for 1st argument
/usr/local/include/v8.h:205:13: note: candidate template ignored: could not match 'Local' against 'Persistent'
V8_INLINE Local(Local<S> that)
^
/usr/local/include/v8.h:349:22: note: explicit constructor is not a candidate
explicit V8_INLINE Local(T* that) : val_(that) {}
^
plv8.cc:421:35: error: member reference type 'Persistent<v8::Object>' is not a pointer; did you mean to use '.'?
Local<Function>::Cast(xenv->recv->GetInternalField(0));
~~~~~~~~~~^~
.
plv8.cc:421:37: error: no member named 'GetInternalField' in 'v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >'
Local<Function>::Cast(xenv->recv->GetInternalField(0));
~~~~~~~~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
2 warnings and 20 errors generated.
gmake[1]: *** [Makefile:68: plv8.o] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/databases/postgresql-plv8js/work/plv8-1.4.8'
*** Error code 1
Stop.
make: stopped in /usr/ports/databases/postgresql-plv8js
=>> Cleaning up wrkdir
===> Cleaning for postgresql10-plv8js-1.4.8_6
build of databases/postgresql-plv8js | postgresql10-plv8js-1.4.8_6 ended at Mon Oct 18 09:41:51 CDT 2021
build time: 00:01:11
!!! build failure encountered !!!