Snippets for got-game-of-trees 0.131 from Alpine ppc64le
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-ppc64le/community/got/got-0.131-r0.log.
-
/usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include <sys/cdefs.h> is deprecated [-Wcpp] 4 | #warning usage of non-standard #include <sys/cdefs.h> is deprecated | ^~~~~~~ -
base64.c:128:1: warning: old-style function definition [-Wold-style-definition] 128 | b64_ntop(src, srclength, target, targsize) | ^~~~~~~~ -
base64.c:192:1: warning: old-style function definition [-Wold-style-definition] 192 | b64_pton(src, target, targsize) | ^~~~~~~~ -
fmt_scaled.c:237:66: warning: '%1lld' directive output may be truncated writing between 1 and 17 bytes into a region of size between 3 and 5 [-Wformat-truncation=] 237 | (void)snprintf(result, FMT_SCALED_STRSIZE, "%lld.%1lld%c", | ^~~~~ -
../lib/error.c:373:49: warning: '%s' directive output may be truncated writing up to 16383 bytes into a region of size 4080 [-Wformat-truncation=] 373 | snprintf(cerr->msg, sizeof(cerr->msg), "%s: %s", buf, strerr); | ^~ ~~~ -
../lib/error.c:496:65: warning: '%s' directive output may be truncated writing up to 16383 bytes into a region of size 4080 [-Wformat-truncation=] 496 | snprintf(cerr->msg, sizeof(cerr->msg), "%s: %s", buf, | ^~ ~~~ -
got-notify-http.c:861:9: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 861 | ctx = HMAC_CTX_new(); | ^~~ -
got-notify-http.c:867:9: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 867 | if (!HMAC_Init_ex(ctx, hmac_secret, secret_len, EVP_sha256(), NULL)) { | ^~ -
got-notify-http.c:883:17: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 883 | if (!HMAC_Update(ctx, buf, r)) { | ^~ -
got-notify-http.c:890:9: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 890 | if (!HMAC_Final(ctx, hmac_sig_buf, hmac_siglen)) { | ^~ -
got-notify-http.c:895:9: warning: 'HMAC_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 895 | *hmac_siglen = HMAC_size(ctx); | ^ -
got-notify-http.c:897:9: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 897 | HMAC_CTX_free(ctx); | ^~~~~~~~~~~~~ -
got-notify-http.c:900:9: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 900 | HMAC_CTX_free(ctx); | ^~~~~~~~~~~~~ -
session_write.c:736:14: warning: '%s' directive output may be truncated writing up to 254 bytes into a region of size 64 [-Wformat-truncation=] 736 | "%s: %s %s %s: %.12s", gotd_session.repo_name, | ^~ ~~~~~~~~~~~~~~~~~~~~~~ -
/usr/include/bsd/vis.h:107:2: warning: #warning "NetBSD added incompatible strnvis() and strnunvis(), please see <bsd/vis.h> for more detils." [-Wcpp] 107 | #warning "NetBSD added incompatible strnvis() and strnunvis(), please see <bsd/vis.h> for more detils." | ^~~~~~~ -
auth.c:389:30: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'time_t' {aka 'long int'} [-Wformat=] 389 | r = tp_writef(c->tp, "Set-Cookie: gwdauth=%s;" | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
login.c:157:35: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 157 | log_warnx("uid %llu: %s token has expired\n", uid, purpose); | ~~~^ ~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu -
auth.c:483:49: warning: '%s' directive argument is null [-Wformat-overflow=] 483 | log_info("logging out uid %u as %s for server \"%s\"", | ^~ -
tog.c:239:62: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 503 [-Wformat-truncation=] 239 | snprintf(err_msg, sizeof(err_msg), "regcomp: %s", | ^~ 240 | regerr_msg); | ~~~~~~~~~~