<86>Nov 26 08:00:01 userdel[1160077]: delete user 'rooter' <86>Nov 26 08:00:01 userdel[1160077]: removed group 'rooter' owned by 'rooter' <86>Nov 26 08:00:01 userdel[1160077]: removed shadow group 'rooter' owned by 'rooter' <86>Nov 26 08:00:01 groupadd[1160097]: group added to /etc/group: name=rooter, GID=1799 <86>Nov 26 08:00:01 groupadd[1160097]: group added to /etc/gshadow: name=rooter <86>Nov 26 08:00:01 groupadd[1160097]: new group: name=rooter, GID=1799 <86>Nov 26 08:00:01 useradd[1160116]: new user: name=rooter, UID=1799, GID=1799, home=/root, shell=/bin/bash, from=none <86>Nov 26 08:00:01 userdel[1160145]: delete user 'builder' <86>Nov 26 08:00:01 userdel[1160145]: removed group 'builder' owned by 'builder' <86>Nov 26 08:00:01 userdel[1160145]: removed shadow group 'builder' owned by 'builder' <86>Nov 26 08:00:01 groupadd[1160171]: group added to /etc/group: name=builder, GID=1800 <86>Nov 26 08:00:01 groupadd[1160171]: group added to /etc/gshadow: name=builder <86>Nov 26 08:00:01 groupadd[1160171]: new group: name=builder, GID=1800 <86>Nov 26 08:00:01 useradd[1160193]: new user: name=builder, UID=1800, GID=1800, home=/usr/src, shell=/bin/bash, from=none /usr/src/in/srpm/node-nan-2.16.0-alt1.src.rpm: license not found in '/usr/share/license' directory: License <13>Nov 26 08:00:04 rpmi: rpm-build-compat-2.2.12-alt1 sisyphus+296907.100.1.1 1647731749 installed <13>Nov 26 08:00:04 rpmi: rpm-build-intro-2.2.12-alt1 sisyphus+296907.100.1.1 1647731749 installed <13>Nov 26 08:00:04 rpmi: rpm-macros-nodejs-0.20.7-alt2 sisyphus+271817.100.1.1 1620976294 installed <13>Nov 26 08:00:06 rpmi: libuv-1.46.0-alt1 sisyphus+326001.100.1.1 1690655254 installed <13>Nov 26 08:00:06 rpmi: libcares-1.19.1-alt1 sisyphus+324326.100.1.1 1688585812 installed <13>Nov 26 08:00:06 rpmi: libbrotlicommon-1.1.0-alt1 sisyphus+328501.100.1.1 1693598419 installed <13>Nov 26 08:00:06 rpmi: libbrotlidec-1.1.0-alt1 sisyphus+328501.100.1.1 1693598419 installed <13>Nov 26 08:00:06 rpmi: libbrotlienc-1.1.0-alt1 sisyphus+328501.100.1.1 1693598419 installed <13>Nov 26 08:00:06 rpmi: libbrotli-devel-1.1.0-alt1 sisyphus+328501.100.1.1 1693598419 installed <13>Nov 26 08:00:06 rpmi: libcares-devel-1.19.1-alt1 sisyphus+324326.100.1.1 1688585812 installed <13>Nov 26 08:00:06 rpmi: libuv-devel-1.46.0-alt1 sisyphus+326001.100.1.1 1690655254 installed <13>Nov 26 08:00:06 rpmi: zlib-devel-1.2.13-alt1 sisyphus+309409.200.2.1 1667402043 installed <13>Nov 26 08:00:06 rpmi: libnghttp2-1.57.0-alt1 sisyphus+331457.200.2.1 1697011702 installed <13>Nov 26 08:00:06 rpmi: libicu74-1:7.4.1-alt1 sisyphus+334471.100.2.1 1700075814 installed <13>Nov 26 08:00:06 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432004 installed <13>Nov 26 08:00:06 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626058413 installed <13>Nov 26 08:00:06 rpmi: libexpat-2.5.0-alt1 sisyphus+309227.100.1.1 1667075764 installed <13>Nov 26 08:00:06 rpmi: libb2-0.98.1-alt1_1 sisyphus+291614.100.1.1 1638962877 installed <13>Nov 26 08:00:06 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Nov 26 08:00:06 rpmi: libstdc++13-devel-13.2.1-alt2 sisyphus+327572.100.1.1 1692472816 installed <13>Nov 26 08:00:07 rpmi: gcc13-c++-13.2.1-alt2 sisyphus+327572.100.1.1 1692472816 installed <13>Nov 26 08:00:07 rpmi: gcc-c++-13-alt1 sisyphus+323337.300.1.1 1687267966 installed <13>Nov 26 08:00:07 rpmi: libp11-kit-1:0.25.3-alt1 sisyphus+334477.100.1.1 1700063190 installed <13>Nov 26 08:00:07 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802615 installed <13>Nov 26 08:00:07 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Nov 26 08:00:07 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Nov 26 08:00:07 rpmi: ca-certificates-2023.07.31-alt1 sisyphus+326137.200.1.1 1690809798 installed <13>Nov 26 08:00:07 rpmi: ca-trust-0.1.4-alt1 sisyphus+308690.100.1.1 1666182992 installed <13>Nov 26 08:00:07 rpmi: p11-kit-trust-1:0.25.3-alt1 sisyphus+334477.100.1.1 1700063190 installed <13>Nov 26 08:00:07 rpmi: libcrypto3-3.1.4-alt1 sisyphus+332632.100.2.1 1698241041 installed <13>Nov 26 08:00:07 rpmi: libssl3-3.1.4-alt1 sisyphus+332632.100.2.1 1698241041 installed <13>Nov 26 08:00:07 rpmi: python3-3.11.6-alt1 sisyphus+331220.100.1.1 1696667994 installed <13>Nov 26 08:00:08 rpmi: python3-base-3.11.6-alt1 sisyphus+331220.100.1.1 1696667994 installed <13>Nov 26 08:00:08 rpmi: python3-module-packaging-23.2-alt1 sisyphus+330805.100.2.1 1696324248 installed <13>Nov 26 08:00:08 rpmi: gyp-0.15.1-alt1 sisyphus+332233.100.1.1 1697794280 installed <13>Nov 26 08:00:08 rpmi: python3-module-py3dephell-0.1.0-alt2 sisyphus+328191.600.5.1 1693609196 installed <13>Nov 26 08:00:08 rpmi: tests-for-installed-python3-pkgs-0.1.24-alt2 sisyphus+331059.100.4.1 1696870033 installed <13>Nov 26 08:00:08 rpmi: rpm-build-python3-0.1.24-alt2 sisyphus+331059.100.4.1 1696870033 installed <13>Nov 26 08:00:08 rpmi: libssl-devel-3.1.4-alt1 sisyphus+332632.100.2.1 1698241041 installed <13>Nov 26 08:00:08 rpmi: openssl-3.1.4-alt1 sisyphus+332632.100.2.1 1698241041 installed <13>Nov 26 08:00:08 rpmi: npm-9.6.7-alt2 sisyphus+326957.100.1.1 1691776916 installed <13>Nov 26 08:00:09 rpmi: node-18.18.2-alt1 sisyphus+334496.1600.2.1 1700148524 installed <13>Nov 26 08:00:09 rpmi: node-devel-18.18.2-alt1 sisyphus+334496.1600.2.1 1700148524 installed <13>Nov 26 08:00:09 rpmi: node-gyp-8.3.0-alt1 sisyphus+292135.200.1.1 1639747730 installed <13>Nov 26 08:00:09 rpmi: rpm-build-nodejs-0.20.7-alt2 sisyphus+271817.100.1.1 1620976294 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/node-nan-2.16.0-alt1.nosrc.rpm (w1.gzdio) Installing node-nan-2.16.0-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.19859 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf node-nan-2.16.0 + echo 'Source #0 (node-nan-2.16.0.tar):' Source #0 (node-nan-2.16.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/node-nan-2.16.0.tar + cd node-nan-2.16.0 + echo 'Source #1 (node-nan-development-2.16.0.tar):' Source #1 (node-nan-development-2.16.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/node-nan-development-2.16.0.tar + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.19859 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd node-nan-2.16.0 + [[ -f binding.gyp ]] + node-gyp rebuild -C test gyp info it worked if it ends with ok gyp info using node-gyp@8.3.0 gyp info using node@18.18.2 | linux | x64 gyp info chdir test gyp info find Python using Python version 3.11.6 found at "/usr/bin/python3" gyp info spawn /usr/bin/python3 gyp info spawn args [ gyp info spawn args '/usr/bin/gyp', 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 '/usr/src/RPM/BUILD/node-nan-2.16.0/test/build/config.gypi', gyp info spawn args '-I', gyp info spawn args '/usr/lib/node_modules/node-gyp/addon.gypi', gyp info spawn args '-I', gyp info spawn args '/usr/include/node/common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=/usr', gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/node-gyp', gyp info spawn args '-Dnode_lib_file=/usr/<(target_arch)/node.lib', gyp info spawn args '-Dmodule_root_dir=/usr/src/RPM/BUILD/node-nan-2.16.0/test', 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 spawn make gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] make: Entering directory '/usr/src/RPM/BUILD/node-nan-2.16.0/test/build' CXX(target) Release/obj.target/accessors/cpp/accessors.o In file included from ../../nan.h:60, from ../cpp/accessors.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/accessors.cpp:167:1: note: in expansion of macro 'NODE_MODULE' 167 | NODE_MODULE(accessors, SetterGetter::Init) | ^~~~~~~~~~~ In file included from /usr/include/string.h:548, from /usr/include/node/v8-internal.h:10, from /usr/include/node/v8-local-handle.h:12, from /usr/include/node/v8-array-buffer.h:12, from /usr/include/node/v8.h:24, from /usr/include/node/node.h:73: In function 'strncat', inlined from 'SetterGetter::SetProp2(v8::Local, v8::Local, Nan::PropertyCallbackInfo const&)' at ../cpp/accessors.cpp:149:10: /usr/include/bits/string_fortified.h:138:34: warning: '__strncat_chk' accessing 1 byte at offsets 24 and 1304 may overlap 1 byte at offset 1304 [-Wrestrict] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'SetterGetter::GetProp2(v8::Local, Nan::PropertyCallbackInfo const&)' at ../cpp/accessors.cpp:122:10: /usr/include/bits/string_fortified.h:138:34: warning: '__strncat_chk' accessing 1 byte at offsets 24 and 1304 may overlap 1 byte at offset 1304 [-Wrestrict] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'SetterGetter::GetProp1(v8::Local, Nan::PropertyCallbackInfo const&)' at ../cpp/accessors.cpp:100:10: /usr/include/bits/string_fortified.h:138:34: warning: '__strncat_chk' accessing 1 byte at offsets 24 and 1048 may overlap 1 byte at offset 1048 [-Wrestrict] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/accessors.node COPY Release/accessors.node CXX(target) Release/obj.target/accessors2/cpp/accessors2.o In file included from ../../nan.h:60, from ../cpp/accessors2.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/accessors2.cpp:165:1: note: in expansion of macro 'NODE_MODULE' 165 | NODE_MODULE(accessors2, SetterGetter::Init) | ^~~~~~~~~~~ In file included from /usr/include/string.h:548, from /usr/include/node/v8-internal.h:10, from /usr/include/node/v8-local-handle.h:12, from /usr/include/node/v8-array-buffer.h:12, from /usr/include/node/v8.h:24, from /usr/include/node/node.h:73: In function 'strncat', inlined from 'SetterGetter::SetProp2(v8::Local, v8::Local, Nan::PropertyCallbackInfo const&)' at ../cpp/accessors2.cpp:147:10: /usr/include/bits/string_fortified.h:138:34: warning: '__strncat_chk' accessing 1 byte at offsets 24 and 1304 may overlap 1 byte at offset 1304 [-Wrestrict] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'SetterGetter::GetProp2(v8::Local, Nan::PropertyCallbackInfo const&)' at ../cpp/accessors2.cpp:120:10: /usr/include/bits/string_fortified.h:138:34: warning: '__strncat_chk' accessing 1 byte at offsets 24 and 1304 may overlap 1 byte at offset 1304 [-Wrestrict] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'SetterGetter::GetProp1(v8::Local, Nan::PropertyCallbackInfo const&)' at ../cpp/accessors2.cpp:98:10: /usr/include/bits/string_fortified.h:138:34: warning: '__strncat_chk' accessing 1 byte at offsets 24 and 1048 may overlap 1 byte at offset 1048 [-Wrestrict] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/accessors2.node COPY Release/accessors2.node CXX(target) Release/obj.target/asyncprogressqueueworker/cpp/asyncprogressqueueworker.o In file included from ../../nan.h:60, from ../cpp/asyncprogressqueueworker.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/asyncprogressqueueworker.cpp:61:1: note: in expansion of macro 'NODE_MODULE' 61 | NODE_MODULE(asyncprogressqueueworker, Init) | ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/asyncprogressqueueworker.node COPY Release/asyncprogressqueueworker.node CXX(target) Release/obj.target/asyncprogressqueueworkerstream/cpp/asyncprogressqueueworkerstream.o In file included from ../../nan.h:60, from ../cpp/asyncprogressqueueworkerstream.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/asyncprogressqueueworkerstream.cpp:80:1: note: in expansion of macro 'NODE_MODULE' 80 | NODE_MODULE(asyncprogressqueueworkerstream, Init) | ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/asyncprogressqueueworkerstream.node COPY Release/asyncprogressqueueworkerstream.node CXX(target) Release/obj.target/asyncprogressworker/cpp/asyncprogressworker.o In file included from ../../nan.h:60, from ../cpp/asyncprogressworker.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/asyncprogressworker.cpp:67:1: note: in expansion of macro 'NODE_MODULE' 67 | NODE_MODULE(asyncprogressworker, Init) | ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/asyncprogressworker.node COPY Release/asyncprogressworker.node CXX(target) Release/obj.target/asyncprogressworkersignal/cpp/asyncprogressworkersignal.o In file included from ../../nan.h:60, from ../cpp/asyncprogressworkersignal.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/asyncprogressworkersignal.cpp:65:1: note: in expansion of macro 'NODE_MODULE' 65 | NODE_MODULE(asyncprogressworkersignal, Init) | ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/asyncprogressworkersignal.node COPY Release/asyncprogressworkersignal.node CXX(target) Release/obj.target/asyncprogressworkerstream/cpp/asyncprogressworkerstream.o In file included from ../../nan.h:60, from ../cpp/asyncprogressworkerstream.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/asyncprogressworkerstream.cpp:87:1: note: in expansion of macro 'NODE_MODULE' 87 | NODE_MODULE(asyncprogressworkerstream, Init) | ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/asyncprogressworkerstream.node COPY Release/asyncprogressworkerstream.node CXX(target) Release/obj.target/asyncresource/cpp/asyncresource.o In file included from ../../nan.h:60, from ../cpp/asyncresource.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/asyncresource.cpp:69:1: note: in expansion of macro 'NODE_MODULE' 69 | NODE_MODULE(asyncresource, Init) | ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/asyncresource.node COPY Release/asyncresource.node CXX(target) Release/obj.target/asyncworker/cpp/asyncworker.o In file included from ../../nan.h:60, from ../cpp/asyncworker.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/asyncworker.cpp:42:1: note: in expansion of macro 'NODE_MODULE' 42 | NODE_MODULE(asyncworker, Init) | ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/asyncworker.node COPY Release/asyncworker.node CXX(target) Release/obj.target/asyncworkererror/cpp/asyncworkererror.o In file included from ../../nan.h:60, from ../cpp/asyncworkererror.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/asyncworkererror.cpp:35:1: note: in expansion of macro 'NODE_MODULE' 35 | NODE_MODULE(asyncworkererror, Init) | ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/asyncworkererror.node COPY Release/asyncworkererror.node CXX(target) Release/obj.target/buffer/cpp/buffer.o In file included from ../../nan.h:60, from ../cpp/buffer.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/buffer.cpp:75:1: note: in expansion of macro 'NODE_MODULE' 75 | NODE_MODULE(buffer, Init) | ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/buffer.node COPY Release/buffer.node CXX(target) Release/obj.target/bufferworkerpersistent/cpp/bufferworkerpersistent.o In file included from ../../nan.h:60, from ../cpp/bufferworkerpersistent.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/bufferworkerpersistent.cpp:67:1: note: in expansion of macro 'NODE_MODULE' 67 | NODE_MODULE(bufferworkerpersistent, Init) | ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/bufferworkerpersistent.node COPY Release/bufferworkerpersistent.node CXX(target) Release/obj.target/callbackcontext/cpp/callbackcontext.o In file included from ../../nan.h:60, from ../cpp/callbackcontext.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/callbackcontext.cpp:66:1: note: in expansion of macro 'NODE_MODULE' 66 | NODE_MODULE(asyncresource, Init) | ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/callbackcontext.node COPY Release/callbackcontext.node CXX(target) Release/obj.target/converters/cpp/converters.o In file included from ../../nan.h:60, from ../cpp/converters.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/converters.cpp:138:1: note: in expansion of macro 'NODE_MODULE' 138 | NODE_MODULE(converters, Init) | ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/converters.node COPY Release/converters.node CXX(target) Release/obj.target/error/cpp/error.o In file included from ../../nan.h:60, from ../cpp/error.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/error.cpp:62:1: note: in expansion of macro 'NODE_MODULE' 62 | NODE_MODULE(error, Init) | ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/error.node COPY Release/error.node CXX(target) Release/obj.target/gc/cpp/gc.o In file included from ../../nan.h:60, from ../cpp/gc.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/gc.cpp:47:1: note: in expansion of macro 'NODE_MODULE' 47 | NODE_MODULE(gc, Init) | ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/gc.node COPY Release/gc.node CXX(target) Release/obj.target/indexedinterceptors/cpp/indexedinterceptors.o In file included from ../../nan.h:60, from ../cpp/indexedinterceptors.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/indexedinterceptors.cpp:121:1: note: in expansion of macro 'NODE_MODULE' 121 | NODE_MODULE(indexedinterceptors, IndexedInterceptor::Init) | ^~~~~~~~~~~ ../cpp/indexedinterceptors.cpp: In function 'IndexedInterceptor::PropertySetter(unsigned int, v8::Local, Nan::PropertyCallbackInfo const&)': ../cpp/indexedinterceptors.cpp:89:17: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 89 | std::strncpy( | ^ SOLINK_MODULE(target) Release/obj.target/indexedinterceptors.node COPY Release/indexedinterceptors.node CXX(target) Release/obj.target/isolatedata/cpp/isolatedata.o In file included from ../../nan.h:60, from ../cpp/isolatedata.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/isolatedata.cpp:38:1: note: in expansion of macro 'NODE_MODULE' 38 | NODE_MODULE(isolatedata, Init) | ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/isolatedata.node COPY Release/isolatedata.node CXX(target) Release/obj.target/makecallback/cpp/makecallback.o In file included from ../../nan.h:60, from ../cpp/makecallback.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/makecallback.cpp:71:1: note: in expansion of macro 'NODE_MODULE' 71 | NODE_MODULE(makecallback, MyObject::Init) | ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/makecallback.node COPY Release/makecallback.node CXX(target) Release/obj.target/maybe/cpp/maybe.o In file included from ../../nan.h:60, from ../cpp/maybe.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/maybe.cpp:39:1: note: in expansion of macro 'NODE_MODULE' 39 | NODE_MODULE(maybe, Init) | ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/maybe.node COPY Release/maybe.node CXX(target) Release/obj.target/methodswithdata/cpp/methodswithdata.o In file included from ../../nan.h:60, from ../cpp/methodswithdata.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/methodswithdata.cpp:194:1: note: in expansion of macro 'NODE_MODULE' 194 | NODE_MODULE(methodswithdata, Init) | ^~~~~~~~~~~ In file included from /usr/include/string.h:548, from /usr/include/node/v8-internal.h:10, from /usr/include/node/v8-local-handle.h:12, from /usr/include/node/v8-array-buffer.h:12, from /usr/include/node/v8.h:24, from /usr/include/node/node.h:73: In function 'strncat', inlined from 'SetterGetter::SetProp2(v8::Local, v8::Local, Nan::PropertyCallbackInfo const&)' at ../cpp/methodswithdata.cpp:139:10: /usr/include/bits/string_fortified.h:138:34: warning: '__strncat_chk' accessing 1 byte at offsets 24 and 1304 may overlap 1 byte at offset 1304 [-Wrestrict] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'SetterGetter::GetProp1(v8::Local, Nan::PropertyCallbackInfo const&)' at ../cpp/methodswithdata.cpp:84:10: /usr/include/bits/string_fortified.h:138:34: warning: '__strncat_chk' accessing 1 byte at offsets 24 and 1048 may overlap 1 byte at offset 1048 [-Wrestrict] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'SetterGetter::GetProp2(v8::Local, Nan::PropertyCallbackInfo const&)' at ../cpp/methodswithdata.cpp:109:10: /usr/include/bits/string_fortified.h:138:34: warning: '__strncat_chk' accessing 1 byte at offsets 24 and 1304 may overlap 1 byte at offset 1304 [-Wrestrict] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/methodswithdata.node COPY Release/methodswithdata.node CXX(target) Release/obj.target/morenews/cpp/morenews.o In file included from ../../nan.h:60, from ../cpp/morenews.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/morenews.cpp:107:1: note: in expansion of macro 'NODE_MODULE' 107 | NODE_MODULE(morenews, Init) | ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/morenews.node COPY Release/morenews.node CXX(target) Release/obj.target/multifile/cpp/multifile1.o In file included from ../../nan.h:60, from ../cpp/multifile1.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/multifile1.cpp:21:1: note: in expansion of macro 'NODE_MODULE' 21 | NODE_MODULE(multifile, Init) | ^~~~~~~~~~~ CXX(target) Release/obj.target/multifile/cpp/multifile2.o SOLINK_MODULE(target) Release/obj.target/multifile.node COPY Release/multifile.node CXX(target) Release/obj.target/namedinterceptors/cpp/namedinterceptors.o In file included from ../../nan.h:60, from ../cpp/namedinterceptors.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/namedinterceptors.cpp:122:1: note: in expansion of macro 'NODE_MODULE' 122 | NODE_MODULE(namedinterceptors, NamedInterceptor::Init) | ^~~~~~~~~~~ ../cpp/namedinterceptors.cpp: In function 'NamedInterceptor::PropertySetter(v8::Local, v8::Local, Nan::PropertyCallbackInfo const&)': ../cpp/namedinterceptors.cpp:89:17: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 89 | std::strncpy( | ^ SOLINK_MODULE(target) Release/obj.target/namedinterceptors.node COPY Release/namedinterceptors.node CXX(target) Release/obj.target/nancallback/cpp/nancallback.o In file included from ../../nan.h:60, from ../cpp/nancallback.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/nancallback.cpp:111:1: note: in expansion of macro 'NODE_MODULE' 111 | NODE_MODULE(nancallback, Init) | ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/nancallback.node COPY Release/nancallback.node CXX(target) Release/obj.target/nannew/cpp/nannew.o In file included from ../../nan.h:60, from ../cpp/nannew.cpp:14: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/nannew.cpp:508:1: note: in expansion of macro 'NODE_MODULE' 508 | NODE_MODULE(nannew, Init) | ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/nannew.node COPY Release/nannew.node CXX(target) Release/obj.target/news/cpp/news.o In file included from ../../nan.h:60, from ../cpp/news.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/news.cpp:287:1: note: in expansion of macro 'NODE_MODULE' 287 | NODE_MODULE(news, Init) | ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/news.node COPY Release/news.node CXX(target) Release/obj.target/objectwraphandle/cpp/objectwraphandle.o In file included from ../../nan.h:60, from ../cpp/objectwraphandle.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/objectwraphandle.cpp:72:1: note: in expansion of macro 'NODE_MODULE' 72 | NODE_MODULE(objectwraphandle, MyObject::Init) | ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/objectwraphandle.node COPY Release/objectwraphandle.node CXX(target) Release/obj.target/parse/cpp/json-parse.o In file included from ../../nan.h:60, from ../cpp/json-parse.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/json-parse.cpp:34:1: note: in expansion of macro 'NODE_MODULE' 34 | NODE_MODULE(parse, Init) | ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/parse.node COPY Release/parse.node CXX(target) Release/obj.target/persistent/cpp/persistent.o ../cpp/persistent.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE ToPersistentAndBackAgain(Nan::NAN_METHOD_ARGS_TYPE)': ../cpp/persistent.cpp:32:9: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class Nan::Persistent' with no trivial copy-assignment [-Wclass-memaccess] 32 | memset(&persistent, -1, sizeof(persistent)); // Clobber it good. | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../nan.h:409, from ../cpp/persistent.cpp:9: ../../nan_persistent_12_inl.h:12:40: note: 'class Nan::Persistent' declared here 12 | template class Persistent : | ^~~~~~~~~~ In file included from ../../nan.h:60: ../cpp/persistent.cpp: At global scope: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/persistent.cpp:93:1: note: in expansion of macro 'NODE_MODULE' 93 | NODE_MODULE(persistent, Init) | ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/persistent.node COPY Release/persistent.node CXX(target) Release/obj.target/private/cpp/private.o In file included from ../../nan.h:60, from ../cpp/private.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/private.cpp:85:1: note: in expansion of macro 'NODE_MODULE' 85 | NODE_MODULE(private, Init) | ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/private.node COPY Release/private.node CXX(target) Release/obj.target/returnemptystring/cpp/returnemptystring.o In file included from ../../nan.h:60, from ../cpp/returnemptystring.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/returnemptystring.cpp:24:1: note: in expansion of macro 'NODE_MODULE' 24 | NODE_MODULE(returnemptystring, Init) | ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/returnemptystring.node COPY Release/returnemptystring.node CXX(target) Release/obj.target/returnnull/cpp/returnnull.o In file included from ../../nan.h:60, from ../cpp/returnnull.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/returnnull.cpp:23:1: note: in expansion of macro 'NODE_MODULE' 23 | NODE_MODULE(returnnull, Init) | ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/returnnull.node COPY Release/returnnull.node CXX(target) Release/obj.target/returnundefined/cpp/returnundefined.o In file included from ../../nan.h:60, from ../cpp/returnundefined.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/returnundefined.cpp:24:1: note: in expansion of macro 'NODE_MODULE' 24 | NODE_MODULE(returnundefined, Init) | ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/returnundefined.node COPY Release/returnundefined.node CXX(target) Release/obj.target/returnvalue/cpp/returnvalue.o In file included from ../../nan.h:60, from ../cpp/returnvalue.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/returnvalue.cpp:58:1: note: in expansion of macro 'NODE_MODULE' 58 | NODE_MODULE(returnvalue, Init) | ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/returnvalue.node COPY Release/returnvalue.node CXX(target) Release/obj.target/setcallhandler/cpp/setcallhandler.o In file included from ../../nan.h:60, from ../cpp/setcallhandler.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/setcallhandler.cpp:45:1: note: in expansion of macro 'NODE_MODULE' 45 | NODE_MODULE(setcallhandler, Init) | ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/setcallhandler.node COPY Release/setcallhandler.node CXX(target) Release/obj.target/settemplate/cpp/settemplate.o In file included from ../../nan.h:60, from ../cpp/settemplate.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/settemplate.cpp:106:1: note: in expansion of macro 'NODE_MODULE' 106 | NODE_MODULE(settemplate, MyObject::Init) | ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/settemplate.node COPY Release/settemplate.node CXX(target) Release/obj.target/stringify/cpp/json-stringify.o In file included from ../../nan.h:60, from ../cpp/json-stringify.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/json-stringify.cpp:72:1: note: in expansion of macro 'NODE_MODULE' 72 | NODE_MODULE(stringify, Init) | ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/stringify.node COPY Release/stringify.node CXX(target) Release/obj.target/strings/cpp/strings.o In file included from ../../nan.h:60, from ../cpp/strings.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/strings.cpp:79:1: note: in expansion of macro 'NODE_MODULE' 79 | NODE_MODULE(strings, Init) | ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/strings.node COPY Release/strings.node CXX(target) Release/obj.target/symbols/cpp/symbols.o In file included from ../../nan.h:60, from ../cpp/symbols.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/symbols.cpp:20:1: note: in expansion of macro 'NODE_MODULE' 20 | NODE_MODULE(symbols, Init) | ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/symbols.node COPY Release/symbols.node CXX(target) Release/obj.target/threadlocal/cpp/threadlocal.o In file included from ../../nan.h:60, from ../cpp/threadlocal.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/threadlocal.cpp:71:1: note: in expansion of macro 'NODE_MODULE' 71 | NODE_MODULE(threadlocal, Init) | ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/threadlocal.node COPY Release/threadlocal.node CXX(target) Release/obj.target/trycatch/cpp/trycatch.o In file included from ../../nan.h:60, from ../cpp/trycatch.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/trycatch.cpp:31:1: note: in expansion of macro 'NODE_MODULE' 31 | NODE_MODULE(trycatch, Init) | ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/trycatch.node COPY Release/trycatch.node CXX(target) Release/obj.target/typedarrays/cpp/typedarrays.o In file included from ../../nan.h:60, from ../cpp/typedarrays.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/typedarrays.cpp:66:1: note: in expansion of macro 'NODE_MODULE' 66 | NODE_MODULE(typedarrays, Init) | ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/typedarrays.node COPY Release/typedarrays.node CXX(target) Release/obj.target/weak/cpp/weak.o In file included from ../../nan.h:60, from ../cpp/weak.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/weak.cpp:62:1: note: in expansion of macro 'NODE_MODULE' 62 | NODE_MODULE(weak, Init) | ^~~~~~~~~~~ In file included from ../../nan.h:2797: ../../nan_weak.h: In instantiation of 'Nan::WeakCallbackInfo

