Failed to build QtWebEngine on Boot2Qt sumo
Unsolved
Mobile and Embedded
-
[build environment]
- Host:Ubuntu 16.04.6 LTS x64
- poky : tag yocto-2.5.3
- meta-boot2qt : branch sumo / tag v5.12.3
I just built image of raspberrypi3 using yocto's meta-boot2qt.
However,I could not build with the following error.Finaly, I installed the following package after finding the contents of bug's QTBUG-61873.
sudo apt install g++-multilib gcc-multilib
And the re-build was completed successfully.
We have posted for providing solutions for user in the same trouble.
If possible, I would like to add those packages on Qt Documentation at build requirement.In this case, Do this recommend writing a bug report?
If so, which project is appropriate? Qt (QTBUG)?[8595/14148] CXX v8_snapshot/obj/third_party/icu/bundled_icui18n/collationiterator.o FAILED: v8_snapshot/obj/third_party/icu/bundled_icui18n/collationiterator.o /opt/yocto/poky/build/build-raspberrypi3/tmp/hosttools/g++ -MMD -MF v8_snapshot/obj/third_party/icu/bundled_icui18n/collationiterator.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../../../../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 -funwind-tables -fPIC -pipe -pthread -m32 -msse2 -mfpmath=sse -mmmx -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -gdwarf-3 -g1 -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 ../../../../git/src/3rdparty/chromium/third_party/icu/source/i18n/collationiterator.cpp -o v8_snapshot/obj/third_party/icu/bundled_icui18n/collationiterator.o In file included from /usr/include/c++/5/typeinfo:34:0, from ../../../../git/src/3rdparty/chromium/third_party/icu/source/common/utypeinfo.h:30, from ../../../../git/src/3rdparty/chromium/third_party/icu/source/i18n/collationiterator.cpp:14: /usr/include/c++/5/exception:37:28: fatal error: bits/c++config.h: No such file or directory compilation terminated. [8596/14148] CC host/obj/third_party/zlib/zlib_x86_simd/crc_folding.o [8597/14148] CC host/obj/third_party/zlib/zlib_inflate_chunk_simd/inflate.o [8598/14148] ACTION //v8:js2c(/opt/yocto/poky/build/build-raspberrypi3/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/qtwebengine/5.12.3+gitAUTOINC+7ba379ecfa_4c7ecce300-r0/build/src/toolchain:v8_snapshot) ninja: build stopped: subcommand failed. Makefile.gn_run:340: recipe for target 'run_ninja' failed make[3]: *** [run_ninja] Error 1 make[3]: Leaving directory '/opt/yocto/poky/build/build-raspberrypi3/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/qtwebengine/5.12.3+gitAUTOINC+7ba379ecfa_4c7ecce300-r0/build/src/core' Makefile:82: recipe for target 'sub-gn_run-pro-make_first' failed make[2]: *** [sub-gn_run-pro-make_first] Error 2 make[2]: Leaving directory '/opt/yocto/poky/build/build-raspberrypi3/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/qtwebengine/5.12.3+gitAUTOINC+7ba379ecfa_4c7ecce300-r0/build/src/core' Makefile:79: recipe for target 'sub-core-make_first' failed make[1]: *** [sub-core-make_first] Error 2 make[1]: Leaving directory '/opt/yocto/poky/build/build-raspberrypi3/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/qtwebengine/5.12.3+gitAUTOINC+7ba379ecfa_4c7ecce300-r0/build/src' Makefile:48: recipe for target 'sub-src-make_first' failed make: *** [sub-src-make_first] Error 2 ERROR: oe_runmake failed WARNING: /opt/yocto/poky/build/build-raspberrypi3/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/qtwebengine/5.12.3+gitAUTOINC+7ba379ecfa_4c7ecce300-r0/temp/run.do_compile.20041:1 exit 1 from 'exit 1' ERROR: Function failed: do_compile (log file is located at /opt/yocto/poky/build/build-raspberrypi3/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/qtwebengine/5.12.3+gitAUTOINC+7ba379ecfa_4c7ecce300-r0/temp/log.do_compile.20041)