oe-alliance/oe-alliance-core

build failed because of fatal error: bits/c++config.h: No such file or directory

ahmedmoselhi opened this issue · 4 comments

| [63/9085] CXX v8_snapshot/obj/third_party/icu/bundled_icui18n/collationsets.o
| FAILED: v8_snapshot/obj/third_party/icu/bundled_icui18n/collationsets.o
| /home/hyper/ahmed/build-enviroment/builds/teamblue/release/sf8008/tmp/hosttools/g++ -MMD -MF v8_snapshot/obj/third_party/icu/bundled_icui18n/collationsets.o.d -DU_I18N_IMPLEMENTATION -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DHAVE_DLOPEN=0 -DUCONFIG_ONLY_HTML_CONVERSION=1 -DUCONFIG_USE_WINDOWS_LCID_MAPPING_API=0 -DU_CHARSET_IS_UTF8=1 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DUSE_CHROMIUM_ICU=1 -DU_ENABLE_TRACING=1 -DU_ENABLE_RESOURCE_TRACING=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DUCHAR_TYPE=uint16_t -Iv8_snapshot/gen -I../../../../git/src/3rdparty/chromium -I../../../../git/src/3rdparty/chromium/third_party/icu/source/common -I../../../../git/src/3rdparty/chromium/third_party/icu/source/i18n -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -m32 -msse2 -mfpmath=sse -mmmx -Os -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g1 -fvisibility=hidden -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-packed-not-aligned -Wno-dangling-else -Wno-missing-field-initializers -Wno-unused-parameter -Wno-unused-function -Wno-deprecated-declarations -std=gnu++14 -fno-exceptions -fvisibility-inlines-hidden -frtti -Wno-narrowing -Wno-class-memaccess -Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage -Wno-invalid-offsetof -Wno-return-type -Wno-deprecated-copy -c ../../../../git/src/3rdparty/chromium/third_party/icu/source/i18n/collationsets.cpp -o v8_snapshot/obj/third_party/icu/bundled_icui18n/collationsets.o
| In file included from ../../../../git/src/3rdparty/chromium/third_party/icu/source/common/unicode/unistr.h:35,
|                  from ../../../../git/src/3rdparty/chromium/third_party/icu/source/common/unicode/ucharstrie.h:30,
|                  from ../../../../git/src/3rdparty/chromium/third_party/icu/source/i18n/collationsets.cpp:18:
| /usr/include/c++/12/cstddef:49:10: fatal error: bits/c++config.h: No such file or directory
|    49 | #include <bits/c++config.h>
|       |          ^~~~~~~~~~~~~~~~~~
| compilation terminated.
| [64/9085] CXX v8_snapshot/obj/third_party/icu/bundled_icui18n/collationrootelements.o
| FAILED: v8_snapshot/obj/third_party/icu/bundled_icui18n/collationrootelements.o
| /home/hyper/ahmed/build-enviroment/builds/teamblue/release/sf8008/tmp/hosttools/g++ -MMD -MF v8_snapshot/obj/third_party/icu/bundled_icui18n/collationrootelements.o.d -DU_I18N_IMPLEMENTATION -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DHAVE_DLOPEN=0 -DUCONFIG_ONLY_HTML_CONVERSION=1 -DUCONFIG_USE_WINDOWS_LCID_MAPPING_API=0 -DU_CHARSET_IS_UTF8=1 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DUSE_CHROMIUM_ICU=1 -DU_ENABLE_TRACING=1 -DU_ENABLE_RESOURCE_TRACING=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DUCHAR_TYPE=uint16_t -Iv8_snapshot/gen -I../../../../git/src/3rdparty/chromium -I../../../../git/src/3rdparty/chromium/third_party/icu/source/common -I../../../../git/src/3rdparty/chromium/third_party/icu/source/i18n -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -m32 -msse2 -mfpmath=sse -mmmx -Os -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g1 -fvisibility=hidden -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-packed-not-aligned -Wno-dangling-else -Wno-missing-field-initializers -Wno-unused-parameter -Wno-unused-function -Wno-deprecated-declarations -std=gnu++14 -fno-exceptions -fvisibility-inlines-hidden -frtti -Wno-narrowing -Wno-class-memaccess -Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage -Wno-invalid-offsetof -Wno-return-type -Wno-deprecated-copy -c ../../../../git/src/3rdparty/chromium/third_party/icu/source/i18n/collationrootelements.cpp -o v8_snapshot/obj/third_party/icu/bundled_icui18n/collationrootelements.o
| In file included from /usr/include/c++/12/stdlib.h:36,
|                  from ../../../../git/src/3rdparty/chromium/third_party/icu/source/common/uassert.h:23,
|                  from ../../../../git/src/3rdparty/chromium/third_party/icu/source/i18n/collationrootelements.cpp:20:
| /usr/include/c++/12/cstdlib:41:10: fatal error: bits/c++config.h: No such file or directory
|    41 | #include <bits/c++config.h>
|       |          ^~~~~~~~~~~~~~~~~~
| compilation terminated.
| [65/9085] CXX v8_snapshot/obj/third_party/icu/bundled_icui18n/collationweights.o
| FAILED: v8_snapshot/obj/third_party/icu/bundled_icui18n/collationweights.o
| /home/hyper/ahmed/build-enviroment/builds/teamblue/release/sf8008/tmp/hosttools/g++ -MMD -MF v8_snapshot/obj/third_party/icu/bundled_icui18n/collationweights.o.d -DU_I18N_IMPLEMENTATION -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DHAVE_DLOPEN=0 -DUCONFIG_ONLY_HTML_CONVERSION=1 -DUCONFIG_USE_WINDOWS_LCID_MAPPING_API=0 -DU_CHARSET_IS_UTF8=1 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DUSE_CHROMIUM_ICU=1 -DU_ENABLE_TRACING=1 -DU_ENABLE_RESOURCE_TRACING=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DUCHAR_TYPE=uint16_t -Iv8_snapshot/gen -I../../../../git/src/3rdparty/chromium -I../../../../git/src/3rdparty/chromium/third_party/icu/source/common -I../../../../git/src/3rdparty/chromium/third_party/icu/source/i18n -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -m32 -msse2 -mfpmath=sse -mmmx -Os -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g1 -fvisibility=hidden -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-packed-not-aligned -Wno-dangling-else -Wno-missing-field-initializers -Wno-unused-parameter -Wno-unused-function -Wno-deprecated-declarations -std=gnu++14 -fno-exceptions -fvisibility-inlines-hidden -frtti -Wno-narrowing -Wno-class-memaccess -Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage -Wno-invalid-offsetof -Wno-return-type -Wno-deprecated-copy -c ../../../../git/src/3rdparty/chromium/third_party/icu/source/i18n/collationweights.cpp -o v8_snapshot/obj/third_party/icu/bundled_icui18n/collationweights.o
| In file included from /usr/include/c++/12/memory:63,
|                  from ../../../../git/src/3rdparty/chromium/third_party/icu/source/common/unicode/localpointer.h:45,
|                  from ../../../../git/src/3rdparty/chromium/third_party/icu/source/common/cmemory.h:33,
|                  from ../../../../git/src/3rdparty/chromium/third_party/icu/source/i18n/collationweights.cpp:27:
| /usr/include/c++/12/bits/stl_algobase.h:59:10: fatal error: bits/c++config.h: No such file or directory
|    59 | #include <bits/c++config.h>
|       |          ^~~~~~~~~~~~~~~~~~
| compilation terminated.
| make[3]: *** [Makefile.gn_run:367: run_ninja] Error 1
| make[3]: Leaving directory '/home/hyper/ahmed/build-enviroment/builds/teamblue/release/sf8008/tmp/work/sf8008-oe-linux-gnueabi/qtwebengine/5.15.2+gitAUTOINC+5537ff4437_f5a93d251c-r0/build/src/core'
| make[2]: *** [Makefile:82: sub-gn_run-pro-make_first] Error 2
| make[2]: Leaving directory '/home/hyper/ahmed/build-enviroment/builds/teamblue/release/sf8008/tmp/work/sf8008-oe-linux-gnueabi/qtwebengine/5.15.2+gitAUTOINC+5537ff4437_f5a93d251c-r0/build/src/core'
| make[1]: *** [Makefile:79: sub-core-make_first] Error 2
| make[1]: Leaving directory '/home/hyper/ahmed/build-enviroment/builds/teamblue/release/sf8008/tmp/work/sf8008-oe-linux-gnueabi/qtwebengine/5.15.2+gitAUTOINC+5537ff4437_f5a93d251c-r0/build/src'
| make: *** [Makefile:49: sub-src-make_first] Error 2
| ERROR: oe_runmake failed
Summary: 1 task failed:
  /home/hyper/ahmed/build-enviroment/meta-qt5.15/recipes-qt/qt5/qtwebengine_git.bb:do_compile
Summary: There were 20 WARNING messages.
Summary: There were 2 ERROR messages, returning a non-zero exit code.

have you g++-multilib and gcc-multilib packages installed on build host ?

have you g++-multilib and gcc-multilib packages installed on build host ?

yes

then installation of one (or both) of them is broken. reinstall both g++-multilib and gcc-multilib packages.
just to be clear about packages naming - install them with this command: sudo apt-get install gcc-multilib g++-multilib

sudo apt-get install gcc-multilib g++-multilib

yes fixed thanks for help