All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 14926] New: package/nodejs: build for host fails with GTEST errors
@ 2022-07-29  7:33 bugzilla
  2022-07-29  7:59 ` [Buildroot] [Bug 14926] " bugzilla
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: bugzilla @ 2022-07-29  7:33 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=14926

            Bug ID: 14926
           Summary: package/nodejs: build for host fails with GTEST errors
           Product: buildroot
           Version: 2022.02.3
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned@buildroot.uclibc.org
          Reporter: wg@grandegger.com
                CC: buildroot@uclibc.org
  Target Milestone: ---

Since I updated Buildroot from 2022.02.1 to 2022.02.3, I get build
failures when building "host-nodejs" as shown below. This package was
not used with 2022.02.1 to build qt5webengine but is now required.
I have built under Debian 11 with GCC 10 and also Ubuntu 2022.04 LTS
with GCC 11. Any idea what's going wrong? I have attached my .config.

[7m>>> host-nodejs 14.18.3 Extracting[27m
xzcat /home/wolf/agco/qt-4.8/bd/downloads/nodejs/node-v14.18.3.tar.xz | tar
--strip-components=1 -C
/home/wolf/agco/qt-4.8/bd/agco_dcu_application/build/host-nodejs-14.18.3   -xf
-
[7m>>> host-nodejs 14.18.3 Patching[27m

Applying 0001-add-qemu-wrapper-support.patch using patch: 
patching file node.gyp
Hunk #1 succeeded at 281 (offset -210 lines).
Hunk #2 succeeded at 306 (offset -210 lines).
patching file tools/v8_gypfiles/v8.gyp

Applying 0001-check-if-uclibc-has-backtrace-support.patch using patch: 
patching file deps/v8/src/base/debug/stack_trace_posix.cc
[7m>>> host-nodejs 14.18.3 Configuring[27m
mkdir -p /home/wolf/app/qt-4.8/bd/app_application/build/host-nodejs-14.18.3/bin
ln -sf /home/wolf/app/qt-4.8/bd/app_application/host/bin/python3
/home/wolf/app/qt-4.8/bd/app_application/build/host-nodejs-14.18.3/bin/python
/usr/bin/sed -i -e "s%@MAYBE_WRAPPER@%%g"
/home/wolf/app/qt-4.8/bd/app_application/build/host-nodejs-14.18.3/node.gyp
/usr/bin/sed -i -e "s%@MAYBE_WRAPPER@%%g"
/home/wolf/app/qt-4.8/bd/app_application/build/host-nodejs-14.18.3/tools/v8_gypfiles/v8.gyp
(cd /home/wolf/app/qt-4.8/bd/app_application/build/host-nodejs-14.18.3;
PATH="/home/wolf/app/qt-4.8/bd/app_application/host/bin:/home/wolf/app/qt-4.8/bd/app_application/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
PKG_CONFIG="/home/wolf/app/qt-4.8/bd/app_application/host/bin/pkg-config"
PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
PKG_CONFIG_ALLOW_SYSTEM_LIBS=1
PKG_CONFIG_LIBDIR="/home/wolf/app/qt-4.8/bd/app_application/host/lib/pkgconfig:/home/wolf/app/qt-4.8/bd/app_application/host/share/pkgconfig"
AR="/usr/bin/ar" AS="/usr/bin/as" LD="/usr/bin/ld" NM="/usr/bin/nm"
CC="/home/wolf/app/qt-4.8/bd/app_application/host/bin/ccache /usr/bin/gcc"
GCC="/home/wolf/app/qt-4.8/bd/app_application/host/bin/ccache /usr/bin/gcc"
CXX="/home/wolf/app/qt-4.8/bd/app_application/host/bin/ccache /usr/bin/g++"
CPP="/usr/bin/cpp" OBJCOPY="/usr/bin/objcopy" RANLIB="/usr/bin/ranlib"
CPPFLAGS="-I/home/wolf/app/qt-4.8/bd/app_application/host/include" CFLAGS="-O2
-I/home/wolf/app/qt-4.8/bd/app_application/host/include" CXXFLAGS="-O2
-I/home/wolf/app/qt-4.8/bd/app_application/host/include"
LDFLAGS="-L/home/wolf/app/qt-4.8/bd/app_application/host/lib
-Wl,-rpath,/home/wolf/app/qt-4.8/bd/app_application/host/lib"
INTLTOOL_PERL=/usr/bin/perl
PATH=/home/wolf/app/qt-4.8/bd/app_application/build/host-nodejs-14.18.3/bin:"/home/wolf/app/qt-4.8/bd/app_application/host/bin:/home/wolf/app/qt-4.8/bd/app_application/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
PYTHON=/home/wolf/app/qt-4.8/bd/app_application/host/bin/python3
/home/wolf/app/qt-4.8/bd/app_application/host/bin/python3 ./configure
--prefix=/home/wolf/app/qt-4.8/bd/app_application/host --without-dtrace
--without-etw --shared-openssl
--shared-openssl-includes=/home/wolf/app/qt-4.8/bd/app_application/host/include
--shared-openssl-libpath=/home/wolf/app/qt-4.8/bd/app_application/host/lib
--shared-zlib --no-cross-compiling --with-intl=system-icu )
Node.js configure: Found Python 3.10.4...
INFO: configure completed successfully
[7m>>> host-nodejs 14.18.3 Building[27m
PATH="/home/wolf/app/qt-4.8/bd/app_application/host/bin:/home/wolf/app/qt-4.8/bd/app_application/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
PKG_CONFIG="/home/wolf/app/qt-4.8/bd/app_application/host/bin/pkg-config"
PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
PKG_CONFIG_ALLOW_SYSTEM_LIBS=1
PKG_CONFIG_LIBDIR="/home/wolf/app/qt-4.8/bd/app_application/host/lib/pkgconfig:/home/wolf/app/qt-4.8/bd/app_application/host/share/pkgconfig"
PYTHON=/home/wolf/app/qt-4.8/bd/app_application/host/bin/python3 /usr/bin/make
-j21 -C /home/wolf/app/qt-4.8/bd/app_application/build/host-nodejs-14.18.3
PATH="/home/wolf/app/qt-4.8/bd/app_application/host/bin:/home/wolf/app/qt-4.8/bd/app_application/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
PKG_CONFIG="/home/wolf/app/qt-4.8/bd/app_application/host/bin/pkg-config"
PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
PKG_CONFIG_ALLOW_SYSTEM_LIBS=1
PKG_CONFIG_LIBDIR="/home/wolf/app/qt-4.8/bd/app_application/host/lib/pkgconfig:/home/wolf/app/qt-4.8/bd/app_application/host/share/pkgconfig"
AR="/usr/bin/ar" AS="/usr/bin/as" LD="/usr/bin/ld" NM="/usr/bin/nm"
CC="/home/wolf/app/qt-4.8/bd/app_application/host/bin/ccache /usr/bin/gcc"
GCC="/home/wolf/app/qt-4.8/bd/app_application/host/bin/ccache /usr/bin/gcc"
CXX="/home/wolf/app/qt-4.8/bd/app_application/host/bin/ccache /usr/bin/g++"
CPP="/usr/bin/cpp" OBJCOPY="/usr/bin/objcopy" RANLIB="/usr/bin/ranlib"
CPPFLAGS="-I/home/wolf/app/qt-4.8/bd/app_application/host/include" CFLAGS="-O2
-I/home/wolf/app/qt-4.8/bd/app_application/host/include" CXXFLAGS="-O2
-I/home/wolf/app/qt-4.8/bd/app_application/host/include"
LDFLAGS="-L/home/wolf/app/qt-4.8/bd/app_application/host/lib
-Wl,-rpath,/home/wolf/app/qt-4.8/bd/app_application/host/lib"
INTLTOOL_PERL=/usr/bin/perl CXXFLAGS="-O2
-I/home/wolf/app/qt-4.8/bd/app_application/host/include"
LDFLAGS.host="-L/home/wolf/app/qt-4.8/bd/app_application/host/lib
-Wl,-rpath,/home/wolf/app/qt-4.8/bd/app_application/host/lib"
NO_LOAD=cctest.target.mk
PATH=/home/wolf/app/qt-4.8/bd/app_application/build/host-nodejs-14.18.3/bin:"/home/wolf/app/qt-4.8/bd/app_application/host/bin:/home/wolf/app/qt-4.8/bd/app_application/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
/usr/bin/make -C out BUILDTYPE=Release V=0
  /home/wolf/app/qt-4.8/bd/app_application/host/bin/ccache /usr/bin/gcc -o
/home/wolf/app/qt-4.8/bd/app_application/build/host-nodejs-14.18.3/out/Release/obj.target/brotli/deps/brotli/c/common/constants.o
../deps/brotli/c/common/constants.c '-DV8_DEPRECATION_WARNINGS'
'-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D__STDC_FORMAT_MACROS' '-DOS_LINUX'
-I/home/wolf/app/qt-4.8/bd/app_application/host/include
-I../deps/brotli/c/include  -pthread -Wall -Wextra -Wno-unused-parameter -m64
-O3 -fno-omit-frame-pointer  -MMD -MF
/home/wolf/app/qt-4.8/bd/app_application/build/host-nodejs-14.18.3/out/Release/.deps//home/wolf/app/qt-4.8/bd/app_application/build/host-nodejs-14.18.3/out/Release/obj.target/brotli/deps/brotli/c/common/constants.o.d.raw
-I/home/wolf/app/qt-4.8/bd/app_application/host/include -O2
-I/home/wolf/app/qt-4.8/bd/app_application/host/include -c
  /home/wolf/app/qt-4.8/bd/app_application/host/bin/ccache /usr/bin/gcc -o
/home/wolf/app/qt-4.8/bd/app_application/build/host-nodejs-14.18.3/out/Release/obj.target/brotli/deps/brotli/c/common/context.o
../deps/brotli/c/common/context.c '-DV8_DEPRECATION_WARNINGS'
'-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D__STDC_FORMAT_MACROS' '-DOS_LINUX'
-I/home/wolf/app/qt-4.8/bd/app_application/host/include
-I../deps/brotli/c/include  -pthread -Wall -Wextra -Wno-unused-parameter -m64
-O3 -fno-omit-frame-pointer  -MMD -MF
/home/wolf/app/qt-4.8/bd/app_application/build/host-nodejs-14.18.3/out/Release/.deps//home/wolf/app/qt-4.8/bd/app_application/build/host-nodejs-14.18.3/out/Release/obj.target/brotli/deps/brotli/c/common/context.o.d.raw
-I/home/wolf/app/qt-4.8/bd/app_application/host/include -O2
-I/home/wolf/app/qt-4.8/bd/app_application/host/include -c
  /home/wolf/app/qt-4.8/bd/app_application/host/bin/ccache /usr/bin/gcc -o
/home/wolf/app/qt-4.8/bd/app_application/build/host-nodejs-14.18.3/out/Release/obj.target/brotli/deps/brotli/c/common/dictionary.o
../deps/brotli/c/common/dictionary.c '-DV8_DEPRECATION_WARNINGS'
'-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D__STDC_FORMAT_MACROS' '-DOS_LINUX'
-I/home/wolf/app/qt-4.8/bd/app_application/host/include
-I../deps/brotli/c/include  -pthread -Wall -Wextra -Wno-unused-parameter -m64
-O3 -fno-omit-frame-pointer  -MMD -MF
/home/wolf/app/qt-4.8/bd/app_application/build/host-nodejs-14.18.3/out/Release/.deps//home/wolf/app/qt-4.8/bd/app_application/build/host-nodejs-14.18.3/out/Release/obj.target/brotli/deps/brotli/c/common/dictionary.o.d.raw
-I/home/wolf/app/qt-4.8/bd/app_application/host/include -O2
-I/home/wolf/app/qt-4.8/bd/app_application/host/include -c
,,,
  /home/wolf/app/qt-4.8/bd/app_application/host/bin/ccache /usr/bin/g++ -o
/home/wolf/app/qt-4.8/bd/app_application/build/host-nodejs-14.18.3/out/Release/obj.target/torque_base/deps/v8/src/torque/types.o
../deps/v8/src/torque/types.cc '-DV8_GYP_BUILD'
'-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=64' '-D__STDC_FORMAT_MACROS'
'-DV8_TARGET_ARCH_X64' '-DV8_EMBEDDER_STRING="-node.85"'
'-DENABLE_DISASSEMBLER' '-DV8_PROMISE_INTERNAL_FIELD_COUNT=1'
'-DENABLE_MINOR_MC' '-DOBJECT_PRINT' '-DV8_INTL_SUPPORT'
'-DV8_CONCURRENT_MARKING' '-DV8_ARRAY_BUFFER_EXTENSION'
'-DV8_ENABLE_LAZY_SOURCE_POSITIONS' '-DV8_USE_SIPHASH'
'-DDISABLE_UNTRUSTED_CODE_MITIGATIONS' '-DV8_WIN64_UNWINDING_INFO'
'-DV8_ENABLE_REGEXP_INTERPRETER_THREADED_DISPATCH' '-DV8_SNAPSHOT_COMPRESSION'
-I/home/wolf/app/qt-4.8/bd/app_application/host/include -I../deps/v8
-I../deps/v8/include  -pthread -Wno-unused-parameter -m64 -Wno-return-type
-fno-strict-aliasing -m64 -O3 -fno-omit-frame-pointer -fdata-sections
-ffunction-sections -O3 -fno-rtti -std=gnu++1y -fexceptions -MMD -MF
/home/wolf/app/qt-4.8/bd/app_application/build/host-nodejs-14.18.3/out/Release/.deps//home/wolf/app/qt-4.8/bd/app_application/build/host-nodejs-14.18.3/out/Release/obj.target/torque_base/deps/v8/src/torque/types.o.d.raw
-I/home/wolf/app/qt-4.8/bd/app_application/host/include -O2
-I/home/wolf/app/qt-4.8/bd/app_application/host/include -c
In file included from ../deps/googletest/src/gtest-port.cc:87:
../deps/googletest/src/gtest-internal-inl.h: In constructor
'testing::internal::GTestFlagSaver::GTestFlagSaver()':
../deps/googletest/src/gtest-internal-inl.h:141:47: error:
'also_run_disabled_tests' was not declared in this scope; did you mean
'also_run_disabled_tests_'?
  141 |     also_run_disabled_tests_ = GTEST_FLAG_GET(also_run_disabled_tests);
      |                                               ^~~~~~~~~~~~~~~~~~~~~~~
      |                                               also_run_disabled_tests_
../deps/googletest/src/gtest-internal-inl.h:141:32: error: 'GTEST_FLAG_GET' was
not declared in this scope; did you mean 'GTEST_FLAG'?
  141 |     also_run_disabled_tests_ = GTEST_FLAG_GET(also_run_disabled_tests);
      |                                ^~~~~~~~~~~~~~
      |                                GTEST_FLAG
../deps/googletest/src/gtest-internal-inl.h:142:40: error: 'break_on_failure'
was not declared in this scope; did you mean 'break_on_failure_'?
  142 |     break_on_failure_ = GTEST_FLAG_GET(break_on_failure);
      |                                        ^~~~~~~~~~~~~~~~
      |                                        break_on_failure_
../deps/googletest/src/gtest-internal-inl.h:143:40: error: 'catch_exceptions'
was not declared in this scope; did you mean 'catch_exceptions_'?
  143 |     catch_exceptions_ = GTEST_FLAG_GET(catch_exceptions);
      |                                        ^~~~~~~~~~~~~~~~
      |                                        catch_exceptions_
../deps/googletest/src/gtest-internal-inl.h:144:29: error: 'color' was not
declared in this scope; did you mean 'color_'?
  144 |     color_ = GTEST_FLAG_GET(color);
      |                             ^~~~~
      |                             color_
../deps/googletest/src/gtest-internal-inl.h:145:40: error: 'death_test_style'
was not declared in this scope; did you mean 'death_test_style_'?
  145 |     death_test_style_ = GTEST_FLAG_GET(death_test_style);
      |                                        ^~~~~~~~~~~~~~~~
      |                                        death_test_style_
../deps/googletest/src/gtest-internal-inl.h:146:43: error:
'death_test_use_fork' was not declared in this scope; did you mean
'death_test_use_fork_'?
  146 |     death_test_use_fork_ = GTEST_FLAG_GET(death_test_use_fork);
      |                                           ^~~~~~~~~~~~~~~~~~~
      |                                           death_test_use_fork_
../deps/googletest/src/gtest-internal-inl.h:147:33: error: 'fail_fast' was not
declared in this scope; did you mean 'fail_fast_'?
  147 |     fail_fast_ = GTEST_FLAG_GET(fail_fast);
      |                                 ^~~~~~~~~
      |                                 fail_fast_
../deps/googletest/src/gtest-internal-inl.h:148:30: error: 'filter' was not
declared in this scope; did you mean 'filter_'?
  148 |     filter_ = GTEST_FLAG_GET(filter);
      |                              ^~~~~~
      |                              filter_
../deps/googletest/src/gtest-internal-inl.h:149:47: error:
'internal_run_death_test' was not declared in this scope; did you mean
'internal_run_death_test_'?
  149 |     internal_run_death_test_ = GTEST_FLAG_GET(internal_run_death_test);
      |                                               ^~~~~~~~~~~~~~~~~~~~~~~
      |                                               internal_run_death_test_
../deps/googletest/src/gtest-internal-inl.h:150:34: error: 'list_tests' was not
declared in this scope; did you mean 'list_tests_'?
  150 |     list_tests_ = GTEST_FLAG_GET(list_tests);
      |                                  ^~~~~~~~~~
      |                                  list_tests_
../deps/googletest/src/gtest-internal-inl.h:151:30: error: 'output' was not
declared in this scope; did you mean 'output_'?
  151 |     output_ = GTEST_FLAG_GET(output);
      |                              ^~~~~~
      |                              output_
../deps/googletest/src/gtest-internal-inl.h:152:29: error: 'brief' was not
declared in this scope; did you mean 'brief_'?
  152 |     brief_ = GTEST_FLAG_GET(brief);
      |                             ^~~~~
      |                             brief_
../deps/googletest/src/gtest-internal-inl.h:153:34: error: 'print_time' was not
declared in this scope; did you mean 'print_time_'?
  153 |     print_time_ = GTEST_FLAG_GET(print_time);
      |                                  ^~~~~~~~~~
      |                                  print_time_
../deps/googletest/src/gtest-internal-inl.h:154:34: error: 'print_utf8' was not
declared in this scope; did you mean 'print_utf8_'?
  154 |     print_utf8_ = GTEST_FLAG_GET(print_utf8);
      |                                  ^~~~~~~~~~
      |                                  print_utf8_
../deps/googletest/src/gtest-internal-inl.h:155:35: error: 'random_seed' was
not declared in this scope; did you mean 'random_seed_'?
  155 |     random_seed_ = GTEST_FLAG_GET(random_seed);
      |                                   ^~~~~~~~~~~
      |                                   random_seed_
../deps/googletest/src/gtest-internal-inl.h:156:30: error: 'repeat' was not
declared in this scope; did you mean 'repeat_'?
  156 |     repeat_ = GTEST_FLAG_GET(repeat);
      |                              ^~~~~~
      |                              repeat_
../deps/googletest/src/gtest-internal-inl.h:158:24: error:
'recreate_environments_when_repeating' was not declared in this scope; did you
mean 'recreate_environments_when_repeating_'?
  158 |         GTEST_FLAG_GET(recreate_environments_when_repeating);
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                        recreate_environments_when_repeating_
../deps/googletest/src/gtest-internal-inl.h:159:31: error: 'shuffle' was not
declared in this scope; did you mean 'std::shuffle'?
  159 |     shuffle_ = GTEST_FLAG_GET(shuffle);
      |                               ^~~~~~~
      |                               std::shuffle
In file included from /usr/include/c++/11/algorithm:62,
                 from ../deps/googletest/src/gtest-internal-inl.h:44,
                 from ../deps/googletest/src/gtest-port.cc:87:
/usr/include/c++/11/bits/stl_algo.h:3729:5: note: 'std::shuffle' declared here
 3729 |     shuffle(_RandomAccessIterator __first, _RandomAccessIterator
__last,
      |     ^~~~~~~
In file included from ../deps/googletest/src/gtest-port.cc:87:
../deps/googletest/src/gtest-internal-inl.h:160:41: error: 'stack_trace_depth'
was not declared in this scope; did you mean 'stack_trace_depth_'?
  160 |     stack_trace_depth_ = GTEST_FLAG_GET(stack_trace_depth);
      |                                         ^~~~~~~~~~~~~~~~~
      |                                         stack_trace_depth_
../deps/googletest/src/gtest-internal-inl.h:161:40: error: 'stream_result_to'
was not declared in this scope; did you mean 'stream_result_to_'?
  161 |     stream_result_to_ = GTEST_FLAG_GET(stream_result_to);
      |                                        ^~~~~~~~~~~~~~~~
      |                                        stream_result_to_
../deps/googletest/src/gtest-internal-inl.h:162:40: error: 'throw_on_failure'
was not declared in this scope; did you mean 'throw_on_failure_'?
  162 |     throw_on_failure_ = GTEST_FLAG_GET(throw_on_failure);
      |                                        ^~~~~~~~~~~~~~~~
      |                                        throw_on_failure_
../deps/googletest/src/gtest-internal-inl.h: In destructor
'testing::internal::GTestFlagSaver::~GTestFlagSaver()':
../deps/googletest/src/gtest-internal-inl.h:167:20: error:
'also_run_disabled_tests' was not declared in this scope; did you mean
'also_run_disabled_tests_'?
  167 |     GTEST_FLAG_SET(also_run_disabled_tests, also_run_disabled_tests_);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~
      |                    also_run_disabled_tests_
../deps/googletest/src/gtest-internal-inl.h:167:5: error: 'GTEST_FLAG_SET' was
not declared in this scope; did you mean 'GTEST_FLAG_SAVER_'?
  167 |     GTEST_FLAG_SET(also_run_disabled_tests, also_run_disabled_tests_);
      |     ^~~~~~~~~~~~~~
      |     GTEST_FLAG_SAVER_
../deps/googletest/src/gtest-internal-inl.h:168:20: error: 'break_on_failure'
was not declared in this scope; did you mean 'break_on_failure_'?
  168 |     GTEST_FLAG_SET(break_on_failure, break_on_failure_);
      |                    ^~~~~~~~~~~~~~~~
      |                    break_on_failure_
../deps/googletest/src/gtest-internal-inl.h:169:20: error: 'catch_exceptions'
was not declared in this scope; did you mean 'catch_exceptions_'?
  169 |     GTEST_FLAG_SET(catch_exceptions, catch_exceptions_);
      |                    ^~~~~~~~~~~~~~~~
      |                    catch_exceptions_
../deps/googletest/src/gtest-internal-inl.h:170:20: error: 'color' was not
declared in this scope; did you mean 'color_'?
  170 |     GTEST_FLAG_SET(color, color_);
      |                    ^~~~~
      |                    color_
../deps/googletest/src/gtest-internal-inl.h:171:20: error: 'death_test_style'
was not declared in this scope; did you mean 'death_test_style_'?
  171 |     GTEST_FLAG_SET(death_test_style, death_test_style_);
      |                    ^~~~~~~~~~~~~~~~
      |                    death_test_style_
../deps/googletest/src/gtest-internal-inl.h:172:20: error:
'death_test_use_fork' was not declared in this scope; did you mean
'death_test_use_fork_'?
  172 |     GTEST_FLAG_SET(death_test_use_fork, death_test_use_fork_);
      |                    ^~~~~~~~~~~~~~~~~~~
      |                    death_test_use_fork_
../deps/googletest/src/gtest-internal-inl.h:173:20: error: 'filter' was not
declared in this scope; did you mean 'filter_'?
  173 |     GTEST_FLAG_SET(filter, filter_);
      |                    ^~~~~~
      |                    filter_
../deps/googletest/src/gtest-internal-inl.h:174:20: error: 'fail_fast' was not
declared in this scope; did you mean 'fail_fast_'?
  174 |     GTEST_FLAG_SET(fail_fast, fail_fast_);
      |                    ^~~~~~~~~
      |                    fail_fast_
../deps/googletest/src/gtest-internal-inl.h:175:20: error:
'internal_run_death_test' was not declared in this scope; did you mean
'internal_run_death_test_'?
  175 |     GTEST_FLAG_SET(internal_run_death_test, internal_run_death_test_);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~
      |                    internal_run_death_test_
../deps/googletest/src/gtest-internal-inl.h:176:20: error: 'list_tests' was not
declared in this scope; did you mean 'list_tests_'?
  176 |     GTEST_FLAG_SET(list_tests, list_tests_);
      |                    ^~~~~~~~~~
      |                    list_tests_
../deps/googletest/src/gtest-internal-inl.h:177:20: error: 'output' was not
declared in this scope; did you mean 'output_'?
  177 |     GTEST_FLAG_SET(output, output_);
      |                    ^~~~~~
      |                    output_
../deps/googletest/src/gtest-internal-inl.h:178:20: error: 'brief' was not
declared in this scope; did you mean 'brief_'?
  178 |     GTEST_FLAG_SET(brief, brief_);
      |                    ^~~~~
      |                    brief_
../deps/googletest/src/gtest-internal-inl.h:179:20: error: 'print_time' was not
declared in this scope; did you mean 'print_time_'?
  179 |     GTEST_FLAG_SET(print_time, print_time_);
      |                    ^~~~~~~~~~
      |                    print_time_
../deps/googletest/src/gtest-internal-inl.h:180:20: error: 'print_utf8' was not
declared in this scope; did you mean 'print_utf8_'?
  180 |     GTEST_FLAG_SET(print_utf8, print_utf8_);
      |                    ^~~~~~~~~~
      |                    print_utf8_
../deps/googletest/src/gtest-internal-inl.h:181:20: error: 'random_seed' was
not declared in this scope; did you mean 'random_seed_'?
  181 |     GTEST_FLAG_SET(random_seed, random_seed_);
      |                    ^~~~~~~~~~~
      |                    random_seed_
../deps/googletest/src/gtest-internal-inl.h:182:20: error: 'repeat' was not
declared in this scope; did you mean 'repeat_'?
  182 |     GTEST_FLAG_SET(repeat, repeat_);
      |                    ^~~~~~
      |                    repeat_
../deps/googletest/src/gtest-internal-inl.h:183:20: error:
'recreate_environments_when_repeating' was not declared in this scope; did you
mean 'recreate_environments_when_repeating_'?
  183 |     GTEST_FLAG_SET(recreate_environments_when_repeating,
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                    recreate_environments_when_repeating_
../deps/googletest/src/gtest-internal-inl.h:185:20: error: 'shuffle' was not
declared in this scope; did you mean 'std::shuffle'?
  185 |     GTEST_FLAG_SET(shuffle, shuffle_);
      |                    ^~~~~~~
      |                    std::shuffle
In file included from /usr/include/c++/11/algorithm:62,
                 from ../deps/googletest/src/gtest-internal-inl.h:44,
                 from ../deps/googletest/src/gtest-port.cc:87:
/usr/include/c++/11/bits/stl_algo.h:3729:5: note: 'std::shuffle' declared here
 3729 |     shuffle(_RandomAccessIterator __first, _RandomAccessIterator
__last,
      |     ^~~~~~~
In file included from ../deps/googletest/src/gtest-port.cc:87:
../deps/googletest/src/gtest-internal-inl.h:186:20: error: 'stack_trace_depth'
was not declared in this scope; did you mean 'stack_trace_depth_'?
  186 |     GTEST_FLAG_SET(stack_trace_depth, stack_trace_depth_);
      |                    ^~~~~~~~~~~~~~~~~
      |                    stack_trace_depth_
../deps/googletest/src/gtest-internal-inl.h:187:20: error: 'stream_result_to'
was not declared in this scope; did you mean 'stream_result_to_'?
  187 |     GTEST_FLAG_SET(stream_result_to, stream_result_to_);
      |                    ^~~~~~~~~~~~~~~~
      |                    stream_result_to_
../deps/googletest/src/gtest-internal-inl.h:188:20: error: 'throw_on_failure'
was not declared in this scope; did you mean 'throw_on_failure_'?
  188 |     GTEST_FLAG_SET(throw_on_failure, throw_on_failure_);
      |                    ^~~~~~~~~~~~~~~~
      |                    throw_on_failure_
make[3]: *** [deps/googletest/gtest.target.mk:95:
/home/wolf/app/qt-4.8/bd/app_application/build/host-nodejs-14.18.3/out/Release/obj.target/gtest/deps/googletest/src/gtest-port.o]
Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from ../deps/googletest/src/gtest-death-test.cc:86:
../deps/googletest/src/gtest-internal-inl.h: In constructor
'testing::internal::GTestFlagSaver::GTestFlagSaver()':
../deps/googletest/src/gtest-internal-inl.h:141:47: error:
'also_run_disabled_tests' was not declared in this scope; did you mean
'also_run_disabled_tests_'?
  141 |     also_run_disabled_tests_ = GTEST_FLAG_GET(also_run_disabled_tests);
      |                                               ^~~~~~~~~~~~~~~~~~~~~~~
      |                                               also_run_disabled_tests_
../deps/googletest/src/gtest-internal-inl.h:141:32: error: 'GTEST_FLAG_GET' was
not declared in this scope; did you mean 'GTEST_FLAG'?
  141 |     also_run_disabled_tests_ = GTEST_FLAG_GET(also_run_disabled_tests);
      |                                ^~~~~~~~~~~~~~
      |                                GTEST_FLAG
../deps/googletest/src/gtest-internal-inl.h:142:40: error: 'break_on_failure'
was not declared in this scope; did you mean 'break_on_failure_'?
  142 |     break_on_failure_ = GTEST_FLAG_GET(break_on_failure);
      |                                        ^~~~~~~~~~~~~~~~
      |                                        break_on_failure_
../deps/googletest/src/gtest-internal-inl.h:143:40: error: 'catch_exceptions'
was not declared in this scope; did you mean 'catch_exceptions_'?
  143 |     catch_exceptions_ = GTEST_FLAG_GET(catch_exceptions);
      |                                        ^~~~~~~~~~~~~~~~
      |                                        catch_exceptions_
../deps/googletest/src/gtest-internal-inl.h:144:29: error: 'color' was not
declared in this scope; did you mean 'color_'?
  144 |     color_ = GTEST_FLAG_GET(color);
      |                             ^~~~~
      |                             color_
../deps/googletest/src/gtest-internal-inl.h:145:40: error: 'death_test_style'
was not declared in this scope; did you mean 'death_test_style_'?
  145 |     death_test_style_ = GTEST_FLAG_GET(death_test_style);
      |                                        ^~~~~~~~~~~~~~~~
      |                                        death_test_style_
../deps/googletest/src/gtest-internal-inl.h:146:43: error:
'death_test_use_fork' was not declared in this scope; did you mean
'death_test_use_fork_'?
  146 |     death_test_use_fork_ = GTEST_FLAG_GET(death_test_use_fork);
      |                                           ^~~~~~~~~~~~~~~~~~~
      |                                           death_test_use_fork_
../deps/googletest/src/gtest-internal-inl.h:147:33: error: 'fail_fast' was not
declared in this scope; did you mean 'fail_fast_'?
  147 |     fail_fast_ = GTEST_FLAG_GET(fail_fast);
      |                                 ^~~~~~~~~
      |                                 fail_fast_
../deps/googletest/src/gtest-internal-inl.h:148:30: error: 'filter' was not
declared in this scope; did you mean 'filter_'?
  148 |     filter_ = GTEST_FLAG_GET(filter);
      |                              ^~~~~~
      |                              filter_
../deps/googletest/src/gtest-internal-inl.h:149:47: error:
'internal_run_death_test' was not declared in this scope; did you mean
'internal_run_death_test_'?
  149 |     internal_run_death_test_ = GTEST_FLAG_GET(internal_run_death_test);
      |                                               ^~~~~~~~~~~~~~~~~~~~~~~
      |                                               internal_run_death_test_
../deps/googletest/src/gtest-internal-inl.h:150:34: error: 'list_tests' was not
declared in this scope; did you mean 'list_tests_'?
  150 |     list_tests_ = GTEST_FLAG_GET(list_tests);
      |                                  ^~~~~~~~~~
      |                                  list_tests_
../deps/googletest/src/gtest-internal-inl.h:151:30: error: 'output' was not
declared in this scope; did you mean 'output_'?
  151 |     output_ = GTEST_FLAG_GET(output);
      |                              ^~~~~~
      |                              output_
../deps/googletest/src/gtest-internal-inl.h:152:29: error: 'brief' was not
declared in this scope; did you mean 'brief_'?
  152 |     brief_ = GTEST_FLAG_GET(brief);
      |                             ^~~~~
      |                             brief_
../deps/googletest/src/gtest-internal-inl.h:153:34: error: 'print_time' was not
declared in this scope; did you mean 'print_time_'?
  153 |     print_time_ = GTEST_FLAG_GET(print_time);
      |                                  ^~~~~~~~~~
      |                                  print_time_
../deps/googletest/src/gtest-internal-inl.h:154:34: error: 'print_utf8' was not
declared in this scope; did you mean 'print_utf8_'?
  154 |     print_utf8_ = GTEST_FLAG_GET(print_utf8);
      |                                  ^~~~~~~~~~
      |                                  print_utf8_
../deps/googletest/src/gtest-internal-inl.h:155:35: error: 'random_seed' was
not declared in this scope; did you mean 'random_seed_'?
  155 |     random_seed_ = GTEST_FLAG_GET(random_seed);
      |                                   ^~~~~~~~~~~
      |                                   random_seed_
../deps/googletest/src/gtest-internal-inl.h:156:30: error: 'repeat' was not
declared in this scope; did you mean 'repeat_'?
  156 |     repeat_ = GTEST_FLAG_GET(repeat);
      |                              ^~~~~~
      |                              repeat_
../deps/googletest/src/gtest-internal-inl.h:158:24: error:
'recreate_environments_when_repeating' was not declared in this scope; did you
mean 'recreate_environments_when_repeating_'?
  158 |         GTEST_FLAG_GET(recreate_environments_when_repeating);
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                        recreate_environments_when_repeating_
../deps/googletest/src/gtest-internal-inl.h:159:31: error: 'shuffle' was not
declared in this scope; did you mean 'std::shuffle'?
  159 |     shuffle_ = GTEST_FLAG_GET(shuffle);
      |                               ^~~~~~~
      |                               std::shuffle
In file included from /usr/include/c++/11/algorithm:62,
                 from ../deps/googletest/src/gtest-internal-inl.h:44,
                 from ../deps/googletest/src/gtest-death-test.cc:86:
/usr/include/c++/11/bits/stl_algo.h:3729:5: note: 'std::shuffle' declared here
 3729 |     shuffle(_RandomAccessIterator __first, _RandomAccessIterator
__last,
      |     ^~~~~~~
In file included from ../deps/googletest/src/gtest-death-test.cc:86:
../deps/googletest/src/gtest-internal-inl.h:160:41: error: 'stack_trace_depth'
was not declared in this scope; did you mean 'stack_trace_depth_'?
  160 |     stack_trace_depth_ = GTEST_FLAG_GET(stack_trace_depth);
      |                                         ^~~~~~~~~~~~~~~~~
      |                                         stack_trace_depth_
../deps/googletest/src/gtest-internal-inl.h:161:40: error: 'stream_result_to'
was not declared in this scope; did you mean 'stream_result_to_'?
  161 |     stream_result_to_ = GTEST_FLAG_GET(stream_result_to);
      |                                        ^~~~~~~~~~~~~~~~
      |                                        stream_result_to_
../deps/googletest/src/gtest-internal-inl.h:162:40: error: 'throw_on_failure'
was not declared in this scope; did you mean 'throw_on_failure_'?
  162 |     throw_on_failure_ = GTEST_FLAG_GET(throw_on_failure);
      |                                        ^~~~~~~~~~~~~~~~
      |                                        throw_on_failure_
../deps/googletest/src/gtest-internal-inl.h: In destructor
'testing::internal::GTestFlagSaver::~GTestFlagSaver()':
../deps/googletest/src/gtest-internal-inl.h:167:20: error:
'also_run_disabled_tests' was not declared in this scope; did you mean
'also_run_disabled_tests_'?
  167 |     GTEST_FLAG_SET(also_run_disabled_tests, also_run_disabled_tests_);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~
      |                    also_run_disabled_tests_
../deps/googletest/src/gtest-internal-inl.h:167:5: error: 'GTEST_FLAG_SET' was
not declared in this scope; did you mean 'GTEST_FLAG_SAVER_'?
  167 |     GTEST_FLAG_SET(also_run_disabled_tests, also_run_disabled_tests_);
      |     ^~~~~~~~~~~~~~
      |     GTEST_FLAG_SAVER_
../deps/googletest/src/gtest-internal-inl.h:168:20: error: 'break_on_failure'
was not declared in this scope; did you mean 'break_on_failure_'?
  168 |     GTEST_FLAG_SET(break_on_failure, break_on_failure_);
      |                    ^~~~~~~~~~~~~~~~
      |                    break_on_failure_
../deps/googletest/src/gtest-internal-inl.h:169:20: error: 'catch_exceptions'
was not declared in this scope; did you mean 'catch_exceptions_'?
  169 |     GTEST_FLAG_SET(catch_exceptions, catch_exceptions_);
      |                    ^~~~~~~~~~~~~~~~
      |                    catch_exceptions_
../deps/googletest/src/gtest-internal-inl.h:170:20: error: 'color' was not
declared in this scope; did you mean 'color_'?
  170 |     GTEST_FLAG_SET(color, color_);
      |                    ^~~~~
      |                    color_
../deps/googletest/src/gtest-internal-inl.h:171:20: error: 'death_test_style'
was not declared in this scope; did you mean 'death_test_style_'?
  171 |     GTEST_FLAG_SET(death_test_style, death_test_style_);
      |                    ^~~~~~~~~~~~~~~~
      |                    death_test_style_
../deps/googletest/src/gtest-internal-inl.h:172:20: error:
'death_test_use_fork' was not declared in this scope; did you mean
'death_test_use_fork_'?
  172 |     GTEST_FLAG_SET(death_test_use_fork, death_test_use_fork_);
      |                    ^~~~~~~~~~~~~~~~~~~
      |                    death_test_use_fork_
../deps/googletest/src/gtest-internal-inl.h:173:20: error: 'filter' was not
declared in this scope; did you mean 'filter_'?
  173 |     GTEST_FLAG_SET(filter, filter_);
      |                    ^~~~~~
      |                    filter_
../deps/googletest/src/gtest-internal-inl.h:174:20: error: 'fail_fast' was not
declared in this scope; did you mean 'fail_fast_'?
  174 |     GTEST_FLAG_SET(fail_fast, fail_fast_);
      |                    ^~~~~~~~~
      |                    fail_fast_
../deps/googletest/src/gtest-internal-inl.h:175:20: error:
'internal_run_death_test' was not declared in this scope; did you mean
'internal_run_death_test_'?
  175 |     GTEST_FLAG_SET(internal_run_death_test, internal_run_death_test_);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~
      |                    internal_run_death_test_
../deps/googletest/src/gtest-internal-inl.h:176:20: error: 'list_tests' was not
declared in this scope; did you mean 'list_tests_'?
  176 |     GTEST_FLAG_SET(list_tests, list_tests_);
      |                    ^~~~~~~~~~
      |                    list_tests_
../deps/googletest/src/gtest-internal-inl.h:177:20: error: 'output' was not
declared in this scope; did you mean 'output_'?
  177 |     GTEST_FLAG_SET(output, output_);
      |                    ^~~~~~
      |                    output_
../deps/googletest/src/gtest-internal-inl.h:178:20: error: 'brief' was not
declared in this scope; did you mean 'brief_'?
  178 |     GTEST_FLAG_SET(brief, brief_);
      |                    ^~~~~
      |                    brief_
../deps/googletest/src/gtest-internal-inl.h:179:20: error: 'print_time' was not
declared in this scope; did you mean 'print_time_'?
  179 |     GTEST_FLAG_SET(print_time, print_time_);
      |                    ^~~~~~~~~~
      |                    print_time_
../deps/googletest/src/gtest-internal-inl.h:180:20: error: 'print_utf8' was not
declared in this scope; did you mean 'print_utf8_'?
  180 |     GTEST_FLAG_SET(print_utf8, print_utf8_);
      |                    ^~~~~~~~~~
      |                    print_utf8_
../deps/googletest/src/gtest-internal-inl.h:181:20: error: 'random_seed' was
not declared in this scope; did you mean 'random_seed_'?
  181 |     GTEST_FLAG_SET(random_seed, random_seed_);
      |                    ^~~~~~~~~~~
      |                    random_seed_
../deps/googletest/src/gtest-internal-inl.h:182:20: error: 'repeat' was not
declared in this scope; did you mean 'repeat_'?
  182 |     GTEST_FLAG_SET(repeat, repeat_);
      |                    ^~~~~~
      |                    repeat_
../deps/googletest/src/gtest-internal-inl.h:183:20: error:
'recreate_environments_when_repeating' was not declared in this scope; did you
mean 'recreate_environments_when_repeating_'?
  183 |     GTEST_FLAG_SET(recreate_environments_when_repeating,
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                    recreate_environments_when_repeating_
../deps/googletest/src/gtest-internal-inl.h:185:20: error: 'shuffle' was not
declared in this scope; did you mean 'std::shuffle'?
  185 |     GTEST_FLAG_SET(shuffle, shuffle_);
      |                    ^~~~~~~
      |                    std::shuffle
In file included from /usr/include/c++/11/algorithm:62,
                 from ../deps/googletest/src/gtest-internal-inl.h:44,
                 from ../deps/googletest/src/gtest-death-test.cc:86:
/usr/include/c++/11/bits/stl_algo.h:3729:5: note: 'std::shuffle' declared here
 3729 |     shuffle(_RandomAccessIterator __first, _RandomAccessIterator
__last,
      |     ^~~~~~~
In file included from ../deps/googletest/src/gtest-death-test.cc:86:
../deps/googletest/src/gtest-internal-inl.h:186:20: error: 'stack_trace_depth'
was not declared in this scope; did you mean 'stack_trace_depth_'?
  186 |     GTEST_FLAG_SET(stack_trace_depth, stack_trace_depth_);
      |                    ^~~~~~~~~~~~~~~~~
      |                    stack_trace_depth_
../deps/googletest/src/gtest-internal-inl.h:187:20: error: 'stream_result_to'
was not declared in this scope; did you mean 'stream_result_to_'?
  187 |     GTEST_FLAG_SET(stream_result_to, stream_result_to_);
      |                    ^~~~~~~~~~~~~~~~
      |                    stream_result_to_
../deps/googletest/src/gtest-internal-inl.h:188:20: error: 'throw_on_failure'
was not declared in this scope; did you mean 'throw_on_failure_'?
  188 |     GTEST_FLAG_SET(throw_on_failure, throw_on_failure_);
      |                    ^~~~~~~~~~~~~~~~
      |                    throw_on_failure_
../deps/googletest/src/gtest-death-test.cc: In function 'bool
testing::internal::InDeathTestChild()':
../deps/googletest/src/gtest-death-test.cc:158:22: error: 'death_test_style'
was not declared in this scope
  158 |   if (GTEST_FLAG_GET(death_test_style) == "threadsafe")
      |                      ^~~~~~~~~~~~~~~~
../deps/googletest/src/gtest-death-test.cc:158:7: error: 'GTEST_FLAG_GET' was
not declared in this scope; did you mean 'GTEST_FLAG'?
  158 |   if (GTEST_FLAG_GET(death_test_style) == "threadsafe")
      |       ^~~~~~~~~~~~~~
      |       GTEST_FLAG
../deps/googletest/src/gtest-death-test.cc:159:28: error:
'internal_run_death_test' was not declared in this scope
  159 |     return !GTEST_FLAG_GET(internal_run_death_test).empty();
      |                            ^~~~~~~~~~~~~~~~~~~~~~~
../deps/googletest/src/gtest-death-test.cc: In function 'pid_t
testing::internal::ExecDeathTestSpawnChild(char* const*, int)':
../deps/googletest/src/gtest-death-test.cc:1357:40: error:
'death_test_use_fork' was not declared in this scope; did you mean
'kDeathTestUseFork'?
 1357 |   const bool use_fork = GTEST_FLAG_GET(death_test_use_fork);
      |                                        ^~~~~~~~~~~~~~~~~~~
      |                                        kDeathTestUseFork
../deps/googletest/src/gtest-death-test.cc:1357:25: error: 'GTEST_FLAG_GET' was
not declared in this scope; did you mean 'GTEST_FLAG'?
...
make[3]: *** [deps/googletest/gtest.target.mk:95:
/home/wolf/app/qt-4.8/bd/app_application/build/host-nodejs-14.18.3/out/Release/obj.target/gtest/deps/googletest/src/gtest.o]
Error 1
rm 4f7c1a89e04c50fcacd30a15d378b4faf6ad5a6b.intermediate
16593acc0303e927006aca117115752a4e2a6813.intermediate
make[2]: *** [Makefile:109: node] Error 2
make[1]: *** [package/pkg-generic.mk:293:
/home/wolf/app/qt-4.8/bd/app_application/build/host-nodejs-14.18.3/.stamp_built]
Error 2
make: *** [Makefile:23: _all] Error 2

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [Bug 14926] package/nodejs: build for host fails with GTEST errors
  2022-07-29  7:33 [Buildroot] [Bug 14926] New: package/nodejs: build for host fails with GTEST errors bugzilla
@ 2022-07-29  7:59 ` bugzilla
  2022-07-29  8:29 ` bugzilla
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla @ 2022-07-29  7:59 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=14926

--- Comment #1 from wg@grandegger.com ---
Created attachment 9346
  --> https://bugs.busybox.net/attachment.cgi?id=9346&action=edit
Buildroot defconfig

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [Bug 14926] package/nodejs: build for host fails with GTEST errors
  2022-07-29  7:33 [Buildroot] [Bug 14926] New: package/nodejs: build for host fails with GTEST errors bugzilla
  2022-07-29  7:59 ` [Buildroot] [Bug 14926] " bugzilla
