pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/53650: lang/nodejs fails on NetBSD 8



>Number:         53650
>Category:       pkg
>Synopsis:       lang/nodejs fails on NetBSD 8
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 03 19:35:00 +0000 2018
>Originator:     John Klos
>Release:        NetBSD 8.0_STABLE
>Organization:
	
>Environment:
	
	
System: NetBSD hera.zia.io 8.0_STABLE NetBSD 8.0_STABLE (GENERIC-$Revision: 1.375.8.1 $) #0: Mon Oct 1 18:15:07 UTC 2018  john%hera.zia.io@localhost:/usr/obj-alpha/sys/arch/alpha/compile/HERA alpha
Architecture: alpha
Machine: alpha
>Description:
	
lang/nodejs fails on NetBSD 8 on earmv7hf:

  gcc '-DOPENSSL_NO_HW' '-DDSO_DLFCN' '-DHAVE_DLFCN_H' '-DNDEBUG' '-DOPENSSL_THREADS' 
'-DOPENSSL_NO_DYNAMIC_ENGINE' '-DOPENSSL_PIC' '-DOPENSSL_IA32_SSE2' '-DOPENSSL_BN_ASM_MONT' 
'-DOPENSSL_BN_ASM_MONT5' '-DOPENSSL_BN_ASM_GF2m' '-DSHA1_ASM' '-DSHA256_ASM' '-DSHA512_ASM' 
'-DRC4_ASM' '-DMD5_ASM' '-DAES_ASM' '-DVPAES_ASM' '-DBSAES_ASM' '-DGHASH_ASM' 
'-DECP_NISTZ256_ASM' '-DPADLOCK_ASM' '-DPOLY1305_ASM' '-DOPENSSLDIR="/etc/ssl"' 
'-DENGINESDIR="/dev/null"' '-DTERMIOS' -I/usr/local/include -I../deps/openssl/openssl 
-I../deps/openssl/openssl/include -I../deps/openssl/openssl/crypto 
-I../deps/openssl/openssl/crypto/include -I../deps/openssl/openssl/crypto/modes 
-I../deps/openssl/config -I../deps/openssl/config/archs/linux-x86_64/asm 
-I../deps/openssl/config/archs/linux-x86_64/asm/include 
-I../deps/openssl/config/archs/linux-x86_64/asm/crypto 
-I../deps/openssl/config/archs/linux-x86_64/asm/crypto/include/internal  -pthread -Wall 
-Wextra -Wno-unused-parameter -Wall -O3 -pthread -m64 -DL_ENDIAN 
-Wno-missing-field-initializers -Wno-old-style-declaration -O3 -fno-omit-frame-pointer  -MMD 
-MF 
/usr/pkgsrc/lang/nodejs/work/node-v10.11.0/out/Release/.deps//usr/pkgsrc/lang/nodejs/work/node-v10.11.0/out/Release/obj.target/openssl/deps/openssl/openssl/ssl/bio_ssl.o.d.raw 
-I/usr/include -I/usr/local/include -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/include 
-I/usr/local/include -c -o 
/usr/pkgsrc/lang/nodejs/work/node-v10.11.0/out/Release/obj.target/openssl/deps/openssl/openssl/ssl/bio_ssl.o 
../deps/openssl/openssl/ssl/bio_ssl.c
gcc: error: unrecognized command line option '-m64'


NetBSD 8 earmv7hfeb fails with:
../deps/v8/src/base/build_config.h:51:2: error: #error "Host architecture was not detected as supported by v8"
  ^
../deps/v8/src/base/build_config.h:149:2: error: #error Target architecture arm is only supported on arm and ia32 host


NetBSD 8 on alpha and macppc fails with:

  c++ '-DV8_GYP_BUILD' '-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=0' '-DV8_TARGET_ARCH_IA32' 
'-DV8_EMBEDDER_STRING="-node.28"' '-DENABLE_DISASSEMBLER' '-DV8_PROMISE_INTERNAL_FIELD_COUNT' 
'-Dv8_promise_internal_field_count' '-DV8_INTL_SUPPORT' '-DV8_CONCURRENT_MARKING' 
'-DDISABLE_UNTRUSTED_CODE_MITIGATIONS' -I../deps/v8 -I/usr/local/include  -pthread -Wall 
-Wextra -Wno-unused-parameter -m32 -msse2 -mfpmath=sse -mmmx -fno-strict-aliasing 
-I/usr/pkg/include -m32 -fdata-sections -ffunction-sections -O3 -O3 -fno-omit-frame-pointer 
-fno-rtti -fno-exceptions -std=gnu++1y -MMD -MF 
/usr/pkgsrc/lang/nodejs/work/node-v10.11.0/out/Release/.deps//usr/pkgsrc/lang/nodejs/work/node-v10.11.0/out/Release/obj.host/v8_libbase/deps/v8/src/base/bits.o.d.raw   
-c -o 
/usr/pkgsrc/lang/nodejs/work/node-v10.11.0/out/Release/obj.host/v8_libbase/deps/v8/src/base/bits.o 
../deps/v8/src/base/bits.cc
g++: error: unrecognized command line option '-m32'
g++: error: unrecognized command line option '-msse2'
g++: error: unrecognized command line option '-mfpmath=sse'
g++: error: unrecognized command line option '-mmmx'
g++: error: unrecognized command line option '-m32'
gmake[1]: *** [deps/v8/gypfiles/v8_libbase.host.mk:139: 
/usr/pkgsrc/lang/nodejs/work/node-v10.11.0/out/Release/obj.host/v8_libbase/deps/v8/src/base/bits.o] 
Error 1
gmake[1]: *** Waiting for unfinished jobs....
rm 5d05f0daad3540d4c8820fad57e84c2f26f3fbcf.intermediate
gmake: *** [Makefile:99: node] Error 2
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/lang/nodejs
*** Error code 1


 >How-To-Repeat:
	<code/input/activities to reproduce the problem (multiple lines)>
>Fix:
	

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index