I'm trying to build nodejs on netbsd-6 (from a few weeks ago) i386. On -6, it depends on gcc48 and openssl which built fine. The following error is one example, but with -k it repeats on a massive number of files. => Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for nodejs-4.0.0 /usr/pkg/bin/gmake -C out BUILDTYPE=Release V=1 gmake[1]: Entering directory '/u0/n0/gdt/NetBSD-current/pkgsrc/lang/nodejs/work/node-v4.0.0/out' c++ '-DV8_TARGET_ARCH_IA32' '-DENABLE_DISASSEMBLER' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' -I../deps/v8 -I/usr/pkg/include -Wall -Wextra -Wno-unused-parameter -m32 -msse2 -mfpmath=sse -mmmx -fno-strict-aliasing -I/usr/pkg/include -m32 -O3 -ffunction-sections -fdata-sections -fno-omit-frame-pointer -fdata-sections -ffunction-sections -O3 -fno-rtti -fno-exceptions -std=gnu++0x -MMD -MF /u0/n0/gdt/NetBSD-current/pkgsrc/lang/nodejs/work/node-v4.0.0/out/Release/.deps//u0/n0/gdt/NetBSD-current/pkgsrc/lang/nodejs/work/node-v4.0.0/out/Release/obj.target/v8_base/deps/v8/src/accessors.o.d.raw -O2 -I/usr/pkg/include -I/usr/include -c -o /u0/n0/gdt/NetBSD-current/pkgsrc/lang/nodejs/work/node-v4.0.0/out/Release/obj.target/v8_base/deps/v8/src/accessors.o ../deps/v8/src/accessors.cc In file included from ../deps/v8/src/property.h:14:0, from ../deps/v8/src/objects-inl.h:31, from ../deps/v8/src/v8.h:39, from ../deps/v8/src/accessors.cc:5: ../deps/v8/src/types.h: In static member function 'static bool v8::internal::TypeImpl< <template-parameter-1-1> >::IsInteger(double)': ../deps/v8/src/types.h:593:23: error: there are no arguments to 'nearbyint' that depend on a template parameter, so a declaration of 'nearbyint' must be available [-fpermissive] return nearbyint(x) == x && !i::IsMinusZero(x); // Allows for infinities. ^ ../deps/v8/src/types.h:593:23: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) deps/v8/tools/gyp/v8_base.target.mk:400: recipe for target '/u0/n0/gdt/NetBSD-current/pkgsrc/lang/nodejs/work/node-v4.0.0/out/Release/obj.target/v8_base/deps/v8/src/accessors.o' failed gmake[1]: *** [/u0/n0/gdt/NetBSD-current/pkgsrc/lang/nodejs/work/node-v4.0.0/out/Release/obj.target/v8_base/deps/v8/src/accessors.o] Error 1 gmake[1]: Leaving directory '/u0/n0/gdt/NetBSD-current/pkgsrc/lang/nodejs/work/node-v4.0.0/out' Makefile:45: recipe for target 'node' failed gmake: *** [node] Error 2 *** Error code 2 Stop. make: stopped in /u0/n0/gdt/NetBSD-current/pkgsrc/lang/nodejs *** Error code 1 Stop. make: stopped in /usr/pkgsrc/lang/nodejs
Attachment:
pgplQnTe9GxeV.pgp
Description: PGP signature