WARNING: [license.mk] Every package should define a LICENSE. ===> Building for craft-3.5nb5 echo '#define PREFIX "/opt/pkg"' > config.h clang++ -pipe -Os -Wno-return-type -I/opt/pkg/include -I/opt/pkg/include -D_REENTRANT hcc/hcc.cc -o hcc/hcc hcc/hcc.cc:181:4: warning: 'sprintf' 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 snprintf(3) instead. [-Wdeprecated-declarations] sprintf (ii, "%d", l); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here __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 snprintf(3) instead.") ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ hcc/hcc.cc:1073:61: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] /* calc_min */ {if ( /* first_line */ (l == ref_start_line [ref_n])) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ hcc/hcc.cc:1073:61: note: remove extraneous parentheses around the comparison to silence this warning /* calc_min */ {if ( /* first_line */ (l == ref_start_line [ref_n])) ~ ^ ~ hcc/hcc.cc:1073:61: note: use '=' to turn this equality comparison into an assignment /* calc_min */ {if ( /* first_line */ (l == ref_start_line [ref_n])) ^~ = hcc/hcc.cc:1077:60: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] /* calc_max */ {if ( /* last_line */ (l == ref_end_line [ref_n])) ~~^~~~~~~~~~~~~~~~~~~~~~~ hcc/hcc.cc:1077:60: note: remove extraneous parentheses around the comparison to silence this warning /* calc_max */ {if ( /* last_line */ (l == ref_end_line [ref_n])) ~ ^ ~ hcc/hcc.cc:1077:60: note: use '=' to turn this equality comparison into an assignment /* calc_max */ {if ( /* last_line */ (l == ref_end_line [ref_n])) ^~ = hcc/hcc.cc:1221:4: warning: 'sprintf' 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 snprintf(3) instead. [-Wdeprecated-declarations] sprintf (cmd, "%s %s.cc %s 1> %s.err 2>&1", ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here __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 snprintf(3) instead.") ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ hcc/hcc.cc:1290:7: warning: 'sprintf' 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 snprintf(3) instead. [-Wdeprecated-declarations] sprintf (msg, "rm -f %s.o", src_name); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here __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 snprintf(3) instead.") ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ 5 warnings generated. hcc/hcc -compiler clang -I/opt/pkg/include -pipe -Os -Wno-return-type -I/opt/pkg/include -I/opt/pkg/include -D_REENTRANT -c xtimer hcc/hcc -compiler clang -I/opt/pkg/include -pipe -Os -Wno-return-type -I/opt/pkg/include -I/opt/pkg/include -D_REENTRANT -c option_menu In file included from option_menu.hc:1: In file included from ./scroller.h:4: In file included from ./win.h:31: In file included from ./xmath.h:22: In file included from /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/math.h:312: /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__type_traits/is_integral.h:38:29: error: redefinition of '__libcpp_is_integral' template <> struct __libcpp_is_integral { enum { value = 1 }; }; ^~~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__type_traits/is_integral.h:24:29: note: previous definition is here template <> struct __libcpp_is_integral { enum { value = 1 }; }; ^ option_menu.hc:172:7: warning: 'sprintf' 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 snprintf(3) instead. [-Wdeprecated-declarations] sprintf (name [ /* pno */ (act_menu - 2)], "player %d", /* pno */ (act_menu - 2)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here __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 snprintf(3) instead.") ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ option_menu.hc:172:7: warning: 'sprintf' 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 snprintf(3) instead. [-Wdeprecated-declarations] sprintf (name [ /* pno */ (act_menu - 2)], "player %d", /* pno */ (act_menu - 2)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here __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 snprintf(3) instead.") ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ 2 warnings and 1 error generated. *** [option_menu.o] Error code 1 bmake: stopped making "all" in /Users/pbulk/build/games/craft/work bmake: 1 error bmake: stopped making "all" in /Users/pbulk/build/games/craft/work *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/craft *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/craft