Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jun 2016 14:00:52 +1200
From:      Jonathan Chen <jonc@chen.org.nz>
To:        freebsd-ports@freebsd.org, bradleythughes@fastmail.fm
Subject:   Building www/node
Message-ID:  <CAJuc1zNyT9e74zYorzxaCjoSvZqUFPFt0-1wh89sQBpr=V2QYQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

I'm trying to build www/node against a recent ports tree, and am
getting the following failure:

  c++ '-DU_COMMON_IMPLEMENTATION=1' '-DU_I18N_IMPLEMENTATION=1'
'-DU_IO_IMPLEMENTATION=1' '-DU_TOOLUTIL_IMPLEMENTATION=1'
'-DU_ATTRIBUTE_DEPRECATED=' '-D_CRT_SECURE_NO_DEPRECATE='
'-DU_STATIC_IMPLEMENTATION=1' '-DUCONFIG_NO_TRANSLITERATION=1'
'-DUCONFIG_NO_SERVICE=1' '-DUCONFIG_NO_REGULAR_EXPRESSIONS=1'
'-DU_ENABLE_DYLOAD=0' '-DU_HAVE_STD_STRING=0'
'-DUCONFIG_NO_BREAK_ITERATION=0' '-DUCONFIG_NO_LEGACY_CONVERSION=1'
'-DUCONFIG_NO_IDNA=1' -I/usr/local/include
-I../deps/icu-small/source/common -I../deps/icu-small/source/i18n
-I../deps/icu-small/source/io
-I../deps/icu-small/source/tools/toolutil  -pthread -Wall -Wextra
-Wno-unused-parameter -m64 -Wno-deprecated-declarations -O3
-fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++0x -frtti
-MMD -MF /tmp/usr/ports/www/node/work/node-v6.2.1/out/Release/.deps//tmp/usr/ports/www/node/work/node-v6.2.1/out/Release/obj.host/icutools/deps/icu-small/source/tools/toolutil/ucln_tu.o.d.raw
  -c -o /tmp/usr/ports/www/node/work/node-v6.2.1/out/Release/obj.host/icutools/deps/icu-small/source/tools/toolutil/ucln_tu.o
