[MacPorts] #66071: Failed to build assimp (macos 13)
MacPorts
noreply at macports.org
Wed Oct 26 12:46:10 UTC 2022
#66071: Failed to build assimp (macos 13)
----------------------+--------------------
Reporter: johnjxw | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.0
Resolution: | Keywords:
Port: assimp |
----------------------+--------------------
Old 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.
New 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.
}}}
--
Comment (by jmroot):
Please add the full log as an attachment.
--
Ticket URL: <https://trac.macports.org/ticket/66071#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list