pkgsrc-Bugs archive

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

Re: pkg/53331 (lang/nodejs fails to build on NetBSD/evbarm)



The following reply was made to PR pkg/53331; it has been noted by GNATS.

From: John Klos <john.d%deadoralive.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: fhajny%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
        tsutsui%NetBSD.org@localhost
Subject: Re: pkg/53331 (lang/nodejs fails to build on NetBSD/evbarm)
Date: Sun, 24 Mar 2019 15:14:39 +0000 (UTC)

 > Synopsis: lang/nodejs fails to build on NetBSD/evbarm
 > http://mail-index.netbsd.org/pkgsrc-changes/2019/02/24/msg187991.html
 
 That works fine on aarch64 and on earmv7hf, but on sparc64, alpha (also 
 gives "unrecognized -m32") and powerpc, it fails with:
 
 
 /usr/local/bin/gmake -C out BUILDTYPE=Release V=1
    c++ -o 
 /usr/pkgsrc/lang/nodejs/work/node-v10.15.3/out/Release/obj.host/v8_libbase/deps/v8/src/base/bits.o 
 ../deps/v8/src/base/bits.cc '-DV8_GYP_BUILD' 
 '-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=0' '-DV8_TARGET_ARCH_IA32' 
 '-DV8_EMBEDDER_STRING="-node.51"' '-DENABLE_DISASSEMBLER' 
 '-DV8_PROMISE_INTERNAL_FIELD_COUNT=1' '-DV8_INTL_SUPPORT' 
 '-DV8_CONCURRENT_MARKING' '-DDISABLE_UNTRUSTED_CODE_MITIGATIONS' 
 -I/usr/local/include -I../deps/v8  -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.15.3/out/Release/.deps//usr/pkgsrc/lang/nodejs/work/node-v10.15.3/out/Release/obj.host/v8_libbase/deps/v8/src/base/bits.o.d.raw   -c
 g++: error: unrecognized command line option '-msse2'
 g++: error: unrecognized command line option '-mfpmath=sse'
 g++: error: unrecognized command line option '-mmmx'
 gmake[1]: *** [deps/v8/gypfiles/v8_libbase.host.mk:137: 
 /usr/pkgsrc/lang/nodejs/work/node-v10.15.3/out/Release/obj.host/v8_libbase/deps/v8/src/base/bits.o] 
 Error 1
 gmake: *** [Makefile:99: node] Error 2
 *** Error code 2
 
 
 mips64eb gives:
 
 In file included from ../deps/v8/src/base/format-macros.h:27:0,
                   from ../deps/v8/src/base/macros.h:11,
                   from ../deps/v8/src/base/bits.h:12,
                   from ../deps/v8/src/base/bits.cc:5:
 ../deps/v8/src/base/build_config.h:155:2: error: #error Target 
 architecture mips is only supported on mips and ia32 host
   #error Target architecture mips is only supported on mips and ia32 host
    ^
 gmake[1]: *** [deps/v8/gypfiles/v8_libbase.host.mk:137: 
 /usr/pkgsrc/lang/nodejs/work/node-v10.15.3/out/Release/obj.host/v8_libbase/deps/v8/src/base/bits.o] 
 Error 1
 
 
 
 
 On earm, it fails with:
 
 In file included from 
 ../deps/v8/third_party/antlr4/runtime/Cpp/runtime/src/./antlr4-runtime.h:12:0,
                   from ../deps/v8/src/torque/TorqueBaseVisitor.h:11,
                   from ../deps/v8/src/torque/TorqueBaseVisitor.cpp:7:
 ../deps/v8/third_party/antlr4/runtime/Cpp/runtime/src/./ANTLRErrorListener.h:52:57: 
 error: 'std::exception_ptr' has not been declared
                              const std::string& msg, std::exception_ptr e) 
 = 0;
                                                           ^
 In file included from 
 ../deps/v8/third_party/antlr4/runtime/Cpp/runtime/src/./antlr4-runtime.h:13:0,
                   from ../deps/v8/src/torque/TorqueBaseVisitor.h:11,
                   from ../deps/v8/src/torque/TorqueBaseVisitor.cpp:7:
 ../deps/v8/third_party/antlr4/runtime/Cpp/runtime/src/./ANTLRErrorStrategy.h:69:49: 
 error: 'std::exception_ptr' has not been declared
     virtual void recover(Parser* recognizer, std::exception_ptr e) = 0;
                                                   ^
 In file included from 
 ../deps/v8/third_party/antlr4/runtime/Cpp/runtime/src/./BailErrorStrategy.h:8:0,
                   from 
 ../deps/v8/third_party/antlr4/runtime/Cpp/runtime/src/./antlr4-runtime.h:16,
                   from ../deps/v8/src/torque/TorqueBaseVisitor.h:11,
                   from ../deps/v8/src/torque/TorqueBaseVisitor.cpp:7:
 ../deps/v8/third_party/antlr4/runtime/Cpp/runtime/src/./DefaultErrorStrategy.h:113:49: 
 error: 'std::exception_ptr' has not been declared
     virtual void recover(Parser* recognizer, std::exception_ptr e) 
 override;
                                                   ^
 In file included from 
 ../deps/v8/third_party/antlr4/runtime/Cpp/runtime/src/./antlr4-runtime.h:16:0,
                   from ../deps/v8/src/torque/TorqueBaseVisitor.h:11,
                   from ../deps/v8/src/torque/TorqueBaseVisitor.cpp:7:
 ../deps/v8/third_party/antlr4/runtime/Cpp/runtime/src/./BailErrorStrategy.h:48:49: 
 error: 'std::exception_ptr' has not been declared
     virtual void recover(Parser* recognizer, std::exception_ptr e) 
 override;
                                                   ^
 In file included from 
 ../deps/v8/third_party/antlr4/runtime/Cpp/runtime/src/./antlr4-runtime.h:17:0,
                   from ../deps/v8/src/torque/TorqueBaseVisitor.h:11,
                   from ../deps/v8/src/torque/TorqueBaseVisitor.cpp:7:
 ../deps/v8/third_party/antlr4/runtime/Cpp/runtime/src/./BaseErrorListener.h:25:33: 
 error: 'std::exception_ptr' has not been declared
                              std::exception_ptr e) override;
                                   ^
 In file included from 
 ../deps/v8/third_party/antlr4/runtime/Cpp/runtime/src/./antlr4-runtime.h:23:0,
                   from ../deps/v8/src/torque/TorqueBaseVisitor.h:11,
                   from ../deps/v8/src/torque/TorqueBaseVisitor.cpp:7:
 ../deps/v8/third_party/antlr4/runtime/Cpp/runtime/src/./ConsoleErrorListener.h:34:33: 
 error: 'std::exception_ptr' has not been declared
                              std::exception_ptr e) override;
                                   ^
 In file included from 
 ../deps/v8/third_party/antlr4/runtime/Cpp/runtime/src/./ParserRuleContext.h:9:0,
                   from 
 ../deps/v8/third_party/antlr4/runtime/Cpp/runtime/src/./InterpreterRuleContext.h:8,
                   from 
 ../deps/v8/third_party/antlr4/runtime/Cpp/runtime/src/./antlr4-runtime.h:30,
                   from ../deps/v8/src/torque/TorqueBaseVisitor.h:11,
                   from ../deps/v8/src/torque/TorqueBaseVisitor.cpp:7:
 ../deps/v8/third_party/antlr4/runtime/Cpp/runtime/src/./support/CPPUtils.h:68:18: 
 error: 'exception_ptr' is not a member of 'std'
   std::string what(std::exception_ptr eptr = std::current_exception());
                    ^
 In file included from 
 ../deps/v8/third_party/antlr4/runtime/Cpp/runtime/src/./InterpreterRuleContext.h:8:0,
                   from 
 ../deps/v8/third_party/antlr4/runtime/Cpp/runtime/src/./antlr4-runtime.h:30,
                   from ../deps/v8/src/torque/TorqueBaseVisitor.h:11,
                   from ../deps/v8/src/torque/TorqueBaseVisitor.cpp:7:
 ../deps/v8/third_party/antlr4/runtime/Cpp/runtime/src/./ParserRuleContext.h:66:8: 
 error: 'exception_ptr' in namespace 'std' does not name a type
     std::exception_ptr exception;
          ^
 In file included from 
 ../deps/v8/third_party/antlr4/runtime/Cpp/runtime/src/./Recognizer.h:8:0,
                   from 
 ../deps/v8/third_party/antlr4/runtime/Cpp/runtime/src/./Lexer.h:9,
                   from 
 ../deps/v8/third_party/antlr4/runtime/Cpp/runtime/src/./antlr4-runtime.h:31,
                   from ../deps/v8/src/torque/TorqueBaseVisitor.h:11,
                   from ../deps/v8/src/torque/TorqueBaseVisitor.cpp:7:
 ../deps/v8/third_party/antlr4/runtime/Cpp/runtime/src/./ProxyErrorListener.h:27:25: 
 error: 'std::exception_ptr' has not been declared
                      std::exception_ptr e) override;
                           ^
 In file included from 
 ../deps/v8/third_party/antlr4/runtime/Cpp/runtime/src/./antlr4-runtime.h:36:0,
                   from ../deps/v8/src/torque/TorqueBaseVisitor.h:11,
                   from ../deps/v8/src/torque/TorqueBaseVisitor.cpp:7:
 ../deps/v8/third_party/antlr4/runtime/Cpp/runtime/src/./Parser.h:258:42: 
 error: 'std::exception_ptr' has not been declared
                                       std::exception_ptr e);
                                            ^
 In file included from 
 ../deps/v8/third_party/antlr4/runtime/Cpp/runtime/src/./antlr4-runtime.h:158:0,
                   from ../deps/v8/src/torque/TorqueBaseVisitor.h:11,
                   from ../deps/v8/src/torque/TorqueBaseVisitor.cpp:7:
 ../deps/v8/third_party/antlr4/runtime/Cpp/runtime/src/./tree/xpath/XPathLexerErrorListener.h:19:33: 
 error: 'std::exception_ptr' has not been declared
                              std::exception_ptr e) override;
                                   ^
 gmake[1]: *** [deps/v8/gypfiles/torque.host.mk:283: 
 /usr/pkgsrc/lang/nodejs/work/node-v10.15.3/out/Release/obj.host/torque/deps/v8/src/torque/TorqueBaseVisitor.o] 
 Error 1
 gmake: *** [Makefile:99: node] Error 2
 *** Error code 2
 
 Stop.
 make[1]: stopped in /usr/pkgsrc/lang/nodejs
 *** Error code 1
 
 Stop.
 make: stopped in /usr/pkgsrc/lang/nodejs
 
 
 John Klos
 


Home | Main Index | Thread Index | Old Index