compilation issues for nodejs
Here Be Kittens, with the update that fixes #111 (closed) fails with:
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make[4]: Entering directory '/ssw/projects/cerowrt/turris-build/build/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/node-hashtable-2.0.2/ipkg-install/usr/lib/node_modules/hashtable/build'
ccache_cxx '-DNODE_GYP_MODULE_NAME=native' '-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' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DBUILDING_NODE_EXTENSION' -I/ssw/projects/cerowrt/turris-build/build/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include/node -I/ssw/projects/cerowrt/turris-build/build/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/src -I/ssw/projects/cerowrt/turris-build/build/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/deps/openssl/config -I/ssw/projects/cerowrt/turris-build/build/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/deps/openssl/openssl/include -I/ssw/projects/cerowrt/turris-build/build/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/deps/uv/include -I/ssw/projects/cerowrt/turris-build/build/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/deps/zlib -I/ssw/projects/cerowrt/turris-build/build/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/deps/v8/include -I../node_modules/nan -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -std=c++11 -Wall -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++1y -MMD -MF ./Release/.deps/Release/obj.target/native/src/hashtable.o.d.raw -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -iremap/ssw/projects/cerowrt/turris-build/build/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/node-hashtable-2.0.2:node-hashtable-2.0.2 -Wformat -Werror=format-security -fpic -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wl,-z,now -Wl,-z,relro -fpic -I/ssw/projects/cerowrt/turris-build/build/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include -I/ssw/projects/cerowrt/turris-build/build/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include -I/ssw/projects/cerowrt/turris-build/build/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.5.0_musl_eabi/usr/include -I/ssw/projects/cerowrt/turris-build/build/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.5.0_musl_eabi/include/fortify -I/ssw/projects/cerowrt/turris-build/build/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.5.0_musl_eabi/include -fpic -c -o Release/obj.target/native/src/hashtable.o ../src/hashtable.cpp
In file included from ../src/hashtable.h:15:0,
from ../src/hashtable.cpp:1:
../src/v8_value_hasher.h: In member function 'bool v8_value_equal_to::operator()(CopyablePersistent*, CopyablePersistent*) const':
../src/v8_value_hasher.h:43:24: error: no matching function for call to 'v8::Value::Equals(v8::Local<v8::Value>&)'
if (a->Equals(b)) { /* same as JS == */
^
In file included from /ssw/projects/cerowrt/turris-build/build/staging_dir/target-arm_cortex-
a9+vfpv3_musl_eabi/usr/include/node/node.h:63:0,
from ../src/hashtable.h:13,
from ../src/hashtable.cpp:1:
/ssw/projects/cerowrt/turris-build/build/staging_dir/target-arm_cortex-
9+vfpv3_musl_eabi/usr/include/node/v8.h:2616:37: note: candidate: v8::Maybe<bool>
v8::Value::Equals(v8::Local<v8::Context>, v8::Local<v8::Value>) const V8_WARN_UNUSED_RESULT Maybe<bool>
Equals(Local<Context> context,
... (I'm not blaming #111 (closed) for this, I couldn't get this far before) I run:
./compile_pkgs -t omnia -p hbk -x prepare_tools
cd build
make V=s
because ./generate_medkit usually dies with issues in updater_ng, which I gave up trying to fix, and from my reading of that, I don't need that to work now if I don't care about having patches available. Maybe they are related. I have no personal need for nodejs, I'd just disable it, but other stuff seems to require, and I don't know what yet.