===> Building for hex-a-hop-1.1.0nb8 Making all in src /opt/pkg/bin/bmake all-am clang++ -DHAVE_CONFIG_H -I. -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -g -Wall -DUSE_GETTEXT -DDATADIR=\""/opt/pkg/share/hex-a-hop"\" -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -g -Wall -DUSE_GETTEXT -DDATADIR=\""/opt/pkg/share/hex-a-hop"\" -MT gfx.o -MD -MP -MF .deps/gfx.Tpo -c -o gfx.o gfx.cpp mv -f .deps/gfx.Tpo .deps/gfx.Po clang++ -DHAVE_CONFIG_H -I. -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -g -Wall -DUSE_GETTEXT -DDATADIR=\""/opt/pkg/share/hex-a-hop"\" -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -g -Wall -DUSE_GETTEXT -DDATADIR=\""/opt/pkg/share/hex-a-hop"\" -MT hex_puzzzle.o -MD -MP -MF .deps/hex_puzzzle.Tpo -c -o hex_puzzzle.o hex_puzzzle.cpp hex_puzzzle.cpp:105:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strncat(save_path, "/", sizeof(save_path)); ^~~~~~~~~~~~~~~~~ hex_puzzzle.cpp:105:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strncat(save_path, "/", sizeof(save_path)); ^~~~~~~~~~~~~~~~~ sizeof(save_path) - strlen(save_path) - 1 In file included from hex_puzzzle.cpp:360: ./menus.h:339:3: 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 (title, _("Help (Page %d/%d)"), page_display+1, page_count); ^ /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))) ^ In file included from hex_puzzzle.cpp:360: ./menus.h:421:3: 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(t, "save%d.dat", i+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))) ^ In file included from hex_puzzzle.cpp:360: ./menus.h:994:6: 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(optionSlotName[i], _("Continue game %d (All Clear!)"), i+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))) ^ In file included from hex_puzzzle.cpp:360: ./menus.h:996:6: 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(optionSlotName[i], _("Continue game %d (%d%% + %d%%)"), i+1, p.general.completionPercentage, p.general.masteredPercentage); ^ /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))) ^ In file included from hex_puzzzle.cpp:360: ./menus.h:998:6: 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(optionSlotName[i], _("Continue game %d (%d%% complete)"), i+1, p.general.completionPercentage); ^ /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))) ^ In file included from hex_puzzzle.cpp:360: ./menus.h:1057:3: 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(tmp, _("Really delete game %d?"), num+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))) ^ hex_puzzzle.cpp:1003:30: warning: explicitly assigning value of variable of type 'double' to itself [-Wself-assign] if (mode & 1) f=1-f; else f=f; ~^~ hex_puzzzle.cpp:1031:7: warning: 'LaserRender::Render' hides overloaded virtual function [-Woverloaded-virtual] void Render(RenderObject* /*r*/, double /*time*/) ^ hex_puzzzle.cpp:427:15: note: hidden overloaded virtual function 'RenderStage::Render' declared here: different number of parameters (3 vs 2) virtual void Render(RenderObject* r, double time, bool reflect) = 0; ^ hex_puzzzle.cpp:1264:18: warning: assigning field to itself [-Wself-assign-field] if (f==1) dead = this->dead; ^ hex_puzzzle.cpp:1477: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(tmp1, ngettext("Complete 1 more level to unlock!", "Complete %d more levels to unlock!", t-numComplete), t-numComplete); ^ /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))) ^ hex_puzzzle.cpp:3496:9: warning: variable 'step' set but not used [-Wunused-but-set-variable] int step=0; ^ hex_puzzzle.cpp:3263:7: warning: unused variable 'playerStartPos' [-Wunused-variable] Pos playerStartPos = player; ^ hex_puzzzle.cpp:234:11: warning: unused variable 'colours' [-Wunused-const-variable] const int colours[] = { ^ 14 warnings generated. mv -f .deps/hex_puzzzle.Tpo .deps/hex_puzzzle.Po clang++ -DHAVE_CONFIG_H -I. -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -g -Wall -DUSE_GETTEXT -DDATADIR=\""/opt/pkg/share/hex-a-hop"\" -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -g -Wall -DUSE_GETTEXT -DDATADIR=\""/opt/pkg/share/hex-a-hop"\" -MT i18n.o -MD -MP -MF .deps/i18n.Tpo -c -o i18n.o i18n.cpp mv -f .deps/i18n.Tpo .deps/i18n.Po clang++ -DHAVE_CONFIG_H -I. -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -g -Wall -DUSE_GETTEXT -DDATADIR=\""/opt/pkg/share/hex-a-hop"\" -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -g -Wall -DUSE_GETTEXT -DDATADIR=\""/opt/pkg/share/hex-a-hop"\" -MT sfx.o -MD -MP -MF .deps/sfx.Tpo -c -o sfx.o sfx.cpp mv -f .deps/sfx.Tpo .deps/sfx.Po clang -DHAVE_CONFIG_H -I. -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -MT system-directory.o -MD -MP -MF .deps/system-directory.Tpo -c -o system-directory.o system-directory.c mv -f .deps/system-directory.Tpo .deps/system-directory.Po clang -DHAVE_CONFIG_H -I. -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -MT system-relative.o -MD -MP -MF .deps/system-relative.Tpo -c -o system-relative.o system-relative.c system-relative.c:167:2: warning: "Not supported." [-W#warnings] #warning "Not supported." ^ system-relative.c:196:2: warning: "Not supported." [-W#warnings] #warning "Not supported." ^ 2 warnings generated. mv -f .deps/system-relative.Tpo .deps/system-relative.Po clang++ -DHAVE_CONFIG_H -I. -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -g -Wall -DUSE_GETTEXT -DDATADIR=\""/opt/pkg/share/hex-a-hop"\" -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/freetype2 -g -Wall -DUSE_GETTEXT -DDATADIR=\""/opt/pkg/share/hex-a-hop"\" -MT text.o -MD -MP -MF .deps/text.Tpo -c -o text.o text.cpp text.cpp:450:2: error: unknown type name 'iconv_t' iconv_t cd = iconv_open("UTF-8", locale_enc); ^ text.cpp:450:15: error: use of undeclared identifier 'iconv_open' iconv_t cd = iconv_open("UTF-8", locale_enc); ^ 2 errors generated. *** [text.o] Error code 1 bmake[2]: stopped making "all-am" in /Users/pbulk/build/games/hex-a-hop/work/hex-a-hop-1.1.0/src bmake[2]: 1 error bmake[2]: stopped making "all-am" in /Users/pbulk/build/games/hex-a-hop/work/hex-a-hop-1.1.0/src bmake[1]: stopped making "all" in /Users/pbulk/build/games/hex-a-hop/work/hex-a-hop-1.1.0/src bmake: stopped making "all" in /Users/pbulk/build/games/hex-a-hop/work/hex-a-hop-1.1.0 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/hex-a-hop *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/hex-a-hop