Bug 273939 - www/qt5-webengine 5.15.8_5 build fails
Summary: www/qt5-webengine 5.15.8_5 build fails
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-kde (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-19 04:20 UTC by rachid
Modified: 2023-09-21 19:20 UTC (History)
2 users (show)

See Also:
tcberner: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rachid 2023-09-19 04:20:22 UTC
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
Comment 1 Tobias C. Berner freebsd_committer 2023-09-19 04:46:41 UTC
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
Comment 2 rachid 2023-09-19 05:23:28 UTC
no i am using the latest.
I will try to remove the package and rebuild it again.
Comment 3 rachid 2023-09-20 03:27:28 UTC
after removing the package the build is working now.
Comment 4 Adriaan de Groot freebsd_committer 2023-09-21 19:20:28 UTC
Closing as "local build environment problem", thank you Rachid for that last update.