www/qt5-webengine fails to compile

William Bulley web at umich.edu
Wed Jun 5 01:57:09 BST 2024


I also tried this:

   unix# make MAKE_JOBS_UNSAFE=yes install clean

while in the www/qt5-webengine subdirectory of
the /usr/ports directory of FreeBSD 14.0-STABLE.

This is the error message I got both times:

--- ../../libexec/QtWebEngineProcess ---
c++ -B/usr/local/bin -Wl,--undefined-version -Wl,--as-needed -fstack-protector-strong -pthread -Wl,-rpath,/usr/local/lib/qt5 -Wl,-rpath-link,/usr/local/lib/qt5 -o ../../libexec/QtWebEngineProcess .obj/main.o   -L/usr/ports/www/qt5-webengine/work/.build/lib -L/usr/local/lib /usr/local/lib/qt5/libQt5Gui.so /usr/local/lib/qt5/libQt5Core.so -lGL /usr/local/lib/qt5/libQt5WebEngineCore.so /usr/local/lib/qt5/libQt5Quick.so /usr/local/lib/qt5/libQt5QmlModels.so /usr/local/lib/qt5/libQt5WebChannel.so /usr/local/lib/qt5/libQt5Qml.so /usr/local/lib/qt5/libQt5Network.so /usr/local/lib/qt5/libQt5Gui.so /usr/local/lib/qt5/libQt5Positioning.so /usr/local/lib/qt5/libQt5Core.so
/usr/local/bin/ld: /usr/local/lib/qt5/libQt5WebEngineCore.so: undefined reference to `snappy::RawCompress(char const*, unsigned long, char*, unsigned long*)'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
*** [../../libexec/QtWebEngineProcess] Error code 1

make[2]: stopped in /usr/ports/www/qt5-webengine/work/.build/src/process
1 error

make[2]: stopped in /usr/ports/www/qt5-webengine/work/.build/src/process
*** [sub-process-make_first] Error code 2

make[1]: stopped in /usr/ports/www/qt5-webengine/work/.build/src
--- sub-webengine-make_first ---
*** [sub-module-pro-make_first] Error code 6

make[2]: stopped in /usr/ports/www/qt5-webengine/work/.build/src/webengine
1 error

make[2]: stopped in /usr/ports/www/qt5-webengine/work/.build/src/webengine
*** [sub-webengine-make_first] Error code 2

make[1]: stopped in /usr/ports/www/qt5-webengine/work/.build/src
--- sub-tools-qwebengine_convert_dict-make_first ---
*** [sub-tools-qwebengine_convert_dict-make_first] Error code 6

make[1]: stopped in /usr/ports/www/qt5-webengine/work/.build/src
--- sub-pdf-make_first ---
WARNING at the command-line "--args":1:1128: Build argument has no effect.
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=false 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="/usr/ports/www/qt5-webengine/work/kde-qtwebengine-5.15.17p2/src/core/ozone/ozone_extra.gni" use_gold=false use_lld=false is_clang=true clang_use_chrome_plugins=false clang_use_default_sample_profile=false clang_base_path="/usr -B/usr" custom_toolchain="/usr/ports/www/qt5-webengine/work/.build/src/toolchain:target" host_toolchain="/usr/ports/www/qt5-webengine/work/.build/src/toolchain:host" host_cpu="x64" pkg_config="pkg-config" host_pkg_config="/usr/local/bin/pkg-config" use_system_zlib=true use_system_minizip=true 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=true use_glib=false enable_basic_printing=true enable_print_preview=true use_dbus=true use_udev=false use_nss_certs=false pdf_enable_v8=false pdf_enable_xfa=false pdf_enable_xfa_bmp=false pdf_enable_xfa_gif=false pdf_enable_xfa_png=false pdf_enable_xfa_tiff=false qtwebengine_target="/usr/ports/www/qt5-webengine/work/.build/src/pdf/release:QtPdf"

                                                                                                                                                                       ^----
The variable "use_bundled_fontconfig" was set as a build argument
but never appeared in a declare_args() block in any buildfile.

To view all possible args, run "gn args --list <out_dir>"

The build continued as if that argument was unspecified.

Done. Made 14473 targets from 2283 files in 3328ms
*** [sub-gn_run-pro-make_first] Error code 6

make[2]: stopped in /usr/ports/www/qt5-webengine/work/.build/src/pdf
1 error

make[2]: stopped in /usr/ports/www/qt5-webengine/work/.build/src/pdf
*** [sub-pdf-make_first] Error code 2

make[1]: stopped in /usr/ports/www/qt5-webengine/work/.build/src
4 errors

make[1]: stopped in /usr/ports/www/qt5-webengine/work/.build/src
*** [sub-src-make_first] Error code 2

make: stopped in /usr/ports/www/qt5-webengine/work/.build
1 error

make: stopped in /usr/ports/www/qt5-webengine/work/.build
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/www/qt5-webengine
*** Error code 1

Stop.
make: stopped in /usr/ports/www/qt5-webengine

===>>> make build failed for www/qt5-webengine
===>>> Aborting update


===>>> You can restart from the point of failure with this command line:
       portmaster <flags> www/qt5-webengine 

This command has been saved to ~/portmasterfail.txt


-- 
William Bulley
E-MAIL: web at umich.edu
<web at umich.edu>


More information about the kde-freebsd mailing list