• Bug#1066407: node-opencv: FTBFS: ld: cannot find -lnode: No such file o

    From Lucas Nussbaum@21:1/5 to All on Wed Mar 13 13:10:01 2024
    Source: node-opencv
    Version: 7.0.0+git20200316.f0a03a4b-1
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-20240313 ftbfs-trixie

    Hi,

    During a rebuild of all packages in sid, your package failed to build
    on amd64.


    Relevant part (hopefully):
    cc1plus: note: source object is likely at address zero
    CXX(target) Release/obj.target/opencv/src/FaceRecognizer.o ../src/FaceRecognizer.cc: In static member function ‘static void FaceRecognizerWrap::Init(v8::Local<v8::Object>)’:
    ../src/FaceRecognizer.cc:84:14: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
    84 | target->Set(Nan::GetCurrentContext(), Nan::New("FaceRecognizer").ToLocalChecked(), ctor->GetFunction( Nan::GetCurrentContext() ).ToLocalChecked());
    | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from /usr/include/nodejs/deps/v8/include/v8-array-buffer.h:13,
    from /usr/include/nodejs/deps/v8/include/v8.h:24,
    from ../src/OpenCV.h:18,
    from ../src/FaceRecognizer.cc:1: /usr/include/nodejs/deps/v8/include/v8-object.h:244:37: note: declared here
    244 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
    | ^~~
    ../src/FaceRecognizer.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE FaceRecognizerWrap::PredictSync(Nan::NAN_METHOD_ARGS_TYPE)’:
    ../src/FaceRecognizer.cc:335:11: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
    335 | res->Set(Nan::GetCurrentContext(), Nan::New("id").ToLocalChecked(), Nan::New<Number>(predictedLabel));
    | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /usr/include/nodejs/deps/v8/include/v8-object.h:244:37: note: declared here
    244 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
    | ^~~ ../src/FaceRecognizer.cc:336:11: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
    336 | res->Set(Nan::GetCurrentContext(), Nan::New("confidence").ToLocalChecked(), Nan::New<Number>(confidence));
    | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /usr/include/nodejs/deps/v8/include/v8-object.h:244:37: note: declared here
    244 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
    | ^~~
    ../src/FaceRecognizer.cc: In member function ‘virtual void PredictASyncWorker::HandleOKCallback()’:
    ../src/FaceRecognizer.cc:375:13: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
    375 | res->Set(Nan::GetCurrentContext(), Nan::New("id").ToLocalChecked(), Nan::New<Number>(predictedLabel));
    | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /usr/include/nodejs/deps/v8/include/v8-object.h:244:37: note: declared here
    244 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
    | ^~~ ../src/FaceRecognizer.cc:376:13: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
    376 | res->Set(Nan::GetCurrentContext(), Nan::New("confidence").ToLocalChecked(), Nan::New<Number>(confidence));
    | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /usr/include/nodejs/deps/v8/include/v8-object.h:244:37: note: declared here
    244 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
    | ^~~ ../src/FaceRecognizer.cc:383:19: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
    383 | callback->Call(1, argv);
    | ~~~~~~~~~~~~~~^~~~~~~~~
    In file included from ../src/OpenCV.h:53: ../../../../usr/share/nodejs/nan/nan.h:1748:3: note: declared here
    1748 | Call(int argc, v8::Local<v8::Value> argv[]) const {
    | ^~~~
    CXX(target) Release/obj.target/opencv/src/Features2d.o
    CXX(target) Release/obj.target/opencv/src/BackgroundSubtractor.o ../src/BackgroundSubtractor.cc:11:2: warning: #warning Building with HAVE_OPENCV_BGSEGM [-Wcpp]
    11 | #warning Building with HAVE_OPENCV_BGSEGM
    | ^~~~~~~
    ../src/BackgroundSubtractor.cc: In static member function ‘static void BackgroundSubtractorWrap::Init(v8::Local<v8::Object>)’:
    ../src/BackgroundSubtractor.cc:69:14: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
    69 | target->Set(Nan::GetCurrentContext(), Nan::New("BackgroundSubtractor").ToLocalChecked(), ctor->GetFunction( Nan::GetCurrentContext() ).ToLocalChecked());
    | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from /usr/include/nodejs/deps/v8/include/v8-array-buffer.h:13,
    from /usr/include/nodejs/deps/v8/include/v8.h:24,
    from ../src/OpenCV.h:18,
    from ../src/BackgroundSubtractor.h:1,
    from ../src/BackgroundSubtractor.cc:1: /usr/include/nodejs/deps/v8/include/v8-object.h:244:37: note: declared here
    244 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
    | ^~~ ../src/BackgroundSubtractor.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BackgroundSubtractorWrap::ApplyMOG(Nan::NAN_METHOD_ARGS_TYPE)’:
    ../src/BackgroundSubtractor.cc:245:13: warning: ignoring return value of ‘v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)’, declared with attribute ‘warn_unused_result’ [-
    Wunused-result]
    245 | cb->Call( Nan::GetCurrentContext(), Nan::GetCurrentContext()->Global(), 2, argv);
    | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from /usr/include/nodejs/deps/v8/include/v8.h:33: /usr/include/nodejs/deps/v8/include/v8-function.h:55:43: note: declared here
    55 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
    | ^~~~ ../src/BackgroundSubtractor.cc:252:13: warning: ignoring return value of ‘v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)’, declared with attribute ‘warn_unused_result’ [-
    Wunused-result]
    252 | cb->Call( Nan::GetCurrentContext(), Nan::GetCurrentContext()->Global(), 2, argv);
    | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /usr/include/nodejs/deps/v8/include/v8-function.h:55:43: note: declared here
    55 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
    | ^~~~ ../src/BackgroundSubtractor.cc:293:13: warning: ignoring return value of ‘v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)’, declared with attribute ‘warn_unused_result’ [-
    Wunused-result]
    293 | cb->Call( Nan::GetCurrentContext(), Nan::GetCurrentContext()->Global(), 2, argv);
    | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /usr/include/nodejs/deps/v8/include/v8-function.h:55:43: note: declared here
    55 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
    | ^~~~ ../src/BackgroundSubtractor.cc: In member function ‘virtual void AsyncBackgroundSubtractorWorker::HandleOKCallback()’:
    ../src/BackgroundSubtractor.cc:354:19: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
    354 | callback->Call(2, argv);
    | ~~~~~~~~~~~~~~^~~~~~~~~
    In file included from ../src/OpenCV.h:53: ../../../../usr/share/nodejs/nan/nan.h:1748:3: note: declared here
    1748 | Call(int argc, v8::Local<v8::Value> argv[]) const {
    | ^~~~
    ../src/BackgroundSubtractor.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BackgroundSubtractorWrap::Apply(Nan::NAN_METHOD_ARGS_TYPE)’:
    ../src/BackgroundSubtractor.cc:389:15: warning: ignoring return value of ‘v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)’, declared with attribute ‘warn_unused_result’ [-
    Wunused-result]
    389 | cb->Call( Nan::GetCurrentContext(), Nan::GetCurrentContext()->Global(), 2, argv);
    | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /usr/include/nodejs/deps/v8/include/v8-function.h:55:43: note: declared here
    55 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
    | ^~~~ ../src/BackgroundSubtractor.cc:395:15: warning: ignoring return value of ‘v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)’, declared with attribute ‘warn_unused_result’ [-
    Wunused-result]
    395 | cb->Call( Nan::GetCurrentContext(), Nan::GetCurrentContext()->Global(), 2, argv);
    | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /usr/include/nodejs/deps/v8/include/v8-function.h:55:43: note: declared here
    55 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
    | ^~~~
    CXX(target) Release/obj.target/opencv/src/Constants.o
    ../src/Constants.cc: In static member function ‘static void Constants::Init(v8::Local<v8::Object>)’:
    ../src/Constants.cc:9:11: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
    9 | obj->Set(Nan::GetCurrentContext(), Nan::New<String>(#C).ToLocalChecked(), Nan::New<Integer>(C));
    | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../src/Constants.cc:25:3: note: in expansion of macro ‘CONST’
    25 | CONST(CV_8U);
    | ^~~~~
    In file included from /usr/include/nodejs/deps/v8/include/v8-array-buffer.h:13,
    from /usr/include/nodejs/deps/v8/include/v8.h:24,
    from ../src/OpenCV.h:18,
    from ../src/Constants.cc:1: /usr/include/nodejs/deps/v8/include/v8-object.h:244:37: note: declared here
    244 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
    | ^~~
    ../src/Constants.cc:9:11: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
    9 | obj->Set(Nan::GetCurrentContext(), Nan::New<String>(#C).ToLocalChecked(), Nan::New<Integer>(C));
    | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../src/Constants.cc:26:3: note: in expansion of macro ‘CONST’
    26 | CONST(CV_8S);
    | ^~~~~
    /usr/include/nodejs/deps/v8/include/v8-object.h:244:37: note: declared here
    244 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
    | ^~~
    ../src/Constants.cc:9:11: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
    9 | obj->Set(Nan::GetCurrentContext(), Nan::New<String>(#C).ToLocalChecked(), Nan::New<Integer>(C));
    | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../src/Constants.cc:27:3: note: in expansion of macro ‘CONST’
    27 | CONST(CV_16U);
    | ^~~~~
    /usr/include/nodejs/deps/v8/include/v8-object.h:244:37: note: declared here
    244 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
    | ^~~
    ../src/Constants.cc:9:11: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
    9 | obj->Set(Nan::GetCurrentContext(), Nan::New<String>(#C).ToLocalChecked(), Nan::New<Integer>(C));
    | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../src/Constants.cc:28:3: note: in expansion of macro ‘CONST’
    28 | CONST(CV_16S);
    | ^~~~~
    /usr/include/nodejs/deps/v8/include/v8-object.h:244:37: note: declared here
    244 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
    | ^~~
    ../src/Constants.cc:9:11: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
    9 | obj->Set(Nan::GetCurrentContext(), Nan::New<String>(#C).ToLocalChecked(), Nan::New<Integer>(C));
    | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../src/Constants.cc:29:3: note: in expansion of macro ‘CONST’
    29 | CONST(CV_32S);
    | ^~~~~
    /usr/include/nodejs/deps/v8/include/v8-object.h:244:37: note: declared here
    244 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
    | ^~~
    ../src/Constants.cc:9:11: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
    9 | obj->Set(Nan::GetCurrentContext(), Nan::New<String>(#C).ToLocalChecked(), Nan::New<Integer>(C));
    | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../src/Constants.cc:30:3: note: in expansion of macro ‘CONST’
    30 | CONST(CV_32F);
    | ^~~~~
    /usr/include/nodejs/deps/v8/include/v8-object.h:244:37: note: declared here
    244 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
    | ^~~
    ../src/Constants.cc:9:11: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
    9 | obj->Set(Nan::GetCurrentContext(), Nan::New<String>(#C).ToLocalChecked(), Nan::New<Integer>(C));
    | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../src/Constants.cc:31:3: note: in expansion of macro ‘CONST’
    31 | CONST(CV_64F);
    | ^~~~~
    /usr/include/nodejs/deps/v8/include/v8-object.h:244:37: note: declared here
    244 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
    | ^~~
    ../src/Constants.cc:9:11: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
    9 | obj->Set(Nan::GetCurrentContext(), Nan::New<String>(#C).ToLocalChecked(), Nan::New<Integer>(C));
    | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../src/Constants.cc:36:3: note: in expansion of macro ‘CONST’
    36 | CONST(CV_8UC1);
    | ^~~~~
    /usr/include/nodejs/deps/v8/include/v8-object.h:244:37: note: declared here
    244 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
    | ^~~
    ../src/Constants.cc:9:11: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
    9 | obj->Set(Nan::GetCurrentContext(), Nan::New<String>(#C).ToLocalChecked(), Nan::New<Integer>(C));
    | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../src/Constants.cc:37:3: note: in expansion of macro ‘CONST’
    37 | CONST(CV_8UC2);
    | ^~~~~
    /usr/include/nodejs/deps/v8/include/v8-object.h:244:37: note: declared here
    244 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
    | ^~~
    ../src/Constants.cc:9:11: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
    9 | obj->Set(Nan::GetCurrentContext(), Nan::New<String>(#C).ToLocalChecked(), Nan::New<Integer>(C));
    | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../src/Constants.cc:38:3: note: in expansion of macro ‘CONST’
    38 | CONST(CV_8UC3);
    | ^~~~~
    /usr/include/nodejs/deps/v8/include/v8-object.h:244:37: note: declared here
    244 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
    | ^~~
    ../src/Constants.cc:9:11: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
    9 | obj->Set(Nan::GetCurrentContext(), Nan::New<String>(#C).ToLocalChecked(), Nan::New<Integer>(C));
    | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../src/Constants.cc:39:3: note: in expansion of macro ‘CONST’
    39 | CONST(CV_8UC4);
    | ^~~~~
    /usr/include/nodejs/deps/v8/include/v8-object.h:244:37: note: declared here
    244 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
    | ^~~
    ../src/Constants.cc:9:11: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
    9 | obj->Set(Nan::GetCurrentContext(), Nan::New<String>(#C).ToLocalChecked(), Nan::New<Integer>(C));
    | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../src/Constants.cc:41:3: note: in expansion of macro ‘CONST’
    41 | CONST(CV_8SC1);
    | ^~~~~
    /usr/include/nodejs/deps/v8/include/v8-object.h:244:37: note: declared here
    244 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
    | ^~~
    ../src/Constants.cc:9:11: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
    9 | obj->Set(Nan::GetCurrentContext(), Nan::New<String>(#C).ToLocalChecked(), Nan::New<Integer>(C));
    | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../src/Constants.cc:42:3: note: in expansion of macro ‘CONST’
    42 | CONST(CV_8SC2);
    | ^~~~~
    /usr/include/nodejs/deps/v8/include/v8-object.h:244:37: note: declared here
    244 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
    | ^~~
    ../src/Constants.cc:9:11: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
    9 | obj->Set(Nan::GetCurrentContext(), Nan::New<String>(#C).ToLocalChecked(), Nan::New<Integer>(C));
    | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../src/Constants.cc:43:3: note: in expansion of macro ‘CONST’
    43 | CONST(CV_8SC3);
    | ^~~~~
    /usr/include/nodejs/deps/v8/include/v8-object.h:244:37: note: declared here
    244 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
    | ^~~
    ../src/Constants.cc:9:11: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
    9 | obj->Set(Nan::GetCurrentContext(), Nan::New<String>(#C).ToLocalChecked(), Nan::New<Integer>(C));
    | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../src/Constants.cc:44:3: note: in expansion of macro ‘CONST’
    44 | CONST(CV_8SC4);
    | ^~~~~
    /usr/include/nodejs/deps/v8/include/v8-object.h:244:37: note: declared here
    244 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
    | ^~~
    ../src/Constants.cc:9:11: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
    9 | obj->Set(Nan::GetCurrentContext(), Nan::New<String>(#C).ToLocalChecked(), Nan::New<Integer>(C));
    | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../src/Constants.cc:46:3: note: in expansion of macro ‘CONST’
    46 | CONST(CV_16UC1);
    | ^~~~~
    /usr/include/nodejs/deps/v8/include/v8-object.h:244:37: note: declared here
    244 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
    | ^~~
    ../src/Constants.cc:9:11: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
    9 | obj->Set(Nan::GetCurrentContext(), Nan::New<String>(#C).ToLocalChecked(), Nan::New<Integer>(C));
    | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../src/Constants.cc:47:3: note: in expansion of macro ‘CONST’
    47 | CONST(CV_16UC2);
    | ^~~~~
    /usr/include/nodejs/deps/v8/include/v8-object.h:244:37: note: declared here
    244 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
    | ^~~
    ../src/Constants.cc:9:11: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
    9 | obj->Set(Nan::GetCurrentContext(), Nan::New<String>(#C).ToLocalChecked(), Nan::New<Integer>(C));
    | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../src/Constants.cc:48:3: note: in expansion of macro ‘CONST’
    48 | CONST(CV_16UC3);
    | ^~~~~
    /usr/include/nodejs/deps/v8/include/v8-object.h:244:37: note: declared here
    244 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
    | ^~~
    ../src/Constants.cc:9:11: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
    9 | obj->Set(Nan::GetCurrentContext(), Nan::New<String>(#C).ToLocalChecked(), Nan::New<Integer>(C));
    | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../src/Constants.cc:49:3: note: in expansion of macro ‘CONST’
    49 | CONST(CV_16UC4);
    | ^~~~~
    /usr/include/nodejs/deps/v8/include/v8-object.h:244:37: note: declared here
    244 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
    | ^~~
    ../src/Constants.cc:9:11: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
    9 | obj->Set(Nan::GetCurrentContext(), Nan::New<String>(#C).ToLocalChecked(), Nan::New<Integer>(C));
    | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../src/Constants.cc:51:3: note: in expansion of macro ‘CONST’
    51 | CONST(CV_16SC1);
    | ^~~~~
    /usr/include/nodejs/deps/v8/include/v8-object.h:244:37: note: declared here
    244 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
    | ^~~
    ../src/Constants.cc:9:11: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
    9 | obj->Set(Nan::GetCurrentContext(), Nan::New<String>(#C).ToLocalChecked(), Nan::New<Integer>(C));
    | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../src/Constants.cc:52:3: note: in expansion of macro ‘CONST’
    52 | CONST(CV_16SC2);
    | ^~~~~
    /usr/include/nodejs/deps/v8/include/v8-object.h:244:37: note: declared here
    244 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
    | ^~~
    ../src/Constants.cc:9:11: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
    9 | obj->Set(Nan::GetCurrentContext(), Nan::New<String>(#C).ToLocalChecked(), Nan::New<Integer>(C));
    | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../src/Constants.cc:53:3: note: in expansion of macro ‘CONST’
    53 | CONST(CV_16SC3);
    | ^~~~~
    /usr/include/nodejs/deps/v8/include/v8-object.h:244:37: note: declared here
    244 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
    | ^~~
    ../src/Constants.cc:9:11: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
    9 | obj->Set(Nan::GetCurrentContext(), Nan::New<String>(#C).ToLocalChecked(), Nan::New<Integer>(C));
    | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../src/Constants.cc:54:3: note: in expansion of macro ‘CONST’
    54 | CONST(CV_16SC4);
    | ^~~~~
    /usr/include/nodejs/deps/v8/include/v8-object.h:244:37: note: declared here
    244 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
    | ^~~
    ../src/Constants.cc:9:11: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
    9 | obj->Set(Nan::GetCurrentContext(), Nan::New<String>(#C).ToLocalChecked(), Nan::New<Integer>(C));
    | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../src/Constants.cc:56:3: note: in expansion of macro ‘CONST’
    56 | CONST(CV_32SC1);
    | ^~~~~
    /usr/include/nodejs/deps/v8/include/v8-object.h:244:37: note: declared here
    244 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
    | ^~~
    ../src/Constants.cc:9:11: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
    9 | obj->Set(Nan::GetCurrentContext(), Nan::New<String>(#C).ToLocalChecked(), Nan::New<Integer>(C));
    | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../src/Constants.cc:57:3: note: in expansion of macro ‘CONST’
    57 | CONST(CV_32SC2);
    | ^~~~~
    /usr/include/nodejs/deps/v8/include/v8-object.h:244:37: note: declared here
    244 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
    | ^~~
    ../src/Constants.cc:9:11: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
    9 | obj->Set(Nan::GetCurrentContext(), Nan::New<String>(#C).ToLocalChecked(), Nan::New<Integer>(C));
    | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../src/Constants.cc:58:3: note: in expansion of macro ‘CONST’
    58 | CONST(CV_32SC3);
    | ^~~~~
    /usr/include/nodejs/deps/v8/include/v8-object.h:244:37: note: declared here
    244 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
    | ^~~
    ../src/Constants.cc:9:11: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
    9 | obj->Set(Nan::GetCurrentContext(), Nan::New<String>(#C).ToLocalChecked(), Nan::New<Integer>(C));
    | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../src/Constants.cc:59:3: note: in expansion of macro ‘CONST’
    59 | CONST(CV_32SC4);
    | ^~~~~
    /usr/include/nodejs/deps/v8/include/v8-object.h:244:37: note: declared here
    244 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,

    [continued in next message]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Fri Mar 15 20:20:02 2024
    This is a multi-part message in MIME format...

    Your message dated Fri, 15 Mar 2024 19:10:10 +0000
    with message-id <E1rlCwU-000VrP-IC@fasolo.debian.org>
    and subject line Bug#1066399: fixed in nodejs 18.19.1+dfsg-5
    has caused the Debian Bug report #1066399,
    regarding node-opencv: FTBFS: ld: cannot find -lnode: No such file or directory to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1066399: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066399
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 13 Mar 2024 12:06:26 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-106.2 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
    DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,
    FVGT_m_MULTI_ODD,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,
    UNPARSEABLE_RELAY,USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST
    autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 160; hammy, 150; neutral, 122; spammy,
    0. spammytokens:
    hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
    0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
    0.000-+--H*RT:108, 0.000-+--H*RT:311
    Return-path: <lucas@debian.org>
    Received: from stravinsky.debi