Opened 2 years ago

Last modified 2 years ago

#66071 closed defect

Failed to build assimp (macos 13) — at Initial Version

Reported by: johnjxw (John Jiang) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: Cc:
Port: assimp

Description

Any idea? Thank you!

: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 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/stdio.h:207:1: note: 'vsprintf' has been explicitly marked deprecated here :info:build deprecated_msg("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.") :info:build :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro 'deprecated_msg' :info:build #define deprecated_msg(_msg) attribute((deprecated(_msg))) :info:build :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:98: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 :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/stdio.h:207:1: note: 'vsprintf' has been explicitly marked deprecated here :info:build deprecated_msg("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.") :info:build :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro 'deprecated_msg' :info:build #define deprecated_msg(_msg) attribute((deprecated(_msg))) :info:build :info:build 2 errors generated. :info:build make[2]: * [code/CMakeFiles/assimp.dir/PostProcessing/ValidateDataStructure.cpp.o] Error 1 :info:build make[2]: * Waiting for unfinished jobs.... :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_assimp/assimp/work/build' :info:build make[1]: * [code/CMakeFiles/assimp.dir/all] Error 2 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_assimp/assimp/work/build' :info:build make: * [all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_assimp/assimp/work/build' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_assimp/assimp/work/build" && /usr/bin/make -j10 -w all VERBOSE=ON :info:build Exit code: 2 :error:build Failed to build assimp: command execution failed :debug:build Error code: CHILDSTATUS 15756 2 :debug:build Backtrace: command execution failed :debug:build while executing :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring" :debug:build invoked from within :debug:build "command_exec -callback portprogress::target_progress_callback build" :debug:build (procedure "portbuild::build_main" line 8) :debug:build invoked from within :debug:build "$procedure $targetname" :error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_assimp/assimp/main.log for details.

Change History (0)

Note: See TracTickets for help on using tickets.