[MacPorts] #63169: graphviz @2.40.1: error: no member named 'min' in namespace 'std::__1' (was: gimp does not build with an error in graphviz)
MacPorts
noreply at macports.org
Sat Jul 3 16:50:48 UTC 2021
#63169: graphviz @2.40.1: error: no member named 'min' in namespace 'std::__1'
-------------------------+--------------------
Reporter: johnrmoyer | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords:
Port: graphviz |
-------------------------+--------------------
Changes (by ryandesign):
* keywords: gimp strchr graphviz =>
* port: gimp => graphviz
Comment:
Replying to [ticket:63169 johnrmoyer]:
> Does strchr produce an error because it is a security risk?
In this case, the message about `strchr` does not indicate any problem. I
will add code to the portfile to suppress the message.
The first error in the log is:
> {{{
> :info:build
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__bit_reference:172:38:
error: no member named 'min' in namespace 'std::__1'
> :info:build __storage_type __dn = _VSTD::min(__clz_f, __n);
> :info:build ~~~~~~~^
> }}}
Indeed this looks like https://gitlab.com/graphviz/graphviz/-/issues/1785
as you said. Since that was fixed months ago, I presume updating graphviz
to the latest stable version will fix this problem. That's #62165.
--
Ticket URL: <https://trac.macports.org/ticket/63169#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list