Opened 16 months ago

Last modified 16 months ago

#67573 assigned defect

qtwebengine ports no longer configure with MacPorts’ re2 — at Version 1

Reported by: chrstphrchvz (Christopher Chavez) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: qt513-qtwebengine qt5-qtwebengine

Description (last modified by chrstphrchvz (Christopher Chavez))

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."

Change History (1)

comment:1 Changed 16 months ago by chrstphrchvz (Christopher Chavez)

Description: modified (diff)
Port: qt6-qtwebengine removed

To correct myself, qt6-qtwebengine is not affected by this (presumably since it uses C++17)

Note: See TracTickets for help on using tickets.