[MacPorts] #60885: Unable to build cmake on Lion

MacPorts noreply at macports.org
Wed Jul 22 04:59:11 UTC 2020


#60885: Unable to build cmake on Lion
---------------------+-----------------------
  Reporter:  RobK88  |      Owner:  michaelld
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.6.3
Resolution:          |   Keywords:
      Port:  cmake   |
---------------------+-----------------------

Comment (by kencu):

 This missing function {{{asprintf_l}}}
 {{{
 info:configure
 /opt/local/libexec/llvm-9.0/bin/../include/c++/v1/locale:1624:20: error:
 use of undeclared identifier 'asprintf_l'; did you mean 'vsprintf_l'?
 }}}

 seems to be guarded by this:
 {{{
 #if __DARWIN_C_LEVEL >= __DARWIN_C_FULL
 int      asprintf_l(char **, locale_t, const char *, ...)
         __DARWIN_LDBL_COMPAT2(asprintf_l) __printflike(3, 4);
 int      vasprintf_l(char **, locale_t, const char *, va_list)
         __DARWIN_LDBL_COMPAT2(vasprintf_l) __printflike(3, 0);
 #endif
 }}}

 I'm not sure at this moment why this test is not passing to allow the
 definitions.

-- 
Ticket URL: <https://trac.macports.org/ticket/60885#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list