[Pkg-javascript-devel] Bug#1008139: FTBFS: fail to build with nodejs >= 14

Yadd yadd at debian.org
Wed Mar 23 08:04:30 GMT 2022


Package: node-evp-bytestokey
Version: 1.0.3-10
Severity: serious
Tags: ftbfs
Justification: FTBFS

Hi,

node-evp-bytestokey fails to build with libnode-dev >= 14. See
https://ci.debian.net/data/autopkgtest/testing/amd64/n/node-evp-bytestokey/20258806/log.gz

------- 8< -------
../test/main.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE md5_key32_iv16(Nan::NAN_METHOD_ARGS_TYPE)’:
../test/main.cc:28:11: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, v8::Local<v8::Object>)’
   28 |   obj->Set(Nan::New<v8::String>("key").ToLocalChecked(), Nan::CopyBuffer((const char*) key, 32).ToLocalChecked());
      |   ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/nodejs/src/node.h:67,
                 from ../test/main.cc:1:
/usr/include/nodejs/deps/v8/include/v8.h:3670:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’
 3670 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
      |                                     ^~~
/usr/include/nodejs/deps/v8/include/v8.h:3670:37: note:   candidate expects 3 arguments, 2 provided
/usr/include/nodejs/deps/v8/include/v8.h:3673:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’
 3673 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
[...]
------- >8 -------


More information about the Pkg-javascript-devel mailing list