Bug#1101234: libwww-curl-perl: FTBFS: curlopt-constants.c:44:63: error: 'CURL_HAS_DECLSPEC_ATTRIBUTE' undeclared
Santiago Vila
sanvila at debian.org
Tue Mar 25 00:11:01 GMT 2025
Package: src:libwww-curl-perl
Version: 4.17-11
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor "OPTIMIZE=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2" "LD=x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now"
Locating required external dependency bin:curl-config... found at /usr/bin/curl-config.
The version is libcurl 8.13.0-rc2
Found curl.h in /usr/include/x86_64-linux-gnu/curl/curl.h
Building curlopt-constants.c for your libcurl version
Building Easy.pm constants for your libcurl version
Building Share.pm constants for your libcurl version
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for WWW::Curl
Writing MYMETA.yml and MYMETA.json
dh_auto_build
make -j2
make[1]: Entering directory '/<<PKGBUILDDIR>>'
Running Mkbootstrap for Curl ()
chmod 644 "Curl.bs"
"/usr/bin/perl" "-Iinc" "/usr/share/perl/5.40/ExtUtils/xsubpp" -typemap '/usr/share/perl/5.40/ExtUtils/typemap' -typemap '/<<PKGBUILDDIR>>/typemap' Curl.xs > Curl.xsc
cp lib/WWW/Curl/Share.pm blib/lib/WWW/Curl/Share.pm
cp lib/WWW/Curl/Multi.pm blib/lib/WWW/Curl/Multi.pm
cp lib/WWW/Curl.pm blib/lib/WWW/Curl.pm
cp lib/WWW/Curl/Form.pm blib/lib/WWW/Curl/Form.pm
cp lib/WWW/Curl/Easy.pm blib/lib/WWW/Curl/Easy.pm
"/usr/bin/perl" "-Iinc" -MExtUtils::Command::MM -e 'cp_nonempty' -- Curl.bs blib/arch/auto/WWW/Curl/Curl.bs 644
mv Curl.xsc Curl.c
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 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION=\"4.17\" -DXS_VERSION=\"4.17\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.40/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:1324:3: note: declared here
1324 | 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:2657:1: note: declared here
2657 | curl_formfree(struct curl_httppost *form);
| ^~~~~~~~~~~~~
In file included from Curl.xs:578:
curlopt-constants.c: In function âconstantâ:
curlopt-constants.c:26:13: warning: âCURL_FORMADD_DISABLEDâ is deprecated: since 7.56.0. [-Wdeprecated-declarations]
26 | if (strEQ(name, "FORMADD_DISABLED")) return CURL_FORMADD_DISABLED;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:2606:3: note: declared here
2606 | CURL_FORMADD_DISABLED CURL_DEPRECATED(7.56.0, ""),
| ^~~~~~~~~~~~~~~~~~~~~
curlopt-constants.c:27:13: warning: âCURL_FORMADD_ILLEGAL_ARRAYâ is deprecated: since 7.56.0. [-Wdeprecated-declarations]
27 | if (strEQ(name, "FORMADD_ILLEGAL_ARRAY")) return CURL_FORMADD_ILLEGAL_ARRAY;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:2604:3: note: declared here
2604 | CURL_FORMADD_ILLEGAL_ARRAY CURL_DEPRECATED(7.56.0, ""),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
curlopt-constants.c:28:13: warning: âCURL_FORMADD_INCOMPLETEâ is deprecated: since 7.56.0. [-Wdeprecated-declarations]
28 | if (strEQ(name, "FORMADD_INCOMPLETE")) return CURL_FORMADD_INCOMPLETE;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:2603:3: note: declared here
2603 | CURL_FORMADD_INCOMPLETE CURL_DEPRECATED(7.56.0, ""),
| ^~~~~~~~~~~~~~~~~~~~~~~
curlopt-constants.c:29:13: warning: âCURL_FORMADD_MEMORYâ is deprecated: since 7.56.0. [-Wdeprecated-declarations]
29 | if (strEQ(name, "FORMADD_MEMORY")) return CURL_FORMADD_MEMORY;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:2599:3: note: declared here
2599 | CURL_FORMADD_MEMORY CURL_DEPRECATED(7.56.0, ""),
| ^~~~~~~~~~~~~~~~~~~
curlopt-constants.c:30:13: warning: âCURL_FORMADD_NULLâ is deprecated: since 7.56.0. [-Wdeprecated-declarations]
30 | if (strEQ(name, "FORMADD_NULL")) return CURL_FORMADD_NULL;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:2601:3: note: declared here
2601 | CURL_FORMADD_NULL CURL_DEPRECATED(7.56.0, ""),
| ^~~~~~~~~~~~~~~~~
curlopt-constants.c:31:13: warning: âCURL_FORMADD_OKâ is deprecated: since 7.56.0. [-Wdeprecated-declarations]
31 | if (strEQ(name, "FORMADD_OK")) return CURL_FORMADD_OK;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:2597:3: note: declared here
2597 | CURL_FORMADD_OK CURL_DEPRECATED(7.56.0, ""), /* 1st, no error */
| ^~~~~~~~~~~~~~~
curlopt-constants.c:32:13: warning: âCURL_FORMADD_OPTION_TWICEâ is deprecated: since 7.56.0. [-Wdeprecated-declarations]
32 | if (strEQ(name, "FORMADD_OPTION_TWICE")) return CURL_FORMADD_OPTION_TWICE;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:2600:3: note: declared here
2600 | CURL_FORMADD_OPTION_TWICE CURL_DEPRECATED(7.56.0, ""),
| ^~~~~~~~~~~~~~~~~~~~~~~~~
curlopt-constants.c:33:13: warning: âCURL_FORMADD_UNKNOWN_OPTIONâ is deprecated: since 7.56.0. [-Wdeprecated-declarations]
33 | if (strEQ(name, "FORMADD_UNKNOWN_OPTION")) return CURL_FORMADD_UNKNOWN_OPTION;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:2602:3: note: declared here
2602 | CURL_FORMADD_UNKNOWN_OPTION CURL_DEPRECATED(7.56.0, ""),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
curlopt-constants.c:44:63: error: âCURL_HAS_DECLSPEC_ATTRIBUTEâ undeclared (first use in this function)
44 | if (strEQ(name, "HAS_DECLSPEC_ATTRIBUTE")) return CURL_HAS_DECLSPEC_ATTRIBUTE;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
curlopt-constants.c:44:63: note: each undeclared identifier is reported only once for each function it appears in
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:589:13: warning: âCURLSSLBACKEND_AXTLSâ is deprecated: since 7.61.0. [-Wdeprecated-declarations]
589 | if (strEQ(name, "AXTLS")) return CURLSSLBACKEND_AXTLS;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:162:3: note: declared here
162 | CURLSSLBACKEND_AXTLS CURL_DEPRECATED(7.61.0, "") = 10,
| ^~~~~~~~~~~~~~~~~~~~
curlopt-constants.c:605:13: warning: âCURLSSLBACKEND_GSKITâ is deprecated: since 8.3.0. [-Wdeprecated-declarations]
605 | if (strEQ(name, "GSKIT")) return CURLSSLBACKEND_GSKIT;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:157:3: note: declared here
157 | CURLSSLBACKEND_GSKIT CURL_DEPRECATED(8.3.0, "") = 5,
| ^~~~~~~~~~~~~~~~~~~~
curlopt-constants.c:616:13: warning: âCURLSSLBACKEND_MESALINKâ is deprecated: since 7.82.0. [-Wdeprecated-declarations]
616 | if (strEQ(name, "MESALINK")) return CURLSSLBACKEND_MESALINK;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:164:3: note: declared here
164 | CURLSSLBACKEND_MESALINK CURL_DEPRECATED(7.82.0, "") = 12,
| ^~~~~~~~~~~~~~~~~~~~~~~
curlopt-constants.c:620:13: warning: âCURLSSLBACKEND_NSSâ is deprecated: since 8.3.0. [-Wdeprecated-declarations]
620 | if (strEQ(name, "NSS")) return CURLSSLBACKEND_NSS;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:155:3: note: declared here
155 | CURLSSLBACKEND_NSS CURL_DEPRECATED(8.3.0, "") = 3,
| ^~~~~~~~~~~~~~~~~~
curlopt-constants.c:626:13: warning: âCURLSSLBACKEND_POLARSSLâ is deprecated: since 7.69.0. [-Wdeprecated-declarations]
626 | if (strEQ(name, "POLARSSL")) return CURLSSLBACKEND_POLARSSL;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:158:3: note: declared here
158 | CURLSSLBACKEND_POLARSSL CURL_DEPRECATED(7.69.0, "") = 6,
| ^~~~~~~~~~~~~~~~~~~~~~~
curlopt-constants.c:1136:13: warning: âCURLOPT_CONV_FROM_NETWORK_FUNCTIONâ is deprecated: since 7.82.0. Serves no purpose anymore [-Wdeprecated-declarations]
1136 | if (strEQ(name, "CONV_FROM_NETWORK_FUNCTION")) return CURLOPT_CONV_FROM_NETWORK_FUNCTION;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:1649:3: note: declared here
1649 | CURLOPTDEPRECATED(CURLOPT_CONV_FROM_NETWORK_FUNCTION,
| ^~~~~~~~~~~~~~~~~
curlopt-constants.c:1137:13: warning: âCURLOPT_CONV_FROM_UTF8_FUNCTIONâ is deprecated: since 7.82.0. Serves no purpose anymore [-Wdeprecated-declarations]
1137 | if (strEQ(name, "CONV_FROM_UTF8_FUNCTION")) return CURLOPT_CONV_FROM_UTF8_FUNCTION;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:1662:3: note: declared here
1662 | CURLOPTDEPRECATED(CURLOPT_CONV_FROM_UTF8_FUNCTION,
| ^~~~~~~~~~~~~~~~~
curlopt-constants.c:1138:13: warning: âCURLOPT_CONV_TO_NETWORK_FUNCTIONâ is deprecated: since 7.82.0. Serves no purpose anymore [-Wdeprecated-declarations]
1138 | if (strEQ(name, "CONV_TO_NETWORK_FUNCTION")) return CURLOPT_CONV_TO_NETWORK_FUNCTION;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:1655:3: note: declared here
1655 | CURLOPTDEPRECATED(CURLOPT_CONV_TO_NETWORK_FUNCTION,
| ^~~~~~~~~~~~~~~~~
curlopt-constants.c:1162:13: warning: âCURLOPT_DNS_USE_GLOBAL_CACHEâ is deprecated: since 7.11.1. Use CURLOPT_SHARE [-Wdeprecated-declarations]
1162 | if (strEQ(name, "DNS_USE_GLOBAL_CACHE")) return CURLOPT_DNS_USE_GLOBAL_CACHE;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:1451:3: note: declared here
1451 | CURLOPTDEPRECATED(CURLOPT_DNS_USE_GLOBAL_CACHE, CURLOPTTYPE_LONG, 91,
| ^~~~~~~~~~~~~~~~~
curlopt-constants.c:1170:13: warning: âCURLOPT_EGDSOCKETâ is deprecated: since 7.84.0. Serves no purpose anymore [-Wdeprecated-declarations]
1170 | if (strEQ(name, "EGDSOCKET")) return CURLOPT_EGDSOCKET;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:1395:3: note: declared here
1395 | CURLOPTDEPRECATED(CURLOPT_EGDSOCKET, CURLOPTTYPE_STRINGPOINT, 77,
| ^~~~~~~~~~~~~~~~~
curlopt-constants.c:1222:13: warning: âCURLOPT_HTTPPOSTâ is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations]
1222 | if (strEQ(name, "HTTPPOST")) return CURLOPT_HTTPPOST;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:1225:3: note: declared here
1225 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24,
| ^~~~~~~~~~~~~~~~~
curlopt-constants.c:1236:13: warning: âCURLOPT_IOCTLDATAâ is deprecated: since 7.18.0. Use CURLOPT_SEEKDATA [-Wdeprecated-declarations]
1236 | if (strEQ(name, "IOCTLDATA")) return CURLOPT_IOCTLDATA;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:1609:3: note: declared here
1609 | CURLOPTDEPRECATED(CURLOPT_IOCTLDATA, CURLOPTTYPE_CBPOINT, 131,
| ^~~~~~~~~~~~~~~~~
curlopt-constants.c:1237:13: warning: âCURLOPT_IOCTLFUNCTIONâ is deprecated: since 7.18.0. Use CURLOPT_SEEKFUNCTION [-Wdeprecated-declarations]
1237 | if (strEQ(name, "IOCTLFUNCTION")) return CURLOPT_IOCTLFUNCTION;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:1607:3: note: declared here
1607 | CURLOPTDEPRECATED(CURLOPT_IOCTLFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 130,
| ^~~~~~~~~~~~~~~~~
curlopt-constants.c:1306:13: warning: âCURLOPT_PROGRESSFUNCTIONâ is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Wdeprecated-declarations]
1306 | if (strEQ(name, "PROGRESSFUNCTION")) return CURLOPT_PROGRESSFUNCTION;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:1324:3: note: declared here
1324 | CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 56,
| ^~~~~~~~~~~~~~~~~
curlopt-constants.c:1307:13: warning: âCURLOPT_PROTOCOLSâ is deprecated: since 7.85.0. Use CURLOPT_PROTOCOLS_STR [-Wdeprecated-declarations]
1307 | if (strEQ(name, "PROTOCOLS")) return CURLOPT_PROTOCOLS;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:1776:3: note: declared here
1776 | CURLOPTDEPRECATED(CURLOPT_PROTOCOLS, CURLOPTTYPE_LONG, 181,
| ^~~~~~~~~~~~~~~~~
curlopt-constants.c:1342:13: warning: âCURLOPT_PUTâ is deprecated: since 7.12.1. Use CURLOPT_UPLOAD [-Wdeprecated-declarations]
1342 | if (strEQ(name, "PUT")) return CURLOPT_PUT;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:1315:3: note: declared here
1315 | CURLOPTDEPRECATED(CURLOPT_PUT, CURLOPTTYPE_LONG, 54,
| ^~~~~~~~~~~~~~~~~
curlopt-constants.c:1349:13: warning: âCURLOPT_RANDOM_FILEâ is deprecated: since 7.84.0. Serves no purpose anymore [-Wdeprecated-declarations]
1349 | if (strEQ(name, "RANDOM_FILE")) return CURLOPT_RANDOM_FILE;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:1391:3: note: declared here
1391 | CURLOPTDEPRECATED(CURLOPT_RANDOM_FILE, CURLOPTTYPE_STRINGPOINT, 76,
| ^~~~~~~~~~~~~~~~~
curlopt-constants.c:1353:13: warning: âCURLOPT_REDIR_PROTOCOLSâ is deprecated: since 7.85.0. Use CURLOPT_REDIR_PROTOCOLS_STR [-Wdeprecated-declarations]
1353 | if (strEQ(name, "REDIR_PROTOCOLS")) return CURLOPT_REDIR_PROTOCOLS;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:1782:3: note: declared here
1782 | CURLOPTDEPRECATED(CURLOPT_REDIR_PROTOCOLS, CURLOPTTYPE_LONG, 182,
| ^~~~~~~~~~~~~~~~~
curlopt-constants.c:1383:13: warning: âCURLOPT_SOCKS5_GSSAPI_SERVICEâ is deprecated: since 7.49.0. Use CURLOPT_PROXY_SERVICE_NAME [-Wdeprecated-declarations]
1383 | if (strEQ(name, "SOCKS5_GSSAPI_SERVICE")) return CURLOPT_SOCKS5_GSSAPI_SERVICE;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:1765:3: note: declared here
1765 | CURLOPTDEPRECATED(CURLOPT_SOCKS5_GSSAPI_SERVICE,
| ^~~~~~~~~~~~~~~~~
curlopt-constants.c:1411:13: warning: âCURLOPT_SSL_ENABLE_NPNâ is deprecated: since 7.86.0. Has no function [-Wdeprecated-declarations]
1411 | if (strEQ(name, "SSL_ENABLE_NPN")) return CURLOPT_SSL_ENABLE_NPN;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:1929:3: note: declared here
1929 | CURLOPTDEPRECATED(CURLOPT_SSL_ENABLE_NPN, CURLOPTTYPE_LONG, 225,
| ^~~~~~~~~~~~~~~~~
curlopt-constants.c:1928:13: warning: âCURLINFO_CONTENT_LENGTH_DOWNLOADâ is deprecated: since 7.55.0. Use CURLINFO_CONTENT_LENGTH_DOWNLOAD_T [-Wdeprecated-declarations]
1928 | if (strEQ(name, "CONTENT_LENGTH_DOWNLOAD")) return CURLINFO_CONTENT_LENGTH_DOWNLOAD;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:2919:3: note: declared here
2919 | CURLINFO_CONTENT_LENGTH_DOWNLOAD
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
curlopt-constants.c:1930:13: warning: âCURLINFO_CONTENT_LENGTH_UPLOADâ is deprecated: since 7.55.0. Use CURLINFO_CONTENT_LENGTH_UPLOAD_T [-Wdeprecated-declarations]
1930 | if (strEQ(name, "CONTENT_LENGTH_UPLOAD")) return CURLINFO_CONTENT_LENGTH_UPLOAD;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:2924:3: note: declared here
2924 | CURLINFO_CONTENT_LENGTH_UPLOAD
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
curlopt-constants.c:1967:13: warning: âCURLINFO_LASTSOCKETâ is deprecated: since 7.45.0. Use CURLINFO_ACTIVESOCKET [-Wdeprecated-declarations]
1967 | if (strEQ(name, "LASTSOCKET")) return CURLINFO_LASTSOCKET;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:2941:3: note: declared here
2941 | CURLINFO_LASTSOCKET CURL_DEPRECATED(7.45.0, "Use CURLINFO_ACTIVESOCKET")
| ^~~~~~~~~~~~~~~~~~~
curlopt-constants.c:1992:13: warning: âCURLINFO_PROTOCOLâ is deprecated: since 7.85.0. Use CURLINFO_SCHEME [-Wdeprecated-declarations]
1992 | if (strEQ(name, "PROTOCOL")) return CURLINFO_PROTOCOL;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:2962:3: note: declared here
2962 | CURLINFO_PROTOCOL CURL_DEPRECATED(7.85.0, "Use CURLINFO_SCHEME")
| ^~~~~~~~~~~~~~~~~
curlopt-constants.c:2018:13: warning: âCURLINFO_SIZE_DOWNLOADâ is deprecated: since 7.55.0. Use CURLINFO_SIZE_DOWNLOAD_T [-Wdeprecated-declarations]
2018 | if (strEQ(name, "SIZE_DOWNLOAD")) return CURLINFO_SIZE_DOWNLOAD;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:2902:3: note: declared here
2902 | CURLINFO_SIZE_DOWNLOAD
| ^~~~~~~~~~~~~~~~~~~~~~
curlopt-constants.c:2020:13: warning: âCURLINFO_SIZE_UPLOADâ is deprecated: since 7.55.0. Use CURLINFO_SIZE_UPLOAD_T [-Wdeprecated-declarations]
2020 | if (strEQ(name, "SIZE_UPLOAD")) return CURLINFO_SIZE_UPLOAD;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:2899:3: note: declared here
2899 | CURLINFO_SIZE_UPLOAD CURL_DEPRECATED(7.55.0, "Use CURLINFO_SIZE_UPLOAD_T")
| ^~~~~~~~~~~~~~~~~~~~
curlopt-constants.c:2024:13: warning: âCURLINFO_SPEED_DOWNLOADâ is deprecated: since 7.55.0. Use CURLINFO_SPEED_DOWNLOAD_T [-Wdeprecated-declarations]
2024 | if (strEQ(name, "SPEED_DOWNLOAD")) return CURLINFO_SPEED_DOWNLOAD;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:2906:3: note: declared here
2906 | CURLINFO_SPEED_DOWNLOAD
| ^~~~~~~~~~~~~~~~~~~~~~~
curlopt-constants.c:2026:13: warning: âCURLINFO_SPEED_UPLOADâ is deprecated: since 7.55.0. Use CURLINFO_SPEED_UPLOAD_T [-Wdeprecated-declarations]
2026 | if (strEQ(name, "SPEED_UPLOAD")) return CURLINFO_SPEED_UPLOAD;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:2910:3: note: declared here
2910 | CURLINFO_SPEED_UPLOAD
| ^~~~~~~~~~~~~~~~~~~~~
curlopt-constants.c:2038:13: warning: âCURLINFO_TLS_SESSIONâ is deprecated: since 7.48.0. Use CURLINFO_TLS_SSL_PTR [-Wdeprecated-declarations]
2038 | if (strEQ(name, "TLS_SESSION")) return CURLINFO_TLS_SESSION;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:2956:3: note: declared here
2956 | CURLINFO_TLS_SESSION CURL_DEPRECATED(7.48.0, "Use CURLINFO_TLS_SSL_PTR")
| ^~~~~~~~~~~~~~~~~~~~
curlopt-constants.c:2379:13: warning: âCURLFORM_ARRAYâ is deprecated: since 7.56.0. [-Wdeprecated-declarations]
2379 | if (strEQ(name, "ARRAY")) return CURLFORM_ARRAY;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:2553:3: note: declared here
2553 | CURLFORM_ARRAY CURL_DEPRECATED(7.56.0, ""),
| ^~~~~~~~~~~~~~
curlopt-constants.c:2382:13: warning: âCURLFORM_BUFFERâ is deprecated: since 7.56.0. Use curl_mime_filename() [-Wdeprecated-declarations]
2382 | if (strEQ(name, "BUFFER")) return CURLFORM_BUFFER;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:2557:3: note: declared here
2557 | CURLFORM_BUFFER CURL_DEPRECATED(7.56.0, "Use curl_mime_filename()"),
| ^~~~~~~~~~~~~~~
curlopt-constants.c:2383:13: warning: âCURLFORM_BUFFERLENGTHâ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
2383 | if (strEQ(name, "BUFFERLENGTH")) return CURLFORM_BUFFERLENGTH;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:2559:3: note: declared here
2559 | CURLFORM_BUFFERLENGTH CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
| ^~~~~~~~~~~~~~~~~~~~~
curlopt-constants.c:2384:13: warning: âCURLFORM_BUFFERPTRâ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
2384 | if (strEQ(name, "BUFFERPTR")) return CURLFORM_BUFFERPTR;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:2558:3: note: declared here
2558 | CURLFORM_BUFFERPTR CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
| ^~~~~~~~~~~~~~~~~~
curlopt-constants.c:2387:13: warning: âCURLFORM_CONTENTHEADERâ is deprecated: since 7.56.0. Use curl_mime_headers() [-Wdeprecated-declarations]
2387 | if (strEQ(name, "CONTENTHEADER")) return CURLFORM_CONTENTHEADER;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:2562:3: note: declared here
2562 | CURLFORM_CONTENTHEADER CURL_DEPRECATED(7.56.0, "Use curl_mime_headers()"),
| ^~~~~~~~~~~~~~~~~~~~~~
curlopt-constants.c:2388:13: warning: âCURLFORM_CONTENTLENâ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
2388 | if (strEQ(name, "CONTENTLEN")) return CURLFORM_CONTENTLEN;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:2568:3: note: declared here
2568 | CURLFORM_CONTENTLEN /* added in 7.46.0, provide a curl_off_t length */
| ^~~~~~~~~~~~~~~~~~~
curlopt-constants.c:2389:13: warning: âCURLFORM_CONTENTSLENGTHâ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
2389 | if (strEQ(name, "CONTENTSLENGTH")) return CURLFORM_CONTENTSLENGTH;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:2551:3: note: declared here
2551 | CURLFORM_CONTENTSLENGTH CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
| ^~~~~~~~~~~~~~~~~~~~~~~
curlopt-constants.c:2390:13: warning: âCURLFORM_CONTENTTYPEâ is deprecated: since 7.56.0. Use curl_mime_type() [-Wdeprecated-declarations]
2390 | if (strEQ(name, "CONTENTTYPE")) return CURLFORM_CONTENTTYPE;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:2561:3: note: declared here
2561 | CURLFORM_CONTENTTYPE CURL_DEPRECATED(7.56.0, "Use curl_mime_type()"),
| ^~~~~~~~~~~~~~~~~~~~
curlopt-constants.c:2391:13: warning: âCURLFORM_COPYCONTENTSâ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
2391 | if (strEQ(name, "COPYCONTENTS")) return CURLFORM_COPYCONTENTS;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:2549:3: note: declared here
2549 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
| ^~~~~~~~~~~~~~~~~~~~~
curlopt-constants.c:2392:13: warning: âCURLFORM_COPYNAMEâ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
2392 | if (strEQ(name, "COPYNAME")) return CURLFORM_COPYNAME;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:2546:3: note: declared here
2546 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
| ^~~~~~~~~~~~~~~~~
curlopt-constants.c:2399:13: warning: âCURLFORM_FILEâ is deprecated: since 7.56.0. Use curl_mime_filedata() [-Wdeprecated-declarations]
2399 | if (strEQ(name, "FILE")) return CURLFORM_FILE;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:2555:3: note: declared here
2555 | CURLFORM_FILE CURL_DEPRECATED(7.56.0, "Use curl_mime_filedata()"),
| ^~~~~~~~~~~~~
curlopt-constants.c:2400:13: warning: âCURLFORM_FILECONTENTâ is deprecated: since 7.56.0. Use curl_mime_data_cb() [-Wdeprecated-declarations]
2400 | if (strEQ(name, "FILECONTENT")) return CURLFORM_FILECONTENT;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:2552:3: note: declared here
2552 | CURLFORM_FILECONTENT CURL_DEPRECATED(7.56.0, "Use curl_mime_data_cb()"),
| ^~~~~~~~~~~~~~~~~~~~
curlopt-constants.c:2401:13: warning: âCURLFORM_FILENAMEâ is deprecated: since 7.56.0. Use curl_mime_filename() [-Wdeprecated-declarations]
2401 | if (strEQ(name, "FILENAME")) return CURLFORM_FILENAME;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:2563:3: note: declared here
2563 | CURLFORM_FILENAME CURL_DEPRECATED(7.56.0, "Use curl_mime_filename()"),
| ^~~~~~~~~~~~~~~~~
curlopt-constants.c:2411:13: warning: âCURLFORM_NAMELENGTHâ is deprecated: since 7.56.0. [-Wdeprecated-declarations]
2411 | if (strEQ(name, "NAMELENGTH")) return CURLFORM_NAMELENGTH;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:2548:3: note: declared here
2548 | CURLFORM_NAMELENGTH CURL_DEPRECATED(7.56.0, ""),
| ^~~~~~~~~~~~~~~~~~~
curlopt-constants.c:2412:13: warning: âCURLFORM_NOTHINGâ is deprecated: since 7.56.0. [-Wdeprecated-declarations]
2412 | if (strEQ(name, "NOTHING")) return CURLFORM_NOTHING;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:2545:3: note: declared here
2545 | CURLFORM_NOTHING CURL_DEPRECATED(7.56.0, ""),
| ^~~~~~~~~~~~~~~~
curlopt-constants.c:2416:13: warning: âCURLFORM_PTRCONTENTSâ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
2416 | if (strEQ(name, "PTRCONTENTS")) return CURLFORM_PTRCONTENTS;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:2550:3: note: declared here
2550 | CURLFORM_PTRCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
| ^~~~~~~~~~~~~~~~~~~~
curlopt-constants.c:2417:13: warning: âCURLFORM_PTRNAMEâ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
2417 | if (strEQ(name, "PTRNAME")) return CURLFORM_PTRNAME;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:2547:3: note: declared here
2547 | CURLFORM_PTRNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
| ^~~~~~~~~~~~~~~~
curlopt-constants.c:2422:13: warning: âCURLFORM_STREAMâ is deprecated: since 7.56.0. Use curl_mime_data_cb() [-Wdeprecated-declarations]
2422 | if (strEQ(name, "STREAM")) return CURLFORM_STREAM;
| ^~
/usr/include/x86_64-linux-gnu/curl/curl.h:2567:3: note: declared here
2567 | CURLFORM_STREAM CURL_DEPRECATED(7.56.0, "Use curl_mime_data_cb()"),
| ^~~~~~~~~~~~~~~
curlopt-constants.c:2786:44: warning: overflow in conversion from âlong unsigned intâ to âintâ changes value from â18446744073709551599â to â-17â [-Woverflow]
2786 | if (strEQ(name, "ANY")) return CURLAUTH_ANY;
| ^~~~~~~~~~~~
curlopt-constants.c:2787:48: warning: overflow in conversion from âlong unsigned intâ to âintâ changes value from â18446744073709551598â to â-18â [-Woverflow]
2787 | if (strEQ(name, "ANYSAFE")) return CURLAUTH_ANYSAFE;
| ^~~~~~~~~~~~~~~~
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:1324:3: note: declared here
1324 | CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 56,
| ^~~~~~~~~~~~~~~~~
Curl.xs:670:17: warning: âCURLOPT_PROGRESSFUNCTIONâ is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Wdeprecated-declarations]
670 | curl_easy_setopt(clone->curl, CURLOPT_PROGRESSFUNCTION, progress_callback_func);
| ^~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/curl/curl.h:1324:3: note: declared here
1324 | CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 56,
| ^~~~~~~~~~~~~~~~~
Curl.xs: In function âXS_WWW__Curl__Easy_setoptâ:
Curl.xs:726:17: warning: âCURLOPT_PROGRESSFUNCTIONâ is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Wdeprecated-declarations]
726 | curl_easy_setopt(self->curl, CURLOPT_PROGRESSFUNCTION, SvOK(value) ? progress_callback_func : NULL);
| ^~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/curl/curl.h:1324:3: note: declared here
1324 | CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 56,
| ^~~~~~~~~~~~~~~~~
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:1324:3: note: declared here
1324 | 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:1225:3: note: declared here
1225 | 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:2621:1: note: declared here
2621 | 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:2546:3: note: declared here
2546 | 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:2549:3: note: declared here
2549 | 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:2621:1: note: declared here
2621 | 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:2555:3: note: declared here
2555 | 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:2546:3: note: declared here
2546 | 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:2561:3: note: declared here
2561 | CURLFORM_CONTENTTYPE CURL_DEPRECATED(7.56.0, "Use curl_mime_type()"),
| ^~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:350: Curl.o] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 returned exit code 2
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202503/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:libwww-curl-perl, so that this is still
visible in the BTS web page for this package.
Thanks.
More information about the pkg-perl-maintainers
mailing list