[MacPorts] #68241: clang-17 @17.0.1: error: unknown type name '__darwin_mbstate_t'

MacPorts noreply at macports.org
Tue Sep 26 02:48:09 UTC 2023


#68241: clang-17 @17.0.1: error: unknown type name '__darwin_mbstate_t'
------------------------+---------------------
 Reporter:  ryandesign  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  llvm-17
------------------------+---------------------
 https://build.macports.org/builders/ports-10.10_x86_64-builder/builds/240514/steps
 /install-port/logs/stdio

 {{{
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_llvm-17/clang-17/work
 /llvm-project-17.0.1.src/libcxxabi/src/cxa_handlers.cpp:12:
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_llvm-17/clang-17/work/build/include/c++/v1/stdexcept:48:
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_llvm-17/clang-17/work/build/include/c++/v1/iosfwd:106:
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_llvm-17/clang-17/work/build/include/c++/v1/__std_mbstate_t.h:14:
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_llvm-17/clang-17/work/build/include/c++/v1/__mbstate_t.h:45:
 /usr/include/sys/_types/_mbstate_t.h:31:9: error: unknown type name
 '__darwin_mbstate_t'
    31 | typedef __darwin_mbstate_t mbstate_t;
       |         ^
 1 error generated.
 make[5]: ***
 [libcxxabi/src/CMakeFiles/cxxabi_shared_objects.dir/cxa_handlers.cpp.o]
 Error 1
 make[5]: Leaving directory
 `/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_llvm-17/clang-17/work/build/runtimes
 /runtimes-bins'
 make[4]: *** [libcxxabi/src/CMakeFiles/cxxabi_shared_objects.dir/all]
 Error 2
 make[4]: *** Waiting for unfinished jobs....
 }}}

 A proposed patch is provided at https://github.com/llvm/llvm-
 project/issues/64226.

-- 
Ticket URL: <https://trac.macports.org/ticket/68241>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list