-
Bug
-
Resolution: Won't Do
-
P3: Somewhat important
-
None
-
5.15.5
-
None
Qt was configured with:
mkdir build cd build ../qt/configure -confirm-license -prefix /usr -hostprefix /opt/emlix/test -hostbindir /opt/emlix/test/bin -hostdatadir /opt/emlix/test -bindir /usr/bin -libdir /usr/lib -libexecdir /usr/libexec -headerdir /usr/include/qt -archdatadir /usr/lib/qt -datadir /usr/share/qt -plugindir /usr/lib/qt/plugins -importdir /usr/lib/qt/imports -translationdir /usr/share/qt/translations -release -opensource -shared -pch -pkg-config -platform linux-g++ -device linux-custom-g++ -sysroot /opt/emlix/test/sysroot -plugin-sql-sqlite -v -no-xcb -no-iconv -no-rpath -nomake tools -opengl es2 -eglfs -examplesdir /usr/qt/examples -make examples -skip activeqt -skip translations -skip doc -skip location -skip wayland -skip 3d -skip x11extras -skip macextras -skip winextras -skip androidextras -skip purchasing -skip charts -skip datavis3d -skip virtualkeyboard -skip gamepad -skip scxml -skip speech -skip networkauth -skip remoteobjects -skip webglplugin -skip lottie -skip quicktimeline -skip quick3d -gui -widgets -dbus-linked -gstreamer -fontconfig -system-freetype -icu -system-libjpeg -system-libpng -openssl-linked -system-sqlite -tslib -libudev -system-zlib
This eventually fails if I have no host freetype installed, as well as host libjpeg, because of:
Project MESSAGE: Running: /tmp/e2/build/build/qtwebengine/src/3rdparty/gn/out/Release/gn gen /tmp/e2/build/build/qtwebengine/src/core/release --script-executable=/usr/bin/python2 --args='use_qt=true init_stack_vars=false is_component_build=false is_shared=true enable_debugallocation=false enable_media_remoting=false enable_message_center=false enable_nacl=false enable_remoting=false enable_reporting=false enable_resource_allowlist_generation=false enable_swiftshader=false enable_swiftshader_vulkan=false angle_enable_swiftshader=false enable_web_speech=false enable_widevine=true forbid_non_component_debug_builds=false has_native_accessibility=false safe_browsing_mode=0 skia_use_dawn=false toolkit_views=false treat_warnings_as_errors=false use_allocator_shim=false use_allocator="none" use_custom_libcxx=false chrome_pgo_phase=0 enable_hangout_services_extension=true optimize_webui=false enable_js_type_check=false v8_use_external_startup_data=false strip_absolute_paths_from_debug_symbols=false use_jumbo_build=true jumbo_file_merge_limit=8 jumbo_build_excluded=["browser"] enable_precompiled_headers=true is_official_build=true is_debug=false symbol_level=0 blink_symbol_level=0 remove_v8base_debug_symbols=true use_cups=false use_gio=false use_gnome_keyring=false use_udev=true use_bundled_fontconfig=false use_sysroot=false enable_session_service=false is_cfi=false use_ozone=true use_x11=false ozone_auto_platforms=false ozone_platform_headless=false ozone_platform_external=true ozone_platform="qt" ozone_extra_path="/tmp/e2/build/qt-everywhere-src-5.15.5/qtwebengine/src/core/ozone/ozone_extra.gni" use_gold=false use_lld=false is_clang=false target_sysroot="/opt/emlix/test/sysroot" arm_tune="cortex-a9" arm_float_abi="hard" arm_arch="armv7-a" arm_version=7 arm_use_neon=true arm_use_thumb=true custom_toolchain="/tmp/e2/build/build/qtwebengine/src/toolchain:target" host_toolchain="/tmp/e2/build/build/qtwebengine/src/toolchain:host" v8_snapshot_toolchain="/tmp/e2/build/build/qtwebengine/src/toolchain:v8_snapshot" target_cpu="arm" pkg_config="/tmp/e2/build/build/qtwebengine/src/core/pkg-config_wrapper.sh" host_pkg_config="/tmp/e2/build/build/qtwebengine/src/core/pkg-config-host_wrapper.sh" pdfium_use_system_zlib=true use_system_libpng=true pdfium_use_system_libpng=true use_system_libjpeg=true use_system_freetype=true use_system_harfbuzz=false use_glib=false enable_basic_printing=false enable_print_preview=false enable_pdf=false enable_plugins=false enable_spellcheck=true enable_webrtc=false proprietary_codecs=false enable_extensions=false use_kerberos=false is_desktop_linux=false use_pulseaudio=false use_alsa=true use_libpci=false use_xkbcommon=false qtwebengine_target="/tmp/e2/build/build/qtwebengine/src/core/release:QtWebEngineCore"' --root=/tmp/e2/build/qt-everywhere-src-5.15.5/qtwebengine/src/3rdparty/chromium ERROR at //build/config/linux/pkg_config.gni:103:17: Script returned non-zero exit code. pkgresult = exec_script(pkg_config_script, args, "value") ^---------- Current dir: /tmp/e2/build/build/qtwebengine/src/core/release/ Command: /usr/bin/python2 /tmp/e2/build/qt-everywhere-src-5.15.5/qtwebengine/src/3rdparty/chromium/build/config/linux/pkg-config.py -p /tmp/e2/build/build/qtwebengine/src/core/pkg-config-host_wrapper.sh freetype2 Returned 1. stderr:Package freetype2 was not found in the pkg-config search path. Perhaps you should add the directory containing `freetype2.pc' to the PKG_CONFIG_PATH environment variable No package 'freetype2' found Could not run pkg-config.See //third_party/freetype/BUILD.gn:16:3: whence it was called. pkg_config("freetype_from_pkgconfig") { ^-------------------------------------- See //build/config/freetype/BUILD.gn:10:24: which caused the file to be included. public_configs = [ "//third_party/freetype:freetype_from_pkgconfig" ] ^----------------------------------------------- Project ERROR: GN run error!
Why would I need them as host tools in a cross build?