[MacPorts] #72270: glibmm-2.4 2.62.0_0+x11 Fails with undefined template std::char_traits<unsigned char>

MacPorts noreply at macports.org
Wed Apr 2 01:47:37 UTC 2025


#72270: glibmm-2.4  2.62.0_0+x11 Fails with undefined template
std::char_traits<unsigned char>
-------------------------+--------------------------------
  Reporter:  TruePath    |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:  undefined template
      Port:  glibmm-2.4  |
-------------------------+--------------------------------

Comment (by TruePath):

 For easy reference so you don't need to download the log file here is the
 error.


 {{{
 In file included from
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.sdk/usr/include/c++/v1/__system_error/error_category.h:15:
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.sdk/usr/include/c++/v1/string:821:42:
 error: implicit instantiation of undefined template
 'std::char_traits<unsigned char>'
   821 |   static_assert(is_same<_CharT, typename
 traits_type::char_type>::value,
       |                                          ^
 contenttype.cc:92:57: note: in instantiation of template class
 'std::basic_string<unsigned char>' requested here
    92 |   gchar* cresult = g_content_type_guess(c_filename, data.c_str(),
 data.size(), &c_result_uncertain);
       |                                                         ^
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.sdk/usr/include/c++/v1/__fwd/string.h:23:29:
 note: template is declared here
    23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
       |                             ^
 1 error generated.
 make[2]: *** [contenttype.lo] Error 1
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_Users_TruePath_Build_portfiles_devel_glibmm-2.4/glibmm-2.4/work/glibmm-2.62.0/gio/giomm'
 }}}

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


More information about the macports-tickets mailing list