Opened 6 months ago
Last modified 9 days ago
#60962 assigned defect
graphviz @2.40.1_2 +pangocairo-x11-universal: no member named 'min' in namespace 'std::__1'
Reported by: | dubiousjim | Owned by: | ryandesign (Ryan Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.3 |
Keywords: | catalina | Cc: | dubiousjim, cgilles (HumanDynamo), breiter (Brian Reiter), cwgamma, jboydon (John Boydon) |
Port: | graphviz |
Description
I can't build graphviz with a new install of OS X 10.15.6, Xcode 11.6. Have sudo port deactivate active; sudo port install -Nv graphviz build.jobs=1
. My /opt/local/etc/macports/variants.conf has +no_x11 -x11 +quartz -universal
.
Will attach log of failed install.
Attachments (1)
Change History (13)
Changed 6 months ago by dubiousjim
Attachment: | second.log added |
---|
comment:1 Changed 6 months ago by dubiousjim
Port: | graphviz added |
---|
comment:2 Changed 6 months ago by dubiousjim
Version: | → 2.6.3 |
---|
comment:3 Changed 6 months ago by dubiousjim
Cc: | dubiousjim added |
---|---|
Owner: | set to ryandesign |
Status: | new → assigned |
comment:4 follow-up: 6 Changed 6 months ago by jmroot (Joshua Root)
comment:6 Changed 5 months ago by ddrum2000
Replying to jmroot:
Looks very similar to #60927. Are you missing the Command Line Tools? Please follow wiki:ProblemHotlist#reinstall-clt and then clean graphviz and retry the installation.
This seemed to work. Thanks.
comment:8 Changed 5 months ago by breiter (Brian Reiter)
Forced reinstall of Command Line Tools solves this for me as well.
comment:9 Changed 4 weeks ago by ryandesign (Ryan Schmidt)
Cc: | cwgamma added |
---|---|
Keywords: | catalina added |
Has duplicate #61949.
comment:10 Changed 9 days ago by jboydon (John Boydon)
On BigSur 11.1 the command line tools (and Xcode) reinstallation doesn't solve the problem. The first error is slightly different:
In file included from /opt/local/libexec/llvm-11/bin/../include/c++/v1/string_view:175: /opt/local/libexec/llvm-11/bin/../include/c++/v1/__string:337:12: error: no member named 'copy_n' in namespace 'std::__1'; did you mean 'copy'? _VSTD::copy_n(__s2, __n, __s1); ~~~~~~~^ /opt/local/libexec/llvm-11/bin/../include/c++/v1/iterator:1374:93: note: 'copy' declared here template <class _Ip, class _Op> _Op _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX17 copy(_Ip, _Ip, _Op); ^ /opt/local/libexec/llvm-11/bin/../include/c++/v1/__bit_reference:424:43: error: no member named 'min' in namespace 'std::__1'
I think is due to the same reason.
comment:11 Changed 9 days ago by ryandesign (Ryan Schmidt)
Cc: | jboydon added |
---|
John, this ticket is about a problem that is solved by reinstalling the CLT. Since reinstalling the CLT didn't solve your issue, it's a different issue that should probably be in a different ticket. Note not only the different error message but also the fact that your error is referencing a file inside /opt/local, not a file provided by the CLT.
Looks very similar to #60927. Are you missing the Command Line Tools? Please follow wiki:ProblemHotlist#reinstall-clt and then clean graphviz and retry the installation.