Bug 242082 - www/node10: build fails. torgue dumps core on fresh installed x386 BSD
Summary: www/node10: build fails. torgue dumps core on fresh installed x386 BSD
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: i386 Any
: --- Affects Many People
Assignee: Bradley T. Hughes
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-19 16:14 UTC by Joel Rodriguez
Modified: 2019-11-19 16:14 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (bhughes)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joel Rodriguez 2019-11-19 16:14:59 UTC
I am having the same issue with node10-10.17.0, apparently node10-10.16.3_1 built aok.

  touch 8e667dc8c92f6af4503c86c36df5027bd50dfffa.intermediate
  LD_LIBRARY_PATH=/usr/ports/www/node10/work/node-v10.17.0/out/Release/lib.host:/usr/ports/www/node10/\
work/node-v10.17.0/out/Release/lib.target:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; cd ../deps/v8/gypf\
iles; mkdir -p /usr/ports/www/node10/work/node-v10.17.0/out/Release/obj/gen/torque-generated; "/usr/po\
rts/www/node10/work/node-v10.17.0/out/Release/torque" ../src/builtins/base.tq ../src/builtins/array.tq\
 ../src/builtins/typed-array.tq -o "/usr/ports/www/node10/work/node-v10.17.0/out/Release/obj/gen/torqu\
e-generated"
gmake[3]: *** [deps/v8/gypfiles/v8_torque.host.mk:17: 8e667dc8c92f6af4503c86c36df5027bd50dfffa.interme\
diate] Segmentation fault (core dumped)
gmake[3]: *** Deleting file '8e667dc8c92f6af4503c86c36df5027bd50dfffa.intermediate'
rm a4f753ac7afa27a9157e97396210f80358074b56.intermediate
gmake[2]: *** [Makefile:99: node] Error 2
gmake[2]: Leaving directory '/usr/ports/www/node10/work/node-v10.17.0'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/www/node10
*** Error code 1

Stop.
make: stopped in /usr/ports/www/node10

The cpu features are:
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
+  Features2=0xd9ae3bf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,TSCDLT,XSAVE,OSXSAVE>

Please advise.



+++ This bug was initially created as a clone of Bug #233049 +++

Installing using portmaster. Dependencies checks out.

touque produces a dump

Build-instructions in README file at /usr/ports/www/node10/work/node-v10.13.0/deps/v8/gypfiles have a empty URL.  Will chech scour for build-instructions elsewhere.


<SNIP>
/obj.host/torque/deps/v8/third_party/antlr4/runtime/Cpp/runtime/src/tree/xpath/XPath.o /usr/ports/www/node10/work/node-v10.13.0/out/Release/obj.host/torque/deps/v8/
third_party/antlr4/runtime/Cpp/runtime/src/tree/xpath/XPathElement.o /usr/ports/www/node10/work/node-v10.13.0/out/Release/obj.host/torque/deps/v8/third_party/antlr4
/runtime/Cpp/runtime/src/tree/xpath/XPathLexer.o /usr/ports/www/node10/work/node-v10.13.0/out/Release/obj.host/torque/deps/v8/third_party/antlr4/runtime/Cpp/runtime
/src/tree/xpath/XPathLexerErrorListener.o /usr/ports/www/node10/work/node-v10.13.0/out/Release/obj.host/torque/deps/v8/third_party/antlr4/runtime/Cpp/runtime/src/tr
ee/xpath/XPathRuleAnywhereElement.o /usr/ports/www/node10/work/node-v10.13.0/out/Release/obj.host/torque/deps/v8/third_party/antlr4/runtime/Cpp/runtime/src/tree/xpa
th/XPathRuleElement.o /usr/ports/www/node10/work/node-v10.13.0/out/Release/obj.host/torque/deps/v8/third_party/antlr4/runtime/Cpp/runtime/src/tree/xpath/XPathTokenA
nywhereElement.o /usr/ports/www/node10/work/node-v10.13.0/out/Release/obj.host/torque/deps/v8/third_party/antlr4/runtime/Cpp/runtime/src/tree/xpath/XPathTokenElemen
t.o /usr/ports/www/node10/work/node-v10.13.0/out/Release/obj.host/torque/deps/v8/third_party/antlr4/runtime/Cpp/runtime/src/tree/xpath/XPathWildcardAnywhereElement.
o /usr/ports/www/node10/work/node-v10.13.0/out/Release/obj.host/torque/deps/v8/third_party/antlr4/runtime/Cpp/runtime/src/tree/xpath/XPathWildcardElement.o /usr/por
ts/www/node10/work/node-v10.13.0/out/Release/obj.host/deps/v8/gypfiles/libv8_libbase.a -lz -L/usr/local/lib -luv -lcares -lnghttp2 -lelf -L/usr/local/lib -lexecinfo
 -Wl,--end-group
  touch f83d073c12b622af305dd74b713a0eb672e0bcba.intermediate
  LD_LIBRARY_PATH=/usr/ports/www/node10/work/node-v10.13.0/out/Release/lib.host:/usr/ports/www/node10/work/node-v10.13.0/out/Release/lib.target:$LD_LIBRARY_PATH; ex
port LD_LIBRARY_PATH; cd ../deps/v8/gypfiles; mkdir -p /usr/ports/www/node10/work/node-v10.13.0/out/Release/obj/gen/torque-generated; "/usr/ports/www/node10/work/no
de-v10.13.0/out/Release/torque" ../src/builtins/base.tq ../src/builtins/array.tq ../src/builtins/typed-array.tq -o "/usr/ports/www/node10/work/node-v10.13.0/out/Rel
ease/obj/gen/torque-generated"
gmake[3]: *** [deps/v8/gypfiles/v8_torque.host.mk:17: f83d073c12b622af305dd74b713a0eb672e0bcba.intermediate] Illegal instruction (core dumped)
gmake[3]: *** Deleting file 'f83d073c12b622af305dd74b713a0eb672e0bcba.intermediate'
gmake[2]: *** [Makefile:99: node] Error 2
gmake[2]: Leaving directory '/usr/ports/www/node10/work/node-v10.13.0'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/www/node10
*** Error code 1

Stop.
make: stopped in /usr/ports/www/node10

===>>> make build failed for www/node10
===>>> Aborting update
</SNIP>