@ 2022-07-29  8:29 ` bugzilla
  2022-07-29  9:36 ` bugzilla
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla @ 2022-07-29  8:29 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=14926

--- Comment #2 from Thomas Petazzoni <thomas.petazzoni@bootlin.com> ---
Thanks a lot for your report!

Could you try reverting 09c422606a6d1405da660c2206a606abf9ecb5aa and
922f45620f1c6ed353c661353dff9d6a1a1e3eca. The former is a no-op, so I don't
suspect that to be the reason, but the latter could potentially be the reason.
The patch itself is correct, but it could have some side-effects, such as
discovering libraries that it was not discovering before, leading to new build
issues.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [Bug 14926] package/nodejs: build for host fails with GTEST errors
  2022-07-29  7:33 [Buildroot] [Bug 14926] New: package/nodejs: build for host fails with GTEST errors bugzilla
  2022-07-29  7:59 ` [Buildroot] [Bug 14926] " bugzilla
  2022-07-29  8:29 ` bugzilla
@ 2022-07-29  9:36 ` bugzilla
  2022-07-29 12:11 ` bugzilla
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla @ 2022-07-29  9:36 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=14926

--- Comment #3 from wg@grandegger.com ---
Hello, thanks for your quick response...

Reverting the two commits did not help! Still the same error!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [Bug 14926] package/nodejs: build for host fails with GTEST errors
  2022-07-29  7:33 [Buildroot] [Bug 14926] New: package/nodejs: build for host fails with GTEST errors bugzilla
                   ` (2 preceding siblings ...)
  2022-07-29  9:36 ` bugzilla
