Opened 6 years ago

Closed 6 years ago

#56585 closed defect (fixed)

Compile errors installing nodejs9 or nodejs10 on Lion

Reported by: pixpop (Neil Baylis) Owned by: ci42
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: nodejs9 nodejs10 nodejs11

Description (last modified by jmroot (Joshua Root))

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                      ~~~~~^

Change History (7)

comment:1 Changed 6 years ago by jmroot (Joshua Root)

Description: modified (diff)
Keywords: nodejs nullptr_t removed
Owner: set to ci42
Port: nodejs9 nodejs10 added
Status: newassigned

comment:2 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Port: nodejs11 added

It uses C++11. It should use the cxx11 1.1 portgroup

comment:3 Changed 6 years ago by ci42

In de1cd5873376b0e132aaaef2f9ac343654f8c554/macports-ports (master):

nodejs11: update to version 11.3.0; use cxx11 portgroup

See: #56585

comment:4 Changed 6 years ago by ci42

In 940148f266a4fd59f2d480f2c9341689ee7af525/macports-ports (master):

nodejs10: update to version 10.14.0; use cxx11 portgroup

See: #56585

comment:5 Changed 6 years ago by ci42

In f5323c20297876d17fc35bdb45b8bbbafbf8bacb/macports-ports (master):

nodejs8: update to version 8.14.0

See: #56585

comment:6 Changed 6 years ago by ci42

In 0cb55ddf37ac472f7d4c82fcdbcc693fe4adf91e/macports-ports (master):

nodejs9: use cxx11 portgroup

See: #56585

comment:7 Changed 6 years ago by ci42

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.