[MacPorts] #56585: Compile errors installing nodejs9 or nodejs10 on Lion

MacPorts noreply at macports.org
Sun Jun 3 01:04:00 UTC 2018


#56585: Compile errors installing nodejs9 or nodejs10 on Lion
-------------------------------+----------------------
  Reporter:  pixpop            |      Owner:  ci42
      Type:  defect            |     Status:  assigned
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:
Resolution:                    |   Keywords:
      Port:  nodejs9 nodejs10  |
-------------------------------+----------------------
Changes (by jmroot):

 * status:  new => assigned
 * keywords:  nodejs nullptr_t =>
 * owner:  (none) => ci42
 * port:   => nodejs9 nodejs10


Old description:

> I see this error when attempting to install nodejs9 or 10 on Lion
> (10.7.5).
>
> :info:build   /opt/local/bin/clang++-mp-3.4
> '-D_DARWIN_USE_64_BIT_INODE=1' '-DU_COMMON_IMPLEMENTATION=1'
> '-DU_ATTRIBUTE_DEPRECATED=' '-D_CRT_SECURE_NO_DEPRECATE='
> '-DU_STATIC_IMPLEMENTATION=1' '-DUCONFIG_NO_SERVICE=1'
> '-DUCONFIG_NO_REGULAR_EXPRESSIONS=1' '-DU_ENABLE_DYLOAD=0'
> '-DU_HAVE_STD_STRING=1' '-DUCONFIG_NO_BREAK_ITERATION=0' -I../deps/icu-
> small/source/common -I/opt/local/include/openssl  -Os -gdwarf-2 -arch
> x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=gnu++0x
> -stdlib=libc++ -fno-exceptions -fno-threadsafe-statics -fno-strict-
> aliasing -MMD -MF
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs9/nodejs9/work/node-v9.11.1/out/Release/.deps//opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs9/nodejs9/work/node-v9.11.1/out/Release/obj.target/icuucx/deps
> /icu-small/source/common/bmpset.o.d.raw  -Os -stdlib=libstdc++ -c -o
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs9/nodejs9/work/node-v9.11.1/out/Release/obj.target/icuucx/deps
> /icu-small/source/common/bmpset.o ../deps/icu-
> small/source/common/bmpset.cpp
> :info:build In file included from ../deps/icu-
> small/source/common/bmpset.cpp:20:
> :info:build In file included from ../deps/icu-
> small/source/common/unicode/uniset.h:17:
> :info:build In file included from ../deps/icu-
> small/source/common/unicode/unistr.h:33:
> :info:build ../deps/icu-small/source/common/unicode/char16ptr.h:67:27:
> error: no type named 'nullptr_t' in namespace 'std'
> :info:build     inline Char16Ptr(std::nullptr_t p);
> :info:build                      ~~~~~^

New description:

 I see this error when attempting to install nodejs9 or 10 on Lion
 (10.7.5).
 {{{
 :info:build   /opt/local/bin/clang++-mp-3.4 '-D_DARWIN_USE_64_BIT_INODE=1'
 '-DU_COMMON_IMPLEMENTATION=1' '-DU_ATTRIBUTE_DEPRECATED='
 '-D_CRT_SECURE_NO_DEPRECATE=' '-DU_STATIC_IMPLEMENTATION=1'
 '-DUCONFIG_NO_SERVICE=1' '-DUCONFIG_NO_REGULAR_EXPRESSIONS=1'
 '-DU_ENABLE_DYLOAD=0' '-DU_HAVE_STD_STRING=1'
 '-DUCONFIG_NO_BREAK_ITERATION=0' -I../deps/icu-small/source/common
 -I/opt/local/include/openssl  -Os -gdwarf-2 -arch x86_64 -Wall -Wendif-
 labels -W -Wno-unused-parameter -std=gnu++0x -stdlib=libc++ -fno-
 exceptions -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs9/nodejs9/work/node-v9.11.1/out/Release/.deps//opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs9/nodejs9/work/node-v9.11.1/out/Release/obj.target/icuucx/deps
 /icu-small/source/common/bmpset.o.d.raw  -Os -stdlib=libstdc++ -c -o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs9/nodejs9/work/node-v9.11.1/out/Release/obj.target/icuucx/deps
 /icu-small/source/common/bmpset.o ../deps/icu-
 small/source/common/bmpset.cpp
 :info:build In file included from ../deps/icu-
 small/source/common/bmpset.cpp:20:
 :info:build In file included from ../deps/icu-
 small/source/common/unicode/uniset.h:17:
 :info:build In file included from ../deps/icu-
 small/source/common/unicode/unistr.h:33:
 :info:build ../deps/icu-small/source/common/unicode/char16ptr.h:67:27:
 error: no type named 'nullptr_t' in namespace 'std'
 :info:build     inline Char16Ptr(std::nullptr_t p);
 :info:build                      ~~~~~^
 }}}

--

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


More information about the macports-tickets mailing list