pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
nodejs build failure with 32bit abi on illumos
g++ -o /opt/work/lang/nodejs/work/node-v13.3.0/out/Release/obj.target/libnode/src/node_process_object.o ../src/node_process_object.cc '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DNODE_ARCH="ia32"' '-DNODE_WANT_INTERNALS=1' '-DV8_DEPRECATION_WARNINGS=1' '-DNODE_OPENSSL_SYSTEM_CERT_PATH=""' '-DHAVE_INSPECTOR=1' '-DHAVE_DTRACE=1' '-DNODE_REPORT' '-D__POSIX__' '-DNODE_USE_V8_PLATFORM=1' '-DNODE_HAVE_I18N_SUPPORT=1' '-DNODE_PLATFORM="sunos"' '-DHAVE_OPENSSL=1' '-DNGHTTP2_STATICLIB' -I/opt/local/include -I../src -I/opt/work/lang/nodejs/work/node-v13.3.0/out/Release/obj/gen -I/opt/work/lang/nodejs/work/node-v13.3.0/out/Release/obj/gen/include -I/opt/work/lang/nodejs/work/node-v13.3.0/out/Release/obj/gen/src -I../deps/histogram/src -I../deps/uvwasi/include -I../deps/v8/include -I../deps/llhttp/include -I../deps/nghttp2/lib/includes -I../deps/brotli/c/include -I../deps/openssl/openssl/include -Wall -Wextra -Wno-unu
sed-para
meter -Wall -Wextra -Wno-unused-parameter -m32 -pthreads -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++1y -MMD -MF /opt/work/lang/nodejs/work/node-v13.3.0/out/Release/.deps//opt/work/lang/nodejs/work/node-v13.3.0/out/Release/obj.target/libnode/src/node_process_object.o.d.raw -I/usr/include -I/opt/local/include -O2 -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -pthread -I/usr/include -I/opt/local/include -march=i586 -mstackrealign -D_FILE_OFFSET_BITS=64 -c
../src/node_process_object.cc: In function 'void node::GetParentProcessId(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>&)':
../src/node_process_object.cc:68:44: error: call of overloaded 'Set(uv_pid_t)' is ambiguous
info.GetReturnValue().Set(uv_os_getppid());
^
In file included from ../src/util.h:27:0,
from ../src/aliased_buffer.h:7,
from ../src/env-inl.h:27,
from ../src/node_process_object.cc:1:
../deps/v8/include/v8.h:10684:6: note: candidate: void v8::ReturnValue<T>::Set(bool) [with T = v8::Value]
void ReturnValue<T>::Set(bool value) {
^~~~~~~~~~~~~~
../deps/v8/include/v8.h:10655:6: note: candidate: void v8::ReturnValue<T>::Set(double) [with T = v8::Value]
void ReturnValue<T>::Set(double i) {
^~~~~~~~~~~~~~
../deps/v8/include/v8.h:10661:6: note: candidate: void v8::ReturnValue<T>::Set(int32_t) [with T = v8::Value; int32_t = int]
void ReturnValue<T>::Set(int32_t i) {
^~~~~~~~~~~~~~
../deps/v8/include/v8.h:10672:6: note: candidate: void v8::ReturnValue<T>::Set(uint32_t) [with T = v8::Value; uint32_t = unsigned int]
void ReturnValue<T>::Set(uint32_t i) {
^~~~~~~~~~~~~~
gmake[1]: *** [libnode.target.mk:316: /opt/work/lang/nodejs/work/node-v13.3.0/out/Release/obj.target/libnode/src/node_process_object.o] Error 1
rm 8b803c900abf96c6c3af4ce5d25e269f8113a2f6.intermediate be67b3b2318fedb6a78e63f758d71f5bb71cffb0.intermediate 99806c4c0284f6546e6cd541cd8e8491b42858c5.intermediate 230e2bd89d6ffda3aec3619e89e51a23873b5bd1.intermediate
gmake: *** [Makefile:101: node] Error 2
*** Error code 2
Stop.
bmake[1]: stopped in /opt/pkgsrc/lang/nodejs
*** Error code 1
Stop.
bmake: stopped in /opt/pkgsrc/lang/nodejs
========================
pid_t need to be cast to int, pid_t is long on 32bit solaris userspace.
Home |
Main Index |
Thread Index |
Old Index