| Summary: | qt5webengine build error: asm/errno.h: No such file or directory | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | Aleksandr Makarov <seems.deviant> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | CC: | buildroot |
| Priority: | P5 | ||
| Version: | 2019.11 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: | br2 config file to reproduce | ||
Hello Aleksandr, does that error occur every build at the same time or randomly? Which buildroot version exactly do you use? We have patched qt5webengine recently [1] so there shouldn't be any problems with compilation this component. [1] https://github.com/buildroot/buildroot/commit/6cfe21ae90ccd88254bf5240b2b29d74794f45fe Best Bartek (In reply to Bartosz Bilas from comment #1) Bartek, The mentioned error occurs every time I do either full build with 'make all' or rebuilding with 'make qt5webengine-dirclean qt5webengine-rebuild'. I use the Github [1] mirror as buildroot source. My HEAD is on '35c040d1ab boot/uboot: cover more u-boot versions when fixing up libfdt include paths'; that's where I can reproduce the issue right now. I can also see that the patch [2] you mentioned is applied to the src/3rdparty/chromium/build/config/linux/pkg_config.gni in my build directory. However it does not seem to address this exact issue as none of the failing object files compile with '-isystem' flag. [1] https://github.com/buildroot/buildroot [2] https://github.com/buildroot/buildroot/commit/6cfe21ae90ccd88254bf5240b2b29d74794f45fe (In reply to Aleksandr Makarov from comment #2) Hello Aleksandr, please attach your config in which the error occurs and then I'll try to reproduce this bug. Best Bartek Created attachment 8326 [details]
br2 config file to reproduce
(In reply to Bartosz Bilas from comment #3) Got to make sure I can reproduce the issue in a clean output dir. The attached config reproduces the issue. (In reply to Aleksandr Makarov from comment #5) Hello Aleksandr, I've built your config successfully on my machine without any problems so I don't think there is something wrong with buildroot itself. I was googling a bit and it looks like a missing development stuff on your machine. Which OS do you use to build that image? Please also check if you have installed userspace headers from the Linux kernel. Best Bartek (In reply to Bartosz Bilas from comment #6) Upgraded to Ubuntu 18.04 (was 16.04.4) and successfully built the config. I decided to figure out the root cause of the issue and found it be g++ failing to compile certain Qt5Webengine files with -m32 flag specified. The easiest way to reproduce was to create a sample file including errno.h: $ cat bugged-compiler.c #include <errno.h> int main() { return -ENOENT; } And trying to compile it on Ubuntu 16.04: $ /usr/bin/g++ -m32 -c -o bugged-compiler bugged-compiler.c In file included from /usr/include/bits/errno.h:24:0, from /usr/include/errno.h:35, from bugged-compiler.c:1: /usr/include/linux/errno.h:1:23: fatal error: asm/errno.h: No such file or directory compilation terminated. On Ubuntu 18.04 it compiled successfully. The issue was that I didn't have packages 'libc6-dev:i386 gcc-6-base:i386 libc6:i386 libc6-dev:i386 libgcc1:i386 linux-libc-dev:i386' installed in the Ubuntu 16.04 system. After installing those the issue disappears. I did't expect the gcc/g++ compiler installed in the system to be used anywhere in the compilation process except for bootstrapping initial gcc compiler. As I understand, the buildroot should only use the system gcc to build a cross compiler and that's it. After the cross-compiler is installed under <output>/host/ every package should be configured to use that cross-compiler and it's sysroot. Thanks for the report and the investigation. :-) Note: sometimes, a package will need to build its own tools during the build (e.g. to generate a table of values), and those tools are built with the host compiler. Hence the error. But qt5webengine already selects BR2_HOSTARCH_NEEDS_IA32_COMPILER when needed, so this is strange... |
I'm building the buildroot's latest qt5webengine-5.12.5 with the internal toolchain. The following build error occurs repeatedly: [8869/14573] CXX v8_snapshot/obj/third_party/icu/bundled_icuuc/listformatter.o FAILED: v8_snapshot/obj/third_party/icu/bundled_icuuc/listformatter.o /usr/bin/g++ -MMD -MF v8_snapshot/obj/third_party/icu/bundled_icuuc/listformatter.o.d -DU_COMMON_IMPLEMENTATION -DU_ICUDATAENTRY_IN_COMMON -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DOFFICIAL_BUILD -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DHAVE_DLOPEN=0 -DUCONFIG_ONLY_HTML_CONVERSION=1 -DU_CHARSET_IS_UTF8=1 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DUCHAR_TYPE=uint16_t -Iv8_snapshot/gen -I../../3rdparty/chromium -I../../3rdparty/chromium/third_party/icu/source/common -I../../3rdparty/chromium/third_party/icu/source/i18n -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pipe -pthread -m32 -msse2 -mfpmath=sse -mmmx -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-dangling-else -Wno-packed-not-aligned -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-attributes -Wno-class-memaccess -Wno-subobject-linkage -c ../../3rdparty/chromium/third_party/icu/source/common/listformatter.cpp -o v8_snapshot/obj/third_party/icu/bundled_icuuc/listformatter.o In file included from /usr/include/bits/errno.h:24:0, from /usr/include/errno.h:35, from /usr/include/c++/5/cerrno:41, from /usr/include/c++/5/ext/string_conversions.h:44, from /usr/include/c++/5/bits/basic_string.h:5249, from /usr/include/c++/5/string:52, from ../../3rdparty/chromium/third_party/icu/source/common/unicode/std_string.h:35, from ../../3rdparty/chromium/third_party/icu/source/common/unicode/unistr.h:35, from ../../3rdparty/chromium/third_party/icu/source/common/unicode/listformatter.h:24, from ../../3rdparty/chromium/third_party/icu/source/common/listformatter.cpp:19: /usr/include/linux/errno.h:1:23: fatal error: asm/errno.h: No such file or directory compilation terminated. [8870/14573] CXX v8_snapshot/obj/third_party/icu/bundled_icuuc/loadednormalizer2impl.o FAILED: v8_snapshot/obj/third_party/icu/bundled_icuuc/loadednormalizer2impl.o /usr/bin/g++ -MMD -MF v8_snapshot/obj/third_party/icu/bundled_icuuc/loadednormalizer2impl.o.d -DU_COMMON_IMPLEMENTATION -DU_ICUDATAENTRY_IN_COMMON -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DOFFICIAL_BUILD -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DHAVE_DLOPEN=0 -DUCONFIG_ONLY_HTML_CONVERSION=1 -DU_CHARSET_IS_UTF8=1 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DUCHAR_TYPE=uint16_t -Iv8_snapshot/gen -I../../3rdparty/chromium -I../../3rdparty/chromium/third_party/icu/source/common -I../../3rdparty/chromium/third_party/icu/source/i18n -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pipe -pthread -m32 -msse2 -mfpmath=sse -mmmx -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-dangling-else -Wno-packed-not-aligned -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-attributes -Wno-class-memaccess -Wno-subobject-linkage -c ../../3rdparty/chromium/third_party/icu/source/common/loadednormalizer2impl.cpp -o v8_snapshot/obj/third_party/icu/bundled_icuuc/loadednormalizer2impl.o In file included from /usr/include/bits/errno.h:24:0, from /usr/include/errno.h:35, from /usr/include/c++/5/cerrno:41, from /usr/include/c++/5/ext/string_conversions.h:44, from /usr/include/c++/5/bits/basic_string.h:5249, from /usr/include/c++/5/string:52, from ../../3rdparty/chromium/third_party/icu/source/common/unicode/std_string.h:35, from ../../3rdparty/chromium/third_party/icu/source/common/unicode/stringpiece.h:32, from ../../3rdparty/chromium/third_party/icu/source/common/unicode/normalizer2.h:31, from ../../3rdparty/chromium/third_party/icu/source/common/loadednormalizer2impl.cpp:20: /usr/include/linux/errno.h:1:23: fatal error: asm/errno.h: No such file or directory compilation terminated. [8871/14573] CXX v8_snapshot/obj/third_party/icu/bundled_icui18n/dtptngen.o FAILED: v8_snapshot/obj/third_party/icu/bundled_icui18n/dtptngen.o /usr/bin/g++ -MMD -MF v8_snapshot/obj/third_party/icu/bundled_icui18n/dtptngen.o.d -DU_I18N_IMPLEMENTATION -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DOFFICIAL_BUILD -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DHAVE_DLOPEN=0 -DUCONFIG_ONLY_HTML_CONVERSION=1 -DU_CHARSET_IS_UTF8=1 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DUCHAR_TYPE=uint16_t -Iv8_snapshot/gen -I../../3rdparty/chromium -I../../3rdparty/chromium/third_party/icu/source/common -I../../3rdparty/chromium/third_party/icu/source/i18n -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pipe -pthread -m32 -msse2 -mfpmath=sse -mmmx -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-dangling-else -Wno-packed-not-aligned -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-attributes -Wno-class-memaccess -Wno-subobject-linkage -c ../../3rdparty/chromium/third_party/icu/source/i18n/dtptngen.cpp -o v8_snapshot/obj/third_party/icu/bundled_icui18n/dtptngen.o In file included from /usr/include/bits/errno.h:24:0, from /usr/include/errno.h:35, from /usr/include/c++/5/cerrno:41, from /usr/include/c++/5/ext/string_conversions.h:44, from /usr/include/c++/5/bits/basic_string.h:5249, from /usr/include/c++/5/string:52, from ../../3rdparty/chromium/third_party/icu/source/common/unicode/std_string.h:35, from ../../3rdparty/chromium/third_party/icu/source/common/unicode/unistr.h:35, from ../../3rdparty/chromium/third_party/icu/source/i18n/unicode/timezone.h:42, from ../../3rdparty/chromium/third_party/icu/source/i18n/unicode/calendar.h:40, from ../../3rdparty/chromium/third_party/icu/source/i18n/unicode/datefmt.h:29, from ../../3rdparty/chromium/third_party/icu/source/i18n/dtptngen.cpp:17: /usr/include/linux/errno.h:1:23: fatal error: asm/errno.h: No such file or directory compilation terminated. [8872/14573] CXX v8_snapshot/obj/third_party/icu/bundled_icuuc/locavailable.o FAILED: v8_snapshot/obj/third_party/icu/bundled_icuuc/locavailable.o /usr/bin/g++ -MMD -MF v8_snapshot/obj/third_party/icu/bundled_icuuc/locavailable.o.d -DU_COMMON_IMPLEMENTATION -DU_ICUDATAENTRY_IN_COMMON -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DOFFICIAL_BUILD -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DHAVE_DLOPEN=0 -DUCONFIG_ONLY_HTML_CONVERSION=1 -DU_CHARSET_IS_UTF8=1 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DUCHAR_TYPE=uint16_t -Iv8_snapshot/gen -I../../3rdparty/chromium -I../../3rdparty/chromium/third_party/icu/source/common -I../../3rdparty/chromium/third_party/icu/source/i18n -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pipe -pthread -m32 -msse2 -mfpmath=sse -mmmx -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-dangling-else -Wno-packed-not-aligned -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-attributes -Wno-class-memaccess -Wno-subobject-linkage -c ../../3rdparty/chromium/third_party/icu/source/common/locavailable.cpp -o v8_snapshot/obj/third_party/icu/bundled_icuuc/locavailable.o In file included from /usr/include/bits/errno.h:24:0, from /usr/include/errno.h:35, from /usr/include/c++/5/cerrno:41, from /usr/include/c++/5/ext/string_conversions.h:44, from /usr/include/c++/5/bits/basic_string.h:5249, from /usr/include/c++/5/string:52, from ../../3rdparty/chromium/third_party/icu/source/common/unicode/std_string.h:35, from ../../3rdparty/chromium/third_party/icu/source/common/unicode/unistr.h:35, from ../../3rdparty/chromium/third_party/icu/source/common/unicode/ures.h:794, from ../../3rdparty/chromium/third_party/icu/source/common/locavailable.cpp:25: /usr/include/linux/errno.h:1:23: fatal error: asm/errno.h: No such file or directory compilation terminated. [8873/14573] CXX v8_snapshot/obj/third_party/icu/bundled_icuuc/locdspnm.o FAILED: v8_snapshot/obj/third_party/icu/bundled_icuuc/locdspnm.o /usr/bin/g++ -MMD -MF v8_snapshot/obj/third_party/icu/bundled_icuuc/locdspnm.o.d -DU_COMMON_IMPLEMENTATION -DU_ICUDATAENTRY_IN_COMMON -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DOFFICIAL_BUILD -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DHAVE_DLOPEN=0 -DUCONFIG_ONLY_HTML_CONVERSION=1 -DU_CHARSET_IS_UTF8=1 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DUCHAR_TYPE=uint16_t -Iv8_snapshot/gen -I../../3rdparty/chromium -I../../3rdparty/chromium/third_party/icu/source/common -I../../3rdparty/chromium/third_party/icu/source/i18n -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pipe -pthread -m32 -msse2 -mfpmath=sse -mmmx -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-dangling-else -Wno-packed-not-aligned -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-attributes -Wno-class-memaccess -Wno-subobject-linkage -c ../../3rdparty/chromium/third_party/icu/source/common/locdspnm.cpp -o v8_snapshot/obj/third_party/icu/bundled_icuuc/locdspnm.o In file included from /usr/include/bits/errno.h:24:0, from /usr/include/errno.h:35, from /usr/include/c++/5/cerrno:41, from /usr/include/c++/5/ext/string_conversions.h:44, from /usr/include/c++/5/bits/basic_string.h:5249, from /usr/include/c++/5/string:52, from ../../3rdparty/chromium/third_party/icu/source/common/unicode/std_string.h:35, from ../../3rdparty/chromium/third_party/icu/source/common/unicode/unistr.h:35, from ../../3rdparty/chromium/third_party/icu/source/common/unicode/strenum.h:16, from ../../3rdparty/chromium/third_party/icu/source/common/unicode/locdspnm.h:23, from ../../3rdparty/chromium/third_party/icu/source/common/locdspnm.cpp:14: /usr/include/linux/errno.h:1:23: fatal error: asm/errno.h: No such file or directory compilation terminated. [8874/14573] CXX v8_snapshot/obj/third_party/icu/bundled_icuuc/locdispnames.o FAILED: v8_snapshot/obj/third_party/icu/bundled_icuuc/locdispnames.o /usr/bin/g++ -MMD -MF v8_snapshot/obj/third_party/icu/bundled_icuuc/locdispnames.o.d -DU_COMMON_IMPLEMENTATION -DU_ICUDATAENTRY_IN_COMMON -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DOFFICIAL_BUILD -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DHAVE_DLOPEN=0 -DUCONFIG_ONLY_HTML_CONVERSION=1 -DU_CHARSET_IS_UTF8=1 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DUCHAR_TYPE=uint16_t -Iv8_snapshot/gen -I../../3rdparty/chromium -I../../3rdparty/chromium/third_party/icu/source/common -I../../3rdparty/chromium/third_party/icu/source/i18n -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pipe -pthread -m32 -msse2 -mfpmath=sse -mmmx -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-dangling-else -Wno-packed-not-aligned -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-attributes -Wno-class-memaccess -Wno-subobject-linkage -c ../../3rdparty/chromium/third_party/icu/source/common/locdispnames.cpp -o v8_snapshot/obj/third_party/icu/bundled_icuuc/locdispnames.o In file included from /usr/include/bits/errno.h:24:0, from /usr/include/errno.h:35, from /usr/include/c++/5/cerrno:41, from /usr/include/c++/5/ext/string_conversions.h:44, from /usr/include/c++/5/bits/basic_string.h:5249, from /usr/include/c++/5/string:52, from ../../3rdparty/chromium/third_party/icu/source/common/unicode/std_string.h:35, from ../../3rdparty/chromium/third_party/icu/source/common/unicode/unistr.h:35, from ../../3rdparty/chromium/third_party/icu/source/common/unicode/brkiter.h:47, from ../../3rdparty/chromium/third_party/icu/source/common/locdispnames.cpp:23: /usr/include/linux/errno.h:1:23: fatal error: asm/errno.h: No such file or directory compilation terminated. [8875/14573] CXX v8_snapshot/obj/third_party/icu/bundled_icuuc/locid.o FAILED: v8_snapshot/obj/third_party/icu/bundled_icuuc/locid.o /usr/bin/g++ -MMD -MF v8_snapshot/obj/third_party/icu/bundled_icuuc/locid.o.d -DU_COMMON_IMPLEMENTATION -DU_ICUDATAENTRY_IN_COMMON -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DOFFICIAL_BUILD -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DHAVE_DLOPEN=0 -DUCONFIG_ONLY_HTML_CONVERSION=1 -DU_CHARSET_IS_UTF8=1 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DUCHAR_TYPE=uint16_t -Iv8_snapshot/gen -I../../3rdparty/chromium -I../../3rdparty/chromium/third_party/icu/source/common -I../../3rdparty/chromium/third_party/icu/source/i18n -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pipe -pthread -m32 -msse2 -mfpmath=sse -mmmx -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-dangling-else -Wno-packed-not-aligned -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-attributes -Wno-class-memaccess -Wno-subobject-linkage -c ../../3rdparty/chromium/third_party/icu/source/common/locid.cpp -o v8_snapshot/obj/third_party/icu/bundled_icuuc/locid.o In file included from /usr/include/bits/errno.h:24:0, from /usr/include/errno.h:35, from /usr/include/c++/5/cerrno:41, from /usr/include/c++/5/ext/string_conversions.h:44, from /usr/include/c++/5/bits/basic_string.h:5249, from /usr/include/c++/5/string:52, from ../../3rdparty/chromium/third_party/icu/source/common/unicode/std_string.h:35, from ../../3rdparty/chromium/third_party/icu/source/common/unicode/unistr.h:35, from ../../3rdparty/chromium/third_party/icu/source/common/unicode/strenum.h:16, from ../../3rdparty/chromium/third_party/icu/source/common/locid.cpp:36: /usr/include/linux/errno.h:1:23: fatal error: asm/errno.h: No such file or directory compilation terminated. [8881/14573] CXX v8_snapshot/obj/third_party/icu/bundled_icuuc/loclikely.o FAILED: v8_snapshot/obj/third_party/icu/bundled_icuuc/loclikely.o /usr/bin/g++ -MMD -MF v8_snapshot/obj/third_party/icu/bundled_icuuc/loclikely.o.d -DU_COMMON_IMPLEMENTATION -DU_ICUDATAENTRY_IN_COMMON -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DOFFICIAL_BUILD -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DHAVE_DLOPEN=0 -DUCONFIG_ONLY_HTML_CONVERSION=1 -DU_CHARSET_IS_UTF8=1 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DUCHAR_TYPE=uint16_t -Iv8_snapshot/gen -I../../3rdparty/chromium -I../../3rdparty/chromium/third_party/icu/source/common -I../../3rdparty/chromium/third_party/icu/source/i18n -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pipe -pthread -m32 -msse2 -mfpmath=sse -mmmx -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-dangling-else -Wno-packed-not-aligned -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-attributes -Wno-class-memaccess -Wno-subobject-linkage -c ../../3rdparty/chromium/third_party/icu/source/common/loclikely.cpp -o v8_snapshot/obj/third_party/icu/bundled_icuuc/loclikely.o In file included from /usr/include/bits/errno.h:24:0, from /usr/include/errno.h:35, from /usr/include/c++/5/cerrno:41, from /usr/include/c++/5/ext/string_conversions.h:44, from /usr/include/c++/5/bits/basic_string.h:5249, from /usr/include/c++/5/string:52, from ../../3rdparty/chromium/third_party/icu/source/common/unicode/std_string.h:35, from ../../3rdparty/chromium/third_party/icu/source/common/unicode/unistr.h:35, from ../../3rdparty/chromium/third_party/icu/source/common/unicode/ures.h:794, from ../../3rdparty/chromium/third_party/icu/source/common/loclikely.cpp:27: /usr/include/linux/errno.h:1:23: fatal error: asm/errno.h: No such file or directory compilation terminated. [8882/14573] CXX v8_snapshot/obj/third_party/icu/bundled_icuuc/normlzr.o FAILED: v8_snapshot/obj/third_party/icu/bundled_icuuc/normlzr.o /usr/bin/g++ -MMD -MF v8_snapshot/obj/third_party/icu/bundled_icuuc/normlzr.o.d -DU_COMMON_IMPLEMENTATION -DU_ICUDATAENTRY_IN_COMMON -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DOFFICIAL_BUILD -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DHAVE_DLOPEN=0 -DUCONFIG_ONLY_HTML_CONVERSION=1 -DU_CHARSET_IS_UTF8=1 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DUCHAR_TYPE=uint16_t -Iv8_snapshot/gen -I../../3rdparty/chromium -I../../3rdparty/chromium/third_party/icu/source/common -I../../3rdparty/chromium/third_party/icu/source/i18n -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pipe -pthread -m32 -msse2 -mfpmath=sse -mmmx -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-dangling-else -Wno-packed-not-aligned -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-attributes -Wno-class-memaccess -Wno-subobject-linkage -c ../../3rdparty/chromium/third_party/icu/source/common/normlzr.cpp -o v8_snapshot/obj/third_party/icu/bundled_icuuc/normlzr.o In file included from /usr/include/bits/errno.h:24:0, from /usr/include/errno.h:35, from /usr/include/c++/5/cerrno:41, from /usr/include/c++/5/ext/string_conversions.h:44, from /usr/include/c++/5/bits/basic_string.h:5249, from /usr/include/c++/5/string:52, from ../../3rdparty/chromium/third_party/icu/source/common/unicode/std_string.h:35, from ../../3rdparty/chromium/third_party/icu/source/common/unicode/unistr.h:35, from ../../3rdparty/chromium/third_party/icu/source/common/unicode/uniset.h:17, from ../../3rdparty/chromium/third_party/icu/source/common/normlzr.cpp:15: /usr/include/linux/errno.h:1:23: fatal error: asm/errno.h: No such file or directory compilation terminated. [8883/14573] CXX v8_snapshot/obj/third_party/icu/bundled_icuuc/pluralmap.o FAILED: v8_snapshot/obj/third_party/icu/bundled_icuuc/pluralmap.o /usr/bin/g++ -MMD -MF v8_snapshot/obj/third_party/icu/bundled_icuuc/pluralmap.o.d -DU_COMMON_IMPLEMENTATION -DU_ICUDATAENTRY_IN_COMMON -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DOFFICIAL_BUILD -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DHAVE_DLOPEN=0 -DUCONFIG_ONLY_HTML_CONVERSION=1 -DU_CHARSET_IS_UTF8=1 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DUCHAR_TYPE=uint16_t -Iv8_snapshot/gen -I../../3rdparty/chromium -I../../3rdparty/chromium/third_party/icu/source/common -I../../3rdparty/chromium/third_party/icu/source/i18n -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pipe -pthread -m32 -msse2 -mfpmath=sse -mmmx -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-dangling-else -Wno-packed-not-aligned -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-attributes -Wno-class-memaccess -Wno-subobject-linkage -c ../../3rdparty/chromium/third_party/icu/source/common/pluralmap.cpp -o v8_snapshot/obj/third_party/icu/bundled_icuuc/pluralmap.o In file included from /usr/include/bits/errno.h:24:0, from /usr/include/errno.h:35, from /usr/include/c++/5/cerrno:41, from /usr/include/c++/5/ext/string_conversions.h:44, from /usr/include/c++/5/bits/basic_string.h:5249, from /usr/include/c++/5/string:52, from ../../3rdparty/chromium/third_party/icu/source/common/unicode/std_string.h:35, from ../../3rdparty/chromium/third_party/icu/source/common/unicode/unistr.h:35, from ../../3rdparty/chromium/third_party/icu/source/common/pluralmap.cpp:8: /usr/include/linux/errno.h:1:23: fatal error: asm/errno.h: No such file or directory compilation terminated. [8917/14573] CXX obj/v8/src/inspector/inspector/inspector_jumbo_1.o ninja: build stopped: subcommand failed. Makefile.gn_run:342: recipe for target 'run_ninja' failed make[5]: *** [run_ninja] Error 1 Makefile:82: recipe for target 'sub-gn_run-pro-make_first' failed make[4]: *** [sub-gn_run-pro-make_first] Error 2 Makefile:79: recipe for target 'sub-core-make_first' failed make[3]: *** [sub-core-make_first] Error 2 Makefile:48: recipe for target 'sub-src-make_first' failed make[2]: *** [sub-src-make_first] Error 2 package/pkg-generic.mk:257: recipe for target '/home/oleksandr/Downloads/buildroot-git/output/x86_64/build/qt5webengine-5.12.5/.stamp_built' failed make[1]: *** [/home/oleksandr/Downloads/buildroot-git/output/x86_64/build/qt5webengine-5.12.5/.stamp_built] Error 2 Makefile:84: recipe for target '_all' failed make: *** [_all] Error 2