=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/craft", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for craft-3.5nb5 --- config.h --- --- hcc/hcc --- --- config.h --- echo '#define PREFIX "/opt/pkg"' > config.h --- hcc/hcc --- 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] 181 | sprintf (ii, "%d", l); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __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-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ hcc/hcc.cc:1073:61: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 1073 | /* 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 1073 | /* 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 1073 | /* calc_min */ {if ( /* first_line */ (l == ref_start_line [ref_n])) | ^~ | = hcc/hcc.cc:1077:60: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 1077 | /* 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 1077 | /* 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 1077 | /* 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] 1221 | sprintf (cmd, "%s %s.cc %s 1> %s.err 2>&1", | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __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-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #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] 1290 | sprintf (msg, "rm -f %s.o", src_name); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __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-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ 5 warnings generated. --- xtimer.o --- --- option_menu.o --- --- xtimer.o --- 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 --- option_menu.o --- 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 --- setupedit.o --- hcc/hcc -compiler clang -I/opt/pkg/include -pipe -Os -Wno-return-type -I/opt/pkg/include -I/opt/pkg/include -D_REENTRANT -c setupedit --- option_menu.o --- 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-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/c++/v1/math.h:358: In file included from /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/c++/v1/__math/abs.h:14: /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/c++/v1/__type_traits/is_integral.h:38:29: error: redefinition of '__libcpp_is_integral' 38 | template <> struct __libcpp_is_integral { enum { value = 1 }; }; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/c++/v1/__type_traits/is_integral.h:24:29: note: previous definition is here 24 | 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] 121 | sprintf (name [ /* pno */ (act_menu - 2)], "player %d", /* pno */ (act_menu - 2)); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __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-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #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] 130 | sprintf (name [ /* pno */ (act_menu - 2)], "player %d", /* pno */ (act_menu - 2)); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __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-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ 2 warnings and 1 error generated. *** [option_menu.o] Error code 1 bmake: stopped making "all" in /var/tmp/work/games/craft/work --- setupedit.o --- In file included from setupedit.hc:1: In file included from ./win.h:31: In file included from ./xmath.h:22: In file included from /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/c++/v1/math.h:358: In file included from /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/c++/v1/__math/abs.h:14: /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/c++/v1/__type_traits/is_integral.h:38:29: error: redefinition of '__libcpp_is_integral' 38 | template <> struct __libcpp_is_integral { enum { value = 1 }; }; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/c++/v1/__type_traits/is_integral.h:24:29: note: previous definition is here 24 | template <> struct __libcpp_is_integral { enum { value = 1 }; }; | ^ 1 error generated. *** [setupedit.o] Error code 1 bmake: stopped making "all" in /var/tmp/work/games/craft/work bmake: 2 errors bmake: stopped making "all" in /var/tmp/work/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