@ 2022-07-29 12:11 ` bugzilla
  2022-07-29 13:17 ` bugzilla
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla @ 2022-07-29 12:11 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=14926

--- Comment #4 from Thomas Petazzoni <thomas.petazzoni@bootlin.com> ---
Meh, your defconfig (slightly modified to remove references to files I don't
have access to) doesn't build here with a different error, on gdb:

../gnulib/import/unistd.h:135:3: error: #error "Please include config.h first."

I will disable gdb, but it means we have another issue :-/

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [Bug 14926] package/nodejs: build for host fails with GTEST errors
  2022-07-29  7:33 [Buildroot] [Bug 14926] New: package/nodejs: build for host fails with GTEST errors bugzilla
                   ` (3 preceding siblings ...)
  2022-07-29 12:11 ` bugzilla
@ 2022-07-29 13:17 ` bugzilla
  2022-07-29 13:27 ` bugzilla
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla @ 2022-07-29 13:17 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=14926

--- Comment #5 from wg@grandegger.com ---
I'm able to reproduce the issue with:

$ cd buildroot
$ git checkout -b test 60ff1d619db65d797147855b7c1163c327ef6c88
$ make pc_x86_64_efi_defconfig
$ make menuconfig
select glibc
select g++
select gtest and gtest gmock
select host-nodejs
$ make host-gtest
$ make host-nodejs
...

