[MacPorts] #54798: webkit2-gtk +quartz build fails with many compiler errors
MacPorts
noreply at macports.org
Sun Sep 24 05:38:14 UTC 2017
#54798: webkit2-gtk +quartz build fails with many compiler errors
--------------------------+----------------------
Reporter: Polyergic | Owner: jeremyhu
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: webkit2-gtk |
--------------------------+----------------------
Comment (by Polyergic):
I was trying to follow the first suggestion in comment 4, which says
installing the `-devel` package will satisfy the dependency. It doesn't.
The suggestion in comment 5 also doesn't work. Errors include this:
{{{
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.14.2/Source/WTF/wtf/TypeCasts.h:80:5:
error: use of undeclared identifier 'static_assert'
:info:build static_assert(std::is_base_of<Source, Target>::value,
"Should be a downcast");
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.14.2/Source/WTF/wtf/TypeCasts.h:87:57:
error: to
o many arguments provided to function-like macro invocation
:info:build static_assert(!std::is_same<Source, Target>::value,
"Unnecessary cast to same type");
:info:build ^
:info:build
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__config:729:12:
note: macro 'static_assert' defined here
:info:build # define static_assert(__b, __m) _Static_assert(__b, __m)
:info:build ^
}}}
The second suggestion in comment 4 seems to have worked. Do I understand
right that if that fix is included in the next update I won't have to do
this again myself?
--
Ticket URL: <https://trac.macports.org/ticket/54798#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list