+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xboard-4.9.1nb26/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xboard-4.9.1nb26/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for xboard-4.9.1nb26 --- all --- /usr/pkg/bin/bmake all-recursive --- all-recursive --- Making all in po --- check-macro-version --- --- xaw/.dirstamp --- --- xaw/.deps/.dirstamp --- --- backend.o --- CC backend.o --- book.o --- CC book.o --- backend.o --- In file included from backend.c:142: backend.c: In function 'Load': common.h:912:22: warning: macro expands to multiple statements [-Wmultistatement-macros] #define ASSIGN(x, y) if(x) free(x); x = strdup(y) ^~ backend.c:1026:17: note: in expansion of macro 'ASSIGN' if(useNick) ASSIGN(appData.pgnName[i], nickName); ^~~~~~ backend.c:1026:5: note: some parts of macro expansion are not guarded by this 'if' clause if(useNick) ASSIGN(appData.pgnName[i], nickName); ^~ backend.c: In function 'ReserveGame': backend.c:1532:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(gameNr < 0 || appData.tourneyType < 1 || // gauntlet engine can always stay loaded as first engine ^~ backend.c:1535:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' UnloadEngine(&second); // already unload the engines, so TwoMachinesEvent will load new ones. ^~~~~~~~~~~~ backend.c: In function 'read_from_ics': --- book.o --- book.c: In function 'SaveToBook': book.c:891:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0; i<len1; i++) buf2[i] = buf1[i]; len2 = len1; ^~~ book.c:891:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i=0; i<len1; i++) buf2[i] = buf1[i]; len2 = len1; ^~~~ book.c: In function 'PlayBookMove': book.c:1032:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(*end && *++end != ' ' && *end != '\n') ^~~~~ book.c:1033:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' ; *end = NULLCHAR; // find clicked word ^ --- backend.o --- backend.c:4177:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (appData.debugMode) ^~ backend.c:4179:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' UserMoveEvent(premoveFromX, premoveFromY, ^~~~~~~~~~~~~ backend.c: In function 'SendMoveToProgram': backend.c:5180:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] } else ^~~~ backend.c:5185:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' SendToProgram(buf, cps); ^~~~~~~~~~~~~ backend.c: In function 'HandleMachineMove': backend.c:9435:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] } else ^~~~ backend.c:9443:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' if( appData.testLegality && gameMode == TwoMachinesPlay ) { ^~ backend.c: In function 'ApplyMove': backend.c:10215:70: warning: variable 'killed2' set but not used [-Wunused-but-set-variable] ChessSquare captured = board[toY][toX], piece, pawn, king, killed, killed2; int p, rookX, oldEP, epRank, berolina = 0; ^~~~~~~ backend.c: In function 'TwoMachinesEventIfReady': backend.c:11008:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(curMess != 1) DisplayMessage("", _("Waiting for first chess program")); curMess = 1; ^~ backend.c:11008:80: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(curMess != 1) DisplayMessage("", _("Waiting for first chess program")); curMess = 1; ^~~~~~~ backend.c:11013:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(curMess != 2) DisplayMessage("", _("Waiting for second chess program")); curMess = 2; ^~ backend.c:11013:81: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(curMess != 2) DisplayMessage("", _("Waiting for second chess program")); curMess = 2; ^~~~~~~ --- book.o --- book.c: In function 'move_to_string': book.c:505:32: warning: '%d' directive output may be truncated writing between 1 and 6 bytes into a region of size between 1 and 6 [-Wformat-truncation=] snprintf(move_s, 9, "%c%d%c%d", ff + 'a', fr + 1 - (BOARD_HEIGHT == 10), tf + 'a', tr + 1 - (BOARD_HEIGHT == 10)); ^~ book.c:505:25: note: directive argument in the range [-65535, 65536] snprintf(move_s, 9, "%c%d%c%d", ff + 'a', fr + 1 - (BOARD_HEIGHT == 10), tf + 'a', tr + 1 - (BOARD_HEIGHT == 10)); ^~~~~~~~~~ In file included from /usr/include/stdio.h:873, from book.c:33: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 5 and 15 bytes into a destination of size 9 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ --- backend.o --- backend.c: In function 'LoadPosition': backend.c:13658:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=0;j<6;j++)fprintf(debugFP, " %d", initialRights[j]);fprintf(debugFP,"\n"); ^~~ backend.c:13658:61: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(j=0;j<6;j++)fprintf(debugFP, " %d", initialRights[j]);fprintf(debugFP,"\n"); ^~~~~~~ --- book.o --- book.c: In function 'MovesToText': book.c:751:47: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 0 and 27 [-Wformat-truncation=] snprintf(p+strlen(p), 40, "%5.1f%% %5d %s%s\n", 100*entries[i].weight/(totalWeight+0.001), ^~ entries[i].weight, algMove, buf); ~~~ In file included from /usr/include/stdio.h:873, from book.c:33: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 15 and 844 bytes into a destination of size 40 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ --- childio.o --- CC childio.o childio.c: In function 'SetUpChildIO': childio.c:80:5: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result] pipe(to_prog); ^~~~~~~~~~~~~ childio.c:81:5: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result] pipe(from_prog); ^~~~~~~~~~~~~~~ --- gamelist.o --- CC gamelist.o --- backend.o --- backend.c:13618:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void) fgets(line, MSG_SIZ, f); ^~~~~~~~~~~~~~~~~~~~~~~ backend.c:13619:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void) fgets(line, MSG_SIZ, f); ^~~~~~~~~~~~~~~~~~~~~~~ backend.c:13622:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void) fgets(line, MSG_SIZ, f); ^~~~~~~~~~~~~~~~~~~~~~~ backend.c:13632:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void) fgets(line, MSG_SIZ, f); ^~~~~~~~~~~~~~~~~~~~~~~ --- ngamelist.o --- CC ngamelist.o --- lists.o --- CC lists.o --- moves.o --- CC moves.o moves.c: In function 'CollectPieceDescriptors': moves.c:209:15: warning: variable 'pieceName' set but not used [-Wunused-but-set-variable] char *m, *pieceName = defaultName; ^~~~~~~~~ moves.c: In function 'MovesFromString': moves.c:498:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(killX < 0) cb(board, flags, FirstLeg, r, f, y, x, cl); if(killX < f) ^~ moves.c:498:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(killX < 0) cb(board, flags, FirstLeg, r, f, y, x, cl); if(killX < f) ^~ moves.c:506:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(killX < 0) cb(board, flags, FirstLeg, r, f, y, x, cl); if(killX > f) ^~ moves.c:506:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(killX < 0) cb(board, flags, FirstLeg, r, f, y, x, cl); if(killX > f) ^~ moves.c: In function 'GenPseudoLegal': moves.c:1117:15: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (d = 0; d <= 1; d++) // Dababba moves that Rook cannot do ^~~ moves.c:1126:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' Rook(board, flags, rf, ff, callback, closure); ^~~~ --- backend.o --- backend.c: In function 'DisplayMove.part.23': backend.c:17585:42: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 498 and 509 [-Wformat-truncation=] snprintf(message, MSG_SIZ, "%d.%s%s%s", moveNumber / 2 + 1, ^~ backend.c:17587:26: parseList[moveNumber], res); ~~~ In file included from /usr/include/stdio.h:873, from backend.c:91: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 526) into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ backend.c: In function 'TimeString': backend.c:18092:45: warning: '%d' directive output may be truncated writing between 1 and 8 bytes into a region of size 6 [-Wformat-truncation=] if(timeSuffix) snprintf(moveTime, 8, " (%d)", timeSuffix/1000); // [HGM] kludge alert; fraction contains move time ^~ backend.c:18092:42: note: directive argument in the range [-2147483, 2147483] if(timeSuffix) snprintf(moveTime, 8, " (%d)", timeSuffix/1000); // [HGM] kludge alert; fraction contains move time ^~~~~~~ In file included from /usr/include/stdio.h:873, from backend.c:91: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 5 and 12 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ --- parser.o --- CC parser.o parser.c: In function 'KifuMove': parser.c:269:10: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] if(kifu * ~1) { // disambiguation was given, and thus is probably needed ~~~~~^~~~ parser.c: In function 'NextUnit': parser.c:727:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(**p == '.') (*p)++; SkipWhite(p); ^~ parser.c:727:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(**p == '.') (*p)++; SkipWhite(p); ^~~~~~~~~ --- backend.o --- backend.c: In function 'ApplyMove': backend.c:10317:45: warning: 'killed' may be used uninitialized in this function [-Wmaybe-uninitialized] board[toY][toX + (killX < fromX ? 1 : -1)] = killed; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ backend.c: In function 'UploadGameEvent': backend.c:5308:37: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 506 [-Wformat-truncation=] snprintf(command,MSG_SIZ, "match %s", ics_handle); ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from backend.c:91: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 7 and 518 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ backend.c:5321:36: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] } else snprintf(buf, MSG_SIZ,"%s\n", ics_type == ICS_ICC ? command : "examine\n"); // match yourself or examine ^ In file included from /usr/include/stdio.h:873, from backend.c:91: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 2 and 513 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ backend.c:5319:48: warning: ' fr ' directive output may be truncated writing 4 bytes into a region of size between 1 and 512 [-Wformat-truncation=] else if(i == 22) snprintf(buf,MSG_SIZ, "%s fr\n", command); ^~~~~ In file included from /usr/include/stdio.h:873, from backend.c:91: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 5 and 516 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ backend.c:5318:64: warning: ' w' directive output may be truncated writing 2 bytes into a region of size between 1 and 512 [-Wformat-truncation=] if(i<=36 && ics_type == ICS_ICC) snprintf(buf, MSG_SIZ,"%s w%d\n", command, i); ^~ backend.c:5318:61: note: directive argument in the range [1, 37] if(i<=36 && ics_type == ICS_ICC) snprintf(buf, MSG_SIZ,"%s w%d\n", command, i); ^~~~~~~~~~ In file included from /usr/include/stdio.h:873, from backend.c:91: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 5 and 517 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ backend.c:5320:39: warning: ' ' directive output may be truncated writing 1 byte into a region of size between 0 and 511 [-Wformat-truncation=] else snprintf(buf, MSG_SIZ,"%s %s\n", command, VariantName(gameInfo.variant)); ^~ In file included from /usr/include/stdio.h:873, from backend.c:91: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 3 or more bytes (assuming 514) into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ backend.c: In function 'SaveGamePGN2': backend.c:13959:90: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 0 and 94 [-Wformat-truncation=] snprintf( move_buffer, sizeof(move_buffer)/sizeof(move_buffer[0]),"{%s%.2f/%d%s}", ^~ backend.c:13963:9: buf ); ~~~ In file included from /usr/include/stdio.h:873, from backend.c:91: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 8 and 840 bytes into a destination of size 100 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ --- pgntags.o --- CC pgntags.o --- uci.o --- CC uci.o --- board.o --- CC board.o --- backend.o --- backend.c: In function 'HandleMachineMove': backend.c:9901:72: warning: ' (only move)' directive output may be truncated writing 12 bytes into a region of size between 1 and 5120 [-Wformat-truncation=] snprintf(thinkOutput, sizeof(thinkOutput)/sizeof(thinkOutput[0]), "%s (only move)", buf1); ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from backend.c:91: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 13 and 5132 bytes into a destination of size 5120 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ backend.c:9902:35: warning: '%s' directive writing up to 5119 bytes into a region of size 1024 [-Wformat-overflow=] sprintf(programStats.movelist, "%s (only move)", buf1); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from backend.c:91: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 5132 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ --- draw.o --- CC draw.o In file included from draw.c:59: /home/pbulk/build/games/xboard/work/.buildlink/include/librsvg-2.0/librsvg/rsvg-cairo.h:26:2: warning: #warning "Including <librsvg/rsvg-cairo.h> directly is deprecated." [-Wcpp] #warning "Including <librsvg/rsvg-cairo.h> directly is deprecated." ^~~~~~~ draw.c: In function 'LoadSVG': draw.c:357:7: warning: 'rsvg_handle_get_dimensions' is deprecated: Use 'rsvg_handle_get_intrinsic_size_in_pixels' instead [-Wdeprecated-declarations] rsvg_handle_get_dimensions(svg, &svg_dimensions); ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from draw.c:58: /home/pbulk/build/games/xboard/work/.buildlink/include/librsvg-2.0/librsvg/rsvg.h:708:6: note: declared here void rsvg_handle_get_dimensions (RsvgHandle *handle, RsvgDimensionData *dimension_data); ^~~~~~~~~~~~~~~~~~~~~~~~~~ draw.c:362:7: warning: 'rsvg_handle_render_cairo' is deprecated: Use 'rsvg_handle_render_document' instead [-Wdeprecated-declarations] rsvg_handle_render_cairo(svg, cr); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/games/xboard/work/.buildlink/include/librsvg-2.0/librsvg/rsvg.h:1458, from draw.c:58: /home/pbulk/build/games/xboard/work/.buildlink/include/librsvg-2.0/librsvg/rsvg-cairo.h:90:10: note: declared here gboolean rsvg_handle_render_cairo (RsvgHandle *handle, cairo_t *cr); ^~~~~~~~~~~~~~~~~~~~~~~~ draw.c: In function 'ScaleOnePiece': draw.c:386:3: warning: 'g_type_init' is deprecated [-Wdeprecated-declarations] g_type_init (); ^~~~~~~~~~~ In file included from /home/pbulk/build/games/xboard/work/.buildlink/include/glib-2.0/gobject/gobject.h:26, from /home/pbulk/build/games/xboard/work/.buildlink/include/glib-2.0/gobject/gbinding.h:31, from /home/pbulk/build/games/xboard/work/.buildlink/include/glib-2.0/glib-object.h:24, from /home/pbulk/build/games/xboard/work/.buildlink/include/librsvg-2.0/librsvg/rsvg.h:30, from draw.c:58: /home/pbulk/build/games/xboard/work/.buildlink/include/glib-2.0/gobject/gtype.h:737:23: note: declared here void g_type_init (void); ^~~~~~~~~~~ draw.c: In function 'ClearPieces': draw.c:479:2: warning: 'rsvg_handle_close' is deprecated: Use 'rsvg_handle_read_stream_sync' instead [-Wdeprecated-declarations] if(svgPieces[i][p]) rsvg_handle_close(svgPieces[i][p], NULL); ^~ In file included from draw.c:58: /home/pbulk/build/games/xboard/work/.buildlink/include/librsvg-2.0/librsvg/rsvg.h:607:10: note: declared here gboolean rsvg_handle_close (RsvgHandle *handle, GError **error); ^~~~~~~~~~~~~~~~~ --- dialogs.o --- CC dialogs.o dialogs.c: In function 'RefreshColor': dialogs.c:991:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(r < 0) r = 0; if(g < 0) g = 0; if(b < 0) b = 0; ^~ dialogs.c:991:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(r < 0) r = 0; if(g < 0) g = 0; if(b < 0) b = 0; ^~ dialogs.c:992:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(r > 0xFF0000) r = 0xFF0000; if(g > 0xFF00) g = 0xFF00; if(b > 0xFF) b = 0xFF; ^~ dialogs.c:992:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(r > 0xFF0000) r = 0xFF0000; if(g > 0xFF00) g = 0xFF00; if(b > 0xFF) b = 0xFF; ^~ dialogs.c: In function 'NewCommentPopup': dialogs.c:1169:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(commentText) free(commentText); commentText = strdup(text); ^~ dialogs.c:1169:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(commentText) free(commentText); commentText = strdup(text); ^~~~~~~~~~~ dialogs.c: In function 'NewTagsPopup': dialogs.c:1265:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(tagsText) free(tagsText); tagsText = strdup(text); ^~ dialogs.c:1265:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(tagsText) free(tagsText); tagsText = strdup(text); ^~~~~~~~ dialogs.c: In function 'LoadEngineProc': dialogs.c:1562:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(engineLine) free(engineLine); engineLine = strdup(""); ^~ dialogs.c:1562:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(engineLine) free(engineLine); engineLine = strdup(""); ^~~~~~~~~~ dialogs.c:1563:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(engineDir) free(engineDir); engineDir = strdup("."); ^~ dialogs.c:1563:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(engineDir) free(engineDir); engineDir = strdup("."); ^~~~~~~~~ dialogs.c:1564:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(nickName) free(nickName); nickName = strdup(""); ^~ dialogs.c:1564:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(nickName) free(nickName); nickName = strdup(""); ^~~~~~~~ dialogs.c:1565:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(params) free(params); params = strdup(""); ^~ dialogs.c:1565:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(params) free(params); params = strdup(""); ^~~~~~ dialogs.c: In function 'GetHelpText': dialogs.c:2636:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(buf[--len] == ' ') buf[len] = NULLCHAR; len++; ^~~~~ dialogs.c:2636:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' while(buf[--len] == ' ') buf[len] = NULLCHAR; len++; ^~~ dialogs.c: In function 'StartDir': dialogs.c:3340:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(p=*res; q=strchr(p, '/');) p = q + 1; *p = NULLCHAR; ^~~ dialogs.c:3340:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(p=*res; q=strchr(p, '/');) p = q + 1; *p = NULLCHAR; ^ dialogs.c: In function 'EchoOn': dialogs.c:2323:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system("stty echo"); ^~~~~~~~~~~~~~~~~~~ dialogs.c: In function 'EchoOff': dialogs.c:2331:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system("stty -echo"); ^~~~~~~~~~~~~~~~~~~~ dialogs.c: In function 'ListDir': dialogs.c:3218:2: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(curDir, MSG_SIZ); ^~~~~~~~~~~~~~~~~~~~~~~ dialogs.c: In function 'CreateDir': dialogs.c:3274:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(name); ^~~~~~~~~~~ dialogs.c: In function 'StartDir': dialogs.c:3344:6: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(curDir); ^~~~~~~~~~~~~ dialogs.c:3347:6: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(curDir, MSG_SIZ); ^~~~~~~~~~~~~~~~~~~~~~~ dialogs.c:3348:24: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] if(*res && **res) chdir(*res); ^~~~~~~~~~~ dialogs.c: In function 'BrowseOK': dialogs.c:3165:38: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(title, MSG_SIZ, "%s/%s", curDir, fileName); ^ In file included from /usr/include/stdio.h:873, from dialogs.c:28: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 513) into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ --- backend.o --- backend.c: In function 'UserMoveEvent': backend.c:7193:41: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 498 [-Wformat-truncation=] snprintf(buf, MSG_SIZ, " 0.0%% 1 %s\n", move); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from backend.c:91: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 16 and 527 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ backend.c: In function 'LeftClick': backend.c:7910:4: warning: 'piece' may be used uninitialized in this function [-Wmaybe-uninitialized] if(piece == defaultPromoChoice) promoChoice = NULLCHAR; // deferral ^ --- dialogs.o --- dialogs.c: In function 'DisplayHelp': dialogs.c:2710:38: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 502 [-Wformat-truncation=] snprintf(tidy, MSG_SIZ, "gunzip -c %s", buf); ^~ ~~~ In file included from /usr/include/stdio.h:873, from dialogs.c:28: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 11 and 522 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ dialogs.c: In function 'ListDir': dialogs.c:3219:33: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 509 [-Wformat-truncation=] snprintf(title, MSG_SIZ, "%s %s", _("Contents of"), curDir); ^~ ~~~~~~ In file included from /usr/include/stdio.h:873, from dialogs.c:28: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 515) into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ --- engineoutput.o --- CC engineoutput.o --- backend.o --- backend.c: In function 'ParseBoard12': backend.c:4575:34: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 508 [-Wformat-truncation=] snprintf(str, MSG_SIZ, "ICS %s", gs_kind); ^~ ~~~~~~~ In file included from /usr/include/stdio.h:873, from backend.c:91: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 5 and 516 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ --- engineoutput.o --- engineoutput.c: In function 'SetProgramStats': engineoutput.c:621:55: warning: ' ' directive output may be truncated writing 1 byte into a region of size between 0 and 11 [-Wformat-truncation=] if(-h >= MATE_SCORE) snprintf(s_score, 16, " %s#-%d%c\t", (-h > MATE_SCORE+9 ? "" : " "), -h - MATE_SCORE, fail ); else ^~ In file included from /usr/include/stdio.h:873, from engineoutput.c:33: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 7 and 18 bytes into a destination of size 16 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ engineoutput.c:620:55: warning: ' ' directive output may be truncated writing 1 byte into a region of size between 0 and 11 [-Wformat-truncation=] if( h >= MATE_SCORE) snprintf(s_score, 16, " %s#%d%c\t", ( h > MATE_SCORE+9 ? "" : " "), h - MATE_SCORE, fail ); else ^~ In file included from /usr/include/stdio.h:873, from engineoutput.c:33: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 7 and 18 bytes into a destination of size 16 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ --- nengineoutput.o --- CC nengineoutput.o --- evalgraph.o --- CC evalgraph.o --- nevalgraph.o --- CC nevalgraph.o --- history.o --- CC history.o --- backend.o --- backend.c: In function 'read_from_ics': backend.c:3136:36: warning: ' kibitzes: ' directive output may be truncated writing 11 bytes into a region of size between 1 and 512 [-Wformat-truncation=] snprintf(tmp, MSG_SIZ, "%s kibitzes: %s", star_match[0], parse); ^~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from backend.c:91: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 12 and 20522 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ backend.c:3095:31: warning: '%s' directive output may be truncated writing up to 19999 bytes into a region of size between 1 and 512 [-Wformat-truncation=] snprintf(mess, MSG_SIZ, "%s%s", talker, parse); ^~ ~~~~~ In file included from /usr/include/stdio.h:873, from backend.c:91: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 1 and 20511 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ backend.c:3101:34: warning: '%s' directive output may be truncated writing up to 19999 bytes into a region of size 510 [-Wformat-truncation=] snprintf(mess, MSG_SIZ, "%s: %s", chatPartner[chattingPartner], parse); ^~ ~~~~~ In file included from /usr/include/stdio.h:873, from backend.c:91: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 3 or more bytes (assuming 20002) into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ backend.c:3201:41: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(buf, sizeof(buf), "%s@%s", ics_handle, appData.icsHost); ^ In file included from /usr/include/stdio.h:873, from backend.c:91: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 513) into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ backend.c:3704:31: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 508 [-Wformat-truncation=] snprintf(str, MSG_SIZ, "ICS %s %s match", star_match[0], star_match[1]); ^~ ~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from backend.c:91: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 12 and 1034 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ --- nhistory.o --- CC nhistory.o --- menus.o --- CC menus.o menus.c: In function 'BugReportProc': menus.c:323:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(buf); ^~~~~~~~~~~ menus.c: In function 'GuideProc': menus.c:331:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(buf); ^~~~~~~~~~~ menus.c: In function 'HomePageProc': menus.c:339:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(buf); ^~~~~~~~~~~ menus.c: In function 'NewsPageProc': menus.c:347:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(buf); ^~~~~~~~~~~ menus.c: In function 'InstallFromDir': menus.c:1192:59: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 507 [-Wformat-truncation=] snprintf(buf + strlen(buf), MSG_SIZ - strlen(buf), " -fd %s", dir); ^~ menus.c:1245:31: InstallNewEngine(engineCom, engineDir, variants, protocol); ~~~~~~~~~ In file included from /usr/include/stdio.h:873, from menus.c:57: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 6 and 1029 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ --- usounds.o --- CC usounds.o usounds.c: In function 'PlaySoundFile': usounds.c:93:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(buf); ^~~~~~~~~~~ --- usystem.o --- --- zippy.o --- --- usystem.o --- CC usystem.o --- zippy.o --- CC zippy.o --- usystem.o --- usystem.c: In function 'RunCommand': usystem.c:287:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(buf); ^~~~~~~~~~~ usystem.c: In function 'StartChildProcess': usystem.c:465:2: warning: ignoring return value of 'nice', declared with attribute warn_unused_result [-Wunused-result] nice(appData.niceEngines); // [HGM] nice: adjust priority of engine proc ^~~~~~~~~~~~~~~~~~~~~~~~~ --- zippy.o --- zippy.c: In function 'ZippyControl': zippy.c:513:34: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 506 [-Wformat-truncation=] snprintf(reply, MSG_SIZ, "ptell %s\n", star_match[1]); ^~ ~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from zippy.c:56: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 8 and 519 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ --- xaw/xboard.o --- CC xaw/xboard.o --- xaw/xengineoutput.o --- CC xaw/xengineoutput.o --- xaw/xboard.o --- ./args.h: In function 'InitAppData': xaw/xboard.c:458:41: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] #define GetCurrentDirectory(SIZE, NAME) getcwd(NAME, SIZE) ^~~~~~~~~~~~~~~~~~ ./args.h:1527:3: note: in expansion of macro 'GetCurrentDirectory' GetCurrentDirectory(MSG_SIZ, currDir); ^~~~~~~~~~~~~~~~~~~ xaw/xboard.c:457:29: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] #define SetCurrentDirectory chdir ./args.h:1528:3: note: in expansion of macro 'SetCurrentDirectory' SetCurrentDirectory(installDir); ^~~~~~~~~~~~~~~~~~~ xaw/xboard.c:457:29: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] #define SetCurrentDirectory chdir ./args.h:1530:3: note: in expansion of macro 'SetCurrentDirectory' SetCurrentDirectory(currDir); ^~~~~~~~~~~~~~~~~~~ ./args.h: In function 'SaveSettings': xaw/xboard.c:458:41: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] #define GetCurrentDirectory(SIZE, NAME) getcwd(NAME, SIZE) ^~~~~~~~~~~~~~~~~~ ./args.h:1559:3: note: in expansion of macro 'GetCurrentDirectory' GetCurrentDirectory(MSG_SIZ, dir); ^~~~~~~~~~~~~~~~~~~ xaw/xboard.c:457:29: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] #define SetCurrentDirectory chdir ./args.h:1563:5: note: in expansion of macro 'SetCurrentDirectory' SetCurrentDirectory(installDir); ^~~~~~~~~~~~~~~~~~~ xaw/xboard.c:457:29: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] #define SetCurrentDirectory chdir ./args.h:1565:5: note: in expansion of macro 'SetCurrentDirectory' SetCurrentDirectory(dir); ^~~~~~~~~~~~~~~~~~~ --- xaw/xgamelist.o --- CC xaw/xgamelist.o --- xaw/xboard.o --- xaw/xboard.c: In function 'ManInner': xaw/xboard.c:2122:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(buf); ^~~~~~~~~~~ xaw/xboard.c: In function 'InfoProc': xaw/xboard.c:2137:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(buf); ^~~~~~~~~~~ --- xaw/xhistory.o --- CC xaw/xhistory.o --- xaw/xoptions.o --- CC xaw/xoptions.o --- xaw/xboard.o --- In file included from xaw/xboard.c:463: ./args.h: In function 'ParseSettingsFile': ./args.h:941:32: warning: '/themes/conf' directive output may be truncated writing 12 bytes into a region of size between 1 and 512 [-Wformat-truncation=] snprintf(buf, MSG_SIZ, "%s/themes/conf", dataDir); ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from xaw/xboard.c:57: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 13 and 524 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ --- xaw/xoptions.o --- xaw/xoptions.c: In function 'HighlightWithScroll': xaw/xoptions.c:267:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(f < 0.f) f = 0.; if(f + 1.f/max > 1.f) f = 1. - 1./max; ^~ xaw/xoptions.c:267:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(f < 0.f) f = 0.; if(f + 1.f/max > 1.f) f = 1. - 1./max; ^~ xaw/xoptions.c: In function 'GenericPopUp': xaw/xoptions.c:1152:36: warning: 'v' may be used uninitialized in this function [-Wmaybe-uninitialized] || p && (!*v || strlen(p) == strlen(v) || p[strlen(v)] == ','))); j++; ^~~~~~ xaw/xoptions.c:1253:28: warning: 'box' may be used uninitialized in this function [-Wmaybe-uninitialized] if(option[i].target) ((ButtonCallback*)option[i].target)(box); // callback that can make sizing decisions ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xaw/xoptions.c:1145:10: warning: 'forelast' may be used uninitialized in this function [-Wmaybe-uninitialized] j = SetPositionAndSize(args, last, lastrow, 3 /* border */, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ option[i].max /* w */, shrink ? textHeight : 0 /* h */, option[i].min & 0xE | chain /* chain */); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xaw/xoptions.c:1254:46: warning: 'oldForm' may be used uninitialized in this function [-Wmaybe-uninitialized] last = form; lastrow = oldLastRow; form = oldForm; forelast = oldForeLast; ~~~~~^~~~~~~~~ --- xboard --- CCLD xboard /bin/ld: backend.o: undefined reference to symbol 'dlsym@@GLIBC_2.2.5' //usr/lib64/libdl.so.2: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status *** [xboard] Error code 1 bmake[2]: stopped making "all-am" in /home/pbulk/build/games/xboard/work/xboard-4.9.1 bmake[2]: 1 error bmake[2]: stopped making "all-am" in /home/pbulk/build/games/xboard/work/xboard-4.9.1 bmake[1]: stopped making "all-recursive" in /home/pbulk/build/games/xboard/work/xboard-4.9.1 bmake: stopped making "all" in /home/pbulk/build/games/xboard/work/xboard-4.9.1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/games/xboard *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/games/xboard