Opened 7 years ago
Last modified 7 years ago
#54928 closed defect
webkit2-gtk @2.14.2: build failing under High Sierra due to error: delegating constructors are permitted only in C++11 — at Version 4
Reported by: | pmetzger (Perry E. Metzger) | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | highsierra | Cc: | dbevans (David B. Evans) |
Port: | webkit2-gtk |
Description (last modified by kencu (Ken))
My build is dying with:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.14.2/Source/ThirdParty/ANGLE/src/com/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.14.2/Source/ThirdParty/ANGLE/src/common/mathutil.h:562:20: error: delegating constructors are permitted only in C++11 IndexRange() : IndexRange(0, 0, 0) {} ^~~~~~~~~~ 11 warnings and 1 error generated.
Change History (4)
comment:1 Changed 7 years ago by kencu (Ken)
comment:2 Changed 7 years ago by kencu (Ken)
Keywords: | highsierra added |
---|---|
Owner: | set to jeremyhu |
Status: | new → assigned |
Summary: | webkit2-gtk build failing under High Sierra → webkit2-gtk @2.14.2: build failing under High Sierra due to error: delegating constructors are permitted only in C++11 |
comment:3 Changed 7 years ago by kencu (Ken)
Cc: | dbevans added |
---|
comment:4 Changed 7 years ago by kencu (Ken)
Description: | modified (diff) |
---|
Note: See
TracTickets for help on using
tickets.
Most likely a duplicate of 54798
To build webkit2-gtk with the system clang on many systems, I had to add
configure.cxxflags-append -std=c++14
to the Portfile.Alternatively, you can most likely build
webkit2-gtk-devel
as the issue seems fixed in that newer version. (Pretty soon we'll make thatwebkit2-gtk
I think.) In most cases,webkit2-gtk-devel
will satisfy the dependency.Finally, if no happiness is coming your way, you can most most likely build
webkit2-gtk
usingclang-4.0
which seems happier building it. First you have to install itsudo port -v install clang-4.0
, and then when that is done,sudo port -v install webkit2-gtk configure.compiler=macports-clang-4.0
.If you're impatient, that last option is the most reliable way to get going.