[MacPorts] #66091: assimp: build failure for macOS 13

MacPorts noreply at macports.org
Fri Oct 28 09:02:38 UTC 2022


#66091: assimp: build failure for macOS 13
--------------------------+--------------------
 Reporter:  ShadSterling  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.8.0
 Keywords:  ventura       |       Port:  assimp
--------------------------+--------------------
 While reinstalling all ports after upgrading to Ventura, assimp (not
 requested) failed

 The problem seems to be a few calls to deprecated `vsprintf`, e.g.
 {{{
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_assimp/assimp/work/assimp-5.2.5/code/PostProcessing/ValidateDataStructure.cpp:83:22:
 error: 'vsprintf' is deprecated: This function is provided for
 compatibility reasons only.  Due to security concerns inherent in the
 design of sprintf(3), it is highly recommended that you use vsnprintf(3)
 instead. [-Werror,-Wdeprecated-declarations]
 :info:build     const int iLen = vsprintf(szBuffer, msg, args);
 :info:build                      ^
 }}}

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


More information about the macports-tickets mailing list