../deps/icu-small/source/tools/toolutil/ucln_tu.cpp
In file included from ../deps/icu-small/source/tools/toolutil/package.cpp:27:
In file included from ../deps/icu-small/source/common/cstring.h:29:
../deps/icu-small/source/common/cmemory.h:197:50: error: expected ';'
at end of declaration list
    LocalMemory<T> &moveFrom(LocalMemory<T> &src) U_NOEXCEPT {
                                                 ^
                                                 ;
In file included from ../deps/icu-small/source/tools/toolutil/swapimpl.cpp:35:
../deps/icu-small/source/common/cmemory.h:197:50: error: expected ';'
at end of declaration list
    LocalMemory<T> &moveFrom(LocalMemory<T> &src) U_NOEXCEPT {
                                                 ^
                                                 ;
../deps/icu-small/source/common/cmemory.h:260:27: error: out-of-line
definition of 'allocateInsteadAndReset' does not match any declaration
in 'LocalMemory<T>'
inline T *LocalMemory<T>::allocateInsteadAndReset(int32_t newCapacity) {
                          ^~~~~~~~~~~~~~~~~~~~~~~
../deps/icu-small/source/common/cmemory.h:260:27: error: out-of-line
definition of 'allocateInsteadAndReset' does not match any declaration
in 'LocalMemory<T>'
inline T *LocalMemory<T>::allocateInsteadAndReset(int32_t newCapacity) {
                          ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../deps/icu-small/source/tools/toolutil/toolutil.cpp:63:
In file included from ../deps/icu-small/source/common/cmemory.h:31:
../deps/icu-small/source/common/unicode/localpointer.h:255:52: error:
expected ';' at end of declaration list
    LocalPointer<T> &moveFrom(LocalPointer<T> &src) U_NOEXCEPT {
                                                   ^
                                                   ;
../deps/icu-small/source/common/unicode/localpointer.h:407:48: error:
expected ';' at end of declaration list
    LocalArray<T> &moveFrom(LocalArray<T> &src) U_NOEXCEPT {
                                               ^
                                               ;
In file included from ../deps/icu-small/source/tools/toolutil/toolutil.cpp:63:
../deps/icu-small/source/common/cmemory.h:197:50: error: expected ';'
at end of declaration list
    LocalMemory<T> &moveFrom(LocalMemory<T> &src) U_NOEXCEPT {
                                                 ^
                                                 ;
../deps/icu-small/source/common/cmemory.h:260:27: error: out-of-line
definition of 'allocateInsteadAndReset' does not match any declaration
in 'LocalMemory<T>'
inline T *LocalMemory<T>::allocateInsteadAndReset(int32_t newCapacity) {
                          ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../deps/icu-small/source/tools/toolutil/ppucd.cpp:17:
In file included from ../deps/icu-small/source/common/charstr.h:16:
../deps/icu-small/source/common/unicode/unistr.h:1929:46: error:
expected ';' at end of declaration list
  UnicodeString &moveFrom(UnicodeString &src) U_NOEXCEPT;
                                             ^
                                             ;
../deps/icu-small/source/common/unicode/unistr.h:1936:34: error:
expected ';' at end of declaration list
  void swap(UnicodeString &other) U_NOEXCEPT;
                                 ^
                                 ;
../deps/icu-small/source/common/unicode/unistr.h:1946:45: error:
expected ';' at end of declaration list
  swap(UnicodeString &s1, UnicodeString &s2) U_NOEXCEPT {
                                            ^
                                            ;
../deps/icu-small/source/common/unicode/unistr.h:3540:63: error:
expected ';' at end of declaration list
  void copyFieldsFrom(UnicodeString &src, UBool setSrcToBogus) U_NOEXCEPT;
                                                              ^
                                                              ;
In file included from ../deps/icu-small/source/tools/toolutil/swapimpl.cpp:37:
In file included from ../deps/icu-small/source/common/uinvchar.h:25:
../deps/icu-small/source/common/unicode/unistr.h:1929:46: error:
expected ';' at end of declaration list
  UnicodeString &moveFrom(UnicodeString &src) U_NOEXCEPT;
                                             ^
                                             ;
../deps/icu-small/source/common/unicode/unistr.h:1936:34: error:
expected ';' at end of declaration list
  void swap(UnicodeString &other) U_NOEXCEPT;
                                 ^
                                 ;
../deps/icu-small/source/common/unicode/unistr.h:1946:45: error:
expected ';' at end of declaration list
  swap(UnicodeString &s1, UnicodeString &s2) U_NOEXCEPT {
                                            ^
                                            ;
../deps/icu-small/source/common/unicode/unistr.h:3540:63: error:
expected ';' at end of declaration list
  void copyFieldsFrom(UnicodeString &src, UBool setSrcToBogus) U_NOEXCEPT;
                                                              ^
                                                              ;
../deps/icu-small/source/common/unicode/unistr.h:4472:16: error:
out-of-line definition of 'operator=' does not match any declaration
in 'icu_55::UnicodeString'
UnicodeString::operator= (UChar ch)
               ^~~~~~~~
In file included from ../deps/icu-small/source/tools/toolutil/toolutil.cpp:66:
In file included from /usr/local/include/unicode/ucal.h:12:
In file included from /usr/local/include/unicode/uenum.h:24:
In file included from /usr/local/include/unicode/strenum.h:14:
In file included from /usr/local/include/unicode/unistr.h:34:
/usr/local/include/unicode/ucasemap.h:93:1: error: expected ';' at end
of declaration list
U_DEFINE_LOCAL_OPEN_POINTER(LocalUCaseMapPointer, UCaseMap, ucasemap_close);
^
../deps/icu-small/source/common/unicode/localpointer.h:546:69: note:
expanded from macro 'U_DEFINE_LOCAL_OPEN_POINTER'
        LocalPointerClassName &moveFrom(LocalPointerClassName &src)
U_NOEXCEPT { \
                                                                    ^
In file included from ../deps/icu-small/source/tools/toolutil/ppucd.cpp:17:
In file included from ../deps/icu-small/source/common/charstr.h:18:
../deps/icu-small/source/common/cmemory.h:197:50: error: expected ';'
at end of declaration list
    LocalMemory<T> &moveFrom(LocalMemory<T> &src) U_NOEXCEPT {
                                                 ^
                                                 ;
2 errors generated.
  c++ '-DU_COMMON_IMPLEMENTATION=1' '-DU_I18N_IMPLEMENTATION=1'
'-DU_IO_IMPLEMENTATION=1' '-DU_TOOLUTIL_IMPLEMENTATION=1'
'-DU_ATTRIBUTE_DEPRECATED=' '-D_CRT_SECURE_NO_DEPRECATE='
'-DU_STATIC_IMPLEMENTATION=1' '-DUCONFIG_NO_TRANSLITERATION=1'
'-DUCONFIG_NO_SERVICE=1' '-DUCONFIG_NO_REGULAR_EXPRESSIONS=1'
'-DU_ENABLE_DYLOAD=0' '-DU_HAVE_STD_STRING=0'
'-DUCONFIG_NO_BREAK_ITERATION=0' '-DUCONFIG_NO_LEGACY_CONVERSION=1'
'-DUCONFIG_NO_IDNA=1' -I/usr/local/include
-I../deps/icu-small/source/common -I../deps/icu-small/source/i18n
-I../deps/icu-small/source/io
-I../deps/icu-small/source/tools/toolutil  -pthread -Wall -Wextra
-Wno-unused-parameter -m64 -Wno-deprecated-declarations -O3
-fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++0x -frtti
-MMD -MF /tmp/usr/ports/www/node/work/node-v6.2.1/out/Release/.deps//tmp/usr/ports/www/node/work/node-v6.2.1/out/Release/obj.host/icutools/deps/icu-small/source/tools/toolutil/pkg_icu.o.d.raw
  -c -o /tmp/usr/ports/www/node/work/node-v6.2.1/out/Release/obj.host/icutools/deps/icu-small/source/tools/toolutil/pkg_icu.o
../deps/icu-small/source/tools/toolutil/pkg_icu.cpp
gmake[2]: *** [tools/icu/icutools.host.mk:534:
/tmp/usr/ports/www/node/work/node-v6.2.1/out/Release/obj.host/icutools/deps/icu-small/source/tools/toolutil/package.o]
Error 1
gmake[2]: *** Waiting for unfinished jobs....
../deps/icu-small/source/common/cmemory.h:260:27: error: out-of-line
definition of 'allocateInsteadAndReset' does not match any declaration
in 'LocalMemory<T>'
inline T *LocalMemory<T>::allocateInsteadAndReset(int32_t newCapacity) {
                          ^~~~~~~~~~~~~~~~~~~~~~~
../deps/icu-small/source/common/unicode/unistr.h:4472:16: error:
out-of-line definition of 'operator=' does not match any declaration
in 'icu_55::UnicodeString'
UnicodeString::operator= (UChar ch)
               ^~~~~~~~
In file included from ../deps/icu-small/source/tools/toolutil/toolutil.cpp:66:
In file included from /usr/local/include/unicode/ucal.h:12:
/usr/local/include/unicode/uenum.h:64:1: error: expected ';' at end of
declaration list
U_DEFINE_LOCAL_OPEN_POINTER(LocalUEnumerationPointer, UEnumeration,
uenum_close);
^
../deps/icu-small/source/common/unicode/localpointer.h:546:69: note:
expanded from macro 'U_DEFINE_LOCAL_OPEN_POINTER'
        LocalPointerClassName &moveFrom(LocalPointerClassName &src)
U_NOEXCEPT { \
                                                                    ^
In file included from ../deps/icu-small/source/tools/toolutil/toolutil.cpp:66:
/usr/local/include/unicode/ucal.h:715:1: error: expected ';' at end of
declaration list
U_DEFINE_LOCAL_OPEN_POINTER(LocalUCalendarPointer, UCalendar, ucal_close);
^
../deps/icu-small/source/common/unicode/localpointer.h:546:69: note:
expanded from macro 'U_DEFINE_LOCAL_OPEN_POINTER'
        LocalPointerClassName &moveFrom(LocalPointerClassName &src)
U_NOEXCEPT { \
                                                                    ^
7 errors generated.
gmake[2]: *** [tools/icu/icutools.host.mk:534:
/tmp/usr/ports/www/node/work/node-v6.2.1/out/Release/obj.host/icutools/deps/icu-small/source/tools/toolutil/toolutil.o]
Error 1
In file included from ../deps/icu-small/source/tools/toolutil/pkg_icu.cpp:9:
In file included from ../deps/icu-small/source/common/cstring.h:29:
../deps/icu-small/source/common/cmemory.h:197:50: error: expected ';'
at end of declaration list
    LocalMemory<T> &moveFrom(LocalMemory<T> &src) U_NOEXCEPT {
                                                 ^
                                                 ;
../deps/icu-small/source/common/cmemory.h:260:27: error: out-of-line
definition of 'allocateInsteadAndReset' does not match any declaration
in 'LocalMemory<T>'
inline T *LocalMemory<T>::allocateInsteadAndReset(int32_t newCapacity) {
                          ^~~~~~~~~~~~~~~~~~~~~~~
7 errors generated.
gmake[2]: *** [tools/icu/icutools.host.mk:534:
/tmp/usr/ports/www/node/work/node-v6.2.1/out/Release/obj.host/icutools/deps/icu-small/source/tools/toolutil/ppucd.o]
Error 1
In file included from
../deps/icu-small/source/tools/toolutil/collationinfo.cpp:23:
In file included from ../deps/icu-small/source/common/uvectr32.h:19:
In file included from ../deps/icu-small/source/common/uhash.h:17:
../deps/icu-small/source/common/cmemory.h:197:50: error: expected ';'
at end of declaration list
    LocalMemory<T> &moveFrom(LocalMemory<T> &src) U_NOEXCEPT {
                                                 ^
                                                 ;
2 errors generated.
gmake[2]: *** [tools/icu/icutools.host.mk:534:
/tmp/usr/ports/www/node/work/node-v6.2.1/out/Release/obj.host/icutools/deps/icu-small/source/tools/toolutil/pkg_icu.o]
Error 1
../deps/icu-small/source/common/cmemory.h:260:27: error: out-of-line
definition of 'allocateInsteadAndReset' does not match any declaration
in 'LocalMemory<T>'
inline T *LocalMemory<T>::allocateInsteadAndReset(int32_t newCapacity) {
                          ^~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
gmake[2]: *** [tools/icu/icutools.host.mk:534:
/tmp/usr/ports/www/node/work/node-v6.2.1/out/Release/obj.host/icutools/deps/icu-small/source/tools/toolutil/collationinfo.o]
Error 1
7 errors generated.
gmake[2]: *** [tools/icu/icutools.host.mk:534:
/tmp/usr/ports/www/node/work/node-v6.2.1/out/Release/obj.host/icutools/deps/icu-small/source/tools/toolutil/swapimpl.o]
Error 1
gmake[2]: Leaving directory '/tmp/usr/ports/www/node/work/node-v6.2.1/out'
gmake[1]: *** [Makefile:66: node] Error 2
gmake[1]: Leaving directory '/tmp/usr/ports/www/node/work/node-v6.2.1'

Did I miss out something obvious?
-- 
Jonathan Chen <jonc@chen.org.nz>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJuc1zNyT9e74zYorzxaCjoSvZqUFPFt0-1wh89sQBpr=V2QYQ>