Moin Tobias,
Am 13.09.23 um 08:07 schrieb Tobias C. Berner:
Moin moin
Should be fixed with 190bd2d090115c5c38661198d16fd55288aeb9c1
Many thanks for the quick fix! In Poudriere the patched version now
builds well under 15.0-CURRENT.
Unfortunately, there is a (new) problem in unclean environments. If
devel/re2 is installed (needed for chromium, electron2x, etc.), the
build aborts with error message, see below:
mfg Tobias
On Wed, 13 Sept 2023 at 07:30, Rainer Hurling <rhur...@gwdg.de> wrote:
Dear KDE-Team, dear devs,
On 14.0-x and 15.0-CURRENT, I am no longer able to build
www/qt5-webengine. The following error is triggered in an unclean
environment and even in Poudriere:
[ 49% 12002/24388] CXX
obj/gpu/command_buffer/service/gles2_sources/program_manager.o
FAILED: obj/gpu/command_buffer/service/gles2_sources/program_manager.o
[..snip..]
../../../../qtwebengine-everywhere-src-5.15.8/src/3rdparty/chromium/gpu/command_buffer/service/program_manager.cc:627:25:
error: no member named 'as_string' in 'absl::string_view'
return output + input.as_string();
~~~~~ ^
If a full build log is needed, I can provide it. Thanks in advance for
any help.
Best wishes,
Rainer Hurling
[..snip..]
ninja: Entering directory
`/usr/ports/www/qt5-webengine/work/.build/src/core/release'
ninja: no work to do.
cd api/ && ( test -e Makefile.core_api || /usr/local/lib/qt5/bin/qmake
-o Makefile.core_api
/usr/ports/www/qt5-webengine/work/qtwebengine-everywhere-src-5.15.8/src/core/api/core_api.pro
-spec /usr/local/lib/qt5/mkspecs/freebsd-clang 'QMAKE_CC=cc
-B/usr/local/bin' 'QMAKE_CXX=c++ -B/usr/local/bin' 'QMAKE_LINK_C=cc
-B/usr/local/bin' 'QMAKE_LINK_C_SHLIB=cc -B/usr/local/bin'
'QMAKE_LINK=c++ -B/usr/local/bin' 'QMAKE_LINK_SHLIB=c++
-B/usr/local/bin' 'QMAKE_CFLAGS=-O2 -pipe -fstack-protector-strong
-fno-strict-aliasing ' 'QMAKE_CXXFLAGS=-O2 -pipe
-fstack-protector-strong -fno-strict-aliasing ' 'QMAKE_LFLAGS=
-Wl,--as-needed -fstack-protector-strong ' QMAKE_LIBS=
QMAKE_CFLAGS_DEBUG= QMAKE_CFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG=
QMAKE_CXXFLAGS_RELEASE= PREFIX=/usr/local CONFIG+=release 'CONFIG-=debug
separate_debug_info' QT_CONFIG+=release 'QT_CONFIG-=debug
separate_debug_info' ) && /usr/bin/make -f Makefile.core_api
( test -e Makefile.core_module || /usr/local/lib/qt5/bin/qmake -o
Makefile.core_module
/usr/ports/www/qt5-webengine/work/qtwebengine-everywhere-src-5.15.8/src/core/core_module.pro
-spec /usr/local/lib/qt5/mkspecs/freebsd-clang 'QMAKE_CC=cc
-B/usr/local/bin' 'QMAKE_CXX=c++ -B/usr/local/bin' 'QMAKE_LINK_C=cc
-B/usr/local/bin' 'QMAKE_LINK_C_SHLIB=cc -B/usr/local/bin'
'QMAKE_LINK=c++ -B/usr/local/bin' 'QMAKE_LINK_SHLIB=c++
-B/usr/local/bin' 'QMAKE_CFLAGS=-O2 -pipe -fstack-protector-strong
-fno-strict-aliasing ' 'QMAKE_CXXFLAGS=-O2 -pipe
-fstack-protector-strong -fno-strict-aliasing ' 'QMAKE_LFLAGS=
-Wl,--as-needed -fstack-protector-strong ' QMAKE_LIBS=
QMAKE_CFLAGS_DEBUG= QMAKE_CFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG=
QMAKE_CXXFLAGS_RELEASE= PREFIX=/usr/local CONFIG+=release 'CONFIG-=debug
separate_debug_info' QT_CONFIG+=release 'QT_CONFIG-=debug
separate_debug_info' ) && /usr/bin/make -f Makefile.core_module
cd process/ && ( test -e Makefile || /usr/local/lib/qt5/bin/qmake -o
Makefile
/usr/ports/www/qt5-webengine/work/qtwebengine-everywhere-src-5.15.8/src/process/process.pro
-spec /usr/local/lib/qt5/mkspecs/freebsd-clang 'QMAKE_CC=cc
-B/usr/local/bin' 'QMAKE_CXX=c++ -B/usr/local/bin' 'QMAKE_LINK_C=cc
-B/usr/local/bin' 'QMAKE_LINK_C_SHLIB=cc -B/usr/local/bin'
'QMAKE_LINK=c++ -B/usr/local/bin' 'QMAKE_LINK_SHLIB=c++
-B/usr/local/bin' 'QMAKE_CFLAGS=-O2 -pipe -fstack-protector-strong
-fno-strict-aliasing ' 'QMAKE_CXXFLAGS=-O2 -pipe
-fstack-protector-strong -fno-strict-aliasing ' 'QMAKE_LFLAGS=
-Wl,--as-needed -fstack-protector-strong ' QMAKE_LIBS=
QMAKE_CFLAGS_DEBUG= QMAKE_CFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG=
QMAKE_CXXFLAGS_RELEASE= PREFIX=/usr/local CONFIG+=release 'CONFIG-=debug
separate_debug_info' QT_CONFIG+=release 'QT_CONFIG-=debug
separate_debug_info' ) && /usr/bin/make -f Makefile
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)
*** Error code 1
Am I interpreting this correctly? Does an already installed re2 need to
be explicitly excluded if the internal version of webengine is to be used?
Best wishes,
Rainer