[MacPorts] #68549: nodejs20 @20.9.0_0 -- Unable to upgrade - Build fails - Undefined symbols

MacPorts noreply at macports.org
Wed Oct 25 13:56:14 UTC 2023


#68549: nodejs20 @20.9.0_0 -- Unable to upgrade - Build fails - Undefined symbols
-----------------------+--------------------
  Reporter:  RobK88    |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.8.1
Resolution:            |   Keywords:  lion
      Port:  nodejs20  |
-----------------------+--------------------
Description changed by RobK88:

Old description:

> I am unable to upgrade `nodejs20` from version @20.8.1_0 to @20.9.0_0.
> The build fails.
>
> {{{
> :info:build Undefined symbols for architecture x86_64:
> :info:build   "std::__1::__libcpp_verbose_abort(char const*, ...)",
> referenced from:
> :info:build       __ZNSt3__120__throw_length_errorB7v170003EPKc in js2c.o
> :info:build       __ZSt28__throw_bad_array_new_lengthB7v170003v in js2c.o
> :info:build       __ZNSt3__125__throw_bad_function_callB7v170003Ev in
> js2c.o
> :info:build       __ZNSt3__120__throw_out_of_rangeB7v170003EPKc in js2c.o
> :info:build       __ZNSt3__120__throw_length_errorB7v170003EPKc in
> libsimdutf.a(simdutf.o)
> :info:build ld: symbol(s) not found for architecture x86_64
> :info:build clang++: error: linker command failed with exit code 1 (use
> -v to see invocation)
> :info:build make[1]: ***
> [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs20/nodejs20/work/node-v20.9.0/out/Release/node_js2c]
> Error 1
> :info:build make[1]: *** Waiting for unfinished jobs....
> :info:build rm 5deafc1eea8fa261951ca24c32447494625d91a4.intermediate
> :info:build make[1]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs20/nodejs20/work/node-v20.9.0/out'
> :info:build make: *** [node] Error 2
> :info:build make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs20/nodejs20/work/node-v20.9.0'
> :info:build Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs20/nodejs20/work/node-v20.9.0"
> && /usr/bin/make -j2 -w all CC=/opt/local/bin/clang-mp-17
> CXX=/opt/local/bin/clang++-mp-17 CXX.host=/opt/local/bin/clang++-mp-17
> CPP=/opt/local/bin/clang-cpp-mp-17 CPPFLAGS="-I/opt/local/include"
> CFLAGS="-Os -I/opt/local/include" CXXFLAGS="-Os -stdlib=libc++
> -I/opt/local/include" LDFLAGS="-L/opt/local/lib
> -Wl,-headerpad_max_install_names " PYTHON=/opt/local/bin/python3.11 V=1
> :info:build Exit code: 2
> :error:build Failed to build nodejs20: command execution failed
> :debug:build Error code: CHILDSTATUS 77536 2
> :debug:build Backtrace: command execution failed
> :debug:build     while executing
> :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
> :debug:build     invoked from within
> :debug:build "command_exec -callback
> portprogress::target_progress_callback build"
> :debug:build     (procedure "portbuild::build_main" line 8)
> :debug:build     invoked from within
> :debug:build "$procedure $targetname"
> :error:build See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs20/nodejs20/main.log
> for details.
> }}}

New description:

 I am unable to upgrade `nodejs20` from version @20.8.1_0 to @20.9.0_0 on
 Lion.  The build fails.

 {{{
 :info:build Undefined symbols for architecture x86_64:
 :info:build   "std::__1::__libcpp_verbose_abort(char const*, ...)",
 referenced from:
 :info:build       __ZNSt3__120__throw_length_errorB7v170003EPKc in js2c.o
 :info:build       __ZSt28__throw_bad_array_new_lengthB7v170003v in js2c.o
 :info:build       __ZNSt3__125__throw_bad_function_callB7v170003Ev in
 js2c.o
 :info:build       __ZNSt3__120__throw_out_of_rangeB7v170003EPKc in js2c.o
 :info:build       __ZNSt3__120__throw_length_errorB7v170003EPKc in
 libsimdutf.a(simdutf.o)
 :info:build ld: symbol(s) not found for architecture x86_64
 :info:build clang++: error: linker command failed with exit code 1 (use -v
 to see invocation)
 :info:build make[1]: ***
 [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs20/nodejs20/work/node-v20.9.0/out/Release/node_js2c]
 Error 1
 :info:build make[1]: *** Waiting for unfinished jobs....
 :info:build rm 5deafc1eea8fa261951ca24c32447494625d91a4.intermediate
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs20/nodejs20/work/node-v20.9.0/out'
 :info:build make: *** [node] Error 2
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs20/nodejs20/work/node-v20.9.0'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs20/nodejs20/work/node-v20.9.0"
 && /usr/bin/make -j2 -w all CC=/opt/local/bin/clang-mp-17
 CXX=/opt/local/bin/clang++-mp-17 CXX.host=/opt/local/bin/clang++-mp-17
 CPP=/opt/local/bin/clang-cpp-mp-17 CPPFLAGS="-I/opt/local/include"
 CFLAGS="-Os -I/opt/local/include" CXXFLAGS="-Os -stdlib=libc++
 -I/opt/local/include" LDFLAGS="-L/opt/local/lib
 -Wl,-headerpad_max_install_names " PYTHON=/opt/local/bin/python3.11 V=1
 :info:build Exit code: 2
 :error:build Failed to build nodejs20: command execution failed
 :debug:build Error code: CHILDSTATUS 77536 2
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
 :debug:build     invoked from within
 :debug:build "command_exec -callback
 portprogress::target_progress_callback build"
 :debug:build     (procedure "portbuild::build_main" line 8)
 :debug:build     invoked from within
 :debug:build "$procedure $targetname"
 :error:build See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs20/nodejs20/main.log
 for details.
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/68549#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list