The builds fails on /usr/ports/www/qt5-webengine/work/qtwebengine-everywhere-src-5.15.8/src/3rdparty/chromium/base/template_util.h:138:32: warning: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Wdeprecated-builtins] __has_trivial_copy(T) && __has_trivial_destructor(T); ^ --- sub-process-make_first --- --- ../../libexec/QtWebEngineProcess --- c++ -B/usr/local/bin -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: warning: libre2.so.10, needed by /usr/local/lib/qt5/libQt5WebEngineCore.so, not found (try using -rpath or -rpath-link) /usr/local/bin/ld: /usr/local/lib/qt5/libQt5WebEngineCore.so: undefined reference to `re2::RE2::PartialMatchN(re2::StringPiece const&, re2::RE2 const&, re2::RE2::Arg const* const*, int)' /usr/local/bin/ld: /usr/local/lib/qt5/libQt5WebEngineCore.so: undefined reference to `bool re2::re2_internal::Parse<int>(char const*, unsigned long, int*, int)' /usr/local/bin/ld: /usr/local/lib/qt5/libQt5WebEngineCore.so: undefined reference to `re2::FilteredRE2::AllPotentials(std::__1::vector<int, std::__1::allocator<int> > const&, std::__1::vector<int, std::__1::allocator<int> >*) const' /usr/local/bin/ld: /usr/local/lib/qt5/libQt5WebEngineCore.so: undefined reference to `re2::RE2::RE2(re2::StringPiece const&, re2::RE2::Options const&)' /usr/local/bin/ld: /usr/local/lib/qt5/libQt5WebEngineCore.so: undefined reference to `re2::FilteredRE2::Add(re2::StringPiece const&, re2::RE2::Options const&, int*)' /usr/local/bin/ld: /usr/local/lib/qt5/libQt5WebEngineCore.so: undefined reference to `re2::FilteredRE2::Compile(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >*)' /usr/local/bin/ld: /usr/local/lib/qt5/libQt5WebEngineCore.so: undefined reference to `re2::RE2::Options::Options(re2::RE2::CannedOptions)' /usr/local/bin/ld: /usr/local/lib/qt5/libQt5WebEngineCore.so: undefined reference to `re2::RE2::CheckRewriteString(re2::StringPiece const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*) const' /usr/local/bin/ld: /usr/local/lib/qt5/libQt5WebEngineCore.so: undefined reference to `re2::RE2::~RE2()' /usr/local/bin/ld: /usr/local/lib/qt5/libQt5WebEngineCore.so: undefined reference to `re2::FilteredRE2::FilteredRE2()' /usr/local/bin/ld: /usr/local/lib/qt5/libQt5WebEngineCore.so: undefined reference to `bool re2::re2_internal::Parse<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(char const*, unsigned long, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*)' /usr/local/bin/ld: /usr/local/lib/qt5/libQt5WebEngineCore.so: undefined reference to `re2::RE2::RE2(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)' /usr/local/bin/ld: /usr/local/lib/qt5/libQt5WebEngineCore.so: undefined reference to `re2::FilteredRE2::~FilteredRE2()' /usr/local/bin/ld: /usr/local/lib/qt5/libQt5WebEngineCore.so: undefined reference to `re2::RE2::RE2(char const*)' /usr/local/bin/ld: /usr/local/lib/qt5/libQt5WebEngineCore.so: undefined reference to `re2::FilteredRE2::AllMatches(re2::StringPiece const&, std::__1::vector<int, std::__1::allocator<int> > const&, std::__1::vector<int, std::__1::allocator<int> >*) const' /usr/local/bin/ld: /usr/local/lib/qt5/libQt5WebEngineCore.so: undefined reference to `re2::RE2::Replace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, re2::RE2 const&, re2::StringPiece const&)' /usr/local/bin/ld: /usr/local/lib/qt5/libQt5WebEngineCore.so: undefined reference to `re2::RE2::ConsumeN(re2::StringPiece*, re2::RE2 const&, re2::RE2::Arg const* const*, int)' /usr/local/bin/ld: /usr/local/lib/qt5/libQt5WebEngineCore.so: undefined reference to `bool re2::re2_internal::Parse<unsigned long>(char const*, unsigned long, unsigned long*, int)' /usr/local/bin/ld: /usr/local/lib/qt5/libQt5WebEngineCore.so: undefined reference to `re2::RE2::FullMatchN(re2::StringPiece const&, re2::RE2 const&, re2::RE2::Arg const* const*, int)' c++: error: linker command failed with exit code 1 (use -v to see invocation) *** [../../libexec/QtWebEngineProcess] Error code 1 make[4]: stopped in /usr/ports/www/qt5-webengine/work/.build/src/process 1 error make[4]: stopped in /usr/ports/www/qt5-webengine/work/.build/src/process *** [sub-process-make_first] Error code 2 make[3]: stopped in /usr/ports/www/qt5-webengine/work/.build/src --- sub-tools-qwebengine_convert_dict-make_first --- 2 warnings generated. *** [sub-tools-qwebengine_convert_dict-make_first] Error code 6 make[3]: stopped in /usr/ports/www/qt5-webengine/work/.build/src 2 errors make[3]: stopped in /usr/ports/www/qt5-webengine/work/.build/src *** [sub-src-make_first] Error code 2 make[2]: stopped in /usr/ports/www/qt5-webengine/work/.build 1 error make[2]: 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
Moin moin This has been resolved on main -- are you using the quarterly branch? In an unclean environment, i.e. not poudriere, it might also be necessary to uninstall qt5-webengine before building. mfg Tobias
no i am using the latest. I will try to remove the package and rebuild it again.
after removing the package the build is working now.
Closing as "local build environment problem", thank you Rachid for that last update.