debian/upstream To fix the situation please do the following: 1) Examine debian/copyright_* and referenced files 2) Update debian/copyright as needed 3) Replace debian/copyright_hints with debian/copyright_newhints touch debian/stamp-copyright-check touch debian/stamp-upstream-cruft node-gyp configure gyp info it worked if it ends with ok gyp info using [email protected] gyp info using [email protected] | linux | x64 gyp info find Python using Python version 3.9.7 found at "/usr/bin/python3" gyp info spawn /usr/bin/python3 gyp info spawn args [ gyp info spawn args '/usr/share/nodejs/node-gyp/gyp/gyp_main.py', gyp info spawn args 'binding.gyp', gyp info spawn args '-f', gyp info spawn args 'make', gyp info spawn args '-I', gyp info spawn args '/tmp/node-stringprep/build/config.gypi', gyp info spawn args '-I', gyp info spawn args '/usr/share/nodejs/node-gyp/addon.gypi', gyp info spawn args '-I', gyp info spawn args '/usr/include/nodejs/common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=/usr/include/nodejs', gyp info spawn args '-Dnode_gyp_dir=/usr/share/nodejs/node-gyp', gyp info spawn args '-Dnode_lib_file=/usr/include/nodejs/<(target_arch)/node.lib', gyp info spawn args '-Dmodule_root_dir=/tmp/node-stringprep', gyp info spawn args '-Dnode_engine=v8', gyp info spawn args '--depth=.', gyp info spawn args '--no-parallel', gyp info spawn args '--generator-output', gyp info spawn args 'build', gyp info spawn args '-Goutput_dir=.' gyp info spawn args ] gyp info ok touch debian/stamp-node-gyp-configure V=1 CC="cc" CXX="g++" CFLAGS="-g -O2 -ffile-prefix-map=/tmp/node-stringprep=. -fstack-protector-strong -Wformat -Werror=format-security" CXXFLAGS="-g -O2 -ffile-prefix-map=/tmp/node-stringprep=. -fstack-protector-strong -Wformat -Werror=format-security" CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-z,relro -Wl,-z,now" \ node-gyp build gyp info it worked if it ends with ok gyp info using [email protected] gyp info using [email protected] | linux | x64 gyp info spawn make gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] make[1] : on entre dans le répertoire « /tmp/node-stringprep/build » g++ -o Release/obj.target/node_stringprep/node-stringprep.o ../node-stringprep.cc '-DNODE_GYP_MODULE_NAME=node_stringprep' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DBUILDING_NODE_EXTENSION' -I/usr/include/nodejs/include/node -I/usr/include/nodejs/src -I/usr/include/nodejs/deps/openssl/config -I/usr/include/nodejs/deps/openssl/openssl/include -I/usr/include/nodejs/deps/uv/include -I/usr/include/nodejs/deps/zlib -I/usr/include/nodejs/deps/v8/include -I../../../usr/share/nodejs/nan -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -fPIC -O3 -fno-omit-frame-pointer -fno-rtti -std=gnu++1y `pkg-config icu-i18n --cflags` -MMD -MF ./Release/.deps/Release/obj.target/node_stringprep/node-stringprep.o.d.raw -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/tmp/node-stringprep=. -fstack-protector-strong -Wformat -Werror=format-security -c ../node-stringprep.cc:20:26: error: ‘Handle’ has not been declared 20 | static void Initialize(Handle<Object> target) | ^~~~~~ ../node-stringprep.cc:20:32: error: expected ‘,’ or ‘...’ before ‘<’ token 20 | static void Initialize(Handle<Object> target) | ^ ../node-stringprep.cc:154:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 154 | throw(UnknownProfileException) | ^~~~~ ../node-stringprep.cc: In static member function ‘static void StringPrep::Initialize(int)’: ../node-stringprep.cc:28:5: error: ‘target’ was not declared in this scope 28 | target->Set(Nan::New<String>("StringPrep").ToLocalChecked(), t->GetFunction()); | ^~~~~~ ../node-stringprep.cc:28:81: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’ 28 | target->Set(Nan::New<String>("StringPrep").ToLocalChecked(), t->GetFunction()); | ^ In file included from /usr/include/nodejs/src/node.h:67, from ../../../usr/share/nodejs/nan/nan.h:56, from ../node-stringprep.cc:1: /usr/include/nodejs/deps/v8/include/v8.h:6126:46: note: candidate: ‘v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)’ 6126 | V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction( | ^~~~~~~~~~~ /usr/include/nodejs/deps/v8/include/v8.h:6126:46: note: candidate expects 1 argument, 0 provided ../node-stringprep.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE StringPrep::New(Nan::NAN_METHOD_ARGS_TYPE)’: ../node-stringprep.cc:48:48: error: no matching function for call to ‘v8::Value::ToString()’ 48 | Nan::Utf8String arg0(info[0]->ToString()); | ^ In file included from /usr/include/nodejs/src/node.h:67, from ../../../usr/share/nodejs/nan/nan.h:56, from ../node-stringprep.cc:1: /usr/include/nodejs/deps/v8/include/v8.h:2668:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’ 2668 | V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString( | ^~~~~~~~ /usr/include/nodejs/deps/v8/include/v8.h:2668:44: note: candidate expects 1 argument, 0 provided In file included from /usr/include/nodejs/deps/v8/include/v8-internal.h:14, from /usr/include/nodejs/deps/v8/include/v8.h:27, from /usr/include/nodejs/src/node.h:67, from ../../../usr/share/nodejs/nan/nan.h:56, from ../node-stringprep.cc:1: /usr/include/nodejs/deps/v8/include/v8.h:2684:31: note: candidate: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’ 2684 | Local<String> ToString(Isolate* isolate) const); | ^~~~~~~~ /usr/include/nodejs/deps/v8/include/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ 328 | declarator __attribute__((deprecated(message))) | ^~~~~~~~~~ /usr/include/nodejs/deps/v8/include/v8.h:2684:31: note: candidate expects 1 argument, 0 provided 2684 | Local<String> ToString(Isolate* isolate) const); | ^~~~~~~~ /usr/include/nodejs/deps/v8/include/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ 328 | declarator __attribute__((deprecated(message))) | ^~~~~~~~~~ ../node-stringprep.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE StringPrep::Prepare(Nan::NAN_METHOD_ARGS_TYPE)’: ../node-stringprep.cc:102:46: error: no matching function for call to ‘v8::Value::ToString()’ 102 | String::Value arg0(info[0]->ToString()); | ^ In file included from /usr/include/nodejs/src/node.h:67, from ../../../usr/share/nodejs/nan/nan.h:56, from ../node-stringprep.cc:1: /usr/include/nodejs/deps/v8/include/v8.h:2668:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’ 2668 | V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString( | ^~~~~~~~ /usr/include/nodejs/deps/v8/include/v8.h:2668:44: note: candidate expects 1 argument, 0 provided In file included from /usr/include/nodejs/deps/v8/include/v8-internal.h:14, from /usr/include/nodejs/deps/v8/include/v8.h:27, from /usr/include/nodejs/src/node.h:67, from ../../../usr/share/nodejs/nan/nan.h:56, from ../node-stringprep.cc:1: /usr/include/nodejs/deps/v8/include/v8.h:2684:31: note: candidate: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’ 2684 | Local<String> ToString(Isolate* isolate) const); | ^~~~~~~~ /usr/include/nodejs/deps/v8/include/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ 328 | declarator __attribute__((deprecated(message))) | ^~~~~~~~~~ /usr/include/nodejs/deps/v8/include/v8.h:2684:31: note: candidate expects 1 argument, 0 provided 2684 | Local<String> ToString(Isolate* isolate) const); | ^~~~~~~~ /usr/include/nodejs/deps/v8/include/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ 328 | declarator __attribute__((deprecated(message))) | ^~~~~~~~~~ ../node-stringprep.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ToUnicode(Nan::NAN_METHOD_ARGS_TYPE)’: ../node-stringprep.cc:196:41: error: no matching function for call to ‘v8::Value::ToString()’ 196 | String::Value str(info[0]->ToString()); | ^ In file included from /usr/include/nodejs/src/node.h:67, from ../../../usr/share/nodejs/nan/nan.h:56, from ../node-stringprep.cc:1: /usr/include/nodejs/deps/v8/include/v8.h:2668:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’ 2668 | V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString( | ^~~~~~~~ /usr/include/nodejs/deps/v8/include/v8.h:2668:44: note: candidate expects 1 argument, 0 provided In file included from /usr/include/nodejs/deps/v8/include/v8-internal.h:14, from /usr/include/nodejs/deps/v8/include/v8.h:27, from /usr/include/nodejs/src/node.h:67, from ../../../usr/share/nodejs/nan/nan.h:56, from ../node-stringprep.cc:1: /usr/include/nodejs/deps/v8/include/v8.h:2684:31: note: candidate: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’ 2684 | Local<String> ToString(Isolate* isolate) const); | ^~~~~~~~ /usr/include/nodejs/deps/v8/include/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ 328 | declarator __attribute__((deprecated(message))) | ^~~~~~~~~~ /usr/include/nodejs/deps/v8/include/v8.h:2684:31: note: candidate expects 1 argument, 0 provided 2684 | Local<String> ToString(Isolate* isolate) const); | ^~~~~~~~ /usr/include/nodejs/deps/v8/include/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ 328 | declarator __attribute__((deprecated(message))) | ^~~~~~~~~~ ../node-stringprep.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ToASCII(Nan::NAN_METHOD_ARGS_TYPE)’: ../node-stringprep.cc:254:41: error: no matching function for call to ‘v8::Value::ToString()’ 254 | String::Value str(info[0]->ToString()); | ^ In file included from /usr/include/nodejs/src/node.h:67, from ../../../usr/share/nodejs/nan/nan.h:56, from ../node-stringprep.cc:1: /usr/include/nodejs/deps/v8/include/v8.h:2668:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’ 2668 | V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString( | ^~~~~~~~ /usr/include/nodejs/deps/v8/include/v8.h:2668:44: note: candidate expects 1 argument, 0 provided In file included from /usr/include/nodejs/deps/v8/include/v8-internal.h:14, from /usr/include/nodejs/deps/v8/include/v8.h:27, from /usr/include/nodejs/src/node.h:67, from ../../../usr/share/nodejs/nan/nan.h:56, from ../node-stringprep.cc:1: /usr/include/nodejs/deps/v8/include/v8.h:2684:31: note: candidate: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’ 2684 | Local<String> ToString(Isolate* isolate) const); | ^~~~~~~~ /usr/include/nodejs/deps/v8/include/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ 328 | declarator __attribute__((deprecated(message))) | ^~~~~~~~~~ /usr/include/nodejs/deps/v8/include/v8.h:2684:31: note: candidate expects 1 argument, 0 provided 2684 | Local<String> ToString(Isolate* isolate) const); | ^~~~~~~~ /usr/include/nodejs/deps/v8/include/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ 328 | declarator __attribute__((deprecated(message))) | ^~~~~~~~~~ ../node-stringprep.cc: In function ‘void init(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’: ../node-stringprep.cc:314:26: error: cannot convert ‘Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE’ {aka ‘v8::Local<v8::Object>’} to ‘int’ 314 | StringPrep::Initialize(target); | ^~~~~~ | | | Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE {aka v8::Local<v8::Object>} ../node-stringprep.cc:20:26: note: initializing argument 1 of ‘static void StringPrep::Initialize(int)’ 20 | static void Initialize(Handle<Object> target) | ^~~~~~ In file included from ../../../usr/share/nodejs/nan/nan.h:56, from ../node-stringprep.cc:1: ../node-stringprep.cc: At global scope: /usr/include/nodejs/src/node.h:736:7: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type] 736 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/nodejs/src/node.h:770:3: note: in expansion of macro ‘NODE_MODULE_X’ 770 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../node-stringprep.cc:319:1: note: in expansion of macro ‘NODE_MODULE’ 319 | NODE_MODULE(node_stringprep, init) | ^~~~~~~~~~~ make[1]: *** [node_stringprep.target.mk:109 : Release/obj.target/node_stringprep/node-stringprep.o] Erreur 1 make[1] : on quitte le répertoire « /tmp/node-stringprep/build »
-- Pkg-javascript-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel
