Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jun 2016 11:17:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 210305] www/node: build fails (at deps/icu-small)
Message-ID:  <bug-210305-13-ZrN5PAFtRa@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-210305-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-210305-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210305

Carlos J. Puga Medina <cpm@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cpm@freebsd.org

--- Comment #26 from Carlos J. Puga Medina <cpm@freebsd.org> ---
It fails to build with the following errors

<snip>
c++  -I/usr/local/include -I../deps/gtest -I../deps/gtest/include  -pthread
-Wall -Wextra -Wno-unused-parameter -m64 -Wno-missing-field-initializers -O3
-fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=3Dgnu++0x -MMD -MF
/usr/ports/www/node/work/node-v6.2.1/out/Release/.deps//usr/ports/www/node/=
work/node-v6.2.1/out/Release/obj.target/gtest/deps/gtest/src/gtest-test-par=
t.o.d.raw
 -O2 -pipe -Wno-unused-private-field -Wno-nested-anon-types
-Wno-unused-function -Wno-unused-const-variable -fstack-protector
-fno-strict-aliasing  -c -o
/usr/ports/www/node/work/node-v6.2.1/out/Release/obj.target/gtest/deps/gtes=
t/src/gtest-test-part.o
../deps/gtest/src/gtest-test-part.cc
../deps/gtest/src/gtest-printers.cc:60:1: error: unknown type name
      'GTEST_ATTRIBUTE_NO_SANITIZE_MEMORY_'
GTEST_ATTRIBUTE_NO_SANITIZE_MEMORY_
^
../deps/gtest/src/gtest-printers.cc:61:37: error: expected ';' after top le=
vel
      declarator
GTEST_ATTRIBUTE_NO_SANITIZE_ADDRESS_
                                    ^
                                    ;
../deps/gtest/src/gtest-printers.cc:116:3: error: use of undeclared identif=
ier
      'PrintBytesInObjectToImpl'; did you mean 'PrintBytesInObjectTo'?
  PrintBytesInObjectToImpl(obj_bytes, count, os);
  ^~~~~~~~~~~~~~~~~~~~~~~~
  PrintBytesInObjectTo
../deps/gtest/src/gtest-printers.cc:114:6: note: 'PrintBytesInObjectTo'
declared
      here
