Opened 9 months ago

Last modified 3 months 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)

second.log (732.5 KB) - added by dubiousjim 9 months ago.

Download all attachments as: .zip

Change History (13)

Changed 9 months ago by dubiousjim

Attachment: second.log added

comment:1 Changed 9 months ago by dubiousjim

Port: graphviz added

comment:2 Changed 9 months ago by dubiousjim

Version: 2.6.3

comment:3 Changed 9 months ago by dubiousjim

Cc: dubiousjim added
Owner: set to ryandesign
Status: newassigned

comment:4 Changed 9 months ago by jmroot (Joshua Root)

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.

comment:5 Changed 8 months ago by ryandesign (Ryan Schmidt)

Cc: cgilles added

Has duplicate #61071.

comment:6 in reply to:  4 Changed 8 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:7 Changed 8 months ago by ryandesign (Ryan Schmidt)

Cc: breiter added

Has duplicate #61093.

comment:8 Changed 8 months ago by breiter (Brian Reiter)

Forced reinstall of Command Line Tools solves this for me as well.

comment:9 Changed 4 months ago by ryandesign (Ryan Schmidt)

Cc: cwgamma added
Keywords: catalina added

Has duplicate #61949.

comment:10 Changed 3 months 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 3 months 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.

comment:12 Changed 3 months ago by jboydon (John Boydon)

Thanks Ryan, I will create a new ticket.

Note: See TracTickets for help on using tickets.