The issue also shows up with todays update to 2022.02.4
(9dd3bb1963bc906c72146d9872462bf493d512ac)!

Below is the defconfig used:

$ cat configs/pc_x86_64_efi_defconfig
BR2_x86_64=y
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_TARGET_GENERIC_GETTY_PORT="tty1"
BR2_ROOTFS_POST_BUILD_SCRIPT="board/pc/post-build.sh"
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/pc/post-image-efi.sh"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.204"
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/pc/linux.config"
BR2_LINUX_KERNEL_INSTALL_TARGET=y
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
BR2_PACKAGE_LINUX_FIRMWARE=y
BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9170=y
BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9271=y
BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3160=y
BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3168=y
BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_5000=y
BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_6000G2A=y
BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_6000G2B=y
BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7260=y
BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7265D=y
BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_8000C=y
BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_8265=y
BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT73=y
BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT2XX=y
BR2_PACKAGE_LINUX_FIRMWARE_RTL_81XX=y
BR2_PACKAGE_LINUX_FIRMWARE_RTL_87XX=y
BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX=y
BR2_PACKAGE_LINUX_FIRMWARE_RTL_8169=y
BR2_PACKAGE_ACPID=y
BR2_PACKAGE_GTEST=y
BR2_PACKAGE_GTEST_GMOCK=y
BR2_PACKAGE_CONNMAN=y
BR2_PACKAGE_CONNMAN_WIFI=y
BR2_PACKAGE_CONNMAN_CLIENT=y
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_4=y
BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
# BR2_TARGET_ROOTFS_TAR is not set
BR2_TARGET_GRUB2=y
BR2_TARGET_GRUB2_X86_64_EFI=y
BR2_PACKAGE_HOST_DOSFSTOOLS=y
BR2_PACKAGE_HOST_GENIMAGE=y
BR2_PACKAGE_HOST_MTOOLS=y
BR2_PACKAGE_HOST_NODEJS=y

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [Bug 14926] package/nodejs: build for host fails with GTEST errors
  2022-07-29  7:33 [Buildroot] [Bug 14926] New: package/nodejs: build for host fails with GTEST errors bugzilla
                   ` (4 preceding siblings ...)
  2022-07-29 13:17 ` bugzilla
