Re: [MacPorts] #67573: qtwebengine ports no longer configure with MacPorts’ re2
MacPorts
noreply at macports.org
Sun Jun 4 20:27:17 UTC 2023
#67573: qtwebengine ports no longer configure with MacPorts’ re2
------------------------------------------------+--------------------------
Reporter: chrstphrchvz | Owner:
| MarcusCalhoun-Lopez
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords:
Port: qt513-qtwebengine qt5-qtwebengine |
------------------------------------------------+--------------------------
Changes (by chrstphrchvz):
* port: qt513-qtwebengine qt5-qtwebengine qt6-qtwebengine =>
qt513-qtwebengine qt5-qtwebengine
Old description:
> The ports for qtwebengine 5.13, 5.15, and 6 depend on MacPorts’ re2, but
> the configure test fails due to re2 now requiring Abseil which requires
> C++14, and so `-std=gnu++11` (presumably a default flag from qmake) as
> used by the configure test is not allowed.
>
> {{{
> ---> Configuring qt5-qtwebengine
> Executing: cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_github
> .com_macports_macports-
> ports_aqua_qt5/qt5-qtwebengine/work/qtwebengine-5.15.14-lts" &&
> /opt/local/libexec/qt5/bin/qmake PREFIX=/opt/local
> QMAKE_LINK=/usr/bin/clang++ -spec macx-clang -- -webengine-kerberos
> -webengine-proprietary-codecs -system-webengine-icu -system-webengine-
> ffmpeg -feature-webengine-system-gn
> Info: creating stash file
> /opt/local/var/macports/build/_opt_local_var_macports_sources_github
> .com_macports_macports-
> ports_aqua_qt5/qt5-qtwebengine/work/qtwebengine-5.15.14-lts/.qmake.stash
>
> Running configuration tests...
> […]
> Checking for re2... no
> […]
> Qt WebEngine Build Tools:
> […]
> Optional system libraries used:
> re2 .................................. no
> }}}
>
> In config.log:
> {{{
> >
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
> -c -pipe -stdlib=libc++ -O2 -std=gnu++11 -arch x86_64 -isysroot
> /Applications/Xcode.app/Contents/Developer/Platform
> s/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk -mmacosx-version-
> min=10.13 -w -fPIC -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX
> -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX
> -DNOMINM
> AX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX
> -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX
> -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX
> -DNOMINMAX -
> DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX
> -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX
> -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX
> -DNOMINMAX -DNOM
> INMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX
> -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX
> -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX
> -DNOMINMA
> X -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX
> -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX
> -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX
> -DNOMINMAX -I
> . -I/opt/local/libexec/qt5/mkspecs/macx-clang -o main.o main.cpp
> > In file included from main.cpp:2:
> > In file included from /opt/local/include/re2/filtered_re2.h:28:
> > In file included from /opt/local/include/absl/strings/string_view.h:39:
> > In file included from /opt/local/include/absl/base/attributes.h:37:
> > In file included from /opt/local/include/absl/base/config.h:86:
> > /opt/local/include/absl/base/policy_checks.h:79:2: error: "C++ versions
> less than C++14 are not supported."
> > #error "C++ versions less than C++14 are not supported."
>
> }}}
New description:
The ports for qtwebengine 5.13 and 5.15 depend on MacPorts’ re2, but the
configure test fails due to re2 now requiring Abseil which requires C++14,
and so `-std=gnu++11` (presumably a default flag from qmake) as used by
the configure test is not allowed.
{{{
---> Configuring qt5-qtwebengine
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_github
.com_macports_macports-
ports_aqua_qt5/qt5-qtwebengine/work/qtwebengine-5.15.14-lts" &&
/opt/local/libexec/qt5/bin/qmake PREFIX=/opt/local
QMAKE_LINK=/usr/bin/clang++ -spec macx-clang -- -webengine-kerberos
-webengine-proprietary-codecs -system-webengine-icu -system-webengine-
ffmpeg -feature-webengine-system-gn
Info: creating stash file
/opt/local/var/macports/build/_opt_local_var_macports_sources_github
.com_macports_macports-
ports_aqua_qt5/qt5-qtwebengine/work/qtwebengine-5.15.14-lts/.qmake.stash
Running configuration tests...
[…]
Checking for re2... no
[…]
Qt WebEngine Build Tools:
[…]
Optional system libraries used:
re2 .................................. no
}}}
In config.log:
{{{
>
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
-c -pipe -stdlib=libc++ -O2 -std=gnu++11 -arch x86_64 -isysroot
/Applications/Xcode.app/Contents/Developer/Platform
s/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk -mmacosx-version-min=10.13
-w -fPIC -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX
-DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINM
AX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX
-DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX
-DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX
-DNOMINMAX -
DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX
-DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX
-DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX
-DNOMINMAX -DNOM
INMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX
-DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX
-DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX
-DNOMINMA
X -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX
-DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX
-DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX -DNOMINMAX
-DNOMINMAX -I
. -I/opt/local/libexec/qt5/mkspecs/macx-clang -o main.o main.cpp
> In file included from main.cpp:2:
> In file included from /opt/local/include/re2/filtered_re2.h:28:
> In file included from /opt/local/include/absl/strings/string_view.h:39:
> In file included from /opt/local/include/absl/base/attributes.h:37:
> In file included from /opt/local/include/absl/base/config.h:86:
> /opt/local/include/absl/base/policy_checks.h:79:2: error: "C++ versions
less than C++14 are not supported."
> #error "C++ versions less than C++14 are not supported."
}}}
--
Comment:
To correct myself, qt6-qtwebengine is not affected by this (presumably
since it uses C++17)
--
Ticket URL: <https://trac.macports.org/ticket/67573#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list