Source: libwww-curl-perl Version: 4.17-8 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20230101 ftbfs-bookworm
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > x86_64-linux-gnu-gcc -c -I/usr/include/x86_64-linux-gnu -D_REENTRANT > -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION=\"4.17\" > -DXS_VERSION=\"4.17\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.36/CORE" > Curl.c > Curl.xs: In function ‘callback_index’: > Curl.xs:109:9: warning: ‘CURLOPT_PROGRESSFUNCTION’ is deprecated: since > 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Wdeprecated-declarations] > 109 | case CURLOPT_PROGRESSFUNCTION: > | ^~~~ > In file included from Curl.xs:17: > /usr/include/x86_64-linux-gnu/curl/curl.h:1295:3: note: declared here > 1295 | CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, > CURLOPTTYPE_FUNCTIONPOINT, 56, > | ^~~~~~~~~~~~~~~~~ > Curl.xs: In function ‘perl_curl_form_delete’: > Curl.xs:231:9: warning: ‘curl_formfree’ is deprecated: since 7.56.0. Use > curl_mime_free() [-Wdeprecated-declarations] > 231 | curl_formfree(self->post); > | ^~~~~~~~~~~~~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2606:1: note: declared here > 2606 | curl_formfree(struct curl_httppost *form); > | ^~~~~~~~~~~~~ > In file included from Curl.xs:578: > curlopt-constants.c: In function ‘constant’: > curlopt-constants.c:19:51: error: ‘CURL_DEPRECATED’ undeclared (first use in > this function) > 19 | if (strEQ(name, "DEPRECATED")) return CURL_DEPRECATED; > | ^~~~~~~~~~~~~~~ > curlopt-constants.c:19:51: note: each undeclared identifier is reported only > once for each function it appears in > curlopt-constants.c:28:13: warning: ‘CURL_FORMADD_DISABLED’ is deprecated: > since 7.56.0. [-Wdeprecated-declarations] > 28 | if (strEQ(name, "FORMADD_DISABLED")) return > CURL_FORMADD_DISABLED; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2555:3: note: declared here > 2555 | CURL_FORMADD_DISABLED CURL_DEPRECATED(7.56.0, ""), > | ^~~~~~~~~~~~~~~~~~~~~ > curlopt-constants.c:29:13: warning: ‘CURL_FORMADD_ILLEGAL_ARRAY’ is > deprecated: since 7.56.0. [-Wdeprecated-declarations] > 29 | if (strEQ(name, "FORMADD_ILLEGAL_ARRAY")) return > CURL_FORMADD_ILLEGAL_ARRAY; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2553:3: note: declared here > 2553 | CURL_FORMADD_ILLEGAL_ARRAY CURL_DEPRECATED(7.56.0, ""), > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > curlopt-constants.c:30:13: warning: ‘CURL_FORMADD_INCOMPLETE’ is deprecated: > since 7.56.0. [-Wdeprecated-declarations] > 30 | if (strEQ(name, "FORMADD_INCOMPLETE")) return > CURL_FORMADD_INCOMPLETE; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2552:3: note: declared here > 2552 | CURL_FORMADD_INCOMPLETE CURL_DEPRECATED(7.56.0, ""), > | ^~~~~~~~~~~~~~~~~~~~~~~ > curlopt-constants.c:31:13: warning: ‘CURL_FORMADD_MEMORY’ is deprecated: > since 7.56.0. [-Wdeprecated-declarations] > 31 | if (strEQ(name, "FORMADD_MEMORY")) return > CURL_FORMADD_MEMORY; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2548:3: note: declared here > 2548 | CURL_FORMADD_MEMORY CURL_DEPRECATED(7.56.0, ""), > | ^~~~~~~~~~~~~~~~~~~ > curlopt-constants.c:32:13: warning: ‘CURL_FORMADD_NULL’ is deprecated: since > 7.56.0. [-Wdeprecated-declarations] > 32 | if (strEQ(name, "FORMADD_NULL")) return CURL_FORMADD_NULL; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2550:3: note: declared here > 2550 | CURL_FORMADD_NULL CURL_DEPRECATED(7.56.0, ""), > | ^~~~~~~~~~~~~~~~~ > curlopt-constants.c:33:13: warning: ‘CURL_FORMADD_OK’ is deprecated: since > 7.56.0. [-Wdeprecated-declarations] > 33 | if (strEQ(name, "FORMADD_OK")) return CURL_FORMADD_OK; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2546:3: note: declared here > 2546 | CURL_FORMADD_OK CURL_DEPRECATED(7.56.0, ""), /* 1st, no > error */ > | ^~~~~~~~~~~~~~~ > curlopt-constants.c:34:13: warning: ‘CURL_FORMADD_OPTION_TWICE’ is > deprecated: since 7.56.0. [-Wdeprecated-declarations] > 34 | if (strEQ(name, "FORMADD_OPTION_TWICE")) return > CURL_FORMADD_OPTION_TWICE; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2549:3: note: declared here > 2549 | CURL_FORMADD_OPTION_TWICE CURL_DEPRECATED(7.56.0, ""), > | ^~~~~~~~~~~~~~~~~~~~~~~~~ > curlopt-constants.c:35:13: warning: ‘CURL_FORMADD_UNKNOWN_OPTION’ is > deprecated: since 7.56.0. [-Wdeprecated-declarations] > 35 | if (strEQ(name, "FORMADD_UNKNOWN_OPTION")) return > CURL_FORMADD_UNKNOWN_OPTION; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2551:3: note: declared here > 2551 | CURL_FORMADD_UNKNOWN_OPTION CURL_DEPRECATED(7.56.0, ""), > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ > curlopt-constants.c:65:59: error: ‘CURL_IGNORE_DEPRECATION’ undeclared (first > use in this function) > 65 | if (strEQ(name, "IGNORE_DEPRECATION")) return > CURL_IGNORE_DEPRECATION; > | > ^~~~~~~~~~~~~~~~~~~~~~~ > curlopt-constants.c:198:56: warning: overflow in conversion from ‘long > unsigned int’ to ‘int’ changes value from ‘18446744073709551615’ to ‘-1’ > [-Woverflow] > 198 | if (strEQ(name, "ZERO_TERMINATED")) return > CURL_ZERO_TERMINATED; > | > ^~~~~~~~~~~~~~~~~~~~ > curlopt-constants.c:539:13: warning: ‘CURLSSLBACKEND_AXTLS’ is deprecated: > since 7.61.0. [-Wdeprecated-declarations] > 539 | if (strEQ(name, "AXTLS")) return CURLSSLBACKEND_AXTLS; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:168:3: note: declared here > 168 | CURLSSLBACKEND_AXTLS CURL_DEPRECATED(7.61.0, "") = > 10, > | ^~~~~~~~~~~~~~~~~~~~ > curlopt-constants.c:576:13: warning: ‘CURLSSLBACKEND_POLARSSL’ is deprecated: > since 7.69.0. [-Wdeprecated-declarations] > 576 | if (strEQ(name, "POLARSSL")) return > CURLSSLBACKEND_POLARSSL; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:164:3: note: declared here > 164 | CURLSSLBACKEND_POLARSSL CURL_DEPRECATED(7.69.0, "") = > 6, > | ^~~~~~~~~~~~~~~~~~~~~~~ > curlopt-constants.c:1085:13: warning: ‘CURLOPT_CONV_FROM_NETWORK_FUNCTION’ is > deprecated: since 7.82.0. Serves no purpose anymore > [-Wdeprecated-declarations] > 1085 | if (strEQ(name, "CONV_FROM_NETWORK_FUNCTION")) return > CURLOPT_CONV_FROM_NETWORK_FUNCTION; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:1622:3: note: declared here > 1622 | CURLOPTDEPRECATED(CURLOPT_CONV_FROM_NETWORK_FUNCTION, > | ^~~~~~~~~~~~~~~~~ > curlopt-constants.c:1086:13: warning: ‘CURLOPT_CONV_FROM_UTF8_FUNCTION’ is > deprecated: since 7.82.0. Serves no purpose anymore > [-Wdeprecated-declarations] > 1086 | if (strEQ(name, "CONV_FROM_UTF8_FUNCTION")) return > CURLOPT_CONV_FROM_UTF8_FUNCTION; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:1635:3: note: declared here > 1635 | CURLOPTDEPRECATED(CURLOPT_CONV_FROM_UTF8_FUNCTION, > | ^~~~~~~~~~~~~~~~~ > curlopt-constants.c:1087:13: warning: ‘CURLOPT_CONV_TO_NETWORK_FUNCTION’ is > deprecated: since 7.82.0. Serves no purpose anymore > [-Wdeprecated-declarations] > 1087 | if (strEQ(name, "CONV_TO_NETWORK_FUNCTION")) return > CURLOPT_CONV_TO_NETWORK_FUNCTION; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:1628:3: note: declared here > 1628 | CURLOPTDEPRECATED(CURLOPT_CONV_TO_NETWORK_FUNCTION, > | ^~~~~~~~~~~~~~~~~ > curlopt-constants.c:1111:13: warning: ‘CURLOPT_DNS_USE_GLOBAL_CACHE’ is > deprecated: since 7.11.1. Use CURLOPT_SHARE [-Wdeprecated-declarations] > 1111 | if (strEQ(name, "DNS_USE_GLOBAL_CACHE")) return > CURLOPT_DNS_USE_GLOBAL_CACHE; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:1424:3: note: declared here > 1424 | CURLOPTDEPRECATED(CURLOPT_DNS_USE_GLOBAL_CACHE, CURLOPTTYPE_LONG, > 91, > | ^~~~~~~~~~~~~~~~~ > curlopt-constants.c:1118:13: warning: ‘CURLOPT_EGDSOCKET’ is deprecated: > since 7.84.0. Serves no purpose anymore [-Wdeprecated-declarations] > 1118 | if (strEQ(name, "EGDSOCKET")) return CURLOPT_EGDSOCKET; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:1368:3: note: declared here > 1368 | CURLOPTDEPRECATED(CURLOPT_EGDSOCKET, CURLOPTTYPE_STRINGPOINT, 77, > | ^~~~~~~~~~~~~~~~~ > curlopt-constants.c:1169:13: warning: ‘CURLOPT_HTTPPOST’ is deprecated: since > 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations] > 1169 | if (strEQ(name, "HTTPPOST")) return CURLOPT_HTTPPOST; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:1195:3: note: declared here > 1195 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24, > | ^~~~~~~~~~~~~~~~~ > curlopt-constants.c:1183:13: warning: ‘CURLOPT_IOCTLDATA’ is deprecated: > since 7.18.0. Use CURLOPT_SEEKDATA [-Wdeprecated-declarations] > 1183 | if (strEQ(name, "IOCTLDATA")) return CURLOPT_IOCTLDATA; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:1582:3: note: declared here > 1582 | CURLOPTDEPRECATED(CURLOPT_IOCTLDATA, CURLOPTTYPE_CBPOINT, 131, > | ^~~~~~~~~~~~~~~~~ > curlopt-constants.c:1184:13: warning: ‘CURLOPT_IOCTLFUNCTION’ is deprecated: > since 7.18.0. Use CURLOPT_SEEKFUNCTION [-Wdeprecated-declarations] > 1184 | if (strEQ(name, "IOCTLFUNCTION")) return > CURLOPT_IOCTLFUNCTION; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:1580:3: note: declared here > 1580 | CURLOPTDEPRECATED(CURLOPT_IOCTLFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, > 130, > | ^~~~~~~~~~~~~~~~~ > curlopt-constants.c:1252:13: warning: ‘CURLOPT_PROGRESSFUNCTION’ is > deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION > [-Wdeprecated-declarations] > 1252 | if (strEQ(name, "PROGRESSFUNCTION")) return > CURLOPT_PROGRESSFUNCTION; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:1295:3: note: declared here > 1295 | CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, > CURLOPTTYPE_FUNCTIONPOINT, 56, > | ^~~~~~~~~~~~~~~~~ > curlopt-constants.c:1253:13: warning: ‘CURLOPT_PROTOCOLS’ is deprecated: > since 7.85.0. Use CURLOPT_PROTOCOLS_STR [-Wdeprecated-declarations] > 1253 | if (strEQ(name, "PROTOCOLS")) return CURLOPT_PROTOCOLS; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:1749:3: note: declared here > 1749 | CURLOPTDEPRECATED(CURLOPT_PROTOCOLS, CURLOPTTYPE_LONG, 181, > | ^~~~~~~~~~~~~~~~~ > curlopt-constants.c:1288:13: warning: ‘CURLOPT_PUT’ is deprecated: since > 7.12.1. Use CURLOPT_UPLOAD [-Wdeprecated-declarations] > 1288 | if (strEQ(name, "PUT")) return CURLOPT_PUT; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:1286:3: note: declared here > 1286 | CURLOPTDEPRECATED(CURLOPT_PUT, CURLOPTTYPE_LONG, 54, > | ^~~~~~~~~~~~~~~~~ > curlopt-constants.c:1295:13: warning: ‘CURLOPT_RANDOM_FILE’ is deprecated: > since 7.84.0. Serves no purpose anymore [-Wdeprecated-declarations] > 1295 | if (strEQ(name, "RANDOM_FILE")) return > CURLOPT_RANDOM_FILE; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:1364:3: note: declared here > 1364 | CURLOPTDEPRECATED(CURLOPT_RANDOM_FILE, CURLOPTTYPE_STRINGPOINT, 76, > | ^~~~~~~~~~~~~~~~~ > curlopt-constants.c:1299:13: warning: ‘CURLOPT_REDIR_PROTOCOLS’ is > deprecated: since 7.85.0. Use CURLOPT_REDIR_PROTOCOLS_STR > [-Wdeprecated-declarations] > 1299 | if (strEQ(name, "REDIR_PROTOCOLS")) return > CURLOPT_REDIR_PROTOCOLS; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:1755:3: note: declared here > 1755 | CURLOPTDEPRECATED(CURLOPT_REDIR_PROTOCOLS, CURLOPTTYPE_LONG, 182, > | ^~~~~~~~~~~~~~~~~ > curlopt-constants.c:1328:13: warning: ‘CURLOPT_SOCKS5_GSSAPI_SERVICE’ is > deprecated: since 7.49.0. Use CURLOPT_PROXY_SERVICE_NAME > [-Wdeprecated-declarations] > 1328 | if (strEQ(name, "SOCKS5_GSSAPI_SERVICE")) return > CURLOPT_SOCKS5_GSSAPI_SERVICE; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:1738:3: note: declared here > 1738 | CURLOPTDEPRECATED(CURLOPT_SOCKS5_GSSAPI_SERVICE, > | ^~~~~~~~~~~~~~~~~ > curlopt-constants.c:1356:13: warning: ‘CURLOPT_SSL_ENABLE_NPN’ is deprecated: > since 7.86.0. Has no function [-Wdeprecated-declarations] > 1356 | if (strEQ(name, "SSL_ENABLE_NPN")) return > CURLOPT_SSL_ENABLE_NPN; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:1901:3: note: declared here > 1901 | CURLOPTDEPRECATED(CURLOPT_SSL_ENABLE_NPN, CURLOPTTYPE_LONG, 225, > | ^~~~~~~~~~~~~~~~~ > curlopt-constants.c:1870:13: warning: ‘CURLINFO_CONTENT_LENGTH_DOWNLOAD’ is > deprecated: since 7.55.0. Use CURLINFO_CONTENT_LENGTH_DOWNLOAD_T > [-Wdeprecated-declarations] > 1870 | if (strEQ(name, "CONTENT_LENGTH_DOWNLOAD")) return > CURLINFO_CONTENT_LENGTH_DOWNLOAD; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2853:3: note: declared here > 2853 | CURLINFO_CONTENT_LENGTH_DOWNLOAD > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > curlopt-constants.c:1872:13: warning: ‘CURLINFO_CONTENT_LENGTH_UPLOAD’ is > deprecated: since 7.55.0. Use CURLINFO_CONTENT_LENGTH_UPLOAD_T > [-Wdeprecated-declarations] > 1872 | if (strEQ(name, "CONTENT_LENGTH_UPLOAD")) return > CURLINFO_CONTENT_LENGTH_UPLOAD; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2858:3: note: declared here > 2858 | CURLINFO_CONTENT_LENGTH_UPLOAD > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > curlopt-constants.c:1907:13: warning: ‘CURLINFO_LASTSOCKET’ is deprecated: > since 7.45.0. Use CURLINFO_ACTIVESOCKET [-Wdeprecated-declarations] > 1907 | if (strEQ(name, "LASTSOCKET")) return CURLINFO_LASTSOCKET; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2875:3: note: declared here > 2875 | CURLINFO_LASTSOCKET CURL_DEPRECATED(7.45.0, "Use > CURLINFO_ACTIVESOCKET") > | ^~~~~~~~~~~~~~~~~~~ > curlopt-constants.c:1931:13: warning: ‘CURLINFO_PROTOCOL’ is deprecated: > since 7.85.0. Use CURLINFO_SCHEME [-Wdeprecated-declarations] > 1931 | if (strEQ(name, "PROTOCOL")) return CURLINFO_PROTOCOL; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2896:3: note: declared here > 2896 | CURLINFO_PROTOCOL CURL_DEPRECATED(7.85.0, "Use CURLINFO_SCHEME") > | ^~~~~~~~~~~~~~~~~ > curlopt-constants.c:1954:13: warning: ‘CURLINFO_SIZE_DOWNLOAD’ is deprecated: > since 7.55.0. Use CURLINFO_SIZE_DOWNLOAD_T [-Wdeprecated-declarations] > 1954 | if (strEQ(name, "SIZE_DOWNLOAD")) return > CURLINFO_SIZE_DOWNLOAD; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2836:3: note: declared here > 2836 | CURLINFO_SIZE_DOWNLOAD > | ^~~~~~~~~~~~~~~~~~~~~~ > curlopt-constants.c:1956:13: warning: ‘CURLINFO_SIZE_UPLOAD’ is deprecated: > since 7.55.0. Use CURLINFO_SIZE_UPLOAD_T [-Wdeprecated-declarations] > 1956 | if (strEQ(name, "SIZE_UPLOAD")) return > CURLINFO_SIZE_UPLOAD; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2833:3: note: declared here > 2833 | CURLINFO_SIZE_UPLOAD CURL_DEPRECATED(7.55.0, "Use > CURLINFO_SIZE_UPLOAD_T") > | ^~~~~~~~~~~~~~~~~~~~ > curlopt-constants.c:1960:13: warning: ‘CURLINFO_SPEED_DOWNLOAD’ is > deprecated: since 7.55.0. Use CURLINFO_SPEED_DOWNLOAD_T > [-Wdeprecated-declarations] > 1960 | if (strEQ(name, "SPEED_DOWNLOAD")) return > CURLINFO_SPEED_DOWNLOAD; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2840:3: note: declared here > 2840 | CURLINFO_SPEED_DOWNLOAD > | ^~~~~~~~~~~~~~~~~~~~~~~ > curlopt-constants.c:1962:13: warning: ‘CURLINFO_SPEED_UPLOAD’ is deprecated: > since 7.55.0. Use CURLINFO_SPEED_UPLOAD_T [-Wdeprecated-declarations] > 1962 | if (strEQ(name, "SPEED_UPLOAD")) return > CURLINFO_SPEED_UPLOAD; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2844:3: note: declared here > 2844 | CURLINFO_SPEED_UPLOAD > | ^~~~~~~~~~~~~~~~~~~~~ > curlopt-constants.c:1974:13: warning: ‘CURLINFO_TLS_SESSION’ is deprecated: > since 7.48.0. Use CURLINFO_TLS_SSL_PTR [-Wdeprecated-declarations] > 1974 | if (strEQ(name, "TLS_SESSION")) return > CURLINFO_TLS_SESSION; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2890:3: note: declared here > 2890 | CURLINFO_TLS_SESSION CURL_DEPRECATED(7.48.0, "Use > CURLINFO_TLS_SSL_PTR") > | ^~~~~~~~~~~~~~~~~~~~ > curlopt-constants.c:2311:13: warning: ‘CURLFORM_ARRAY’ is deprecated: since > 7.56.0. [-Wdeprecated-declarations] > 2311 | if (strEQ(name, "ARRAY")) return CURLFORM_ARRAY; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2502:3: note: declared here > 2502 | CURLFORM_ARRAY CURL_DEPRECATED(7.56.0, ""), > | ^~~~~~~~~~~~~~ > curlopt-constants.c:2314:13: warning: ‘CURLFORM_BUFFER’ is deprecated: since > 7.56.0. Use curl_mime_filename() [-Wdeprecated-declarations] > 2314 | if (strEQ(name, "BUFFER")) return CURLFORM_BUFFER; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2506:3: note: declared here > 2506 | CURLFORM_BUFFER CURL_DEPRECATED(7.56.0, "Use > curl_mime_filename()"), > | ^~~~~~~~~~~~~~~ > curlopt-constants.c:2315:13: warning: ‘CURLFORM_BUFFERLENGTH’ is deprecated: > since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] > 2315 | if (strEQ(name, "BUFFERLENGTH")) return > CURLFORM_BUFFERLENGTH; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2508:3: note: declared here > 2508 | CURLFORM_BUFFERLENGTH CURL_DEPRECATED(7.56.0, "Use > curl_mime_data()"), > | ^~~~~~~~~~~~~~~~~~~~~ > curlopt-constants.c:2316:13: warning: ‘CURLFORM_BUFFERPTR’ is deprecated: > since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] > 2316 | if (strEQ(name, "BUFFERPTR")) return CURLFORM_BUFFERPTR; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2507:3: note: declared here > 2507 | CURLFORM_BUFFERPTR CURL_DEPRECATED(7.56.0, "Use > curl_mime_data()"), > | ^~~~~~~~~~~~~~~~~~ > curlopt-constants.c:2319:13: warning: ‘CURLFORM_CONTENTHEADER’ is deprecated: > since 7.56.0. Use curl_mime_headers() [-Wdeprecated-declarations] > 2319 | if (strEQ(name, "CONTENTHEADER")) return > CURLFORM_CONTENTHEADER; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2511:3: note: declared here > 2511 | CURLFORM_CONTENTHEADER CURL_DEPRECATED(7.56.0, "Use > curl_mime_headers()"), > | ^~~~~~~~~~~~~~~~~~~~~~ > curlopt-constants.c:2320:13: warning: ‘CURLFORM_CONTENTLEN’ is deprecated: > since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] > 2320 | if (strEQ(name, "CONTENTLEN")) return CURLFORM_CONTENTLEN; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2517:3: note: declared here > 2517 | CURLFORM_CONTENTLEN /* added in 7.46.0, provide a curl_off_t > length */ > | ^~~~~~~~~~~~~~~~~~~ > curlopt-constants.c:2321:13: warning: ‘CURLFORM_CONTENTSLENGTH’ is > deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] > 2321 | if (strEQ(name, "CONTENTSLENGTH")) return > CURLFORM_CONTENTSLENGTH; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2500:3: note: declared here > 2500 | CURLFORM_CONTENTSLENGTH CURL_DEPRECATED(7.56.0, "Use > curl_mime_data()"), > | ^~~~~~~~~~~~~~~~~~~~~~~ > curlopt-constants.c:2322:13: warning: ‘CURLFORM_CONTENTTYPE’ is deprecated: > since 7.56.0. Use curl_mime_type() [-Wdeprecated-declarations] > 2322 | if (strEQ(name, "CONTENTTYPE")) return > CURLFORM_CONTENTTYPE; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2510:3: note: declared here > 2510 | CURLFORM_CONTENTTYPE CURL_DEPRECATED(7.56.0, "Use > curl_mime_type()"), > | ^~~~~~~~~~~~~~~~~~~~ > curlopt-constants.c:2323:13: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: > since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] > 2323 | if (strEQ(name, "COPYCONTENTS")) return > CURLFORM_COPYCONTENTS; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2498:3: note: declared here > 2498 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use > curl_mime_data()"), > | ^~~~~~~~~~~~~~~~~~~~~ > curlopt-constants.c:2324:13: warning: ‘CURLFORM_COPYNAME’ is deprecated: > since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] > 2324 | if (strEQ(name, "COPYNAME")) return CURLFORM_COPYNAME; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2495:3: note: declared here > 2495 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use > curl_mime_name()"), > | ^~~~~~~~~~~~~~~~~ > curlopt-constants.c:2331:13: warning: ‘CURLFORM_FILE’ is deprecated: since > 7.56.0. Use curl_mime_filedata() [-Wdeprecated-declarations] > 2331 | if (strEQ(name, "FILE")) return CURLFORM_FILE; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2504:3: note: declared here > 2504 | CURLFORM_FILE CURL_DEPRECATED(7.56.0, "Use > curl_mime_filedata()"), > | ^~~~~~~~~~~~~ > curlopt-constants.c:2332:13: warning: ‘CURLFORM_FILECONTENT’ is deprecated: > since 7.56.0. Use curl_mime_data_cb() [-Wdeprecated-declarations] > 2332 | if (strEQ(name, "FILECONTENT")) return > CURLFORM_FILECONTENT; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2501:3: note: declared here > 2501 | CURLFORM_FILECONTENT CURL_DEPRECATED(7.56.0, "Use > curl_mime_data_cb()"), > | ^~~~~~~~~~~~~~~~~~~~ > curlopt-constants.c:2333:13: warning: ‘CURLFORM_FILENAME’ is deprecated: > since 7.56.0. Use curl_mime_filename() [-Wdeprecated-declarations] > 2333 | if (strEQ(name, "FILENAME")) return CURLFORM_FILENAME; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2512:3: note: declared here > 2512 | CURLFORM_FILENAME CURL_DEPRECATED(7.56.0, "Use > curl_mime_filename()"), > | ^~~~~~~~~~~~~~~~~ > curlopt-constants.c:2343:13: warning: ‘CURLFORM_NAMELENGTH’ is deprecated: > since 7.56.0. [-Wdeprecated-declarations] > 2343 | if (strEQ(name, "NAMELENGTH")) return CURLFORM_NAMELENGTH; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2497:3: note: declared here > 2497 | CURLFORM_NAMELENGTH CURL_DEPRECATED(7.56.0, ""), > | ^~~~~~~~~~~~~~~~~~~ > curlopt-constants.c:2344:13: warning: ‘CURLFORM_NOTHING’ is deprecated: since > 7.56.0. [-Wdeprecated-declarations] > 2344 | if (strEQ(name, "NOTHING")) return CURLFORM_NOTHING; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2494:3: note: declared here > 2494 | CURLFORM_NOTHING CURL_DEPRECATED(7.56.0, ""), > | ^~~~~~~~~~~~~~~~ > curlopt-constants.c:2348:13: warning: ‘CURLFORM_PTRCONTENTS’ is deprecated: > since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] > 2348 | if (strEQ(name, "PTRCONTENTS")) return > CURLFORM_PTRCONTENTS; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2499:3: note: declared here > 2499 | CURLFORM_PTRCONTENTS CURL_DEPRECATED(7.56.0, "Use > curl_mime_data()"), > | ^~~~~~~~~~~~~~~~~~~~ > curlopt-constants.c:2349:13: warning: ‘CURLFORM_PTRNAME’ is deprecated: since > 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] > 2349 | if (strEQ(name, "PTRNAME")) return CURLFORM_PTRNAME; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2496:3: note: declared here > 2496 | CURLFORM_PTRNAME CURL_DEPRECATED(7.56.0, "Use > curl_mime_name()"), > | ^~~~~~~~~~~~~~~~ > curlopt-constants.c:2354:13: warning: ‘CURLFORM_STREAM’ is deprecated: since > 7.56.0. Use curl_mime_data_cb() [-Wdeprecated-declarations] > 2354 | if (strEQ(name, "STREAM")) return CURLFORM_STREAM; > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2516:3: note: declared here > 2516 | CURLFORM_STREAM CURL_DEPRECATED(7.56.0, "Use > curl_mime_data_cb()"), > | ^~~~~~~~~~~~~~~ > curlopt-constants.c:2676:44: warning: overflow in conversion from ‘long > unsigned int’ to ‘int’ changes value from ‘18446744073709551599’ to ‘-17’ > [-Woverflow] > 2676 | if (strEQ(name, "ANY")) return CURLAUTH_ANY; > | ^~~~~~~~~~~~ > curlopt-constants.c:2677:48: warning: overflow in conversion from ‘long > unsigned int’ to ‘int’ changes value from ‘18446744073709551598’ to ‘-18’ > [-Woverflow] > 2677 | if (strEQ(name, "ANYSAFE")) return CURLAUTH_ANYSAFE; > | ^~~~~~~~~~~~~~~~ > curlopt-constants.c:2770:58: error: ‘CURLOPTDEPRECATED’ undeclared (first use > in this function); did you mean ‘CURLOPT_PRIVATE’? > 2770 | if (strEQ(name, "CURLOPTDEPRECATED")) return > CURLOPTDEPRECATED; > | > ^~~~~~~~~~~~~~~~~ > | > CURLOPT_PRIVATE > Curl.xs: In function ‘XS_WWW__Curl__Easy_duphandle’: > Curl.xs:669:9: warning: ‘CURLOPT_PROGRESSFUNCTION’ is deprecated: since > 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Wdeprecated-declarations] > 669 | if (self->callback[callback_index(CURLOPT_PROGRESSFUNCTION)] > || self->callback_ctx[callback_index(CURLOPT_PROGRESSDATA)]) { > | ^~ > /usr/include/x86_64-linux-gnu/curl/curl.h:1295:3: note: declared here > 1295 | CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, > CURLOPTTYPE_FUNCTIONPOINT, 56, > | ^~~~~~~~~~~~~~~~~ > In file included from /usr/include/x86_64-linux-gnu/curl/curl.h:3195: > Curl.xs:692:25: error: void value not ignored as it ought to be > 692 | curl_easy_setopt(clone->curl, 10000 + i, > clone->strings[i]); > | ^ > Curl.xs: In function ‘XS_WWW__Curl__Easy_setopt’: > Curl.xs:746:13: warning: ‘CURLOPT_PROGRESSFUNCTION’ is deprecated: since > 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Wdeprecated-declarations] > 746 | case CURLOPT_PROGRESSFUNCTION: > | ^~~~ > /usr/include/x86_64-linux-gnu/curl/curl.h:1295:3: note: declared here > 1295 | CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, > CURLOPTTYPE_FUNCTIONPOINT, 56, > | ^~~~~~~~~~~~~~~~~ > Curl.xs:809:13: warning: ‘CURLOPT_HTTPPOST’ is deprecated: since 7.56.0. Use > CURLOPT_MIMEPOST [-Wdeprecated-declarations] > 809 | case CURLOPT_HTTPPOST: > | ^~~~ > /usr/include/x86_64-linux-gnu/curl/curl.h:1195:3: note: declared here > 1195 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24, > | ^~~~~~~~~~~~~~~~~ > Curl.xs: In function ‘XS_WWW__Curl__Form_formadd’: > Curl.xs:1022:9: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use > curl_mime_init() [-Wdeprecated-declarations] > 1022 | curl_formadd(&(self->post),&(self->last), > | ^~~~~~~~~~~~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2570:1: note: declared here > 2570 | curl_formadd(struct curl_httppost **httppost, > | ^~~~~~~~~~~~ > Curl.xs:1023:13: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. > Use curl_mime_name() [-Wdeprecated-declarations] > 1023 | CURLFORM_COPYNAME,name, > | ^~~~~~~~~~~~~~~~~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2495:3: note: declared here > 2495 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use > curl_mime_name()"), > | ^~~~~~~~~~~~~~~~~ > Curl.xs:1024:13: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since > 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] > 1024 | CURLFORM_COPYCONTENTS,value, > | ^~~~~~~~~~~~~~~~~~~~~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2498:3: note: declared here > 2498 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use > curl_mime_data()"), > | ^~~~~~~~~~~~~~~~~~~~~ > Curl.xs: In function ‘XS_WWW__Curl__Form_formaddfile’: > Curl.xs:1034:9: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use > curl_mime_init() [-Wdeprecated-declarations] > 1034 | curl_formadd(&(self->post),&(self->last), > | ^~~~~~~~~~~~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2570:1: note: declared here > 2570 | curl_formadd(struct curl_httppost **httppost, > | ^~~~~~~~~~~~ > Curl.xs:1035:13: warning: ‘CURLFORM_FILE’ is deprecated: since 7.56.0. Use > curl_mime_filedata() [-Wdeprecated-declarations] > 1035 | CURLFORM_FILE,filename, > | ^~~~~~~~~~~~~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2504:3: note: declared here > 2504 | CURLFORM_FILE CURL_DEPRECATED(7.56.0, "Use > curl_mime_filedata()"), > | ^~~~~~~~~~~~~ > Curl.xs:1036:13: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. > Use curl_mime_name() [-Wdeprecated-declarations] > 1036 | CURLFORM_COPYNAME,description, > | ^~~~~~~~~~~~~~~~~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2495:3: note: declared here > 2495 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use > curl_mime_name()"), > | ^~~~~~~~~~~~~~~~~ > Curl.xs:1037:13: warning: ‘CURLFORM_CONTENTTYPE’ is deprecated: since 7.56.0. > Use curl_mime_type() [-Wdeprecated-declarations] > 1037 | CURLFORM_CONTENTTYPE,type, > | ^~~~~~~~~~~~~~~~~~~~ > /usr/include/x86_64-linux-gnu/curl/curl.h:2510:3: note: declared here > 2510 | CURLFORM_CONTENTTYPE CURL_DEPRECATED(7.56.0, "Use > curl_mime_type()"), > | ^~~~~~~~~~~~~~~~~~~~ > make[1]: *** [Makefile:350: Curl.o] Error 1 The full build log is available from: http://qa-logs.debian.net/2023/01/01/libwww-curl-perl_4.17-8_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230101;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230101&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.