@ 2022-07-29 13:27 ` bugzilla
  2022-07-29 13:33 ` bugzilla
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla @ 2022-07-29 13:27 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=14926

--- Comment #6 from Thomas Petazzoni <thomas.petazzoni@bootlin.com> ---
I am afraid the problem is not between 2022.02.1 and 2022.02.3: I can reproduce
your issue on 2022.02.1. I.e the following defconfig fails for me (I have
disabled ccache and BR2_REPRODUCIBLE just to exclude these as a possible source
of issue)

BR2_x86_64=y
BR2_x86_nehalem=y
# BR2_PIC_PIE is not set
BR2_SSP_NONE=y
BR2_RELRO_NONE=y
BR2_FORTIFY_SOURCE_NONE=y
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
BR2_KERNEL_HEADERS_5_4=y
BR2_GCC_VERSION_9_X=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_HOST_GDB=y
BR2_PACKAGE_HOST_GDB_TUI=y
BR2_GDB_VERSION_9_2=y
BR2_TARGET_GENERIC_HOSTNAME="dcu"
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_TARGET_GENERIC_ROOT_PASSWD="qwert1234"
# BR2_TARGET_GENERIC_GETTY is not set
# BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW is not set
BR2_TARGET_TZ_INFO=y
BR2_PACKAGE_GSTREAMER1=y
BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP=y
BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOCONVERT=y
BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOTESTSRC=y
BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL=y
BR2_PACKAGE_GST1_PLUGINS_GOOD=y
BR2_PACKAGE_GST1_PLUGINS_GOOD_JPEG=y
BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTP=y
BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTPMANAGER=y
BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_UDP=y
BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FBDEV=y
BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_KMS=y
BR2_PACKAGE_GST1_LIBAV=y
BR2_PACKAGE_GST1_VAAPI=y
BR2_PACKAGE_GST1_VAAPI_ENCODERS=y
BR2_PACKAGE_STRACE=y
BR2_PACKAGE_STRESS=y
BR2_PACKAGE_GETTEXT=y
BR2_PACKAGE_DEJAVU=y
BR2_PACKAGE_LIBVA_UTILS=y
BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_MESA3D_DRI_DRIVER_I915=y
BR2_PACKAGE_MESA3D_DRI_DRIVER_I965=y
BR2_PACKAGE_MESA3D_OPENGL_EGL=y
BR2_PACKAGE_MESA3D_OPENGL_ES=y
BR2_PACKAGE_QT5=y
BR2_PACKAGE_QT5BASE_CONCURRENT=y
BR2_PACKAGE_QT5BASE_PSQL=y
BR2_PACKAGE_QT5BASE_LINUXFB=y
BR2_PACKAGE_QT5BASE_HARFBUZZ=y
BR2_PACKAGE_QT5BASE_GIF=y
BR2_PACKAGE_QT5BASE_JPEG=y
BR2_PACKAGE_QT5BASE_PNG=y
BR2_PACKAGE_QT5MULTIMEDIA=y
BR2_PACKAGE_QT5SVG=y
BR2_PACKAGE_QT5WEBENGINE=y
# BR2_PACKAGE_EUDEV_ENABLE_HWDB is not set
BR2_PACKAGE_LIBARCHIVE=y
BR2_PACKAGE_MINIZIP=y
BR2_PACKAGE_SNAPPY=y
BR2_PACKAGE_OPENSSL=y
BR2_PACKAGE_POSTGRESQL_FULL=y
BR2_PACKAGE_POSTGIS=y
BR2_PACKAGE_LCMS2=y
BR2_PACKAGE_LIBVA_INTEL_DRIVER=y
BR2_PACKAGE_WEBP_MUX=y
BR2_PACKAGE_LIBINPUT=y
BR2_PACKAGE_TSLIB=y
BR2_PACKAGE_JSONCPP=y
BR2_PACKAGE_LIBJSON=y
BR2_PACKAGE_LIBXSLT=y
BR2_PACKAGE_LIBCURL=y
BR2_PACKAGE_LIBMICROHTTPD=y
BR2_PACKAGE_LIBNL=y
BR2_PACKAGE_BOOST=y
BR2_PACKAGE_GTEST=y
BR2_PACKAGE_GTEST_GMOCK=y
BR2_PACKAGE_LIBARGTABLE2=y
BR2_PACKAGE_LIBEVENT=y
BR2_PACKAGE_SHAPELIB=y
BR2_PACKAGE_PCRE_32=y
BR2_PACKAGE_RE2=y
BR2_PACKAGE_BLUEZ5_UTILS=y
BR2_PACKAGE_BLUEZ5_UTILS_CLIENT=y
BR2_PACKAGE_CAN_UTILS=y
BR2_PACKAGE_DROPBEAR=y
BR2_PACKAGE_GESFTPSERVER=y
BR2_PACKAGE_HTOP=y
BR2_PACKAGE_UTIL_LINUX_UUIDD=y
BR2_PACKAGE_HOST_ENVIRONMENT_SETUP=y
BR2_PACKAGE_HOST_NODEJS=y

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [Bug 14926] package/nodejs: build for host fails with GTEST errors
  2022-07-29  7:33 [Buildroot] [Bug 14926] New: package/nodejs: build for host fails with GTEST errors bugzilla
                   ` (5 preceding siblings ...)
  2022-07-29 13:27 ` bugzilla