void PrintBytesInObjectTo(const unsigned char* obj_bytes, size_t count,
     ^
../deps/gtest/src/gtest-printers.cc:259:1: error: unknown type name
      'GTEST_ATTRIBUTE_NO_SANITIZE_MEMORY_'
GTEST_ATTRIBUTE_NO_SANITIZE_MEMORY_
^
../deps/gtest/src/gtest-printers.cc:260:1: warning: variable templates are a
      C++1y extension [-Wc++1y-extensions]
GTEST_ATTRIBUTE_NO_SANITIZE_ADDRESS_
^
../deps/gtest/src/gtest-printers.cc:260:37: error: expected ';' at end of
      declaration
GTEST_ATTRIBUTE_NO_SANITIZE_ADDRESS_
                                    ^
                                    ;
../deps/gtest/src/gtest-printers.cc:261:1: error: unknown type name
      'GTEST_ATTRIBUTE_NO_SANITIZE_THREAD_'
GTEST_ATTRIBUTE_NO_SANITIZE_THREAD_
^
../deps/gtest/src/gtest-printers.cc:262:1: error: expected unqualified-id
static void PrintCharsAsStringTo(
^
../deps/gtest/src/gtest-printers.cc:283:1: error: unknown type name
      'GTEST_ATTRIBUTE_NO_SANITIZE_MEMORY_'
GTEST_ATTRIBUTE_NO_SANITIZE_MEMORY_
^
../deps/gtest/src/gtest-printers.cc:284:1: warning: variable templates are a
      C++1y extension [-Wc++1y-extensions]
GTEST_ATTRIBUTE_NO_SANITIZE_ADDRESS_
^
../deps/gtest/src/gtest-printers.cc:284:37: error: expected ';' at end of
      declaration
GTEST_ATTRIBUTE_NO_SANITIZE_ADDRESS_
                                    ^
                                    ;
../deps/gtest/src/gtest-printers.cc:285:1: error: unknown type name
      'GTEST_ATTRIBUTE_NO_SANITIZE_THREAD_'
GTEST_ATTRIBUTE_NO_SANITIZE_THREAD_
^
../deps/gtest/src/gtest-printers.cc:286:1: error: expected unqualified-id
static void UniversalPrintCharArray(
^
../deps/gtest/src/gtest-printers.cc:310:3: error: use of undeclared identif=
ier
      'UniversalPrintCharArray'; did you mean 'UniversalPrintArray'?
  UniversalPrintCharArray(begin, len, os);
  ^~~~~~~~~~~~~~~~~~~~~~~
  UniversalPrintArray
../deps/gtest/src/gtest-printers.cc:309:6: note: 'UniversalPrintArray' decl=
ared
      here
void UniversalPrintArray(const char* begin, size_t len, ostream* os) {
     ^
../deps/gtest/src/gtest-printers.cc:316:3: error: use of undeclared identif=
ier
      'UniversalPrintCharArray'; did you mean 'UniversalPrintArray'?
  UniversalPrintCharArray(begin, len, os);
  ^~~~~~~~~~~~~~~~~~~~~~~
  UniversalPrintArray
/usr/local/include/gtest/gtest-printers.h:637:17: note: 'UniversalPrintArra=
y'
      declared here
GTEST_API_ void UniversalPrintArray(
                ^
../deps/gtest/src/gtest-printers.cc:325:5: error: use of undeclared identif=
ier
      'PrintCharsAsStringTo'
    PrintCharsAsStringTo(s, strlen(s), os);
    ^
../deps/gtest/src/gtest-printers.cc:342:5: error: use of undeclared identif=
ier
      'PrintCharsAsStringTo'
    PrintCharsAsStringTo(s, std::wcslen(s), os);
    ^
../deps/gtest/src/gtest-printers.cc:355:3: error: use of undeclared identif=
ier
      'PrintCharsAsStringTo'
  PrintCharsAsStringTo(s.data(), s.size(), os);
  ^
../deps/gtest/src/gtest-printers.cc:367:3: error: use of undeclared identif=
ier
      'PrintCharsAsStringTo'
  PrintCharsAsStringTo(s.data(), s.size(), os);
  ^
2 warnings and 17 errors generated.
gmake[3]: *** [deps/gtest/gtest.target.mk:83:
/usr/ports/www/node/work/node-v6.2.1/out/Release/obj.target/gtest/deps/gtes=
t/src/gtest-printers.o]
Error 1
gmake[3]: *** Waiting for unfinished jobs....
../deps/gtest/src/gtest-death-test.cc:989:1: error: unknown type name
      'GTEST_ATTRIBUTE_NO_SANITIZE_ADDRESS_'
GTEST_ATTRIBUTE_NO_SANITIZE_ADDRESS_
^
../deps/gtest/src/gtest-death-test.cc:990:1: error: expected unqualified-id
bool StackGrowsDown() {
^
../deps/gtest/src/gtest-port.cc:889:1: error: C++ requires a type specifier=
 for
      all declarations
GTEST_DISABLE_MSC_WARNINGS_PUSH_(4996)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../deps/gtest/src/gtest-port.cc:889:39: error: expected ';' after top level
      declarator
GTEST_DISABLE_MSC_WARNINGS_PUSH_(4996)
                                      ^
                                      ;
../deps/gtest/src/gtest-port.cc:1008:1: error: C++ requires a type specifier
for
      all declarations
GTEST_DISABLE_MSC_WARNINGS_POP_()
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../deps/gtest/src/gtest-port.cc:1008:34: error: expected ';' after top level
      declarator
GTEST_DISABLE_MSC_WARNINGS_POP_()
                                 ^
                                 ;
2 errors generated.
gmake[3]: *** [deps/gtest/gtest.target.mk:83:
/usr/ports/www/node/work/node-v6.2.1/out/Release/obj.target/gtest/deps/gtes=
t/src/gtest-death-test.o]
Error 1
4 errors generated.
gmake[3]: *** [deps/gtest/gtest.target.mk:83:
/usr/ports/www/node/work/node-v6.2.1/out/Release/obj.target/gtest/deps/gtes=
t/src/gtest-port.o]
Error 1
gmake[3]: Leaving directory '/usr/ports/www/node/work/node-v6.2.1/out'
gmake[2]: *** [Makefile:66: node] Error 2
gmake[2]: Leaving directory '/usr/ports/www/node/work/node-v6.2.1'
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure =
to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/www/node
*** Error code 1

Stop.
make: stopped in /usr/ports/www/node


Please, re-add USES=3Dlocalbase framework.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210305-13-ZrN5PAFtRa>