D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/perl-WWW-Curl-4.170.0-28.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.iqJ1m2 sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.KXuGrJ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-WWW-Curl-4.170.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/perl-WWW-Curl-4.170.0-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 + /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/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/WWW-Curl-4.17-Adapt-to-changes-in-cURL-7.69.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-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 + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/WWW-Curl-4.17-add-back-CURLOPT_RESOLV-support.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-BRC2259537.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.XyP1u6 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-WWW-Curl-4.170.0-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + 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.13.0 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.pm blib/lib/WWW/Curl.pm cp lib/WWW/Curl/Share.pm blib/lib/WWW/Curl/Share.pm cp lib/WWW/Curl/Form.pm blib/lib/WWW/Curl/Form.pm cp lib/WWW/Curl/Multi.pm blib/lib/WWW/Curl/Multi.pm Running Mkbootstrap for Curl () chmod 644 "Curl.bs" "/usr/bin/perl5.40.1" "-Iinc" -MExtUtils::Command::MM -e 'cp_nonempty' -- Curl.bs blib/arch/auto/WWW/Curl/Curl.bs 644 "/usr/bin/perl5.40.1" "-Iinc" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/home/pterjan/rpmbuild/BUILD/perl-WWW-Curl-4.170.0-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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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:103:9: warning: 'CURLOPT_PROGRESSFUNCTION' is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Wdeprecated-declarations] 103 | case CURLOPT_PROGRESSFUNCTION: | ^~~~ In file included from Curl.xs:17: /usr/include/curl/curl.h:1337:3: note: declared here 1337 | CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 56, | ^~~~~~~~~~~~~~~~~ Curl.xs: In function 'perl_curl_form_delete': Curl.xs:223:9: warning: 'curl_formfree' is deprecated: since 7.56.0. Use curl_mime_free() [-Wdeprecated-declarations] 223 | curl_formfree(self->post); | ^~~~~~~~~~~~~ /usr/include/curl/curl.h:2670:1: note: declared here 2670 | curl_formfree(struct curl_httppost *form); | ^~~~~~~~~~~~~ In file included from Curl.xs:570: 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/curl/curl.h:2619:3: note: declared here 2619 | 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/curl/curl.h:2617:3: note: declared here 2617 | 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/curl/curl.h:2616:3: note: declared here 2616 | 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/curl/curl.h:2612:3: note: declared here 2612 | 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/curl/curl.h:2614:3: note: declared here 2614 | 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/curl/curl.h:2610:3: note: declared here 2610 | 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/curl/curl.h:2613:3: note: declared here 2613 | 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/curl/curl.h:2615:3: note: declared here 2615 | 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/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/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/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/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/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/curl/curl.h:1662:3: note: declared here 1662 | 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/curl/curl.h:1675:3: note: declared here 1675 | 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/curl/curl.h:1668:3: note: declared here 1668 | 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/curl/curl.h:1464:3: note: declared here 1464 | 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/curl/curl.h:1408:3: note: declared here 1408 | 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/curl/curl.h:1238:3: note: declared here 1238 | 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/curl/curl.h:1622:3: note: declared here 1622 | 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/curl/curl.h:1620:3: note: declared here 1620 | 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/curl/curl.h:1337:3: note: declared here 1337 | 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/curl/curl.h:1789:3: note: declared here 1789 | 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/curl/curl.h:1328:3: note: declared here 1328 | 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/curl/curl.h:1404:3: note: declared here 1404 | 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/curl/curl.h:1795:3: note: declared here 1795 | 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/curl/curl.h:1778:3: note: declared here 1778 | 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/curl/curl.h:1942:3: note: declared here 1942 | 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/curl/curl.h:2932:3: note: declared here 2932 | 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/curl/curl.h:2937:3: note: declared here 2937 | 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/curl/curl.h:2954:3: note: declared here 2954 | 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/curl/curl.h:2975:3: note: declared here 2975 | 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/curl/curl.h:2915:3: note: declared here 2915 | 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/curl/curl.h:2912:3: note: declared here 2912 | 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/curl/curl.h:2919:3: note: declared here 2919 | 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/curl/curl.h:2923:3: note: declared here 2923 | 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/curl/curl.h:2969:3: note: declared here 2969 | 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/curl/curl.h:2566:3: note: declared here 2566 | 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/curl/curl.h:2570:3: note: declared here 2570 | 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/curl/curl.h:2572:3: note: declared here 2572 | 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/curl/curl.h:2571:3: note: declared here 2571 | 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/curl/curl.h:2575:3: note: declared here 2575 | 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/curl/curl.h:2581:3: note: declared here 2581 | 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/curl/curl.h:2564:3: note: declared here 2564 | 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/curl/curl.h:2574:3: note: declared here 2574 | 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/curl/curl.h:2562:3: note: declared here 2562 | 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/curl/curl.h:2559:3: note: declared here 2559 | 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/curl/curl.h:2568:3: note: declared here 2568 | 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/curl/curl.h:2565:3: note: declared here 2565 | 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/curl/curl.h:2576:3: note: declared here 2576 | 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/curl/curl.h:2561:3: note: declared here 2561 | 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/curl/curl.h:2558:3: note: declared here 2558 | 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/curl/curl.h:2563:3: note: declared here 2563 | 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/curl/curl.h:2560:3: note: declared here 2560 | 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/curl/curl.h:2580:3: note: declared here 2580 | CURLFORM_STREAM CURL_DEPRECATED(7.56.0, "Use curl_mime_data_cb()"), | ^~~~~~~~~~~~~~~ curlopt-constants.c:2798:44: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073709551599' to '-17' [-Woverflow] 2798 | if (strEQ(name, "ANY")) return CURLAUTH_ANY; | ^~~~~~~~~~~~ curlopt-constants.c:2799:48: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073709551598' to '-18' [-Woverflow] 2799 | if (strEQ(name, "ANYSAFE")) return CURLAUTH_ANYSAFE; | ^~~~~~~~~~~~~~~~ Curl.xs: In function 'XS_WWW__Curl__Easy_duphandle': Curl.xs:661:9: warning: 'CURLOPT_PROGRESSFUNCTION' is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Wdeprecated-declarations] 661 | if (self->callback[callback_index(CURLOPT_PROGRESSFUNCTION)] || self->callback_ctx[callback_index(CURLOPT_PROGRESSDATA)]) { | ^~ /usr/include/curl/curl.h:1337:3: note: declared here 1337 | CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 56, | ^~~~~~~~~~~~~~~~~ Curl.xs:662:17: warning: 'CURLOPT_PROGRESSFUNCTION' is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Wdeprecated-declarations] 662 | curl_easy_setopt(clone->curl, CURLOPT_PROGRESSFUNCTION, progress_callback_func); | ^~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:1337:3: note: declared here 1337 | CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 56, | ^~~~~~~~~~~~~~~~~ Curl.xs: In function 'XS_WWW__Curl__Easy_setopt': Curl.xs:718:17: warning: 'CURLOPT_PROGRESSFUNCTION' is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Wdeprecated-declarations] 718 | curl_easy_setopt(self->curl, CURLOPT_PROGRESSFUNCTION, SvOK(value) ? progress_callback_func : NULL); | ^~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:1337:3: note: declared here 1337 | CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 56, | ^~~~~~~~~~~~~~~~~ Curl.xs:738:13: warning: 'CURLOPT_PROGRESSFUNCTION' is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Wdeprecated-declarations] 738 | case CURLOPT_PROGRESSFUNCTION: | ^~~~ /usr/include/curl/curl.h:1337:3: note: declared here 1337 | CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 56, | ^~~~~~~~~~~~~~~~~ Curl.xs:799:13: warning: 'CURLOPT_HTTPPOST' is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations] 799 | case CURLOPT_HTTPPOST: | ^~~~ /usr/include/curl/curl.h:1238:3: note: declared here 1238 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24, | ^~~~~~~~~~~~~~~~~ Curl.xs: In function 'XS_WWW__Curl__Form_formadd': Curl.xs:1012:9: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 1012 | curl_formadd(&(self->post),&(self->last), | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2634:1: note: declared here 2634 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ Curl.xs:1013:13: warning: 'CURLFORM_COPYNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 1013 | CURLFORM_COPYNAME,name, | ^~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2559:3: note: declared here 2559 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ Curl.xs:1014:13: warning: 'CURLFORM_COPYCONTENTS' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 1014 | CURLFORM_COPYCONTENTS,value, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2562:3: note: declared here 2562 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ Curl.xs: In function 'XS_WWW__Curl__Form_formaddfile': Curl.xs:1024:9: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 1024 | curl_formadd(&(self->post),&(self->last), | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2634:1: note: declared here 2634 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ Curl.xs:1025:13: warning: 'CURLFORM_FILE' is deprecated: since 7.56.0. Use curl_mime_filedata() [-Wdeprecated-declarations] 1025 | CURLFORM_FILE,filename, | ^~~~~~~~~~~~~ /usr/include/curl/curl.h:2568:3: note: declared here 2568 | CURLFORM_FILE CURL_DEPRECATED(7.56.0, "Use curl_mime_filedata()"), | ^~~~~~~~~~~~~ Curl.xs:1026:13: warning: 'CURLFORM_COPYNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 1026 | CURLFORM_COPYNAME,description, | ^~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2559:3: note: declared here 2559 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ Curl.xs:1027:13: warning: 'CURLFORM_CONTENTTYPE' is deprecated: since 7.56.0. Use curl_mime_type() [-Wdeprecated-declarations] 1027 | CURLFORM_CONTENTTYPE,type, | ^~~~~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2574:3: note: declared here 2574 | 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.XyP1u6 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.XyP1u6 (%build) I: [iurt_root_command] ERROR: chroot