=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for pkg-1.10.99.7nb1 --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in compat --- libbsd_compat_la-basename.lo --- --- libbsd_compat_la-closefrom.lo --- --- libbsd_compat_la-dirname.lo --- --- libbsd_compat_la-basename.lo --- CC libbsd_compat_la-basename.lo --- libbsd_compat_la-closefrom.lo --- CC libbsd_compat_la-closefrom.lo --- libbsd_compat_la-dirname.lo --- CC libbsd_compat_la-dirname.lo --- libbsd_compat_la-file_at.lo --- CC libbsd_compat_la-file_at.lo --- libbsd_compat_la-humanize_number.lo --- CC libbsd_compat_la-humanize_number.lo --- libbsd_compat_la-strtonum.lo --- CC libbsd_compat_la-strtonum.lo --- libbsd_compat_la-strnstr.lo --- CC libbsd_compat_la-strnstr.lo --- libbsd_compat_la-funopen.lo --- CC libbsd_compat_la-funopen.lo --- libbsd_compat.la --- CCLD libbsd_compat.la Making all in external --- libelf/native-elf-format.h --- --- libelf/libelf_convert.c --- --- libelf/libelf_fsize.c --- --- libelf/native-elf-format.h --- ./libelf/native-elf-format > libelf/native-elf-format.h --- libelf/libelf_convert.c --- M4 libelf/libelf_convert.c --- libelf/libelf_fsize.c --- M4 libelf/libelf_fsize.c --- libelf/libelf_msize.c --- M4 libelf/libelf_msize.c --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in blake2 --- libblake2_static_la-blake2b-ref.lo --- --- libblake2_static_la-blake2s-ref.lo --- --- libblake2_la-blake2b-ref.lo --- CC libblake2_la-blake2b-ref.lo --- libblake2_static_la-blake2s-ref.lo --- CC libblake2_static_la-blake2s-ref.lo --- libblake2_static_la-blake2b-ref.lo --- CC libblake2_static_la-blake2b-ref.lo --- libblake2_la-blake2s-ref.lo --- CC libblake2_la-blake2s-ref.lo --- libblake2_static.la --- CCLD libblake2_static.la --- libblake2.la --- CCLD libblake2.la --- libucl/src/.dirstamp --- --- libucl/src/.deps/.dirstamp --- --- sqlite/.dirstamp --- --- sqlite/.deps/.dirstamp --- --- expat/lib/.dirstamp --- --- expat/lib/.deps/.dirstamp --- --- picosat/.dirstamp --- --- picosat/.deps/.dirstamp --- --- libfetch/.dirstamp --- --- libfetch/.deps/.dirstamp --- --- linenoise/.dirstamp --- --- linenoise/.deps/.dirstamp --- --- libelf/.dirstamp --- --- libelf/.deps/.dirstamp --- --- libucl/src/libucl_la-ucl_emitter.lo --- CC libucl/src/libucl_la-ucl_emitter.lo --- libucl/src/libucl_la-ucl_emitter_utils.lo --- CC libucl/src/libucl_la-ucl_emitter_utils.lo --- libucl/src/libucl_la-ucl_emitter_streamline.lo --- CC libucl/src/libucl_la-ucl_emitter_streamline.lo --- libucl/src/libucl_la-ucl_hash.lo --- CC libucl/src/libucl_la-ucl_hash.lo --- libucl/src/libucl_la-ucl_parser.lo --- CC libucl/src/libucl_la-ucl_parser.lo --- libucl/src/libucl_la-ucl_schema.lo --- CC libucl/src/libucl_la-ucl_schema.lo --- libucl/src/libucl_la-ucl_parser.lo --- In file included from /usr/include/ctype.h:100, from libucl/src/ucl_internal.h:82, from libucl/src/ucl_parser.c:25: libucl/src/ucl_parser.c: In function 'ucl_maybe_parse_number': libucl/src/ucl_parser.c:693:27: warning: array subscript has type 'char' [-Wchar-subscripts] 693 | if (is_hex && isxdigit (*p)) { | ^ libucl/src/ucl_parser.c:696:21: warning: array subscript has type 'char' [-Wchar-subscripts] 696 | else if (isdigit (*p)) { | ^ libucl/src/ucl_parser.c:737:20: warning: array subscript has type 'char' [-Wchar-subscripts] 737 | if (!isdigit (*p) && *p != '+' && *p != '-') { | ^ libucl/src/ucl_parser.c:832:20: warning: array subscript has type 'char' [-Wchar-subscripts] 832 | if (tolower (p[0]) == 'm' && | ^ libucl/src/ucl_parser.c:833:18: warning: array subscript has type 'char' [-Wchar-subscripts] 833 | tolower (p[1]) == 'i' && | ^ libucl/src/ucl_parser.c:834:18: warning: array subscript has type 'char' [-Wchar-subscripts] 834 | tolower (p[2]) == 'n') { | ^ --- libucl/src/libucl_la-ucl_util.lo --- CC libucl/src/libucl_la-ucl_util.lo --- libucl/src/libucl_la-ucl_msgpack.lo --- CC libucl/src/libucl_la-ucl_msgpack.lo --- libucl/src/libucl_la-ucl_util.lo --- In file included from /usr/include/ctype.h:100, from libucl/src/ucl_internal.h:82, from libucl/src/ucl_util.c:26: libucl/src/ucl_util.c: In function 'ucl_unescape_json_string': libucl/src/ucl_util.c:319:21: warning: array subscript has type 'char' [-Wchar-subscripts] 319 | if (isdigit (h[i])) { | ^ libucl/src/ucl_util.c: In function 'ucl_strlcpy_tolower': libucl/src/ucl_util.c:1962:25: warning: array subscript has type 'char' [-Wchar-subscripts] 1962 | if ((*d++ = tolower (*s++)) == '\0') { | ^ --- libucl/src/libucl_la-ucl_sexp.lo --- CC libucl/src/libucl_la-ucl_sexp.lo --- sqlite/libsqlite_la-sqlite3.lo --- CC sqlite/libsqlite_la-sqlite3.lo --- sqlite/libsqlite_la-shell.lo --- CC sqlite/libsqlite_la-shell.lo --- expat/lib/libexpat_la-xmlparse.lo --- CC expat/lib/libexpat_la-xmlparse.lo --- expat/lib/libexpat_la-xmlrole.lo --- CC expat/lib/libexpat_la-xmlrole.lo --- expat/lib/libexpat_la-xmltok.lo --- CC expat/lib/libexpat_la-xmltok.lo --- picosat/libpicosat_la-picosat.lo --- CC picosat/libpicosat_la-picosat.lo In file included from picosat/picosat.c:26: picosat/picosat.c: In function 'fixvar': picosat/picosat.c:2087:23: warning: comparison between pointer and zero character constant [-Wpointer-compare] 2087 | assert (VAR2LIT (v) != UNDEF); | ^~ picosat/picosat.c:174:20: note: did you mean to dereference the pointer? 174 | #define VAR2LIT(v) (ps->lits + 2 * ((v) - ps->vars)) | ^ picosat/picosat.c:2087:11: note: in expansion of macro 'VAR2LIT' 2087 | assert (VAR2LIT (v) != UNDEF); | ^~~~~~~ --- picosat/libpicosat_la-version.lo --- CC picosat/libpicosat_la-version.lo --- libfetch/libfetch_la-common.lo --- CC libfetch/libfetch_la-common.lo --- libfetch/libfetch_la-fetch.lo --- CC libfetch/libfetch_la-fetch.lo --- libfetch/libfetch_la-common.lo --- In file included from /usr/include/ctype.h:100, from libfetch/common.c:39: libfetch/common.c: In function 'fetch_ssl_is_trad_domain_label': libfetch/common.c:392:17: warning: array subscript has type 'char' [-Wchar-subscripts] 392 | if (!isdigit(l[i]) && | ^ libfetch/common.c: In function 'fetch_ssl_verify_altname': libfetch/common.c:596:3: warning: 'ASN1_STRING_data' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 596 | ns = (const char *)ASN1_STRING_data(name->d.ia5); | ^~ In file included from /usr/include/openssl/objects.h:21, from /usr/include/openssl/evp.h:43, from /usr/include/openssl/x509.h:28, from /usr/include/openssl/x509v3.h:24, from libfetch/common.c:52: /usr/include/openssl/asn1.h:679:40: note: declared here 679 | OSSL_DEPRECATEDIN_1_1_0 unsigned char *ASN1_STRING_data(ASN1_STRING *x); | ^~~~~~~~~~~~~~~~ --- libfetch/libfetch_la-file.lo --- CC libfetch/libfetch_la-file.lo --- libfetch/libfetch_la-ftp.lo --- CC libfetch/libfetch_la-ftp.lo --- libfetch/libfetch_la-http.lo --- CC libfetch/libfetch_la-http.lo --- libfetch/libfetch_la-ftp.lo --- libfetch/ftp.c: In function 'ftp_transfer': libfetch/ftp.c:821:7: warning: 'sslen' may be used uninitialized in this function [-Wmaybe-uninitialized] 821 | if (bind(sd, (struct sockaddr *)&sa, sslen) == -1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- linenoise/liblinenoise_la-linenoise.lo --- CC linenoise/liblinenoise_la-linenoise.lo --- libfetch/libfetch_la-http.lo --- libfetch/http.c: In function 'DigestCalcHA1': libfetch/http.c:1157:2: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1157 | MD5Init(&Md5Ctx); | ^~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ libfetch/http.c:1158:2: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1158 | MD5Update(&Md5Ctx, pszUserName, strlen(pszUserName)); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1159:2: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1159 | MD5Update(&Md5Ctx, ":", 1); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1160:2: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1160 | MD5Update(&Md5Ctx, pszRealm, strlen(pszRealm)); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1161:2: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1161 | MD5Update(&Md5Ctx, ":", 1); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1162:2: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1162 | MD5Update(&Md5Ctx, pszPassword, strlen(pszPassword)); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1163:2: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1163 | MD5Final(HA1, &Md5Ctx); | ^~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ libfetch/http.c:1166:3: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1166 | MD5Init(&Md5Ctx); | ^~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ libfetch/http.c:1167:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1167 | MD5Update(&Md5Ctx, HA1, HASHLEN); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1168:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1168 | MD5Update(&Md5Ctx, ":", 1); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1169:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1169 | MD5Update(&Md5Ctx, pszNonce, strlen(pszNonce)); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1170:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1170 | MD5Update(&Md5Ctx, ":", 1); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1171:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1171 | MD5Update(&Md5Ctx, pszCNonce, strlen(pszCNonce)); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1172:3: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1172 | MD5Final(HA1, &Md5Ctx); | ^~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ libfetch/http.c: In function 'DigestCalcResponse': libfetch/http.c:1200:2: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1200 | MD5Init(&Md5Ctx); | ^~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ libfetch/http.c:1201:2: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1201 | MD5Update(&Md5Ctx, pszMethod, strlen(pszMethod)); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1202:2: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1202 | MD5Update(&Md5Ctx, ":", 1); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1203:2: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1203 | MD5Update(&Md5Ctx, pszDigestUri, strlen(pszDigestUri)); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1205:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1205 | MD5Update(&Md5Ctx, ":", 1); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1206:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1206 | MD5Update(&Md5Ctx, HEntity, HASHHEXLEN); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1208:2: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1208 | MD5Final(HA2, &Md5Ctx); | ^~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ libfetch/http.c:1212:2: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1212 | MD5Init(&Md5Ctx); | ^~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ libfetch/http.c:1213:2: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1213 | MD5Update(&Md5Ctx, HA1, HASHHEXLEN); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1214:2: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1214 | MD5Update(&Md5Ctx, ":", 1); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1215:2: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1215 | MD5Update(&Md5Ctx, pszNonce, strlen(pszNonce)); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1216:2: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1216 | MD5Update(&Md5Ctx, ":", 1); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1218:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1218 | MD5Update(&Md5Ctx, pszNonceCount, strlen(pszNonceCount)); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1219:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1219 | MD5Update(&Md5Ctx, ":", 1); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1220:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1220 | MD5Update(&Md5Ctx, pszCNonce, strlen(pszCNonce)); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1221:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1221 | MD5Update(&Md5Ctx, ":", 1); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1222:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1222 | MD5Update(&Md5Ctx, pszQop, strlen(pszQop)); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1223:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1223 | MD5Update(&Md5Ctx, ":", 1); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1225:2: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1225 | MD5Update(&Md5Ctx, HA2Hex, HASHHEXLEN); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1226:2: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1226 | MD5Final(RespHash, &Md5Ctx); | ^~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ libfetch/http.c: In function 'http_connect': libfetch/http.c:1389:10: warning: unused variable 'val' [-Wunused-variable] 1389 | int af, val; | ^~~ --- libelf/libelf_la-elf.lo --- CC libelf/libelf_la-elf.lo --- libelf/libelf_la-elf_begin.lo --- CC libelf/libelf_la-elf_begin.lo --- libelf/libelf_la-elf_cntl.lo --- CC libelf/libelf_la-elf_cntl.lo --- libelf/libelf_la-elf_data.lo --- CC libelf/libelf_la-elf_data.lo --- libelf/libelf_la-elf_end.lo --- CC libelf/libelf_la-elf_end.lo --- libelf/libelf_la-elf_errmsg.lo --- --- libelf/libelf_la-elf_errno.lo --- --- libelf/libelf_la-elf_errmsg.lo --- CC libelf/libelf_la-elf_errmsg.lo --- libelf/libelf_la-elf_errno.lo --- CC libelf/libelf_la-elf_errno.lo --- libelf/libelf_la-elf_fill.lo --- CC libelf/libelf_la-elf_fill.lo --- libelf/libelf_la-elf_flag.lo --- CC libelf/libelf_la-elf_flag.lo --- libelf/libelf_la-elf_getarhdr.lo --- CC libelf/libelf_la-elf_getarhdr.lo --- libelf/libelf_la-elf_getarsym.lo --- CC libelf/libelf_la-elf_getarsym.lo --- libelf/libelf_la-elf_getbase.lo --- CC libelf/libelf_la-elf_getbase.lo --- libelf/libelf_la-elf_getident.lo --- CC libelf/libelf_la-elf_getident.lo --- libelf/libelf_la-elf_hash.lo --- CC libelf/libelf_la-elf_hash.lo --- libelf/libelf_la-elf_kind.lo --- CC libelf/libelf_la-elf_kind.lo --- libelf/libelf_la-elf_memory.lo --- CC libelf/libelf_la-elf_memory.lo --- libelf/libelf_la-elf_next.lo --- CC libelf/libelf_la-elf_next.lo --- libelf/libelf_la-elf_open.lo --- CC libelf/libelf_la-elf_open.lo --- libelf/libelf_la-elf_phnum.lo --- CC libelf/libelf_la-elf_phnum.lo --- libelf/libelf_la-elf_rand.lo --- CC libelf/libelf_la-elf_rand.lo --- libelf/libelf_la-elf_rawfile.lo --- CC libelf/libelf_la-elf_rawfile.lo --- libelf/libelf_la-elf_scn.lo --- CC libelf/libelf_la-elf_scn.lo --- libelf/libelf_la-elf_shnum.lo --- CC libelf/libelf_la-elf_shnum.lo --- libelf/libelf_la-elf_shstrndx.lo --- CC libelf/libelf_la-elf_shstrndx.lo --- libelf/libelf_la-elf_strptr.lo --- CC libelf/libelf_la-elf_strptr.lo --- libelf/libelf_la-elf_update.lo --- CC libelf/libelf_la-elf_update.lo --- libelf/libelf_la-elf_version.lo --- CC libelf/libelf_la-elf_version.lo --- libelf/libelf_la-gelf_cap.lo --- CC libelf/libelf_la-gelf_cap.lo --- libelf/libelf_la-gelf_checksum.lo --- CC libelf/libelf_la-gelf_checksum.lo --- libelf/libelf_la-gelf_dyn.lo --- CC libelf/libelf_la-gelf_dyn.lo --- libelf/libelf_la-gelf_ehdr.lo --- CC libelf/libelf_la-gelf_ehdr.lo --- libelf/libelf_la-gelf_fsize.lo --- CC libelf/libelf_la-gelf_fsize.lo --- libelf/libelf_la-gelf_getclass.lo --- CC libelf/libelf_la-gelf_getclass.lo --- libelf/libelf_la-gelf_move.lo --- CC libelf/libelf_la-gelf_move.lo --- libelf/libelf_la-gelf_phdr.lo --- CC libelf/libelf_la-gelf_phdr.lo --- libelf/libelf_la-gelf_rel.lo --- CC libelf/libelf_la-gelf_rel.lo --- libelf/libelf_la-gelf_rela.lo --- CC libelf/libelf_la-gelf_rela.lo --- libelf/libelf_la-gelf_shdr.lo --- CC libelf/libelf_la-gelf_shdr.lo --- libelf/libelf_la-gelf_sym.lo --- CC libelf/libelf_la-gelf_sym.lo --- libelf/libelf_la-gelf_syminfo.lo --- CC libelf/libelf_la-gelf_syminfo.lo --- libelf/libelf_la-gelf_symshndx.lo --- CC libelf/libelf_la-gelf_symshndx.lo --- libelf/libelf_la-gelf_xlate.lo --- CC libelf/libelf_la-gelf_xlate.lo --- libelf/libelf_la-libelf_align.lo --- CC libelf/libelf_la-libelf_align.lo --- libelf/libelf_la-libelf_allocate.lo --- CC libelf/libelf_la-libelf_allocate.lo --- libelf/libelf_la-libelf_ar.lo --- CC libelf/libelf_la-libelf_ar.lo --- libelf/libelf_la-libelf_ar_util.lo --- CC libelf/libelf_la-libelf_ar_util.lo --- libelf/libelf_la-libelf_checksum.lo --- CC libelf/libelf_la-libelf_checksum.lo --- libelf/libelf_la-libelf_data.lo --- CC libelf/libelf_la-libelf_data.lo --- libelf/libelf_la-libelf_ehdr.lo --- CC libelf/libelf_la-libelf_ehdr.lo --- libelf/libelf_la-libelf_extended.lo --- CC libelf/libelf_la-libelf_extended.lo --- libelf/libelf_la-libelf_memory.lo --- CC libelf/libelf_la-libelf_memory.lo --- libelf/libelf_la-libelf_open.lo --- CC libelf/libelf_la-libelf_open.lo --- libelf/libelf_la-libelf_phdr.lo --- CC libelf/libelf_la-libelf_phdr.lo --- libelf/libelf_la-libelf_shdr.lo --- CC libelf/libelf_la-libelf_shdr.lo --- sqlite/libsqlite_la-sqlite3.lo --- sqlite/sqlite3.c: In function 'sqlite3SelectNew': --- libelf/libelf_la-libelf_xlate.lo --- CC libelf/libelf_la-libelf_xlate.lo --- sqlite/libsqlite_la-sqlite3.lo --- sqlite/sqlite3.c:114543:10: warning: function may return address of local variable [-Wreturn-local-addr] 114543 | return pNew; | ^~~~ sqlite/sqlite3.c:114503:10: note: declared here 114503 | Select standin; | ^~~~~~~ --- libelf/libelf_la-libelf_fsize.lo --- CC libelf/libelf_la-libelf_fsize.lo --- libelf/libelf_la-libelf_msize.lo --- CC libelf/libelf_la-libelf_msize.lo --- libelf/libelf_la-libelf_convert.lo --- CC libelf/libelf_la-libelf_convert.lo --- sqlite/libsqlite_static_la-sqlite3.lo --- CC sqlite/libsqlite_static_la-sqlite3.lo --- sqlite/libsqlite_static_la-shell.lo --- CC sqlite/libsqlite_static_la-shell.lo --- libucl/src/libucl_static_la-ucl_emitter.lo --- CC libucl/src/libucl_static_la-ucl_emitter.lo --- libucl/src/libucl_static_la-ucl_emitter_utils.lo --- CC libucl/src/libucl_static_la-ucl_emitter_utils.lo --- libucl/src/libucl_static_la-ucl_emitter_streamline.lo --- CC libucl/src/libucl_static_la-ucl_emitter_streamline.lo --- libucl/src/libucl_static_la-ucl_hash.lo --- CC libucl/src/libucl_static_la-ucl_hash.lo --- libucl/src/libucl_static_la-ucl_parser.lo --- CC libucl/src/libucl_static_la-ucl_parser.lo In file included from /usr/include/ctype.h:100, from libucl/src/ucl_internal.h:82, from libucl/src/ucl_parser.c:25: libucl/src/ucl_parser.c: In function 'ucl_maybe_parse_number': libucl/src/ucl_parser.c:693:27: warning: array subscript has type 'char' [-Wchar-subscripts] 693 | if (is_hex && isxdigit (*p)) { | ^ libucl/src/ucl_parser.c:696:21: warning: array subscript has type 'char' [-Wchar-subscripts] 696 | else if (isdigit (*p)) { | ^ libucl/src/ucl_parser.c:737:20: warning: array subscript has type 'char' [-Wchar-subscripts] 737 | if (!isdigit (*p) && *p != '+' && *p != '-') { | ^ libucl/src/ucl_parser.c:832:20: warning: array subscript has type 'char' [-Wchar-subscripts] 832 | if (tolower (p[0]) == 'm' && | ^ libucl/src/ucl_parser.c:833:18: warning: array subscript has type 'char' [-Wchar-subscripts] 833 | tolower (p[1]) == 'i' && | ^ libucl/src/ucl_parser.c:834:18: warning: array subscript has type 'char' [-Wchar-subscripts] 834 | tolower (p[2]) == 'n') { | ^ --- libucl/src/libucl_static_la-ucl_schema.lo --- CC libucl/src/libucl_static_la-ucl_schema.lo --- libucl/src/libucl_static_la-ucl_util.lo --- CC libucl/src/libucl_static_la-ucl_util.lo In file included from /usr/include/ctype.h:100, from libucl/src/ucl_internal.h:82, from libucl/src/ucl_util.c:26: libucl/src/ucl_util.c: In function 'ucl_unescape_json_string': libucl/src/ucl_util.c:319:21: warning: array subscript has type 'char' [-Wchar-subscripts] 319 | if (isdigit (h[i])) { | ^ libucl/src/ucl_util.c: In function 'ucl_strlcpy_tolower': libucl/src/ucl_util.c:1962:25: warning: array subscript has type 'char' [-Wchar-subscripts] 1962 | if ((*d++ = tolower (*s++)) == '\0') { | ^ --- libucl/src/libucl_static_la-ucl_msgpack.lo --- CC libucl/src/libucl_static_la-ucl_msgpack.lo --- libucl/src/libucl_static_la-ucl_sexp.lo --- CC libucl/src/libucl_static_la-ucl_sexp.lo --- expat/lib/libexpat_static_la-xmlparse.lo --- CC expat/lib/libexpat_static_la-xmlparse.lo --- expat/lib/libexpat_static_la-xmlrole.lo --- CC expat/lib/libexpat_static_la-xmlrole.lo --- expat/lib/libexpat_static_la-xmltok.lo --- CC expat/lib/libexpat_static_la-xmltok.lo --- sqlite/libsqlite_static_la-sqlite3.lo --- sqlite/sqlite3.c: In function 'sqlite3SelectNew': sqlite/sqlite3.c:114543:10: warning: function may return address of local variable [-Wreturn-local-addr] 114543 | return pNew; | ^~~~ sqlite/sqlite3.c:114503:10: note: declared here 114503 | Select standin; | ^~~~~~~ --- picosat/libpicosat_static_la-picosat.lo --- CC picosat/libpicosat_static_la-picosat.lo In file included from picosat/picosat.c:26: picosat/picosat.c: In function 'fixvar': picosat/picosat.c:2087:23: warning: comparison between pointer and zero character constant [-Wpointer-compare] 2087 | assert (VAR2LIT (v) != UNDEF); | ^~ picosat/picosat.c:174:20: note: did you mean to dereference the pointer? 174 | #define VAR2LIT(v) (ps->lits + 2 * ((v) - ps->vars)) | ^ picosat/picosat.c:2087:11: note: in expansion of macro 'VAR2LIT' 2087 | assert (VAR2LIT (v) != UNDEF); | ^~~~~~~ --- picosat/libpicosat_static_la-version.lo --- CC picosat/libpicosat_static_la-version.lo --- linenoise/linenoise.lo --- CC linenoise/linenoise.lo --- libfetch/libfetch_static_la-common.lo --- CC libfetch/libfetch_static_la-common.lo In file included from /usr/include/ctype.h:100, from libfetch/common.c:39: libfetch/common.c: In function 'fetch_ssl_is_trad_domain_label': libfetch/common.c:392:17: warning: array subscript has type 'char' [-Wchar-subscripts] 392 | if (!isdigit(l[i]) && | ^ libfetch/common.c: In function 'fetch_ssl_verify_altname': libfetch/common.c:596:3: warning: 'ASN1_STRING_data' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 596 | ns = (const char *)ASN1_STRING_data(name->d.ia5); | ^~ In file included from /usr/include/openssl/objects.h:21, from /usr/include/openssl/evp.h:43, from /usr/include/openssl/x509.h:28, from /usr/include/openssl/x509v3.h:24, from libfetch/common.c:52: /usr/include/openssl/asn1.h:679:40: note: declared here 679 | OSSL_DEPRECATEDIN_1_1_0 unsigned char *ASN1_STRING_data(ASN1_STRING *x); | ^~~~~~~~~~~~~~~~ --- libfetch/libfetch_static_la-fetch.lo --- CC libfetch/libfetch_static_la-fetch.lo --- libfetch/libfetch_static_la-file.lo --- CC libfetch/libfetch_static_la-file.lo --- libfetch/libfetch_static_la-ftp.lo --- CC libfetch/libfetch_static_la-ftp.lo libfetch/ftp.c: In function 'ftp_transfer': libfetch/ftp.c:821:7: warning: 'sslen' may be used uninitialized in this function [-Wmaybe-uninitialized] 821 | if (bind(sd, (struct sockaddr *)&sa, sslen) == -1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- libfetch/libfetch_static_la-http.lo --- CC libfetch/libfetch_static_la-http.lo --- libelf/libelf_static_la-elf.lo --- CC libelf/libelf_static_la-elf.lo --- libfetch/libfetch_static_la-http.lo --- libfetch/http.c: In function 'DigestCalcHA1': libfetch/http.c:1157:2: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1157 | MD5Init(&Md5Ctx); | ^~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ libfetch/http.c:1158:2: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1158 | MD5Update(&Md5Ctx, pszUserName, strlen(pszUserName)); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1159:2: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1159 | MD5Update(&Md5Ctx, ":", 1); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1160:2: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1160 | MD5Update(&Md5Ctx, pszRealm, strlen(pszRealm)); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1161:2: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1161 | MD5Update(&Md5Ctx, ":", 1); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1162:2: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1162 | MD5Update(&Md5Ctx, pszPassword, strlen(pszPassword)); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1163:2: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1163 | MD5Final(HA1, &Md5Ctx); | ^~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ libfetch/http.c:1166:3: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1166 | MD5Init(&Md5Ctx); | ^~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ libfetch/http.c:1167:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1167 | MD5Update(&Md5Ctx, HA1, HASHLEN); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1168:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1168 | MD5Update(&Md5Ctx, ":", 1); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1169:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1169 | MD5Update(&Md5Ctx, pszNonce, strlen(pszNonce)); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1170:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1170 | MD5Update(&Md5Ctx, ":", 1); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1171:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1171 | MD5Update(&Md5Ctx, pszCNonce, strlen(pszCNonce)); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1172:3: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1172 | MD5Final(HA1, &Md5Ctx); | ^~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ libfetch/http.c: In function 'DigestCalcResponse': libfetch/http.c:1200:2: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1200 | MD5Init(&Md5Ctx); | ^~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ libfetch/http.c:1201:2: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1201 | MD5Update(&Md5Ctx, pszMethod, strlen(pszMethod)); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1202:2: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1202 | MD5Update(&Md5Ctx, ":", 1); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1203:2: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1203 | MD5Update(&Md5Ctx, pszDigestUri, strlen(pszDigestUri)); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1205:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1205 | MD5Update(&Md5Ctx, ":", 1); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1206:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1206 | MD5Update(&Md5Ctx, HEntity, HASHHEXLEN); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1208:2: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1208 | MD5Final(HA2, &Md5Ctx); | ^~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ libfetch/http.c:1212:2: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1212 | MD5Init(&Md5Ctx); | ^~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ libfetch/http.c:1213:2: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1213 | MD5Update(&Md5Ctx, HA1, HASHHEXLEN); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1214:2: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1214 | MD5Update(&Md5Ctx, ":", 1); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1215:2: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1215 | MD5Update(&Md5Ctx, pszNonce, strlen(pszNonce)); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1216:2: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1216 | MD5Update(&Md5Ctx, ":", 1); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1218:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1218 | MD5Update(&Md5Ctx, pszNonceCount, strlen(pszNonceCount)); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1219:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1219 | MD5Update(&Md5Ctx, ":", 1); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1220:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1220 | MD5Update(&Md5Ctx, pszCNonce, strlen(pszCNonce)); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1221:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1221 | MD5Update(&Md5Ctx, ":", 1); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1222:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1222 | MD5Update(&Md5Ctx, pszQop, strlen(pszQop)); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1223:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1223 | MD5Update(&Md5Ctx, ":", 1); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1225:2: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1225 | MD5Update(&Md5Ctx, HA2Hex, HASHHEXLEN); | ^~~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ libfetch/http.c:1226:2: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1226 | MD5Final(RespHash, &Md5Ctx); | ^~~~~~~~ In file included from libfetch/http.c:83: /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ libfetch/http.c: In function 'http_connect': libfetch/http.c:1389:10: warning: unused variable 'val' [-Wunused-variable] 1389 | int af, val; | ^~~ --- libelf/libelf_static_la-elf_begin.lo --- CC libelf/libelf_static_la-elf_begin.lo --- libelf/libelf_static_la-elf_cntl.lo --- CC libelf/libelf_static_la-elf_cntl.lo --- libelf/libelf_static_la-elf_data.lo --- CC libelf/libelf_static_la-elf_data.lo --- libelf/libelf_static_la-elf_end.lo --- CC libelf/libelf_static_la-elf_end.lo --- libelf/libelf_static_la-elf_errmsg.lo --- CC libelf/libelf_static_la-elf_errmsg.lo --- libelf/libelf_static_la-elf_errno.lo --- CC libelf/libelf_static_la-elf_errno.lo --- libelf/libelf_static_la-elf_fill.lo --- CC libelf/libelf_static_la-elf_fill.lo --- libelf/libelf_static_la-elf_flag.lo --- CC libelf/libelf_static_la-elf_flag.lo --- libelf/libelf_static_la-elf_getarhdr.lo --- CC libelf/libelf_static_la-elf_getarhdr.lo --- libelf/libelf_static_la-elf_getarsym.lo --- CC libelf/libelf_static_la-elf_getarsym.lo --- libelf/libelf_static_la-elf_getbase.lo --- CC libelf/libelf_static_la-elf_getbase.lo --- libelf/libelf_static_la-elf_getident.lo --- CC libelf/libelf_static_la-elf_getident.lo --- libelf/libelf_static_la-elf_hash.lo --- CC libelf/libelf_static_la-elf_hash.lo --- libelf/libelf_static_la-elf_kind.lo --- CC libelf/libelf_static_la-elf_kind.lo --- libelf/libelf_static_la-elf_memory.lo --- CC libelf/libelf_static_la-elf_memory.lo --- libelf/libelf_static_la-elf_next.lo --- CC libelf/libelf_static_la-elf_next.lo --- libelf/libelf_static_la-elf_open.lo --- CC libelf/libelf_static_la-elf_open.lo --- libelf/libelf_static_la-elf_phnum.lo --- CC libelf/libelf_static_la-elf_phnum.lo --- libelf/libelf_static_la-elf_rand.lo --- CC libelf/libelf_static_la-elf_rand.lo --- libelf/libelf_static_la-elf_rawfile.lo --- CC libelf/libelf_static_la-elf_rawfile.lo --- libelf/libelf_static_la-elf_scn.lo --- CC libelf/libelf_static_la-elf_scn.lo --- libelf/libelf_static_la-elf_shnum.lo --- CC libelf/libelf_static_la-elf_shnum.lo --- libelf/libelf_static_la-elf_shstrndx.lo --- CC libelf/libelf_static_la-elf_shstrndx.lo --- libelf/libelf_static_la-elf_strptr.lo --- CC libelf/libelf_static_la-elf_strptr.lo --- libelf/libelf_static_la-elf_update.lo --- CC libelf/libelf_static_la-elf_update.lo --- libelf/libelf_static_la-elf_version.lo --- CC libelf/libelf_static_la-elf_version.lo --- libelf/libelf_static_la-gelf_cap.lo --- CC libelf/libelf_static_la-gelf_cap.lo --- libelf/libelf_static_la-gelf_checksum.lo --- CC libelf/libelf_static_la-gelf_checksum.lo --- libelf/libelf_static_la-gelf_dyn.lo --- CC libelf/libelf_static_la-gelf_dyn.lo --- libelf/libelf_static_la-gelf_ehdr.lo --- CC libelf/libelf_static_la-gelf_ehdr.lo --- libelf/libelf_static_la-gelf_fsize.lo --- CC libelf/libelf_static_la-gelf_fsize.lo --- libelf/libelf_static_la-gelf_getclass.lo --- CC libelf/libelf_static_la-gelf_getclass.lo --- libelf/libelf_static_la-gelf_move.lo --- CC libelf/libelf_static_la-gelf_move.lo --- libelf/libelf_static_la-gelf_phdr.lo --- CC libelf/libelf_static_la-gelf_phdr.lo --- libelf/libelf_static_la-gelf_rel.lo --- CC libelf/libelf_static_la-gelf_rel.lo --- libelf/libelf_static_la-gelf_rela.lo --- CC libelf/libelf_static_la-gelf_rela.lo --- libelf/libelf_static_la-gelf_shdr.lo --- CC libelf/libelf_static_la-gelf_shdr.lo --- libelf/libelf_static_la-gelf_sym.lo --- CC libelf/libelf_static_la-gelf_sym.lo --- libelf/libelf_static_la-gelf_syminfo.lo --- CC libelf/libelf_static_la-gelf_syminfo.lo --- libelf/libelf_static_la-gelf_symshndx.lo --- CC libelf/libelf_static_la-gelf_symshndx.lo --- libelf/libelf_static_la-gelf_xlate.lo --- CC libelf/libelf_static_la-gelf_xlate.lo --- libelf/libelf_static_la-libelf_align.lo --- CC libelf/libelf_static_la-libelf_align.lo --- libelf/libelf_static_la-libelf_allocate.lo --- CC libelf/libelf_static_la-libelf_allocate.lo --- libelf/libelf_static_la-libelf_ar.lo --- CC libelf/libelf_static_la-libelf_ar.lo --- libelf/libelf_static_la-libelf_ar_util.lo --- CC libelf/libelf_static_la-libelf_ar_util.lo --- libelf/libelf_static_la-libelf_checksum.lo --- CC libelf/libelf_static_la-libelf_checksum.lo --- libelf/libelf_static_la-libelf_data.lo --- CC libelf/libelf_static_la-libelf_data.lo --- libelf/libelf_static_la-libelf_ehdr.lo --- CC libelf/libelf_static_la-libelf_ehdr.lo --- libelf/libelf_static_la-libelf_extended.lo --- CC libelf/libelf_static_la-libelf_extended.lo --- libelf/libelf_static_la-libelf_memory.lo --- CC libelf/libelf_static_la-libelf_memory.lo --- libelf/libelf_static_la-libelf_open.lo --- CC libelf/libelf_static_la-libelf_open.lo --- libelf/libelf_static_la-libelf_phdr.lo --- CC libelf/libelf_static_la-libelf_phdr.lo --- libelf/libelf_static_la-libelf_shdr.lo --- CC libelf/libelf_static_la-libelf_shdr.lo --- libelf/libelf_static_la-libelf_xlate.lo --- CC libelf/libelf_static_la-libelf_xlate.lo --- libelf/libelf_static_la-libelf_fsize.lo --- CC libelf/libelf_static_la-libelf_fsize.lo --- libelf/libelf_static_la-libelf_msize.lo --- CC libelf/libelf_static_la-libelf_msize.lo --- libelf/libelf_static_la-libelf_convert.lo --- CC libelf/libelf_static_la-libelf_convert.lo --- libucl.la --- CCLD libucl.la --- libexpat.la --- CCLD libexpat.la --- libpicosat.la --- CCLD libpicosat.la --- liblinenoise.la --- CCLD liblinenoise.la --- libfetch.la --- CCLD libfetch.la --- libelf.la --- CCLD libelf.la --- libucl_static.la --- CCLD libucl_static.la --- libexpat_static.la --- CCLD libexpat_static.la --- libsqlite.la --- CCLD libsqlite.la --- liblinenoise_static.la --- CCLD liblinenoise_static.la --- libpicosat_static.la --- CCLD libpicosat_static.la --- libfetch_static.la --- CCLD libfetch_static.la --- libelf_static.la --- CCLD libelf_static.la --- libsqlite_static.la --- CCLD libsqlite_static.la Making all in libpkg --- all-recursive --- Making all in repo --- all-recursive --- Making all in binary --- librepo_binary_la-binary.lo --- --- librepo_binary_la-common.lo --- --- librepo_binary_la-fetch.lo --- --- librepo_binary_la-common.lo --- CC librepo_binary_la-common.lo --- librepo_binary_la-fetch.lo --- CC librepo_binary_la-fetch.lo --- librepo_binary_la-binary.lo --- CC librepo_binary_la-binary.lo --- librepo_binary_la-init.lo --- CC librepo_binary_la-init.lo --- librepo_binary_la-fetch.lo --- In file included from /usr/include/stdio.h:595, from fetch.c:36: fetch.c: In function 'pkg_repo_binary_try_fetch': fetch.c:104:49: warning: '.new' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 104 | snprintf(link_dest_tmp, sizeof(link_dest_tmp), "%s.new", link_dest); | ^~~~~~~~ fetch.c:104:52: note: format string is defined here 104 | snprintf(link_dest_tmp, sizeof(link_dest_tmp), "%s.new", link_dest); | ^~~~ In file included from /usr/include/stdio.h:595, from fetch.c:36: fetch.c:104:2: note: '__builtin_snprintf' output between 5 and 1028 bytes into a destination of size 1024 104 | snprintf(link_dest_tmp, sizeof(link_dest_tmp), "%s.new", link_dest); | ^~~~~~~~ --- librepo_binary_la-query.lo --- CC librepo_binary_la-query.lo --- librepo_binary_la-update.lo --- CC librepo_binary_la-update.lo --- librepo_binary_static_la-binary.lo --- CC librepo_binary_static_la-binary.lo --- librepo_binary_static_la-common.lo --- CC librepo_binary_static_la-common.lo --- librepo_binary_static_la-fetch.lo --- CC librepo_binary_static_la-fetch.lo --- librepo_binary_static_la-init.lo --- CC librepo_binary_static_la-init.lo --- librepo_binary_static_la-query.lo --- CC librepo_binary_static_la-query.lo --- librepo_binary_static_la-fetch.lo --- In file included from /usr/include/stdio.h:595, from fetch.c:36: fetch.c: In function 'pkg_repo_binary_try_fetch': fetch.c:104:49: warning: '.new' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 104 | snprintf(link_dest_tmp, sizeof(link_dest_tmp), "%s.new", link_dest); | ^~~~~~~~ fetch.c:104:52: note: format string is defined here 104 | snprintf(link_dest_tmp, sizeof(link_dest_tmp), "%s.new", link_dest); | ^~~~ In file included from /usr/include/stdio.h:595, from fetch.c:36: fetch.c:104:2: note: '__builtin_snprintf' output between 5 and 1028 bytes into a destination of size 1024 104 | snprintf(link_dest_tmp, sizeof(link_dest_tmp), "%s.new", link_dest); | ^~~~~~~~ --- librepo_binary_static_la-update.lo --- CC librepo_binary_static_la-update.lo --- librepo_binary.la --- CCLD librepo_binary.la --- librepo_binary_static.la --- CCLD librepo_binary_static.la Making all in . --- libpkg_la-pkg.lo --- --- libpkg_la-backup.lo --- --- libpkg_la-clean_cache.lo --- CC libpkg_la-clean_cache.lo --- libpkg_la-backup.lo --- CC libpkg_la-backup.lo --- libpkg_la-pkg.lo --- CC libpkg_la-pkg.lo --- libpkg_la-dns_utils.lo --- CC libpkg_la-dns_utils.lo --- libpkg_la-fetch.lo --- CC libpkg_la-fetch.lo In file included from /usr/include/ctype.h:100, from fetch.c:34: fetch.c: In function 'gethttpmirrors': fetch.c:69:19: warning: array subscript has type 'char' [-Wchar-subscripts] 69 | while (isspace(*line)) { | ^ fetch.c: In function 'start_ssh': fetch.c:428:10: warning: implicit declaration of function 'strtonum'; did you mean 'strtouq'? [-Wimplicit-function-declaration] 428 | *sz = strtonum(line + 4, 0, LONG_MAX, &errstr); | ^~~~~~~~ | strtouq In file included from /usr/include/stdio.h:595, from fetch.c:37: fetch.c: In function 'pkg_fetch_file_to_fd': fetch.c:576:9: warning: '%s' directive output may be truncated writing up to 256 bytes into a region of size between 250 and 266 [-Wformat-truncation=] 576 | "%s://%s:%d", u->scheme, u->host, u->port); | ^~~~~~~~~~~~ fetch.c:576:15: note: format string is defined here 576 | "%s://%s:%d", u->scheme, u->host, u->port); | ^~ In file included from /usr/include/stdio.h:595, from fetch.c:37: fetch.c:575:5: note: '__builtin_snprintf' output between 6 and 288 bytes into a destination of size 269 575 | snprintf(zone, sizeof(zone), | ^~~~~~~~ fetch.c:563:9: warning: '%s' directive output may be truncated writing up to 256 bytes into a region of size between 246 and 262 [-Wformat-truncation=] 563 | "_%s._tcp.%s", u->scheme, u->host); | ^~~~~~~~~~~~~ fetch.c:563:19: note: format string is defined here 563 | "_%s._tcp.%s", u->scheme, u->host); | ^~ In file included from /usr/include/stdio.h:595, from fetch.c:37: fetch.c:562:5: note: '__builtin_snprintf' output between 8 and 280 bytes into a destination of size 269 562 | snprintf(zone, sizeof(zone), | ^~~~~~~~ --- libpkg_la-packing.lo --- CC libpkg_la-packing.lo --- libpkg_la-metalog.lo --- CC libpkg_la-metalog.lo --- libpkg_la-pkg_add.lo --- CC libpkg_la-pkg_add.lo --- libpkg_la-pkg_arch.lo --- CC libpkg_la-pkg_arch.lo --- libpkg_la-pkg_add.lo --- pkg_add.c: In function 'pkg_extract_finalize': pkg_add.c:725:7: warning: variable 'install_as_user' set but not used [-Wunused-but-set-variable] 725 | bool install_as_user; | ^~~~~~~~~~~~~~~ --- libpkg_la-pkg_attributes.lo --- CC libpkg_la-pkg_attributes.lo --- libpkg_la-pkg_add.lo --- In file included from /usr/include/stdio.h:595, from /usr/include/archive.h:43, from pkg_add.c:33: pkg_add.c:734:33: warning: '.pkgnew' directive output may be truncated writing 7 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 734 | snprintf(path, sizeof(path), "%s.pkgnew", f->path); | ^~~~~~~~~~~ pkg_add.c:734:36: note: format string is defined here 734 | snprintf(path, sizeof(path), "%s.pkgnew", f->path); | ^~~~~~~ In file included from /usr/include/stdio.h:595, from /usr/include/archive.h:43, from pkg_add.c:33: pkg_add.c:734:4: note: '__builtin_snprintf' output between 8 and 1031 bytes into a destination of size 1024 734 | snprintf(path, sizeof(path), "%s.pkgnew", f->path); | ^~~~~~~~ --- libpkg_la-pkg_audit.lo --- CC libpkg_la-pkg_audit.lo --- libpkg_la-pkg_add.lo --- pkg_add.c: In function 'pkg_add_check_pkg_archive': pkg_add.c:898:35: warning: '-' directive output may be truncated writing 1 byte into a region of size between 0 and 1023 [-Wformat-truncation=] 898 | snprintf(dpath, sizeof(dpath), "%s/%s-%s%s", bd, | ^~~~~~~~~~~~ pkg_add.c:898:41: note: format string is defined here 898 | snprintf(dpath, sizeof(dpath), "%s/%s-%s%s", bd, | ^ In file included from /usr/include/stdio.h:595, from /usr/include/archive.h:43, from pkg_add.c:33: pkg_add.c:898:4: note: '__builtin_snprintf' output 3 or more bytes (assuming 1026) into a destination of size 1024 898 | snprintf(dpath, sizeof(dpath), "%s/%s-%s%s", bd, | ^~~~~~~~ pkg_add.c:914:35: warning: '-*' directive output may be truncated writing 2 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 914 | snprintf(dpath, sizeof(dpath), "%s/%s-*%s", bd, | ^~~~~~~~~~~ pkg_add.c:914:41: note: format string is defined here 914 | snprintf(dpath, sizeof(dpath), "%s/%s-*%s", bd, | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/archive.h:43, from pkg_add.c:33: pkg_add.c:914:4: note: '__builtin_snprintf' output 4 or more bytes (assuming 1027) into a destination of size 1024 914 | snprintf(dpath, sizeof(dpath), "%s/%s-*%s", bd, | ^~~~~~~~ --- libpkg_la-pkg_checksum.lo --- CC libpkg_la-pkg_checksum.lo --- libpkg_la-pkg_config.lo --- CC libpkg_la-pkg_config.lo --- libpkg_la-pkg_cudf.lo --- CC libpkg_la-pkg_cudf.lo --- libpkg_la-pkg_config.lo --- In file included from /usr/include/ctype.h:100, from pkg_config.c:35: pkg_config.c: In function 'pkg_ini': pkg_config.c:1018:43: warning: array subscript has type 'char' [-Wchar-subscripts] 1018 | utstring_printf(ukey, "%c", toupper(key[i])); | ^ --- libpkg_la-pkg_create.lo --- CC libpkg_la-pkg_create.lo --- libpkg_la-pkg_cudf.lo --- In file included from /usr/include/ctype.h:100, from pkg_cudf.c:28: pkg_cudf.c: In function 'cudf_strdup': pkg_cudf.c:315:17: warning: array subscript has type 'char' [-Wchar-subscripts] 315 | while (isspace(*s)) | ^ pkg_cudf.c:318:16: warning: array subscript has type 'char' [-Wchar-subscripts] 318 | if (!isspace(*s)) | ^ --- libpkg_la-pkg_delete.lo --- CC libpkg_la-pkg_delete.lo --- libpkg_la-pkg_deps.lo --- CC libpkg_la-pkg_deps.lo --- libpkg_la-pkg_event.lo --- CC libpkg_la-pkg_event.lo --- libpkg_la-pkg_deps.lo --- In file included from /usr/include/ctype.h:100, from pkg_deps.c:32: pkg_deps.c: In function 'pkg_deps_parse_formula': pkg_deps.c:76:16: warning: array subscript has type 'char' [-Wchar-subscripts] 76 | if (isspace(*p) || *p == '\0') { | ^ pkg_deps.c:102:22: warning: array subscript has type 'char' [-Wchar-subscripts] 102 | else if (!isprint(*p)) { | ^ pkg_deps.c:207:16: warning: array subscript has type 'char' [-Wchar-subscripts] 207 | if (isalnum(*p) || *p == '-' || *p == '_' || *p == '.' || | ^ pkg_deps.c:208:28: warning: array subscript has type 'char' [-Wchar-subscripts] 208 | (*p == ',' && isdigit(*(p + 1)))) { | ^ pkg_deps.c:243:16: warning: array subscript has type 'char' [-Wchar-subscripts] 243 | if (isalnum(*p) || *p == '-' || *p == '_') { | ^ pkg_deps.c:292:16: warning: array subscript has type 'char' [-Wchar-subscripts] 292 | if (isspace(*p)) { | ^ --- libpkg_la-pkg_jobs.lo --- CC libpkg_la-pkg_jobs.lo --- libpkg_la-pkg_jobs_conflicts.lo --- CC libpkg_la-pkg_jobs_conflicts.lo --- libpkg_la-pkg_jobs_universe.lo --- CC libpkg_la-pkg_jobs_universe.lo --- libpkg_la-pkg_jobs.lo --- In file included from /usr/include/ctype.h:100, from pkg_jobs.c:53: pkg_jobs.c: In function 'pkg_jobs_guess_upgrade_candidate': pkg_jobs.c:880:18: warning: array subscript has type 'char' [-Wchar-subscripts] 880 | if (isdigit(pos[len - 1]) || pos[len - 1] == '.') | ^ --- libpkg_la-pkg_manifest.lo --- CC libpkg_la-pkg_manifest.lo --- libpkg_la-pkg_object.lo --- CC libpkg_la-pkg_object.lo --- libpkg_la-pkg_ports.lo --- CC libpkg_la-pkg_ports.lo --- libpkg_la-pkg_printf.lo --- CC libpkg_la-pkg_printf.lo --- libpkg_la-pkg_repo.lo --- CC libpkg_la-pkg_repo.lo --- libpkg_la-pkg_ports.lo --- In file included from /usr/include/ctype.h:100, from pkg_ports.c:32: pkg_ports.c: In function 'dir': pkg_ports.c:229:30: warning: array subscript has type 'char' [-Wchar-subscripts] 229 | while (cp > line && isspace(*cp)) { | ^ pkg_ports.c: In function 'meta_file': pkg_ports.c:305:21: warning: array subscript has type 'char' [-Wchar-subscripts] 305 | while (isspace(line[len - 1])) | ^ pkg_ports.c: In function 'comment_key': pkg_ports.c:479:44: warning: array subscript has type 'char' [-Wchar-subscripts] 479 | option[1] != '\0' && isupper(option[1])) | ^ pkg_ports.c: In function 'meta_exec': pkg_ports.c:591:23: warning: array subscript has type 'char' [-Wchar-subscripts] 591 | while (!isspace(buf[0])) | ^ pkg_ports.c:594:22: warning: array subscript has type 'char' [-Wchar-subscripts] 594 | while (isspace(buf[0])) | ^ pkg_ports.c:615:23: warning: array subscript has type 'char' [-Wchar-subscripts] 615 | while (!isspace(buf[0])) | ^ pkg_ports.c: In function 'plist_parse_line': pkg_ports.c:1140:23: warning: array subscript has type 'char' [-Wchar-subscripts] 1140 | while (!(isspace(buf[0]) || buf[0] == '\0')) | ^ pkg_ports.c:1148:21: warning: array subscript has type 'char' [-Wchar-subscripts] 1148 | while (isspace(buf[0])) | ^ pkg_ports.c:1164:21: warning: array subscript has type 'char' [-Wchar-subscripts] 1164 | while (isspace(buf[0])) | ^ --- libpkg_la-pkg_printf.lo --- In file included from /usr/include/ctype.h:100, from pkg_printf.c:33: pkg_printf.c: In function 'maybe_read_hex_byte': pkg_printf.c:2562:16: warning: array subscript has type 'char' [-Wchar-subscripts] 2562 | if (isxdigit(f[0]) && isxdigit(f[1])) { | ^ pkg_printf.c:2562:34: warning: array subscript has type 'char' [-Wchar-subscripts] 2562 | if (isxdigit(f[0]) && isxdigit(f[1])) { | ^ --- libpkg_la-pkg_ports.lo --- In file included from /usr/include/stdio.h:595, from pkg_ports.c:35: pkg_ports.c: In function 'dir': pkg_ports.c:237:32: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] 237 | snprintf(path, sizeof(path), "%s%s%s/", p->prefix, p->slash, | ^~~~~~~~~ pkg_ports.c:237:40: note: format string is defined here 237 | snprintf(path, sizeof(path), "%s%s%s/", p->prefix, p->slash, | ^ In file included from /usr/include/stdio.h:595, from pkg_ports.c:35: pkg_ports.c:237:3: note: '__builtin_snprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 237 | snprintf(path, sizeof(path), "%s%s%s/", p->prefix, p->slash, | ^~~~~~~~ --- libpkg_la-pkg_repo.lo --- In file included from /usr/include/stdio.h:595, from pkg_repo.c:45: pkg_repo.c: In function 'pkg_repo_fetch_remote_tmp': pkg_repo.c:85:30: warning: '.' directive output may be truncated writing 1 byte into a region of size between 0 and 1023 [-Wformat-truncation=] 85 | snprintf(url, sizeof(url), "%s/%s.%s", pkg_repo_url(repo), tmp, | ^~~~~~~~~~ pkg_repo.c:85:36: note: format string is defined here 85 | snprintf(url, sizeof(url), "%s/%s.%s", pkg_repo_url(repo), tmp, | ^ In file included from /usr/include/stdio.h:595, from pkg_repo.c:45: pkg_repo.c:85:3: note: '__builtin_snprintf' output 3 or more bytes (assuming 1026) into a destination of size 1024 85 | snprintf(url, sizeof(url), "%s/%s.%s", pkg_repo_url(repo), tmp, | ^~~~~~~~ --- libpkg_la-pkg_repo_create.lo --- CC libpkg_la-pkg_repo_create.lo --- libpkg_la-pkg_repo_update.lo --- CC libpkg_la-pkg_repo_update.lo --- libpkg_la-pkg_repo_create.lo --- pkg_repo_create.c: In function 'pkg_create_repo': pkg_repo_create.c:580:58: warning: passing argument 3 of 'fts_open' from incompatible pointer type [-Wincompatible-pointer-types] 580 | if ((fts = fts_open(repopath, FTS_PHYSICAL|FTS_NOCHDIR, fts_compare)) == NULL) { | ^~~~~~~~~~~ | | | int (*)(const FTSENT * const*, const FTSENT * const*) {aka int (*)(const struct _ftsent * const*, const struct _ftsent * const*)} In file included from pkg_repo_create.c:43: /usr/include/fts.h:145:5: note: expected 'int (*)(const FTSENT **, const FTSENT **)' {aka 'int (*)(const struct _ftsent **, const struct _ftsent **)'} but argument is of type 'int (*)(const FTSENT * const*, const FTSENT * const*)' {aka 'int (*)(const struct _ftsent * const*, const struct _ftsent * const*)'} 145 | int (*)(const FTSENT **, const FTSENT **)) __RENAME(__fts_open60); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- libpkg_la-pkg_repo_meta.lo --- CC libpkg_la-pkg_repo_meta.lo --- libpkg_la-pkg_solve.lo --- CC libpkg_la-pkg_solve.lo In file included from /usr/include/ctype.h:100, from pkg_solve.c:36: pkg_solve.c: In function 'pkg_solve_parse_sat_output': pkg_solve.c:1478:38: warning: array subscript has type 'char' [-Wchar-subscripts] 1478 | if (var_str == NULL || (!isdigit(*var_str) && *var_str != '-')) | ^ pkg_solve.c:1489:38: warning: array subscript has type 'char' [-Wchar-subscripts] 1489 | if (var_str == NULL || (!isdigit(*var_str) && *var_str != '-')) | ^ --- libpkg_la-pkg_status.lo --- CC libpkg_la-pkg_status.lo --- libpkg_la-pkg_version.lo --- CC libpkg_la-pkg_version.lo --- libpkg_la-pkgdb.lo --- CC libpkg_la-pkgdb.lo --- libpkg_la-pkg_version.lo --- In file included from /usr/include/ctype.h:100, from pkg_version.c:32: pkg_version.c: In function 'get_component': pkg_version.c:172:14: warning: array subscript has type 'char' [-Wchar-subscripts] 172 | if (isdigit(*pos)) { | ^ pkg_version.c:192:14: warning: array subscript has type 'char' [-Wchar-subscripts] 192 | if (isalpha(*pos)) { | ^ pkg_version.c:193:19: warning: array subscript has type 'char' [-Wchar-subscripts] 193 | int c = tolower(*pos); | ^ pkg_version.c:196:18: warning: array subscript has type 'char' [-Wchar-subscripts] 196 | if (isalpha(pos[1])) { | ^ pkg_version.c:201:21: warning: array subscript has type 'char' [-Wchar-subscripts] 201 | !isalpha(pos[stage[i].namelen])) { | ^ pkg_version.c:222:21: warning: array subscript has type 'char' [-Wchar-subscripts] 222 | } while (isalpha(*pos)); | ^ pkg_version.c:231:15: warning: array subscript has type 'char' [-Wchar-subscripts] 231 | if (isdigit(*pos)) { | ^ pkg_version.c:248:26: warning: array subscript has type 'char' [-Wchar-subscripts] 248 | while (*pos && !isdigit(*pos) && !isalpha(*pos) | ^ pkg_version.c:248:44: warning: array subscript has type 'char' [-Wchar-subscripts] 248 | while (*pos && !isdigit(*pos) && !isalpha(*pos) | ^ --- libpkg_la-pkgdb_iterator.lo --- CC libpkg_la-pkgdb_iterator.lo --- libpkg_la-pkgdb_query.lo --- CC libpkg_la-pkgdb_query.lo --- libpkg_la-rcscripts.lo --- CC libpkg_la-rcscripts.lo --- libpkg_la-rsa.lo --- CC libpkg_la-rsa.lo --- libpkg_la-ssh.lo --- CC libpkg_la-ssh.lo --- libpkg_la-scripts.lo --- CC libpkg_la-scripts.lo --- libpkg_la-rsa.lo --- rsa.c: In function '_load_rsa_private_key': rsa.c:56:2: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 56 | if ((rsa->key = RSA_new()) == NULL) { | ^~ In file included from rsa.c:34: /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ rsa.c:61:2: warning: 'PEM_read_RSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 61 | rsa->key = PEM_read_RSAPrivateKey(fp, 0, rsa->pw_cb, rsa->path); | ^~~ In file included from /usr/include/openssl/ssl.h:35, from rsa.c:35: /usr/include/openssl/pem.h:447:1: note: declared here 447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ rsa.c: In function '_load_rsa_public_key_buf': rsa.c:79:2: warning: 'PEM_read_bio_RSA_PUBKEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 79 | if (!PEM_read_bio_RSA_PUBKEY(bp, &rsa, NULL, NULL)) { | ^~ In file included from /usr/include/openssl/ssl.h:35, from rsa.c:35: /usr/include/openssl/pem.h:449:1: note: declared here 449 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA) | ^~~~~~~~~~~~~~~~~~~ rsa.c: In function 'rsa_verify_cert_cb': rsa.c:119:2: warning: 'RSA_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | ret = RSA_verify(NID_sha256, hash, | ^~~ In file included from rsa.c:34: /usr/include/openssl/rsa.h:351:27: note: declared here 351 | OSSL_DEPRECATEDIN_3_0 int RSA_verify(int type, const unsigned char *m, | ^~~~~~~~~~ rsa.c:126:3: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 126 | RSA_free(rsa); | ^~~~~~~~ In file included from rsa.c:34: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ rsa.c:130:2: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 130 | RSA_free(rsa); | ^~~~~~~~ In file included from rsa.c:34: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ rsa.c: In function 'rsa_verify_cb': rsa.c:180:2: warning: 'RSA_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 180 | ret = RSA_verify(NID_sha1, sha256, | ^~~ In file included from rsa.c:34: /usr/include/openssl/rsa.h:351:27: note: declared here 351 | OSSL_DEPRECATEDIN_3_0 int RSA_verify(int type, const unsigned char *m, | ^~~~~~~~~~ rsa.c:187:3: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 187 | RSA_free(rsa); | ^~~~~~~~ In file included from rsa.c:34: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ rsa.c:191:2: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 191 | RSA_free(rsa); | ^~~~~~~~ In file included from rsa.c:34: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ rsa.c: In function 'rsa_sign': rsa.c:247:2: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 247 | max_len = RSA_size(rsa->key); | ^~~~~~~ In file included from rsa.c:34: /usr/include/openssl/rsa.h:204:27: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ rsa.c:254:2: warning: 'RSA_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 254 | ret = RSA_sign(NID_sha1, sha256, | ^~~ In file included from rsa.c:34: /usr/include/openssl/rsa.h:348:27: note: declared here 348 | OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m, | ^~~~~~~~ rsa.c: In function 'rsa_free': rsa.c:292:3: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 292 | RSA_free(rsa->key); | ^~~~~~~~ In file included from rsa.c:34: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ --- libpkg_la-utils.lo --- CC libpkg_la-utils.lo --- libpkg_la-ssh.lo --- In file included from /usr/include/ctype.h:100, from ssh.c:38: ssh.c: In function 'pkg_sshserve': ssh.c:101:19: warning: array subscript has type 'char' [-Wchar-subscripts] 101 | while (!isspace(*age)) { | ^ ssh.c:117:18: warning: array subscript has type 'char' [-Wchar-subscripts] 117 | while (isspace(*age)) { | ^ ssh.c:130:11: warning: implicit declaration of function 'strtonum'; did you mean 'strtou'? [-Wimplicit-function-declaration] 130 | mtime = strtonum(age, 0, LONG_MAX, &errstr); | ^~~~~~~~ | strtou --- libpkg_la-plugins.lo --- CC libpkg_la-plugins.lo --- libpkg_la-merge3.lo --- CC libpkg_la-merge3.lo --- libpkg_la-utils.lo --- In file included from /usr/include/ctype.h:100, from utils.c:43: utils.c: In function 'pkg_utils_tokenize': utils.c:638:17: warning: array subscript has type 'char' [-Wchar-subscripts] 638 | if (!isspace(*p)) { | ^ utils.c:651:16: warning: array subscript has type 'char' [-Wchar-subscripts] 651 | if (isspace(*p)) | ^ utils.c: In function 'pkg_utils_count_spaces': utils.c:699:15: warning: array subscript has type 'char' [-Wchar-subscripts] 699 | if (isspace(*p)) | ^ --- libpkg_la-diff.lo --- CC libpkg_la-diff.lo --- libpkg_la-sha256.lo --- CC libpkg_la-sha256.lo --- libpkg_la-elfhints.lo --- CC libpkg_la-elfhints.lo --- libpkg_la-pkg_elf.lo --- CC libpkg_la-pkg_elf.lo --- libpkg_static_la-pkg.lo --- CC libpkg_static_la-pkg.lo --- libpkg_la-elfhints.lo --- In file included from /usr/include/ctype.h:100, from elfhints.c:35: elfhints.c: In function 'scan_dirs_for_shlibs': elfhints.c:230:20: warning: array subscript has type 'char' [-Wchar-subscripts] 230 | (isdigit(*(vers-1)) || *(vers-1) == '.')) | ^ elfhints.c: In function 'list_elf_hints': elfhints.c:365:40: warning: array subscript has type 'char' [-Wchar-subscripts] 365 | while (vers > dp->d_name && isdigit(*(vers-1))) | ^ elfhints.c: In function 'read_dirs_from_file': elfhints.c:400:18: warning: array subscript has type 'char' [-Wchar-subscripts] 400 | while (isspace(*cp)) | ^ elfhints.c:406:19: warning: array subscript has type 'char' [-Wchar-subscripts] 406 | while (!isspace(*cp) && *cp != '\0') | ^ elfhints.c:411:19: warning: array subscript has type 'char' [-Wchar-subscripts] 411 | while (isspace(*cp)) | ^ --- libpkg_la-pkg_elf.lo --- In file included from pkg_elf.c:67: private/elf_tables.h:76: warning: "NT_GNU_ABI_TAG" redefined 76 | #define NT_GNU_ABI_TAG 1 | In file included from ../external/libelf/libelf.h:34, from ../external/libelf/gelf.h:34, from pkg_elf.c:49: ../external/libelf/elfdefinitions.h:2122: note: this is the location of the previous definition 2122 | #define NT_GNU_ABI_TAG NT_ABI_TAG | In file included from /usr/include/ctype.h:100, from pkg_elf.c:46: pkg_elf.c: In function 'pkg_arch_to_legacy': pkg_elf.c:996:25: warning: array subscript has type 'char' [-Wchar-subscripts] 996 | dest[i] = tolower(arch[i]); | ^ pkg_elf.c: In function 'pkg_get_myarch_legacy': pkg_elf.c:1037:25: warning: array subscript has type 'char' [-Wchar-subscripts] 1037 | dest[i] = tolower(dest[i]); | ^ --- libpkg_static_la-backup.lo --- CC libpkg_static_la-backup.lo --- libpkg_la-pkg_elf.lo --- In file included from /usr/include/stdio.h:595, from pkg.h:46, from pkg_elf.c:64: pkg_elf.c: In function 'pkg_analyse_files': pkg_elf.c:495:35: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] 495 | snprintf(fpath, sizeof(fpath), "%s/%s", stage, file->path); | ^~~~~~~ pkg_elf.c:495:41: note: format string is defined here 495 | snprintf(fpath, sizeof(fpath), "%s/%s", stage, file->path); | ^ In file included from /usr/include/stdio.h:595, from pkg.h:46, from pkg_elf.c:64: pkg_elf.c:495:4: note: '__builtin_snprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 495 | snprintf(fpath, sizeof(fpath), "%s/%s", stage, file->path); | ^~~~~~~~ --- libpkg_static_la-clean_cache.lo --- CC libpkg_static_la-clean_cache.lo --- libpkg_static_la-dns_utils.lo --- CC libpkg_static_la-dns_utils.lo --- libpkg_static_la-fetch.lo --- CC libpkg_static_la-fetch.lo --- libpkg_static_la-packing.lo --- CC libpkg_static_la-packing.lo --- libpkg_static_la-fetch.lo --- In file included from /usr/include/ctype.h:100, from fetch.c:34: fetch.c: In function 'gethttpmirrors': fetch.c:69:19: warning: array subscript has type 'char' [-Wchar-subscripts] 69 | while (isspace(*line)) { | ^ fetch.c: In function 'start_ssh': fetch.c:428:10: warning: implicit declaration of function 'strtonum'; did you mean 'strtouq'? [-Wimplicit-function-declaration] 428 | *sz = strtonum(line + 4, 0, LONG_MAX, &errstr); | ^~~~~~~~ | strtouq In file included from /usr/include/stdio.h:595, from fetch.c:37: fetch.c: In function 'pkg_fetch_file_to_fd': fetch.c:576:9: warning: '%s' directive output may be truncated writing up to 256 bytes into a region of size between 250 and 266 [-Wformat-truncation=] 576 | "%s://%s:%d", u->scheme, u->host, u->port); | ^~~~~~~~~~~~ fetch.c:576:15: note: format string is defined here 576 | "%s://%s:%d", u->scheme, u->host, u->port); | ^~ In file included from /usr/include/stdio.h:595, from fetch.c:37: fetch.c:575:5: note: '__builtin_snprintf' output between 6 and 288 bytes into a destination of size 269 575 | snprintf(zone, sizeof(zone), | ^~~~~~~~ fetch.c:563:9: warning: '%s' directive output may be truncated writing up to 256 bytes into a region of size between 246 and 262 [-Wformat-truncation=] 563 | "_%s._tcp.%s", u->scheme, u->host); | ^~~~~~~~~~~~~ fetch.c:563:19: note: format string is defined here 563 | "_%s._tcp.%s", u->scheme, u->host); | ^~ In file included from /usr/include/stdio.h:595, from fetch.c:37: fetch.c:562:5: note: '__builtin_snprintf' output between 8 and 280 bytes into a destination of size 269 562 | snprintf(zone, sizeof(zone), | ^~~~~~~~ --- libpkg_static_la-metalog.lo --- CC libpkg_static_la-metalog.lo --- libpkg_static_la-pkg_add.lo --- CC libpkg_static_la-pkg_add.lo --- libpkg_static_la-pkg_arch.lo --- CC libpkg_static_la-pkg_arch.lo --- libpkg_static_la-pkg_attributes.lo --- CC libpkg_static_la-pkg_attributes.lo --- libpkg_static_la-pkg_add.lo --- pkg_add.c: In function 'pkg_extract_finalize': pkg_add.c:725:7: warning: variable 'install_as_user' set but not used [-Wunused-but-set-variable] 725 | bool install_as_user; | ^~~~~~~~~~~~~~~ --- libpkg_static_la-pkg_audit.lo --- CC libpkg_static_la-pkg_audit.lo --- libpkg_static_la-pkg_add.lo --- In file included from /usr/include/stdio.h:595, from /usr/include/archive.h:43, from pkg_add.c:33: pkg_add.c:734:33: warning: '.pkgnew' directive output may be truncated writing 7 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 734 | snprintf(path, sizeof(path), "%s.pkgnew", f->path); | ^~~~~~~~~~~ pkg_add.c:734:36: note: format string is defined here 734 | snprintf(path, sizeof(path), "%s.pkgnew", f->path); | ^~~~~~~ In file included from /usr/include/stdio.h:595, from /usr/include/archive.h:43, from pkg_add.c:33: pkg_add.c:734:4: note: '__builtin_snprintf' output between 8 and 1031 bytes into a destination of size 1024 734 | snprintf(path, sizeof(path), "%s.pkgnew", f->path); | ^~~~~~~~ --- libpkg_static_la-pkg_checksum.lo --- CC libpkg_static_la-pkg_checksum.lo --- libpkg_static_la-pkg_add.lo --- pkg_add.c: In function 'pkg_add_check_pkg_archive': pkg_add.c:898:35: warning: '-' directive output may be truncated writing 1 byte into a region of size between 0 and 1023 [-Wformat-truncation=] 898 | snprintf(dpath, sizeof(dpath), "%s/%s-%s%s", bd, | ^~~~~~~~~~~~ pkg_add.c:898:41: note: format string is defined here 898 | snprintf(dpath, sizeof(dpath), "%s/%s-%s%s", bd, | ^ In file included from /usr/include/stdio.h:595, from /usr/include/archive.h:43, from pkg_add.c:33: pkg_add.c:898:4: note: '__builtin_snprintf' output 3 or more bytes (assuming 1026) into a destination of size 1024 898 | snprintf(dpath, sizeof(dpath), "%s/%s-%s%s", bd, | ^~~~~~~~ pkg_add.c:914:35: warning: '-*' directive output may be truncated writing 2 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 914 | snprintf(dpath, sizeof(dpath), "%s/%s-*%s", bd, | ^~~~~~~~~~~ pkg_add.c:914:41: note: format string is defined here 914 | snprintf(dpath, sizeof(dpath), "%s/%s-*%s", bd, | ^~ In file included from /usr/include/stdio.h:595, from /usr/include/archive.h:43, from pkg_add.c:33: pkg_add.c:914:4: note: '__builtin_snprintf' output 4 or more bytes (assuming 1027) into a destination of size 1024 914 | snprintf(dpath, sizeof(dpath), "%s/%s-*%s", bd, | ^~~~~~~~ --- libpkg_static_la-pkg_config.lo --- CC libpkg_static_la-pkg_config.lo --- libpkg_static_la-pkg_cudf.lo --- CC libpkg_static_la-pkg_cudf.lo --- libpkg_static_la-pkg_create.lo --- CC libpkg_static_la-pkg_create.lo --- libpkg_static_la-pkg_config.lo --- In file included from /usr/include/ctype.h:100, from pkg_config.c:35: pkg_config.c: In function 'pkg_ini': pkg_config.c:1018:43: warning: array subscript has type 'char' [-Wchar-subscripts] 1018 | utstring_printf(ukey, "%c", toupper(key[i])); | ^ --- libpkg_static_la-pkg_cudf.lo --- In file included from /usr/include/ctype.h:100, from pkg_cudf.c:28: pkg_cudf.c: In function 'cudf_strdup': pkg_cudf.c:315:17: warning: array subscript has type 'char' [-Wchar-subscripts] 315 | while (isspace(*s)) | ^ pkg_cudf.c:318:16: warning: array subscript has type 'char' [-Wchar-subscripts] 318 | if (!isspace(*s)) | ^ --- libpkg_static_la-pkg_delete.lo --- CC libpkg_static_la-pkg_delete.lo --- libpkg_static_la-pkg_deps.lo --- CC libpkg_static_la-pkg_deps.lo In file included from /usr/include/ctype.h:100, from pkg_deps.c:32: pkg_deps.c: In function 'pkg_deps_parse_formula': pkg_deps.c:76:16: warning: array subscript has type 'char' [-Wchar-subscripts] 76 | if (isspace(*p) || *p == '\0') { | ^ pkg_deps.c:102:22: warning: array subscript has type 'char' [-Wchar-subscripts] 102 | else if (!isprint(*p)) { | ^ pkg_deps.c:207:16: warning: array subscript has type 'char' [-Wchar-subscripts] 207 | if (isalnum(*p) || *p == '-' || *p == '_' || *p == '.' || | ^ pkg_deps.c:208:28: warning: array subscript has type 'char' [-Wchar-subscripts] 208 | (*p == ',' && isdigit(*(p + 1)))) { | ^ pkg_deps.c:243:16: warning: array subscript has type 'char' [-Wchar-subscripts] 243 | if (isalnum(*p) || *p == '-' || *p == '_') { | ^ pkg_deps.c:292:16: warning: array subscript has type 'char' [-Wchar-subscripts] 292 | if (isspace(*p)) { | ^ --- libpkg_static_la-pkg_event.lo --- CC libpkg_static_la-pkg_event.lo --- libpkg_static_la-pkg_jobs.lo --- CC libpkg_static_la-pkg_jobs.lo --- libpkg_static_la-pkg_jobs_conflicts.lo --- CC libpkg_static_la-pkg_jobs_conflicts.lo --- libpkg_static_la-pkg_jobs.lo --- In file included from /usr/include/ctype.h:100, from pkg_jobs.c:53: pkg_jobs.c: In function 'pkg_jobs_guess_upgrade_candidate': pkg_jobs.c:880:18: warning: array subscript has type 'char' [-Wchar-subscripts] 880 | if (isdigit(pos[len - 1]) || pos[len - 1] == '.') | ^ --- libpkg_static_la-pkg_jobs_universe.lo --- CC libpkg_static_la-pkg_jobs_universe.lo --- libpkg_static_la-pkg_manifest.lo --- CC libpkg_static_la-pkg_manifest.lo --- libpkg_static_la-pkg_object.lo --- CC libpkg_static_la-pkg_object.lo --- libpkg_static_la-pkg_ports.lo --- CC libpkg_static_la-pkg_ports.lo --- libpkg_static_la-pkg_printf.lo --- CC libpkg_static_la-pkg_printf.lo --- libpkg_static_la-pkg_ports.lo --- In file included from /usr/include/ctype.h:100, from pkg_ports.c:32: pkg_ports.c: In function 'dir': pkg_ports.c:229:30: warning: array subscript has type 'char' [-Wchar-subscripts] 229 | while (cp > line && isspace(*cp)) { | ^ pkg_ports.c: In function 'meta_file': pkg_ports.c:305:21: warning: array subscript has type 'char' [-Wchar-subscripts] 305 | while (isspace(line[len - 1])) | ^ pkg_ports.c: In function 'comment_key': pkg_ports.c:479:44: warning: array subscript has type 'char' [-Wchar-subscripts] 479 | option[1] != '\0' && isupper(option[1])) | ^ pkg_ports.c: In function 'meta_exec': pkg_ports.c:591:23: warning: array subscript has type 'char' [-Wchar-subscripts] 591 | while (!isspace(buf[0])) | ^ pkg_ports.c:594:22: warning: array subscript has type 'char' [-Wchar-subscripts] 594 | while (isspace(buf[0])) | ^ pkg_ports.c:615:23: warning: array subscript has type 'char' [-Wchar-subscripts] 615 | while (!isspace(buf[0])) | ^ pkg_ports.c: In function 'plist_parse_line': pkg_ports.c:1140:23: warning: array subscript has type 'char' [-Wchar-subscripts] 1140 | while (!(isspace(buf[0]) || buf[0] == '\0')) | ^ pkg_ports.c:1148:21: warning: array subscript has type 'char' [-Wchar-subscripts] 1148 | while (isspace(buf[0])) | ^ pkg_ports.c:1164:21: warning: array subscript has type 'char' [-Wchar-subscripts] 1164 | while (isspace(buf[0])) | ^ In file included from /usr/include/stdio.h:595, from pkg_ports.c:35: pkg_ports.c: In function 'dir': pkg_ports.c:237:32: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] 237 | snprintf(path, sizeof(path), "%s%s%s/", p->prefix, p->slash, | ^~~~~~~~~ pkg_ports.c:237:40: note: format string is defined here 237 | snprintf(path, sizeof(path), "%s%s%s/", p->prefix, p->slash, | ^ In file included from /usr/include/stdio.h:595, from pkg_ports.c:35: pkg_ports.c:237:3: note: '__builtin_snprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 237 | snprintf(path, sizeof(path), "%s%s%s/", p->prefix, p->slash, | ^~~~~~~~ --- libpkg_static_la-pkg_printf.lo --- In file included from /usr/include/ctype.h:100, from pkg_printf.c:33: pkg_printf.c: In function 'maybe_read_hex_byte': pkg_printf.c:2562:16: warning: array subscript has type 'char' [-Wchar-subscripts] 2562 | if (isxdigit(f[0]) && isxdigit(f[1])) { | ^ pkg_printf.c:2562:34: warning: array subscript has type 'char' [-Wchar-subscripts] 2562 | if (isxdigit(f[0]) && isxdigit(f[1])) { | ^ --- libpkg_static_la-pkg_repo.lo --- CC libpkg_static_la-pkg_repo.lo --- libpkg_static_la-pkg_repo_create.lo --- CC libpkg_static_la-pkg_repo_create.lo --- libpkg_static_la-pkg_repo_update.lo --- CC libpkg_static_la-pkg_repo_update.lo --- libpkg_static_la-pkg_repo_create.lo --- pkg_repo_create.c: In function 'pkg_create_repo': pkg_repo_create.c:580:58: warning: passing argument 3 of 'fts_open' from incompatible pointer type [-Wincompatible-pointer-types] 580 | if ((fts = fts_open(repopath, FTS_PHYSICAL|FTS_NOCHDIR, fts_compare)) == NULL) { | ^~~~~~~~~~~ | | | int (*)(const FTSENT * const*, const FTSENT * const*) {aka int (*)(const struct _ftsent * const*, const struct _ftsent * const*)} In file included from pkg_repo_create.c:43: /usr/include/fts.h:145:5: note: expected 'int (*)(const FTSENT **, const FTSENT **)' {aka 'int (*)(const struct _ftsent **, const struct _ftsent **)'} but argument is of type 'int (*)(const FTSENT * const*, const FTSENT * const*)' {aka 'int (*)(const struct _ftsent * const*, const struct _ftsent * const*)'} 145 | int (*)(const FTSENT **, const FTSENT **)) __RENAME(__fts_open60); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- libpkg_static_la-pkg_repo.lo --- In file included from /usr/include/stdio.h:595, from pkg_repo.c:45: pkg_repo.c: In function 'pkg_repo_fetch_remote_tmp': pkg_repo.c:85:30: warning: '.' directive output may be truncated writing 1 byte into a region of size between 0 and 1023 [-Wformat-truncation=] 85 | snprintf(url, sizeof(url), "%s/%s.%s", pkg_repo_url(repo), tmp, | ^~~~~~~~~~ pkg_repo.c:85:36: note: format string is defined here 85 | snprintf(url, sizeof(url), "%s/%s.%s", pkg_repo_url(repo), tmp, | ^ In file included from /usr/include/stdio.h:595, from pkg_repo.c:45: pkg_repo.c:85:3: note: '__builtin_snprintf' output 3 or more bytes (assuming 1026) into a destination of size 1024 85 | snprintf(url, sizeof(url), "%s/%s.%s", pkg_repo_url(repo), tmp, | ^~~~~~~~ --- libpkg_static_la-pkg_repo_meta.lo --- CC libpkg_static_la-pkg_repo_meta.lo --- libpkg_static_la-pkg_solve.lo --- CC libpkg_static_la-pkg_solve.lo --- libpkg_static_la-pkg_status.lo --- CC libpkg_static_la-pkg_status.lo --- libpkg_static_la-pkg_solve.lo --- In file included from /usr/include/ctype.h:100, from pkg_solve.c:36: pkg_solve.c: In function 'pkg_solve_parse_sat_output': pkg_solve.c:1478:38: warning: array subscript has type 'char' [-Wchar-subscripts] 1478 | if (var_str == NULL || (!isdigit(*var_str) && *var_str != '-')) | ^ pkg_solve.c:1489:38: warning: array subscript has type 'char' [-Wchar-subscripts] 1489 | if (var_str == NULL || (!isdigit(*var_str) && *var_str != '-')) | ^ --- libpkg_static_la-pkg_version.lo --- CC libpkg_static_la-pkg_version.lo --- libpkg_static_la-pkgdb.lo --- CC libpkg_static_la-pkgdb.lo --- libpkg_static_la-pkg_version.lo --- In file included from /usr/include/ctype.h:100, from pkg_version.c:32: pkg_version.c: In function 'get_component': pkg_version.c:172:14: warning: array subscript has type 'char' [-Wchar-subscripts] 172 | if (isdigit(*pos)) { | ^ pkg_version.c:192:14: warning: array subscript has type 'char' [-Wchar-subscripts] 192 | if (isalpha(*pos)) { | ^ pkg_version.c:193:19: warning: array subscript has type 'char' [-Wchar-subscripts] 193 | int c = tolower(*pos); | ^ pkg_version.c:196:18: warning: array subscript has type 'char' [-Wchar-subscripts] 196 | if (isalpha(pos[1])) { | ^ pkg_version.c:201:21: warning: array subscript has type 'char' [-Wchar-subscripts] 201 | !isalpha(pos[stage[i].namelen])) { | ^ pkg_version.c:222:21: warning: array subscript has type 'char' [-Wchar-subscripts] 222 | } while (isalpha(*pos)); | ^ pkg_version.c:231:15: warning: array subscript has type 'char' [-Wchar-subscripts] 231 | if (isdigit(*pos)) { | ^ pkg_version.c:248:26: warning: array subscript has type 'char' [-Wchar-subscripts] 248 | while (*pos && !isdigit(*pos) && !isalpha(*pos) | ^ pkg_version.c:248:44: warning: array subscript has type 'char' [-Wchar-subscripts] 248 | while (*pos && !isdigit(*pos) && !isalpha(*pos) | ^ --- libpkg_static_la-pkgdb_iterator.lo --- CC libpkg_static_la-pkgdb_iterator.lo --- libpkg_static_la-pkgdb_query.lo --- CC libpkg_static_la-pkgdb_query.lo --- libpkg_static_la-rcscripts.lo --- CC libpkg_static_la-rcscripts.lo --- libpkg_static_la-rsa.lo --- CC libpkg_static_la-rsa.lo --- libpkg_static_la-ssh.lo --- CC libpkg_static_la-ssh.lo --- libpkg_static_la-scripts.lo --- CC libpkg_static_la-scripts.lo --- libpkg_static_la-rsa.lo --- rsa.c: In function '_load_rsa_private_key': rsa.c:56:2: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 56 | if ((rsa->key = RSA_new()) == NULL) { | ^~ In file included from rsa.c:34: /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ rsa.c:61:2: warning: 'PEM_read_RSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 61 | rsa->key = PEM_read_RSAPrivateKey(fp, 0, rsa->pw_cb, rsa->path); | ^~~ In file included from /usr/include/openssl/ssl.h:35, from rsa.c:35: /usr/include/openssl/pem.h:447:1: note: declared here 447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ rsa.c: In function '_load_rsa_public_key_buf': rsa.c:79:2: warning: 'PEM_read_bio_RSA_PUBKEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 79 | if (!PEM_read_bio_RSA_PUBKEY(bp, &rsa, NULL, NULL)) { | ^~ In file included from /usr/include/openssl/ssl.h:35, from rsa.c:35: /usr/include/openssl/pem.h:449:1: note: declared here 449 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA) | ^~~~~~~~~~~~~~~~~~~ rsa.c: In function 'rsa_verify_cert_cb': rsa.c:119:2: warning: 'RSA_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | ret = RSA_verify(NID_sha256, hash, | ^~~ In file included from rsa.c:34: /usr/include/openssl/rsa.h:351:27: note: declared here 351 | OSSL_DEPRECATEDIN_3_0 int RSA_verify(int type, const unsigned char *m, | ^~~~~~~~~~ rsa.c:126:3: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 126 | RSA_free(rsa); | ^~~~~~~~ In file included from rsa.c:34: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ rsa.c:130:2: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 130 | RSA_free(rsa); | ^~~~~~~~ In file included from rsa.c:34: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ rsa.c: In function 'rsa_verify_cb': rsa.c:180:2: warning: 'RSA_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 180 | ret = RSA_verify(NID_sha1, sha256, | ^~~ In file included from rsa.c:34: /usr/include/openssl/rsa.h:351:27: note: declared here 351 | OSSL_DEPRECATEDIN_3_0 int RSA_verify(int type, const unsigned char *m, | ^~~~~~~~~~ rsa.c:187:3: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 187 | RSA_free(rsa); | ^~~~~~~~ In file included from rsa.c:34: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ rsa.c:191:2: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 191 | RSA_free(rsa); | ^~~~~~~~ In file included from rsa.c:34: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ rsa.c: In function 'rsa_sign': rsa.c:247:2: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 247 | max_len = RSA_size(rsa->key); | ^~~~~~~ In file included from rsa.c:34: /usr/include/openssl/rsa.h:204:27: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ rsa.c:254:2: warning: 'RSA_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 254 | ret = RSA_sign(NID_sha1, sha256, | ^~~ In file included from rsa.c:34: /usr/include/openssl/rsa.h:348:27: note: declared here 348 | OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m, | ^~~~~~~~ rsa.c: In function 'rsa_free': rsa.c:292:3: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 292 | RSA_free(rsa->key); | ^~~~~~~~ In file included from rsa.c:34: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ --- libpkg_static_la-utils.lo --- --- libpkg_static_la-plugins.lo --- --- libpkg_static_la-utils.lo --- CC libpkg_static_la-utils.lo --- libpkg_static_la-plugins.lo --- CC libpkg_static_la-plugins.lo --- libpkg_static_la-ssh.lo --- In file included from /usr/include/ctype.h:100, from ssh.c:38: ssh.c: In function 'pkg_sshserve': ssh.c:101:19: warning: array subscript has type 'char' [-Wchar-subscripts] 101 | while (!isspace(*age)) { | ^ ssh.c:117:18: warning: array subscript has type 'char' [-Wchar-subscripts] 117 | while (isspace(*age)) { | ^ ssh.c:130:11: warning: implicit declaration of function 'strtonum'; did you mean 'strtou'? [-Wimplicit-function-declaration] 130 | mtime = strtonum(age, 0, LONG_MAX, &errstr); | ^~~~~~~~ | strtou --- libpkg_static_la-merge3.lo --- CC libpkg_static_la-merge3.lo --- libpkg_static_la-utils.lo --- In file included from /usr/include/ctype.h:100, from utils.c:43: utils.c: In function 'pkg_utils_tokenize': utils.c:638:17: warning: array subscript has type 'char' [-Wchar-subscripts] 638 | if (!isspace(*p)) { | ^ utils.c:651:16: warning: array subscript has type 'char' [-Wchar-subscripts] 651 | if (isspace(*p)) | ^ utils.c: In function 'pkg_utils_count_spaces': utils.c:699:15: warning: array subscript has type 'char' [-Wchar-subscripts] 699 | if (isspace(*p)) | ^ --- libpkg_static_la-diff.lo --- CC libpkg_static_la-diff.lo --- libpkg_static_la-sha256.lo --- CC libpkg_static_la-sha256.lo --- libpkg_static_la-elfhints.lo --- CC libpkg_static_la-elfhints.lo --- libpkg_static_la-pkg_elf.lo --- CC libpkg_static_la-pkg_elf.lo --- libpkg.la --- CCLD libpkg.la --- libpkg_static_la-elfhints.lo --- In file included from /usr/include/ctype.h:100, from elfhints.c:35: elfhints.c: In function 'scan_dirs_for_shlibs': elfhints.c:230:20: warning: array subscript has type 'char' [-Wchar-subscripts] 230 | (isdigit(*(vers-1)) || *(vers-1) == '.')) | ^ elfhints.c: In function 'list_elf_hints': elfhints.c:365:40: warning: array subscript has type 'char' [-Wchar-subscripts] 365 | while (vers > dp->d_name && isdigit(*(vers-1))) | ^ elfhints.c: In function 'read_dirs_from_file': elfhints.c:400:18: warning: array subscript has type 'char' [-Wchar-subscripts] 400 | while (isspace(*cp)) | ^ elfhints.c:406:19: warning: array subscript has type 'char' [-Wchar-subscripts] 406 | while (!isspace(*cp) && *cp != '\0') | ^ elfhints.c:411:19: warning: array subscript has type 'char' [-Wchar-subscripts] 411 | while (isspace(*cp)) | ^ --- libpkg_static_la-pkg_elf.lo --- In file included from pkg_elf.c:67: private/elf_tables.h:76: warning: "NT_GNU_ABI_TAG" redefined 76 | #define NT_GNU_ABI_TAG 1 | In file included from ../external/libelf/libelf.h:34, from ../external/libelf/gelf.h:34, from pkg_elf.c:49: ../external/libelf/elfdefinitions.h:2122: note: this is the location of the previous definition 2122 | #define NT_GNU_ABI_TAG NT_ABI_TAG | In file included from /usr/include/ctype.h:100, from pkg_elf.c:46: pkg_elf.c: In function 'pkg_arch_to_legacy': pkg_elf.c:996:25: warning: array subscript has type 'char' [-Wchar-subscripts] 996 | dest[i] = tolower(arch[i]); | ^ pkg_elf.c: In function 'pkg_get_myarch_legacy': pkg_elf.c:1037:25: warning: array subscript has type 'char' [-Wchar-subscripts] 1037 | dest[i] = tolower(dest[i]); | ^ In file included from /usr/include/stdio.h:595, from pkg.h:46, from pkg_elf.c:64: pkg_elf.c: In function 'pkg_analyse_files': pkg_elf.c:495:35: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] 495 | snprintf(fpath, sizeof(fpath), "%s/%s", stage, file->path); | ^~~~~~~ pkg_elf.c:495:41: note: format string is defined here 495 | snprintf(fpath, sizeof(fpath), "%s/%s", stage, file->path); | ^ In file included from /usr/include/stdio.h:595, from pkg.h:46, from pkg_elf.c:64: pkg_elf.c:495:4: note: '__builtin_snprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 495 | snprintf(fpath, sizeof(fpath), "%s/%s", stage, file->path); | ^~~~~~~~ --- libpkg_static.la --- CCLD libpkg_static.la Making all in src --- pkg-add.o --- --- pkg-alias.o --- --- pkg-annotate.o --- CC pkg-annotate.o --- pkg-add.o --- CC pkg-add.o --- pkg-alias.o --- CC pkg-alias.o --- pkg-audit.o --- CC pkg-audit.o --- pkg-autoremove.o --- CC pkg-autoremove.o --- pkg-backup.o --- CC pkg-backup.o --- pkg-check.o --- CC pkg-check.o --- pkg-clean.o --- CC pkg-clean.o --- pkg-config.o --- CC pkg-config.o In file included from /usr/include/ctype.h:100, from config.c:27: config.c: In function 'exec_config': config.c:63:23: warning: array subscript has type 'char' [-Wchar-subscripts] 63 | key[i] = toupper(key[i]); | ^ --- pkg-create.o --- CC pkg-create.o --- pkg-delete.o --- CC pkg-delete.o --- pkg-event.o --- CC pkg-event.o --- pkg-fetch.o --- CC pkg-fetch.o --- pkg-event.o --- In file included from /usr/include/stdio.h:595, from ../external/uthash/utstring.h:39, from event.c:57: event.c: In function 'format_rate_SI.constprop': event.c:120:22: warning: '%3lld' directive output may be truncated writing between 3 and 15 bytes into a region of size 8 [-Wformat-truncation=] 120 | snprintf(buf, size, "%3lld.%1lld%s%s", | ^~~~~~~~~~~~~~~~~ event.c:120:23: note: format string is defined here 120 | snprintf(buf, size, "%3lld.%1lld%s%s", | ^~~~~ In file included from /usr/include/stdio.h:595, from ../external/uthash/utstring.h:39, from event.c:57: event.c:120:22: note: directive argument in the range [-92233720368547, 92233720368547] 120 | snprintf(buf, size, "%3lld.%1lld%s%s", | ^~~~~~~~~~~~~~~~~ event.c:120:22: note: directive argument in the range [-9, 9] event.c:120:22: note: assuming directive output of 1 byte event.c:120:2: note: '__builtin_snprintf' output 7 or more bytes (assuming 21) into a destination of size 8 120 | snprintf(buf, size, "%3lld.%1lld%s%s", | ^~~~~~~~ --- pkg-globals.o --- CC pkg-globals.o --- pkg-info.o --- CC pkg-info.o --- pkg-install.o --- CC pkg-install.o --- pkg-lock.o --- --- pkg-main.o --- --- pkg-lock.o --- CC pkg-lock.o --- pkg-main.o --- CC pkg-main.o --- pkg-plugins.o --- CC pkg-plugins.o --- pkg-query.o --- CC pkg-query.o In file included from /usr/include/ctype.h:100, from query.c:32: query.c: In function 'format_sql_condition': query.c:644:19: warning: array subscript has type 'char' [-Wchar-subscripts] 644 | if (isspace(str[0])) { | ^ --- pkg-register.o --- CC pkg-register.o --- pkg-query.o --- query.c:696:19: warning: array subscript has type 'char' [-Wchar-subscripts] 696 | if (isspace(str[0])) { | ^ query.c:710:22: warning: array subscript has type 'char' [-Wchar-subscripts] 710 | if (!isdigit(str[0])) { | ^ query.c:719:20: warning: array subscript has type 'char' [-Wchar-subscripts] 719 | if (!isdigit(str[0])) { | ^ query.c:726:39: warning: array subscript has type 'char' [-Wchar-subscripts] 726 | if ((state == STRING && isspace(str[0])) || | ^ --- pkg-repo.o --- CC pkg-repo.o --- pkg-rquery.o --- CC pkg-rquery.o --- pkg-search.o --- CC pkg-search.o --- pkg-set.o --- CC pkg-set.o --- pkg-shell.o --- CC pkg-shell.o --- pkg-shlib.o --- CC pkg-shlib.o --- pkg-ssh.o --- --- pkg-stats.o --- --- pkg-ssh.o --- CC pkg-ssh.o --- pkg-stats.o --- CC pkg-stats.o --- pkg-update.o --- CC pkg-update.o --- pkg-updating.o --- CC pkg-updating.o --- pkg-upgrade.o --- CC pkg-upgrade.o --- pkg-utils.o --- CC pkg-utils.o --- pkg-version.o --- CC pkg-version.o --- pkg-which.o --- CC pkg-which.o --- pkg --- --- pkg-static --- CCLD pkg-static --- pkg --- CCLD pkg --- pkg-static --- ld: pkg-alias.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-alias.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-alias.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-annotate.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-annotate.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-annotate.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-audit.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-audit.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-audit.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-autoremove.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-autoremove.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-autoremove.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-backup.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-backup.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-backup.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-check.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-check.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-check.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-clean.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-clean.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-clean.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-config.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-config.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-config.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-create.o:(.sbss+0x8): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-create.o:(.sbss+0xc): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-create.o:(.sbss+0x10): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-delete.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-delete.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-delete.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-event.o:(.sbss+0x58): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-event.o:(.sbss+0x5c): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-event.o:(.sbss+0x60): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-fetch.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-fetch.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-fetch.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-info.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-info.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-info.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-install.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-install.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-install.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-lock.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-lock.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-lock.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-main.o:(.sbss+0x8): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-main.o:(.sbss+0xc): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-main.o:(.sbss+0x10): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-plugins.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-plugins.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-plugins.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-query.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-query.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-query.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-register.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-register.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-register.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-repo.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-repo.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-repo.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-rquery.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-rquery.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-rquery.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-search.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-search.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-search.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-set.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-set.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-set.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-shell.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-shell.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-shell.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-shlib.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-shlib.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-shlib.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-ssh.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-ssh.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-ssh.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-stats.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-stats.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-stats.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-update.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-update.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-update.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-updating.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-updating.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-updating.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-upgrade.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-upgrade.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-upgrade.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-utils.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-utils.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-utils.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-version.o:(.sbss+0x8): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-version.o:(.sbss+0xc): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-version.o:(.sbss+0x10): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-which.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-which.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-which.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here --- pkg --- ld: pkg-alias.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-alias.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-alias.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-annotate.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-annotate.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-annotate.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-audit.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-audit.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-audit.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-autoremove.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-autoremove.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-autoremove.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-backup.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-backup.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-backup.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-check.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-check.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-check.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-clean.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-clean.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-clean.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-config.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-config.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-config.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-create.o:(.sbss+0x8): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-create.o:(.sbss+0xc): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-create.o:(.sbss+0x10): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-delete.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-delete.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-delete.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-event.o:(.sbss+0x58): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-event.o:(.sbss+0x5c): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-event.o:(.sbss+0x60): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-fetch.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-fetch.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-fetch.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-info.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-info.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-info.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-install.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-install.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-install.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-lock.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-lock.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-lock.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-main.o:(.sbss+0x8): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-main.o:(.sbss+0xc): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-main.o:(.sbss+0x10): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-plugins.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-plugins.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-plugins.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-query.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-query.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-query.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-register.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-register.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-register.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-repo.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-repo.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-repo.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-rquery.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-rquery.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-rquery.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-search.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-search.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-search.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-set.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-set.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-set.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-shell.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-shell.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-shell.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-shlib.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-shlib.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-shlib.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-ssh.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-ssh.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-ssh.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-stats.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-stats.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-stats.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-update.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-update.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-update.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-updating.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-updating.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-updating.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-upgrade.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-upgrade.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-upgrade.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-utils.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-utils.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-utils.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-version.o:(.sbss+0x8): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-version.o:(.sbss+0xc): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-version.o:(.sbss+0x10): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here ld: pkg-which.o:(.sbss+0x0): multiple definition of `nbtodl'; pkg-add.o:(.sbss+0x0): first defined here ld: pkg-which.o:(.sbss+0x4): multiple definition of `nbdone'; pkg-add.o:(.sbss+0x4): first defined here ld: pkg-which.o:(.sbss+0x8): multiple definition of `nbactions'; pkg-add.o:(.sbss+0x8): first defined here *** [pkg] Error code 1 make[2]: stopped in /tmp/pkgbuild/pkgtools/pkg/work.alpha/pkg-1.10.99.7/src --- pkg-static --- *** [pkg-static] Error code 1 make[2]: stopped in /tmp/pkgbuild/pkgtools/pkg/work.alpha/pkg-1.10.99.7/src 2 errors make[2]: stopped in /tmp/pkgbuild/pkgtools/pkg/work.alpha/pkg-1.10.99.7/src make[1]: stopped in /tmp/pkgbuild/pkgtools/pkg/work.alpha/pkg-1.10.99.7 make: stopped in /tmp/pkgbuild/pkgtools/pkg/work.alpha/pkg-1.10.99.7 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/pkgtools/pkg *** Error code 1 Stop. make: stopped in /usr/pkgsrc/pkgtools/pkg