Dear experts,
I tried updating O2 and QC on ubuntu 18.04 today using
aliBuild build -w sw/ O2Suite --defaults o2
but it fails at Infologger@v1.3.7 with some incorrect function calls. The first of several errors is the following:
[ 78%] Building CXX object CMakeFiles/infoLoggerServer.dir/src/ConfigInfoLoggerServer.cxx.o
/home/tklemenz/AliSoftware/sw/SOURCES/InfoLogger/v1.3.7/v1.3.7/src/infoLoggerJAVASCRIPT_wrap.cxx: In function 'int SWIG_V8_GetInstancePtr(v8::Handle<v8::Value>, void**)':
/home/tklemenz/AliSoftware/sw/SOURCES/InfoLogger/v1.3.7/v1.3.7/src/infoLoggerJAVASCRIPT_wrap.cxx:1113:52: error: no matching function for call to 'v8::Value::ToObject()'
v8::Handle<v8::Object> objRef = valRef->ToObject();
^
In file included from /home/tklemenz/AliSoftware/sw/SOURCES/InfoLogger/v1.3.7/v1.3.7/src/infoLoggerJAVASCRIPT_wrap.cxx:202:0:
/usr/include/node/v8.h:2576:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
^~~~~~~~
/usr/include/node/v8.h:2576:44: note: candidate expects 1 argument, 0 provided
In file included from /usr/include/node/v8-internal.h:14:0,
from /usr/include/node/v8.h:25,
from /home/tklemenz/AliSoftware/sw/SOURCES/InfoLogger/v1.3.7/v1.3.7/src/infoLoggerJAVASCRIPT_wrap.cxx:202:
/usr/include/node/v8.h:2590:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
Local<Object> ToObject(Isolate* isolate) const);
^
/usr/include/node/v8config.h:318:44: note: in definition of macro 'V8_DEPRECATED'
#define V8_DEPRECATED(message, declarator) declarator
^~~~~~~~~~
/usr/include/node/v8.h:2590:31: note: candidate expects 1 argument, 0 provided
Local<Object> ToObject(Isolate* isolate) const);
^
/usr/include/node/v8config.h:318:44: note: in definition of macro 'V8_DEPRECATED'
#define V8_DEPRECATED(message, declarator) declarator
^~~~~~~~~~
At first this looked to me like a typical “forgot to update alidist” problem but alidist, O2 and QC are at the latest dev (O2) and master (alidist and QC) commit.
I am wondering if I am missing some packages on my system because of these lines in the log:
-- Could NOT find TCL (missing: TCL_INCLUDE_PATH)
-- Could NOT find TCLTK (missing: TCL_INCLUDE_PATH TK_INCLUDE_PATH)
-- Could NOT find TK (missing: TK_INCLUDE_PATH)
The full log can be found here.
Thanks for your help!
Cheers,
Thomas