::WeakCallbackInfo(Nan::Persistent*, Callback, void*, void*, void*) [with T = int; Callback = void (*)(const Nan::WeakCallbackInfo&)]': ../../nan_weak.h:264:12: required from 'void Nan::Persistent::SetWeak(P*, typename Nan::WeakCallbackInfo

::Callback, Nan::WeakCallbackType) [with P = int; T = v8::Function; M = v8::NonCopyablePersistentTraits; typename Nan::WeakCallbackInfo

::Callback = void (*)(const Nan::WeakCallbackInfo&); Nan::WeakCallbackType = v8::WeakCallbackType]' ../cpp/weak.cpp:32:21: required from here ../../nan_weak.h:58:16: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class v8::Persistent' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 58 | std::memcpy(&persistent_, persistent, sizeof (v8::Persistent)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/node/v8-object.h:10, from /usr/include/node/v8-array-buffer.h:13, from /usr/include/node/v8.h:24, from /usr/include/node/node.h:73: /usr/include/node/v8-persistent-handle.h:276:7: note: 'class v8::Persistent' declared here 276 | class Persistent : public PersistentBase { | ^~~~~~~~~~ ../../nan_weak.h: In instantiation of 'Nan::WeakCallbackInfo

::WeakCallbackInfo(Nan::Persistent*, Callback, void*, void*, void*) [with T = void; Callback = void (*)(const Nan::WeakCallbackInfo&)]': ../../nan_weak.h:264:12: required from 'void Nan::Persistent::SetWeak(P*, typename Nan::WeakCallbackInfo

::Callback, Nan::WeakCallbackType) [with P = void; T = v8::External; M = v8::NonCopyablePersistentTraits; typename Nan::WeakCallbackInfo

::Callback = void (*)(const Nan::WeakCallbackInfo&); Nan::WeakCallbackType = v8::WeakCallbackType]' ../cpp/weak.cpp:48:19: required from here ../../nan_weak.h:58:16: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class v8::Persistent' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 58 | std::memcpy(&persistent_, persistent, sizeof (v8::Persistent)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/v8-persistent-handle.h:276:7: note: 'class v8::Persistent' declared here 276 | class Persistent : public PersistentBase { | ^~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/weak.node COPY Release/weak.node CXX(target) Release/obj.target/weak2/cpp/weak2.o In file included from ../../nan.h:60, from ../cpp/weak2.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/weak2.cpp:55:1: note: in expansion of macro 'NODE_MODULE' 55 | NODE_MODULE(weak2, Init) | ^~~~~~~~~~~ In file included from ../../nan.h:2797: ../../nan_weak.h: In instantiation of 'Nan::WeakCallbackInfo

::WeakCallbackInfo(Nan::Persistent*, Callback, void*, void*, void*) [with T = int; Callback = void (*)(const Nan::WeakCallbackInfo&)]': ../../nan_weak.h:264:12: required from 'void Nan::Persistent::SetWeak(P*, typename Nan::WeakCallbackInfo

::Callback, Nan::WeakCallbackType) [with P = int; T = v8::Object; M = v8::NonCopyablePersistentTraits; typename Nan::WeakCallbackInfo

::Callback = void (*)(const Nan::WeakCallbackInfo&); Nan::WeakCallbackType = v8::WeakCallbackType]' ../cpp/weak2.cpp:34:21: required from here ../../nan_weak.h:58:16: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class v8::Persistent' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 58 | std::memcpy(&persistent_, persistent, sizeof (v8::Persistent)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/node/v8-object.h:10, from /usr/include/node/v8-array-buffer.h:13, from /usr/include/node/v8.h:24, from /usr/include/node/node.h:73: /usr/include/node/v8-persistent-handle.h:276:7: note: 'class v8::Persistent' declared here 276 | class Persistent : public PersistentBase { | ^~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/weak2.node COPY Release/weak2.node CXX(target) Release/obj.target/wrappedobjectfactory/cpp/wrappedobjectfactory.o In file included from ../../nan.h:60, from ../cpp/wrappedobjectfactory.cpp:9: /usr/include/node/node.h:1014:7: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, void*)'} [-Wcast-function-type] 1014 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/node/node.h:1048:3: note: in expansion of macro 'NODE_MODULE_X' 1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../cpp/wrappedobjectfactory.cpp:137:1: note: in expansion of macro 'NODE_MODULE' 137 | NODE_MODULE(wrappedobjectfactory, Init) | ^~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/wrappedobjectfactory.node COPY Release/wrappedobjectfactory.node make: Leaving directory '/usr/src/RPM/BUILD/node-nan-2.16.0/test/build' gyp info ok + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.6479 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/node-nan-buildroot + : + /bin/rm -rf -- /usr/src/tmp/node-nan-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd node-nan-2.16.0 + set +x Installing ./tools/package.json -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./tools/ Installing ./tools/README.md -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./tools/ Installing ./tools/1to2.js -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./tools/ Installing ./package.json -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./ Installing ./nan_weak.h -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./ Installing ./nan_typedarray_contents.h -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./ Installing ./nan_string_bytes.h -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./ Installing ./nan_scriptorigin.h -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./ Installing ./nan_private.h -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./ Installing ./nan_persistent_pre_12_inl.h -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./ Installing ./nan_persistent_12_inl.h -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./ Installing ./nan_object_wrap.h -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./ Installing ./nan_new.h -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./ Installing ./nan_maybe_pre_43_inl.h -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./ Installing ./nan_maybe_43_inl.h -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./ Installing ./nan_json.h -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./ Installing ./nan_implementation_pre_12_inl.h -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./ Installing ./nan_implementation_12_inl.h -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./ Installing ./nan_define_own_property_helper.h -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./ Installing ./nan_converters_pre_43_inl.h -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./ Installing ./nan_converters_43_inl.h -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./ Installing ./nan_converters.h -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./ Installing ./nan_callbacks_pre_12_inl.h -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./ Installing ./nan_callbacks_12_inl.h -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./ Installing ./nan_callbacks.h -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./ Installing ./nan.h -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./ Installing ./include_dirs.js -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./ Installing ./doc/v8_misc.md -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./doc/ Installing ./doc/v8_internals.md -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./doc/ Installing ./doc/string_bytes.md -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./doc/ Installing ./doc/script.md -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./doc/ Installing ./doc/scopes.md -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./doc/ Installing ./doc/persistent.md -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./doc/ Installing ./doc/object_wrappers.md -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./doc/ Installing ./doc/node_misc.md -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./doc/ Installing ./doc/new.md -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./doc/ Installing ./doc/methods.md -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./doc/ Installing ./doc/maybe_types.md -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./doc/ Installing ./doc/json.md -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./doc/ Installing ./doc/errors.md -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./doc/ Installing ./doc/converters.md -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./doc/ Installing ./doc/callback.md -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./doc/ Installing ./doc/buffers.md -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./doc/ Installing ./doc/asyncworker.md -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./doc/ Installing ./README.md -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./ Installing ./LICENSE.md -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./ Installing ./CHANGELOG.md -> /usr/src/tmp/node-nan-buildroot/usr/lib/node_modules/nan/./ + rm -rf /usr/src/tmp/node-nan-buildroot//usr/lib/node_modules/nan/node_modules/ + rm -rf /usr/src/tmp/node-nan-buildroot//usr/lib/node_modules/nan/tools/ + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/node-nan-buildroot (auto) Verifying and fixing files in /usr/src/tmp/node-nan-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/node-nan-buildroot/ (default) Compressing files in /usr/src/tmp/node-nan-buildroot (auto) Adjusting library links in /usr/src/tmp/node-nan-buildroot ./usr/lib: (from :0) Verifying ELF objects in /usr/src/tmp/node-nan-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .opt-?.pyc files Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.87124 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd node-nan-2.16.0 + npm test > nan@2.16.0 test > tap --gc --stderr test/js/*-test.js ok test/js/accessors-test.js ............................ 8/8 ok test/js/accessors2-test.js ........................... 5/5 ok test/js/asyncprogressqueueworker-test.js ............. 7/7 ok test/js/asyncprogressqueueworkerstream-test.js ....... 2/2 ok test/js/asyncprogressworker-test.js .................. 7/7 ok test/js/asyncprogressworkersignal-test.js ............ 7/7 ok test/js/asyncprogressworkerstream-test.js ............ 2/2 ok test/js/asyncresource-test.js ........................ 8/8 ok test/js/asyncworker-test.js ........................ 10/10 ok test/js/asyncworkererror-test.js ..................... 4/4 ok test/js/buffer-test.js ............................... 9/9 ok test/js/bufferworkerpersistent-test.js ............... 8/8 ok test/js/callbackcontext-test.js ...................... 8/8 ok test/js/converters-test.js ......................... 33/33 ok test/js/error-test.js .............................. 61/61 ok test/js/gc-test.js ................................... 4/4 ok test/js/indexedinterceptors-test.js .................. 6/6 ok test/js/isolatedata-test.js .......................... 3/3 ok test/js/json-parse-test.js ........................... 9/9 ok test/js/json-stringify-test.js ..................... 23/23 ok test/js/makecallback-test.js ......................... 2/2 ok test/js/maybe-test.js ................................ 2/2 ok test/js/methodswithdata-test.js ...................... 9/9 ok test/js/morenews-test.js ........................... 17/17 ok test/js/multifile-test.js ............................ 3/3 ok test/js/namedinterceptors-test.js .................... 6/6 ok test/js/nancallback-test.js ........................ 20/20 ok test/js/nannew-test.js ............................. 95/95 ok test/js/news-test.js ............................... 53/53 ok test/js/objectwraphandle-test.js ................... 10/10 ok test/js/persistent-test.js ......................... 16/16 ok test/js/private-test.js .............................. 9/9 ok test/js/returnemptystring-test.js .................... 4/4 ok test/js/returnnull-test.js ........................... 4/4 ok test/js/returnundefined-test.js ...................... 4/4 ok test/js/returnvalue-test.js ........................ 10/10 ok test/js/setcallhandler-test.js ....................... 5/5 ok test/js/settemplate-test.js ........................ 23/23 ok test/js/strings-test.js .............................. 7/7 ok test/js/symbols-test.js .............................. 3/3 ok test/js/threadlocal-test.js .......................... 8/8 ok test/js/trycatch-test.js ............................. 3/3 ok test/js/typedarrays-test.js ........................ 29/29 ok test/js/weak-test.js ................................. 6/6 ok test/js/weak2-test.js ................................ 4/4 ok test/js/wrappedobjectfactory-test.js ................. 5/5 total ............................................... 581/581 ok + exit 0 Processing files: node-nan-2.16.0-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.37056 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd node-nan-2.16.0 + DOCDIR=/usr/src/tmp/node-nan-buildroot/usr/share/doc/node-nan-2.16.0 + export DOCDIR + rm -rf /usr/src/tmp/node-nan-buildroot/usr/share/doc/node-nan-2.16.0 + /bin/mkdir -p /usr/src/tmp/node-nan-buildroot/usr/share/doc/node-nan-2.16.0 + cp -prL LICENSE.md README.md /usr/src/tmp/node-nan-buildroot/usr/share/doc/node-nan-2.16.0 + chmod -R go-w /usr/src/tmp/node-nan-buildroot/usr/share/doc/node-nan-2.16.0 + chmod -R a+rX /usr/src/tmp/node-nan-buildroot/usr/share/doc/node-nan-2.16.0 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.hOSjxB find-provides: running scripts (alternatives,debuginfo,lib,nodejs,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.a8bPkE find-requires: running scripts (cpp,debuginfo,files,lib,nodejs,nodejs_native,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: npm(nan) = 2.16.0 Requires: nodejs(engine) Wrote: /usr/src/RPM/RPMS/noarch/node-nan-2.16.0-alt1.noarch.rpm (w2.lzdio) 45.81user 8.07system 0:59.71elapsed 90%CPU (0avgtext+0avgdata 183524maxresident)k 0inputs+0outputs (0major+2959676minor)pagefaults 0swaps /.out/node-nan-2.16.0-alt1.noarch.rpm: license not found in '/usr/share/license' directory: License 3.75user 1.54system 1:10.84elapsed 7%CPU (0avgtext+0avgdata 128332maxresident)k 25968inputs+0outputs (0major+282805minor)pagefaults 0swaps