@ 2022-07-29 13:33 ` bugzilla
  2022-07-30  7:30 ` bugzilla
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla @ 2022-07-29 13:33 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=14926

--- Comment #7 from wg@grandegger.com ---
host-nodejs is not selected and used by qt5webengine in 2022.02.1.
That's why I do not see it with that version.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [Bug 14926] package/nodejs: build for host fails with GTEST errors
  2022-07-29  7:33 [Buildroot] [Bug 14926] New: package/nodejs: build for host fails with GTEST errors bugzilla
                   ` (6 preceding siblings ...)
  2022-07-29 13:33 ` bugzilla
@ 2022-07-30  7:30 ` bugzilla
  2022-07-30 14:51 ` bugzilla
  2022-08-17  5:38 ` bugzilla
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla @ 2022-07-30  7:30 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=14926

Yann E. MORIN <yann.morin.1998@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jacmet@uclibc.org,
                   |                            |yann.morin.1998@free.fr

--- Comment #8 from Yann E. MORIN <yann.morin.1998@free.fr> ---
Wolfgang, All,

The only package that used to need host-gtest was gtest itself. On master,
we bumped gtest to a newer version that no longer requires host-gtest, so
we dropped it.

The version bump seems very minor, so maybe it would be worth backporting
to the stable branch so we can drop host-gtest and fix this host-nodejs
issue.

Peter?

Regards,
Yann E. MORIN.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [Bug 14926] package/nodejs: build for host fails with GTEST errors
  2022-07-29  7:33 [Buildroot] [Bug 14926] New: package/nodejs: build for host fails with GTEST errors bugzilla
                   ` (7 preceding siblings ...)
  2022-07-30  7:30 ` bugzilla
@ 2022-07-30 14:51 ` bugzilla
  2022-08-17  5:38 ` bugzilla
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla @ 2022-07-30 14:51 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=14926

--- Comment #9 from wg@grandegger.com ---
Hello Yann, all,

on 2022.02.4 I cherry-picked:

  16a8c68 package/gtest: drop host-gtest
  a336b73 package/gtest: bump to version 1.12

As expected, the build issues with host-nodejs are gone!
That fix is fine for me!

Wolfgang

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [Bug 14926] package/nodejs: build for host fails with GTEST errors
  2022-07-29  7:33 [Buildroot] [Bug 14926] New: package/nodejs: build for host fails with GTEST errors bugzilla
                   ` (8 preceding siblings ...)
  2022-07-30 14:51 ` bugzilla
@ 2022-08-17  5:38 ` bugzilla
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla @ 2022-08-17  5:38 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=14926

Peter Korsgaard <jacmet@uclibc.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #10 from Peter Korsgaard <jacmet@uclibc.org> ---
The gtest version bump (and nodejs security fixes) are now backported to
2022.02.x / 2022.05.x and will be in the August releases, thanks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-08-17  5:38 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-29  7:33 [Buildroot] [Bug 14926] New: package/nodejs: build for host fails with GTEST errors bugzilla
2022-07-29  7:59 ` [Buildroot] [Bug 14926] " bugzilla
2022-07-29  8:29 ` bugzilla
2022-07-29  9:36 ` bugzilla
2022-07-29 12:11 ` bugzilla
2022-07-29 13:17 ` bugzilla
2022-07-29 13:27 ` bugzilla
2022-07-29 13:33 ` bugzilla
2022-07-30  7:30 ` bugzilla
2022-07-30 14:51 ` bugzilla
2022-08-17  5:38 ` bugzilla

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.