[MacPorts] #58893: nodejs12 @12.9.1: error: use of undeclared identifier 'strnlen'

MacPorts noreply at macports.org
Wed Aug 28 03:04:33 UTC 2019


#58893: nodejs12 @12.9.1: error: use of undeclared identifier 'strnlen'
-------------------------+-------------------------
  Reporter:  ryandesign  |      Owner:  ci42
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:  snowleopard
      Port:  nodejs12    |
-------------------------+-------------------------

Comment (by kencu):

 I'm thinking this error could be occurring because our `macports` `libuv`
 version that we are using for the legacy systems is not fully up to date,
 or at least doesn't match the expected version that `nodejs12` is
 expecting...
 {{{
 :info:build   /opt/local/bin/clang++-mp-5.0 -o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nodejs12/nodejs12/work/node-v12.9.0/out/Release/obj.target/libnode/src/node_report.o
 ../src/node_report.cc '-DV8_DEPRECATION_WARNINGS'
 '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1'
 '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DNODE_ARCH="x64"'
 '-DNODE_WANT_INTERNALS=1' '-DV8_DEPRECATION_WARNINGS=1'
 '-DNODE_OPENSSL_SYSTEM_CERT_PATH=""' '-DHAVE_INSPECTOR=1'
 '-DHAVE_DTRACE=1' '-DNODE_REPORT' '-D__POSIX__' '-DNODE_USE_V8_PLATFORM=1'
 '-DNODE_HAVE_I18N_SUPPORT=1' '-DNODE_HAVE_SMALL_ICU=1'
 '-DNODE_PLATFORM="darwin"' '-DHAVE_OPENSSL=1' '-DUCONFIG_NO_SERVICE=1'
 '-DU_ENABLE_DYLOAD=0' '-DU_STATIC_IMPLEMENTATION=1'
 '-DU_HAVE_STD_STRING=1' '-DUCONFIG_NO_BREAK_ITERATION=0'
 '-DHTTP_PARSER_STRICT=0' '-DNGHTTP2_STATICLIB' -I../src
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nodejs12/nodejs12/work/node-v12.9.0/out/Release/obj/gen
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nodejs12/nodejs12/work/node-v12.9.0/out/Release/obj/gen/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nodejs12/nodejs12/work/node-v12.9.0/out/Release/obj/gen/src
 -I../deps/histogram/src -I../deps/v8/include -I../deps/icu-
 small/source/i18n -I../deps/icu-small/source/common -I../deps/zlib
 -I../deps/http_parser -I../deps/llhttp/include -I../deps/cares/include
 -I../deps/nghttp2/lib/includes -I../deps/brotli/c/include
 -I../deps/openssl/openssl/include  -Os -gdwarf-2 -arch x86_64 -Wall
 -Wendif-labels -W -Wno-unused-parameter -Werror=undefined-inline -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_nodejs12/nodejs12/work/node-v12.9.0/out/Release/.deps//opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nodejs12/nodejs12/work/node-v12.9.0/out/Release/obj.target/libnode/src/node_report.o.d.raw
 -Os -stdlib=libc++ -c
 :info:build ../src/node_report.cc:551:3: error: unknown type name
 'uv_env_item_t'
 :info:build   uv_env_item_t* envitems;
 :info:build   ^
 :info:build 1 error generated.
 }}}

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


More information about the macports-tickets mailing list