D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/perl-WWW-Curl-4.170.0-27.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.LCle6w + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf WWW-Curl-4.17 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/WWW-Curl-4.17.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd WWW-Curl-4.17 + rm -rf /home/pterjan/rpmbuild/BUILD/WWW-Curl-4.17-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/WWW-Curl-4.17-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/WWW-Curl-4.17-Skip-preprocessor-symbol-only-CURL_STRICTER.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/WWW-Curl-4.17-define-CURL-as-void.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/WWW-Curl-4.17-Adapt-to-changes-in-cURL-7.69.0.patch + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/WWW-Curl-4.17-Adapt-to-curl-7.87.0.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/WWW-Curl-4.17-Work-around-a-macro-bug-in-curl-7.87.0.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Peui1x + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd WWW-Curl-4.17 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor Locating required external dependency bin:curl-config... found at /usr/bin/curl-config. The version is libcurl 8.9.1 Found curl.h in /usr/include/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 + /usr/bin/make cp lib/WWW/Curl/Easy.pm blib/lib/WWW/Curl/Easy.pm cp lib/WWW/Curl/Form.pm blib/lib/WWW/Curl/Form.pm 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 Running Mkbootstrap for Curl () chmod 644 "Curl.bs" "/usr/bin/perl5.38.2" "-Iinc" -MExtUtils::Command::MM -e 'cp_nonempty' -- Curl.bs blib/arch/auto/WWW/Curl/Curl.bs 644 "/usr/bin/perl5.38.2" "-Iinc" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/home/pterjan/rpmbuild/BUILD/WWW-Curl-4.17/typemap' Curl.xs > Curl.xsc mv Curl.xsc Curl.c gcc -c -I/usr/include -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DVERSION=\"4.17\" -DXS_VERSION=\"4.17\" -fPIC "-I/usr/lib64/perl5/CORE" Curl.c Curl.xs: In function 'callback_index': Curl.xs:105:9: warning: 'CURLOPT_PROGRESSFUNCTION' is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Wdeprecated-declarations] 105 | case CURLOPT_PROGRESSFUNCTION: | ^~~~ In file included from Curl.xs:17: /usr/include/curl/curl.h:1303:3: note: declared here 1303 | CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 56, | ^~~~~~~~~~~~~~~~~ Curl.xs: In function 'perl_curl_form_delete': Curl.xs:227:9: warning: 'curl_formfree' is deprecated: since 7.56.0. Use curl_mime_free() [-Wdeprecated-declarations] 227 | curl_formfree(self->post); | ^~~~~~~~~~~~~ /usr/include/curl/curl.h:2631:1: note: declared here 2631 | curl_formfree(struct curl_httppost *form); | ^~~~~~~~~~~~~ In file included from Curl.xs:574: curlopt-constants.c: In function 'constant': curlopt-constants.c:19:58: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch] 19 | if (strEQ(name, "DID_MEMORY_FUNC_TYPEDEFS")) return CURL_DID_MEMORY_FUNC_TYPEDEFS; | ^~~~~~ curlopt-constants.c:2:1: note: declared here 2 | constant(const char *name) | ^~~~~~~~ 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/curl/curl.h:2580:3: note: declared here 2580 | 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/curl/curl.h:2578:3: note: declared here 2578 | 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/curl/curl.h:2577:3: note: declared here 2577 | 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/curl/curl.h:2573:3: note: declared here 2573 | 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/curl/curl.h:2575:3: note: declared here 2575 | 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/curl/curl.h:2571:3: note: declared here 2571 | 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/curl/curl.h:2574:3: note: declared here 2574 | 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/curl/curl.h:2576:3: note: declared here 2576 | CURL_FORMADD_UNKNOWN_OPTION CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ curlopt-constants.c:199:56: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073709551615' to '-1' [-Woverflow] 199 | if (strEQ(name, "ZERO_TERMINATED")) return CURL_ZERO_TERMINATED; | ^~~~~~~~~~~~~~~~~~~~ curlopt-constants.c:546:13: warning: 'CURLSSLBACKEND_AXTLS' is deprecated: since 7.61.0. [-Wdeprecated-declarations] 546 | if (strEQ(name, "AXTLS")) return CURLSSLBACKEND_AXTLS; | ^~ /usr/include/curl/curl.h:168:3: note: declared here 168 | CURLSSLBACKEND_AXTLS CURL_DEPRECATED(7.61.0, "") = 10, | ^~~~~~~~~~~~~~~~~~~~ curlopt-constants.c:562:13: warning: 'CURLSSLBACKEND_GSKIT' is deprecated: since 8.3.0. [-Wdeprecated-declarations] 562 | if (strEQ(name, "GSKIT")) return CURLSSLBACKEND_GSKIT; | ^~ /usr/include/curl/curl.h:163:3: note: declared here 163 | CURLSSLBACKEND_GSKIT CURL_DEPRECATED(8.3.0, "") = 5, | ^~~~~~~~~~~~~~~~~~~~ curlopt-constants.c:573:13: warning: 'CURLSSLBACKEND_MESALINK' is deprecated: since 7.82.0. [-Wdeprecated-declarations] 573 | if (strEQ(name, "MESALINK")) return CURLSSLBACKEND_MESALINK; | ^~ /usr/include/curl/curl.h:170:3: note: declared here 170 | CURLSSLBACKEND_MESALINK CURL_DEPRECATED(7.82.0, "") = 12, | ^~~~~~~~~~~~~~~~~~~~~~~ curlopt-constants.c:577:13: warning: 'CURLSSLBACKEND_NSS' is deprecated: since 8.3.0. [-Wdeprecated-declarations] 577 | if (strEQ(name, "NSS")) return CURLSSLBACKEND_NSS; | ^~ /usr/include/curl/curl.h:161:3: note: declared here 161 | CURLSSLBACKEND_NSS CURL_DEPRECATED(8.3.0, "") = 3, | ^~~~~~~~~~~~~~~~~~ curlopt-constants.c:583:13: warning: 'CURLSSLBACKEND_POLARSSL' is deprecated: since 7.69.0. [-Wdeprecated-declarations] 583 | if (strEQ(name, "POLARSSL")) return CURLSSLBACKEND_POLARSSL; | ^~ /usr/include/curl/curl.h:164:3: note: declared here 164 | CURLSSLBACKEND_POLARSSL CURL_DEPRECATED(7.69.0, "") = 6, | ^~~~~~~~~~~~~~~~~~~~~~~ curlopt-constants.c:1093:13: warning: 'CURLOPT_CONV_FROM_NETWORK_FUNCTION' is deprecated: since 7.82.0. Serves no purpose anymore [-Wdeprecated-declarations] 1093 | if (strEQ(name, "CONV_FROM_NETWORK_FUNCTION")) return CURLOPT_CONV_FROM_NETWORK_FUNCTION; | ^~ /usr/include/curl/curl.h:1630:3: note: declared here 1630 | CURLOPTDEPRECATED(CURLOPT_CONV_FROM_NETWORK_FUNCTION, | ^~~~~~~~~~~~~~~~~ curlopt-constants.c:1094:13: warning: 'CURLOPT_CONV_FROM_UTF8_FUNCTION' is deprecated: since 7.82.0. Serves no purpose anymore [-Wdeprecated-declarations] 1094 | if (strEQ(name, "CONV_FROM_UTF8_FUNCTION")) return CURLOPT_CONV_FROM_UTF8_FUNCTION; | ^~ /usr/include/curl/curl.h:1643:3: note: declared here 1643 | CURLOPTDEPRECATED(CURLOPT_CONV_FROM_UTF8_FUNCTION, | ^~~~~~~~~~~~~~~~~ curlopt-constants.c:1095:13: warning: 'CURLOPT_CONV_TO_NETWORK_FUNCTION' is deprecated: since 7.82.0. Serves no purpose anymore [-Wdeprecated-declarations] 1095 | if (strEQ(name, "CONV_TO_NETWORK_FUNCTION")) return CURLOPT_CONV_TO_NETWORK_FUNCTION; | ^~ /usr/include/curl/curl.h:1636:3: note: declared here 1636 | CURLOPTDEPRECATED(CURLOPT_CONV_TO_NETWORK_FUNCTION, | ^~~~~~~~~~~~~~~~~ curlopt-constants.c:1119:13: warning: 'CURLOPT_DNS_USE_GLOBAL_CACHE' is deprecated: since 7.11.1. Use CURLOPT_SHARE [-Wdeprecated-declarations] 1119 | if (strEQ(name, "DNS_USE_GLOBAL_CACHE")) return CURLOPT_DNS_USE_GLOBAL_CACHE; | ^~ /usr/include/curl/curl.h:1432:3: note: declared here 1432 | CURLOPTDEPRECATED(CURLOPT_DNS_USE_GLOBAL_CACHE, CURLOPTTYPE_LONG, 91, | ^~~~~~~~~~~~~~~~~ curlopt-constants.c:1127:13: warning: 'CURLOPT_EGDSOCKET' is deprecated: since 7.84.0. Serves no purpose anymore [-Wdeprecated-declarations] 1127 | if (strEQ(name, "EGDSOCKET")) return CURLOPT_EGDSOCKET; | ^~ /usr/include/curl/curl.h:1376:3: note: declared here 1376 | CURLOPTDEPRECATED(CURLOPT_EGDSOCKET, CURLOPTTYPE_STRINGPOINT, 77, | ^~~~~~~~~~~~~~~~~ curlopt-constants.c:1179:13: warning: 'CURLOPT_HTTPPOST' is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations] 1179 | if (strEQ(name, "HTTPPOST")) return CURLOPT_HTTPPOST; | ^~ /usr/include/curl/curl.h:1203:3: note: declared here 1203 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24, | ^~~~~~~~~~~~~~~~~ curlopt-constants.c:1193:13: warning: 'CURLOPT_IOCTLDATA' is deprecated: since 7.18.0. Use CURLOPT_SEEKDATA [-Wdeprecated-declarations] 1193 | if (strEQ(name, "IOCTLDATA")) return CURLOPT_IOCTLDATA; | ^~ /usr/include/curl/curl.h:1590:3: note: declared here 1590 | CURLOPTDEPRECATED(CURLOPT_IOCTLDATA, CURLOPTTYPE_CBPOINT, 131, | ^~~~~~~~~~~~~~~~~ curlopt-constants.c:1194:13: warning: 'CURLOPT_IOCTLFUNCTION' is deprecated: since 7.18.0. Use CURLOPT_SEEKFUNCTION [-Wdeprecated-declarations] 1194 | if (strEQ(name, "IOCTLFUNCTION")) return CURLOPT_IOCTLFUNCTION; | ^~ /usr/include/curl/curl.h:1588:3: note: declared here 1588 | CURLOPTDEPRECATED(CURLOPT_IOCTLFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 130, | ^~~~~~~~~~~~~~~~~ curlopt-constants.c:1263:13: warning: 'CURLOPT_PROGRESSFUNCTION' is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Wdeprecated-declarations] 1263 | if (strEQ(name, "PROGRESSFUNCTION")) return CURLOPT_PROGRESSFUNCTION; | ^~ /usr/include/curl/curl.h:1303:3: note: declared here 1303 | CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 56, | ^~~~~~~~~~~~~~~~~ curlopt-constants.c:1264:13: warning: 'CURLOPT_PROTOCOLS' is deprecated: since 7.85.0. Use CURLOPT_PROTOCOLS_STR [-Wdeprecated-declarations] 1264 | if (strEQ(name, "PROTOCOLS")) return CURLOPT_PROTOCOLS; | ^~ /usr/include/curl/curl.h:1757:3: note: declared here 1757 | CURLOPTDEPRECATED(CURLOPT_PROTOCOLS, CURLOPTTYPE_LONG, 181, | ^~~~~~~~~~~~~~~~~ curlopt-constants.c:1299:13: warning: 'CURLOPT_PUT' is deprecated: since 7.12.1. Use CURLOPT_UPLOAD [-Wdeprecated-declarations] 1299 | if (strEQ(name, "PUT")) return CURLOPT_PUT; | ^~ /usr/include/curl/curl.h:1294:3: note: declared here 1294 | CURLOPTDEPRECATED(CURLOPT_PUT, CURLOPTTYPE_LONG, 54, | ^~~~~~~~~~~~~~~~~ curlopt-constants.c:1306:13: warning: 'CURLOPT_RANDOM_FILE' is deprecated: since 7.84.0. Serves no purpose anymore [-Wdeprecated-declarations] 1306 | if (strEQ(name, "RANDOM_FILE")) return CURLOPT_RANDOM_FILE; | ^~ /usr/include/curl/curl.h:1372:3: note: declared here 1372 | CURLOPTDEPRECATED(CURLOPT_RANDOM_FILE, CURLOPTTYPE_STRINGPOINT, 76, | ^~~~~~~~~~~~~~~~~ curlopt-constants.c:1310:13: warning: 'CURLOPT_REDIR_PROTOCOLS' is deprecated: since 7.85.0. Use CURLOPT_REDIR_PROTOCOLS_STR [-Wdeprecated-declarations] 1310 | if (strEQ(name, "REDIR_PROTOCOLS")) return CURLOPT_REDIR_PROTOCOLS; | ^~ /usr/include/curl/curl.h:1763:3: note: declared here 1763 | CURLOPTDEPRECATED(CURLOPT_REDIR_PROTOCOLS, CURLOPTTYPE_LONG, 182, | ^~~~~~~~~~~~~~~~~ curlopt-constants.c:1340:13: warning: 'CURLOPT_SOCKS5_GSSAPI_SERVICE' is deprecated: since 7.49.0. Use CURLOPT_PROXY_SERVICE_NAME [-Wdeprecated-declarations] 1340 | if (strEQ(name, "SOCKS5_GSSAPI_SERVICE")) return CURLOPT_SOCKS5_GSSAPI_SERVICE; | ^~ /usr/include/curl/curl.h:1746:3: note: declared here 1746 | CURLOPTDEPRECATED(CURLOPT_SOCKS5_GSSAPI_SERVICE, | ^~~~~~~~~~~~~~~~~ curlopt-constants.c:1368:13: warning: 'CURLOPT_SSL_ENABLE_NPN' is deprecated: since 7.86.0. Has no function [-Wdeprecated-declarations] 1368 | if (strEQ(name, "SSL_ENABLE_NPN")) return CURLOPT_SSL_ENABLE_NPN; | ^~ /usr/include/curl/curl.h:1910:3: note: declared here 1910 | CURLOPTDEPRECATED(CURLOPT_SSL_ENABLE_NPN, CURLOPTTYPE_LONG, 225, | ^~~~~~~~~~~~~~~~~ curlopt-constants.c:1884:13: warning: 'CURLINFO_CONTENT_LENGTH_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_CONTENT_LENGTH_DOWNLOAD_T [-Wdeprecated-declarations] 1884 | if (strEQ(name, "CONTENT_LENGTH_DOWNLOAD")) return CURLINFO_CONTENT_LENGTH_DOWNLOAD; | ^~ /usr/include/curl/curl.h:2893:3: note: declared here 2893 | CURLINFO_CONTENT_LENGTH_DOWNLOAD | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curlopt-constants.c:1886:13: warning: 'CURLINFO_CONTENT_LENGTH_UPLOAD' is deprecated: since 7.55.0. Use CURLINFO_CONTENT_LENGTH_UPLOAD_T [-Wdeprecated-declarations] 1886 | if (strEQ(name, "CONTENT_LENGTH_UPLOAD")) return CURLINFO_CONTENT_LENGTH_UPLOAD; | ^~ /usr/include/curl/curl.h:2898:3: note: declared here 2898 | CURLINFO_CONTENT_LENGTH_UPLOAD | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curlopt-constants.c:1921:13: warning: 'CURLINFO_LASTSOCKET' is deprecated: since 7.45.0. Use CURLINFO_ACTIVESOCKET [-Wdeprecated-declarations] 1921 | if (strEQ(name, "LASTSOCKET")) return CURLINFO_LASTSOCKET; | ^~ /usr/include/curl/curl.h:2915:3: note: declared here 2915 | CURLINFO_LASTSOCKET CURL_DEPRECATED(7.45.0, "Use CURLINFO_ACTIVESOCKET") | ^~~~~~~~~~~~~~~~~~~ curlopt-constants.c:1945:13: warning: 'CURLINFO_PROTOCOL' is deprecated: since 7.85.0. Use CURLINFO_SCHEME [-Wdeprecated-declarations] 1945 | if (strEQ(name, "PROTOCOL")) return CURLINFO_PROTOCOL; | ^~ /usr/include/curl/curl.h:2936:3: note: declared here 2936 | CURLINFO_PROTOCOL CURL_DEPRECATED(7.85.0, "Use CURLINFO_SCHEME") | ^~~~~~~~~~~~~~~~~ curlopt-constants.c:1970:13: warning: 'CURLINFO_SIZE_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_SIZE_DOWNLOAD_T [-Wdeprecated-declarations] 1970 | if (strEQ(name, "SIZE_DOWNLOAD")) return CURLINFO_SIZE_DOWNLOAD; | ^~ /usr/include/curl/curl.h:2876:3: note: declared here 2876 | CURLINFO_SIZE_DOWNLOAD | ^~~~~~~~~~~~~~~~~~~~~~ curlopt-constants.c:1972:13: warning: 'CURLINFO_SIZE_UPLOAD' is deprecated: since 7.55.0. Use CURLINFO_SIZE_UPLOAD_T [-Wdeprecated-declarations] 1972 | if (strEQ(name, "SIZE_UPLOAD")) return CURLINFO_SIZE_UPLOAD; | ^~ /usr/include/curl/curl.h:2873:3: note: declared here 2873 | CURLINFO_SIZE_UPLOAD CURL_DEPRECATED(7.55.0, "Use CURLINFO_SIZE_UPLOAD_T") | ^~~~~~~~~~~~~~~~~~~~ curlopt-constants.c:1976:13: warning: 'CURLINFO_SPEED_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_SPEED_DOWNLOAD_T [-Wdeprecated-declarations] 1976 | if (strEQ(name, "SPEED_DOWNLOAD")) return CURLINFO_SPEED_DOWNLOAD; | ^~ /usr/include/curl/curl.h:2880:3: note: declared here 2880 | CURLINFO_SPEED_DOWNLOAD | ^~~~~~~~~~~~~~~~~~~~~~~ curlopt-constants.c:1978:13: warning: 'CURLINFO_SPEED_UPLOAD' is deprecated: since 7.55.0. Use CURLINFO_SPEED_UPLOAD_T [-Wdeprecated-declarations] 1978 | if (strEQ(name, "SPEED_UPLOAD")) return CURLINFO_SPEED_UPLOAD; | ^~ /usr/include/curl/curl.h:2884:3: note: declared here 2884 | CURLINFO_SPEED_UPLOAD | ^~~~~~~~~~~~~~~~~~~~~ curlopt-constants.c:1990:13: warning: 'CURLINFO_TLS_SESSION' is deprecated: since 7.48.0. Use CURLINFO_TLS_SSL_PTR [-Wdeprecated-declarations] 1990 | if (strEQ(name, "TLS_SESSION")) return CURLINFO_TLS_SESSION; | ^~ /usr/include/curl/curl.h:2930:3: note: declared here 2930 | CURLINFO_TLS_SESSION CURL_DEPRECATED(7.48.0, "Use CURLINFO_TLS_SSL_PTR") | ^~~~~~~~~~~~~~~~~~~~ curlopt-constants.c:2016:40: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch] 2016 | if (strEQ(name, "CURL_H")) return CURLINC_CURL_H; | ^~~~~~ curlopt-constants.c:2:1: note: declared here 2 | constant(const char *name) | ^~~~~~~~ curlopt-constants.c:2366:13: warning: 'CURLFORM_ARRAY' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 2366 | if (strEQ(name, "ARRAY")) return CURLFORM_ARRAY; | ^~ /usr/include/curl/curl.h:2527:3: note: declared here 2527 | CURLFORM_ARRAY CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~ curlopt-constants.c:2369:13: warning: 'CURLFORM_BUFFER' is deprecated: since 7.56.0. Use curl_mime_filename() [-Wdeprecated-declarations] 2369 | if (strEQ(name, "BUFFER")) return CURLFORM_BUFFER; | ^~ /usr/include/curl/curl.h:2531:3: note: declared here 2531 | CURLFORM_BUFFER CURL_DEPRECATED(7.56.0, "Use curl_mime_filename()"), | ^~~~~~~~~~~~~~~ curlopt-constants.c:2370:13: warning: 'CURLFORM_BUFFERLENGTH' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 2370 | if (strEQ(name, "BUFFERLENGTH")) return CURLFORM_BUFFERLENGTH; | ^~ /usr/include/curl/curl.h:2533:3: note: declared here 2533 | CURLFORM_BUFFERLENGTH CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ curlopt-constants.c:2371:13: warning: 'CURLFORM_BUFFERPTR' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 2371 | if (strEQ(name, "BUFFERPTR")) return CURLFORM_BUFFERPTR; | ^~ /usr/include/curl/curl.h:2532:3: note: declared here 2532 | CURLFORM_BUFFERPTR CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~ curlopt-constants.c:2374:13: warning: 'CURLFORM_CONTENTHEADER' is deprecated: since 7.56.0. Use curl_mime_headers() [-Wdeprecated-declarations] 2374 | if (strEQ(name, "CONTENTHEADER")) return CURLFORM_CONTENTHEADER; | ^~ /usr/include/curl/curl.h:2536:3: note: declared here 2536 | CURLFORM_CONTENTHEADER CURL_DEPRECATED(7.56.0, "Use curl_mime_headers()"), | ^~~~~~~~~~~~~~~~~~~~~~ curlopt-constants.c:2375:13: warning: 'CURLFORM_CONTENTLEN' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 2375 | if (strEQ(name, "CONTENTLEN")) return CURLFORM_CONTENTLEN; | ^~ /usr/include/curl/curl.h:2542:3: note: declared here 2542 | CURLFORM_CONTENTLEN /* added in 7.46.0, provide a curl_off_t length */ | ^~~~~~~~~~~~~~~~~~~ curlopt-constants.c:2376:13: warning: 'CURLFORM_CONTENTSLENGTH' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 2376 | if (strEQ(name, "CONTENTSLENGTH")) return CURLFORM_CONTENTSLENGTH; | ^~ /usr/include/curl/curl.h:2525:3: note: declared here 2525 | CURLFORM_CONTENTSLENGTH CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~~~ curlopt-constants.c:2377:13: warning: 'CURLFORM_CONTENTTYPE' is deprecated: since 7.56.0. Use curl_mime_type() [-Wdeprecated-declarations] 2377 | if (strEQ(name, "CONTENTTYPE")) return CURLFORM_CONTENTTYPE; | ^~ /usr/include/curl/curl.h:2535:3: note: declared here 2535 | CURLFORM_CONTENTTYPE CURL_DEPRECATED(7.56.0, "Use curl_mime_type()"), | ^~~~~~~~~~~~~~~~~~~~ curlopt-constants.c:2378:13: warning: 'CURLFORM_COPYCONTENTS' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 2378 | if (strEQ(name, "COPYCONTENTS")) return CURLFORM_COPYCONTENTS; | ^~ /usr/include/curl/curl.h:2523:3: note: declared here 2523 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ curlopt-constants.c:2379:13: warning: 'CURLFORM_COPYNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 2379 | if (strEQ(name, "COPYNAME")) return CURLFORM_COPYNAME; | ^~ /usr/include/curl/curl.h:2520:3: note: declared here 2520 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ curlopt-constants.c:2386:13: warning: 'CURLFORM_FILE' is deprecated: since 7.56.0. Use curl_mime_filedata() [-Wdeprecated-declarations] 2386 | if (strEQ(name, "FILE")) return CURLFORM_FILE; | ^~ /usr/include/curl/curl.h:2529:3: note: declared here 2529 | CURLFORM_FILE CURL_DEPRECATED(7.56.0, "Use curl_mime_filedata()"), | ^~~~~~~~~~~~~ curlopt-constants.c:2387:13: warning: 'CURLFORM_FILECONTENT' is deprecated: since 7.56.0. Use curl_mime_data_cb() [-Wdeprecated-declarations] 2387 | if (strEQ(name, "FILECONTENT")) return CURLFORM_FILECONTENT; | ^~ /usr/include/curl/curl.h:2526:3: note: declared here 2526 | CURLFORM_FILECONTENT CURL_DEPRECATED(7.56.0, "Use curl_mime_data_cb()"), | ^~~~~~~~~~~~~~~~~~~~ curlopt-constants.c:2388:13: warning: 'CURLFORM_FILENAME' is deprecated: since 7.56.0. Use curl_mime_filename() [-Wdeprecated-declarations] 2388 | if (strEQ(name, "FILENAME")) return CURLFORM_FILENAME; | ^~ /usr/include/curl/curl.h:2537:3: note: declared here 2537 | CURLFORM_FILENAME CURL_DEPRECATED(7.56.0, "Use curl_mime_filename()"), | ^~~~~~~~~~~~~~~~~ curlopt-constants.c:2398:13: warning: 'CURLFORM_NAMELENGTH' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 2398 | if (strEQ(name, "NAMELENGTH")) return CURLFORM_NAMELENGTH; | ^~ /usr/include/curl/curl.h:2522:3: note: declared here 2522 | CURLFORM_NAMELENGTH CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~~~ curlopt-constants.c:2399:13: warning: 'CURLFORM_NOTHING' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 2399 | if (strEQ(name, "NOTHING")) return CURLFORM_NOTHING; | ^~ /usr/include/curl/curl.h:2519:3: note: declared here 2519 | CURLFORM_NOTHING CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~ curlopt-constants.c:2403:13: warning: 'CURLFORM_PTRCONTENTS' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 2403 | if (strEQ(name, "PTRCONTENTS")) return CURLFORM_PTRCONTENTS; | ^~ /usr/include/curl/curl.h:2524:3: note: declared here 2524 | CURLFORM_PTRCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~ curlopt-constants.c:2404:13: warning: 'CURLFORM_PTRNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 2404 | if (strEQ(name, "PTRNAME")) return CURLFORM_PTRNAME; | ^~ /usr/include/curl/curl.h:2521:3: note: declared here 2521 | CURLFORM_PTRNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~ curlopt-constants.c:2409:13: warning: 'CURLFORM_STREAM' is deprecated: since 7.56.0. Use curl_mime_data_cb() [-Wdeprecated-declarations] 2409 | if (strEQ(name, "STREAM")) return CURLFORM_STREAM; | ^~ /usr/include/curl/curl.h:2541:3: note: declared here 2541 | CURLFORM_STREAM CURL_DEPRECATED(7.56.0, "Use curl_mime_data_cb()"), | ^~~~~~~~~~~~~~~ curlopt-constants.c:2734:44: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073709551599' to '-17' [-Woverflow] 2734 | if (strEQ(name, "ANY")) return CURLAUTH_ANY; | ^~~~~~~~~~~~ curlopt-constants.c:2735:48: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073709551598' to '-18' [-Woverflow] 2735 | if (strEQ(name, "ANYSAFE")) return CURLAUTH_ANYSAFE; | ^~~~~~~~~~~~~~~~ Curl.xs: In function 'XS_WWW__Curl__Easy_duphandle': Curl.xs:665:9: warning: 'CURLOPT_PROGRESSFUNCTION' is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Wdeprecated-declarations] 665 | if (self->callback[callback_index(CURLOPT_PROGRESSFUNCTION)] || self->callback_ctx[callback_index(CURLOPT_PROGRESSDATA)]) { | ^~ /usr/include/curl/curl.h:1303:3: note: declared here 1303 | CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 56, | ^~~~~~~~~~~~~~~~~ Curl.xs:666:17: warning: 'CURLOPT_PROGRESSFUNCTION' is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Wdeprecated-declarations] 666 | curl_easy_setopt(clone->curl, CURLOPT_PROGRESSFUNCTION, progress_callback_func); | ^~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:1303:3: note: declared here 1303 | CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 56, | ^~~~~~~~~~~~~~~~~ Curl.xs: In function 'XS_WWW__Curl__Easy_setopt': Curl.xs:722:17: warning: 'CURLOPT_PROGRESSFUNCTION' is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Wdeprecated-declarations] 722 | curl_easy_setopt(self->curl, CURLOPT_PROGRESSFUNCTION, SvOK(value) ? progress_callback_func : NULL); | ^~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:1303:3: note: declared here 1303 | CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 56, | ^~~~~~~~~~~~~~~~~ Curl.xs:742:13: warning: 'CURLOPT_PROGRESSFUNCTION' is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Wdeprecated-declarations] 742 | case CURLOPT_PROGRESSFUNCTION: | ^~~~ /usr/include/curl/curl.h:1303:3: note: declared here 1303 | CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 56, | ^~~~~~~~~~~~~~~~~ Curl.xs:805:13: warning: 'CURLOPT_HTTPPOST' is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations] 805 | case CURLOPT_HTTPPOST: | ^~~~ /usr/include/curl/curl.h:1203:3: note: declared here 1203 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24, | ^~~~~~~~~~~~~~~~~ Curl.xs: In function 'XS_WWW__Curl__Form_formadd': Curl.xs:1018:9: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 1018 | curl_formadd(&(self->post),&(self->last), | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2595:1: note: declared here 2595 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ Curl.xs:1019:13: warning: 'CURLFORM_COPYNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 1019 | CURLFORM_COPYNAME,name, | ^~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2520:3: note: declared here 2520 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ Curl.xs:1020:13: warning: 'CURLFORM_COPYCONTENTS' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 1020 | CURLFORM_COPYCONTENTS,value, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2523:3: note: declared here 2523 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ Curl.xs: In function 'XS_WWW__Curl__Form_formaddfile': Curl.xs:1030:9: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 1030 | curl_formadd(&(self->post),&(self->last), | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2595:1: note: declared here 2595 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ Curl.xs:1031:13: warning: 'CURLFORM_FILE' is deprecated: since 7.56.0. Use curl_mime_filedata() [-Wdeprecated-declarations] 1031 | CURLFORM_FILE,filename, | ^~~~~~~~~~~~~ /usr/include/curl/curl.h:2529:3: note: declared here 2529 | CURLFORM_FILE CURL_DEPRECATED(7.56.0, "Use curl_mime_filedata()"), | ^~~~~~~~~~~~~ Curl.xs:1032:13: warning: 'CURLFORM_COPYNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 1032 | CURLFORM_COPYNAME,description, | ^~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2520:3: note: declared here 2520 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ Curl.xs:1033:13: warning: 'CURLFORM_CONTENTTYPE' is deprecated: since 7.56.0. Use curl_mime_type() [-Wdeprecated-declarations] 1033 | CURLFORM_CONTENTTYPE,type, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2535:3: note: declared here 2535 | CURLFORM_CONTENTTYPE CURL_DEPRECATED(7.56.0, "Use curl_mime_type()"), | ^~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:350: Curl.o] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Peui1x (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Peui1x (%build) I: [iurt_root_command] ERROR: chroot