Opened 4 years ago

Closed 4 years ago

#62074 closed defect (worksforme)

graphviz @2.40.1_3+pangocairo+x11: error: no member named 'copy_n' in namespace 'std::__1'

Reported by: jboydon (John Boydon) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur Cc:
Port: graphviz

Description (last modified by jboydon (John Boydon))

I can't build graphviz 2.40.1_3 on BigSur 11.1. First error is the following (full report attached).

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'

Reinstallation of CLT and/or Xcode doesn't solve the problem.

Attachments (1)

graphviz.log (68.3 KB) - added by jboydon (John Boydon) 4 years ago.
Graphviz installation log.

Download all attachments as: .zip

Change History (6)

Changed 4 years ago by jboydon (John Boydon)

Attachment: graphviz.log added

Graphviz installation log.

comment:1 Changed 4 years ago by jboydon (John Boydon)

Description: modified (diff)

comment:2 Changed 4 years ago by jmroot (Joshua Root)

Owner: set to ryandesign
Status: newassigned

comment:3 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: graphviz @2.40.1_3+pangocairo+x11.darwin_20.x86_64graphviz @2.40.1_3+pangocairo+x11: error: no member named 'copy_n' in namespace 'std::__1'

Please sudo port clean graphviz and then try again, and if it fails again, attach the full main.log, compressed if it is large. (The log you attached does not show us what happened during the configure phase and I am hoping that that output will help us understand why your build is using MacPorts clang 11 when it seems like it should be using Xcode clang.)

comment:4 Changed 4 years ago by jboydon (John Boydon)

After cleaning, graphviz successfully install in bigsur. Probably the CLT reinstallation solved the problem.

comment:5 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: assignedclosed
Note: See TracTickets for help on using tickets.