[MacPorts] #57501: Can't build nodejs11

MacPorts noreply at macports.org
Fri Nov 2 19:55:01 UTC 2018


#57501: Can't build nodejs11
------------------------+----------------------
 Reporter:  dubiousjim  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.5.4
 Keywords:              |       Port:  nodejs11
------------------------+----------------------
 `sudo port install nodejs11` fails during build phase. The end of the log
 reads:

 {{{
   /usr/bin/clang++ -o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nodejs11/nodejs11/work/node-v11.0.0/out/Release/obj.host/torque/deps/v8/src/torque
 /source-positions.o ../deps/v8/src/torque/source-positions.cc
 '-DV8_GYP_BUILD' '-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=0'
 '-D_DARWIN_USE_64_BIT_INODE=1' '-DV8_TARGET_ARCH_X64'
 '-DV8_EMBEDDER_STRING="-node.5"' '-DENABLE_DISASSEMBLER'
 '-DV8_PROMISE_INTERNAL_FIELD_COUNT=1' '-DV8_INTL_SUPPORT'
 '-DV8_CONCURRENT_MARKING' '-DDISABLE_UNTRUSTED_CODE_MITIGATIONS'
 '-DENABLE_HANDLE_ZAPPING' -I../deps/v8  -O3 -gdwarf-2 -fstrict-aliasing
 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=gnu++1y
 -stdlib=libc++ -fno-rtti -fno-exceptions -fno-strict-aliasing -MMD -MF
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nodejs11/nodejs11/work/node-v11.0.0/out/Release/.deps//opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nodejs11/nodejs11/work/node-v11.0.0/out/Release/obj.host/torque/deps/v8/src/torque
 /source-positions.o.d.raw   -c
 ../deps/v8/src/torque/source-positions.cc:11:1: error: thread-local
 storage is not supported for the current target
 DEFINE_CONTEXTUAL_VARIABLE(CurrentSourceFile)
 ^
 ../deps/v8/src/torque/contextual.h:81:12: note: expanded from macro
 'DEFINE_CONTEXTUAL_VARIABLE'
     static thread_local VarName::VariableType* top = nullptr; \
            ^
 ../deps/v8/src/torque/source-positions.cc:12:1: error: thread-local
 storage is not supported for the current target
 DEFINE_CONTEXTUAL_VARIABLE(CurrentSourcePosition)
 ^
 ../deps/v8/src/torque/contextual.h:81:12: note: expanded from macro
 'DEFINE_CONTEXTUAL_VARIABLE'
     static thread_local VarName::VariableType* top = nullptr; \
            ^
 ../deps/v8/src/torque/source-positions.cc:13:1: error: thread-local
 storage is not supported for the current target
 DEFINE_CONTEXTUAL_VARIABLE(SourceFileMap)
 ^
 ../deps/v8/src/torque/contextual.h:81:12: note: expanded from macro
 'DEFINE_CONTEXTUAL_VARIABLE'
     static thread_local VarName::VariableType* top = nullptr; \
            ^
 3 errors generated.
 make[1]: ***
 [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nodejs11/nodejs11/work/node-v11.0.0/out/Release/obj.host/torque/deps/v8/src/torque
 /source-positions.o] Error 1
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nodejs11/nodejs11/work/node-v11.0.0/out'
 make: *** [node] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nodejs11/nodejs11/work/node-v11.0.0'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nodejs11/nodejs11/work/node-v11.0.0"
 && /usr/bin/make -w all CC=/usr/bin/clang CXX=/usr/bin/clang++
 CXX.host=/usr/bin/clang++ CPP=/usr/bin/cpp CFLAGS="-Os" CXXFLAGS="-Os
 -stdlib=libc++" LDFLAGS="-L/opt/local/lib
 -Wl,-headerpad_max_install_names" PYTHON=/opt/local/bin/python2.7 V=1
 Exit code: 2
 Error: Failed to build nodejs11: command execution failed
 DEBUG: Error code: CHILDSTATUS 80551 2
 DEBUG: Backtrace: command execution failed
 DEBUG:     while executing
 DEBUG: "system {*}$notty {*}$nice $fullcmdstring"
 DEBUG:     invoked from within
 DEBUG: "command_exec build"
 DEBUG:     (procedure "portbuild::build_main" line 8)
 DEBUG:     invoked from within
 DEBUG: "$procedure $targetname"
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nodejs11/nodejs11/main.log
 for details.
 }}}

 (Building and) installing nodejs10 works fine.

-- 
Ticket URL: <https://trac.macports.org/ticket/57501>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list