D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/perl-WWW-Curl-4.170.0-18.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.3Dm0L0 + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf WWW-Curl-4.17 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/WWW-Curl-4.17.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd WWW-Curl-4.17 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/perl-WWW-Curl-fix-CURL_STRICTER-undeclared.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.tbpeVZ + umask 022 + cd /home/iurt/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 7.68.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.pm blib/lib/WWW/Curl.pm cp lib/WWW/Curl/Easy.pm blib/lib/WWW/Curl/Easy.pm cp lib/WWW/Curl/Multi.pm blib/lib/WWW/Curl/Multi.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 Running Mkbootstrap for Curl () chmod 644 "Curl.bs" "/usr/bin/perl5.30.1" "-Iinc" -MExtUtils::Command::MM -e 'cp_nonempty' -- Curl.bs blib/arch/auto/WWW/Curl/Curl.bs 644 "/usr/bin/perl5.30.1" "-Iinc" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/home/iurt/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -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:77:12: error: expected '{' before 'void' 77 | struct void *curlm; | ^~~~ Curl.xs:77:12: error: two or more data types in declaration specifiers Curl.xs: In function 'perl_curl_easy_new': Curl.xs:147:15: warning: assignment to 'struct CURL *' from incompatible pointer type 'CURL *' {aka 'struct Curl_easy *'} [-Wincompatible-pointer-types] 147 | self->curl=curl_easy_init(); | ^ Curl.xs: In function 'perl_curl_easy_duphandle': Curl.xs:155:40: warning: passing argument 1 of 'curl_easy_duphandle' from incompatible pointer type [-Wincompatible-pointer-types] 155 | self->curl=curl_easy_duphandle(orig->curl); | ~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:61:19: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 61 | CURL_EXTERN CURL *curl_easy_duphandle(CURL *curl); | ^~~~~~~~~~~~~~~~~~~ Curl.xs:155:15: warning: assignment to 'struct CURL *' from incompatible pointer type 'CURL *' {aka 'struct Curl_easy *'} [-Wincompatible-pointer-types] 155 | self->curl=curl_easy_duphandle(orig->curl); | ^ Curl.xs: In function 'perl_curl_easy_delete': Curl.xs:166:31: warning: passing argument 1 of 'curl_easy_cleanup' from incompatible pointer type [-Wincompatible-pointer-types] 166 | curl_easy_cleanup(self->curl); | ~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:31:42: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 31 | CURL_EXTERN void curl_easy_cleanup(CURL *curl); | ~~~~~~^~~~ In file included from Curl.xs:15: Curl.xs: In function 'perl_curl_multi_new': /usr/lib64/perl5/CORE/handy.h:2320:25: warning: division by zero [-Wdiv-by-zero] 2320 | MEM_SIZE_MAX/sizeof(t)) > MEM_SIZE_MAX/sizeof(t)) | ^ /usr/lib64/perl5/CORE/perl.h:3462:62: note: in definition of macro 'EXPECT' 3462 | # define EXPECT(expr,val) __builtin_expect(expr,val) | ^~~~ /usr/lib64/perl5/CORE/perl.h:3467:52: note: in expansion of macro 'cBOOL' 3467 | #define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE) | ^~~~~ /usr/lib64/perl5/CORE/handy.h:2323:9: note: in expansion of macro 'UNLIKELY' 2323 | (void)(UNLIKELY(_MEM_WRAP_WILL_WRAP(n,t)) \ | ^~~~~~~~ /usr/lib64/perl5/CORE/handy.h:2323:18: note: in expansion of macro '_MEM_WRAP_WILL_WRAP' 2323 | (void)(UNLIKELY(_MEM_WRAP_WILL_WRAP(n,t)) \ | ^~~~~~~~~~~~~~~~~~~ /usr/lib64/perl5/CORE/handy.h:2335:30: note: in expansion of macro 'MEM_WRAP_CHECK' 2335 | #define MEM_WRAP_CHECK_(n,t) MEM_WRAP_CHECK(n,t), | ^~~~~~~~~~~~~~ /usr/lib64/perl5/CORE/handy.h:2418:28: note: in expansion of macro 'MEM_WRAP_CHECK_' 2418 | #define Newxz(v,n,t) (v = (MEM_WRAP_CHECK_(n,t) (t*)MEM_LOG_ALLOC(n,t,safecalloc((n),sizeof(t))))) | ^~~~~~~~~~~~~~~ /usr/lib64/perl5/CORE/handy.h:2424:23: note: in expansion of macro 'Newxz' 2424 | #define Newz(x,v,n,t) Newxz(v,n,t) | ^~~~~ Curl.xs:237:5: note: in expansion of macro 'Newz' 237 | Newz(1, self, 1, perl_curl_multi); | ^~~~ /usr/lib64/perl5/CORE/handy.h:2320:51: warning: division by zero [-Wdiv-by-zero] 2320 | MEM_SIZE_MAX/sizeof(t)) > MEM_SIZE_MAX/sizeof(t)) | ^ /usr/lib64/perl5/CORE/perl.h:3462:62: note: in definition of macro 'EXPECT' 3462 | # define EXPECT(expr,val) __builtin_expect(expr,val) | ^~~~ /usr/lib64/perl5/CORE/perl.h:3467:52: note: in expansion of macro 'cBOOL' 3467 | #define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE) | ^~~~~ /usr/lib64/perl5/CORE/handy.h:2323:9: note: in expansion of macro 'UNLIKELY' 2323 | (void)(UNLIKELY(_MEM_WRAP_WILL_WRAP(n,t)) \ | ^~~~~~~~ /usr/lib64/perl5/CORE/handy.h:2323:18: note: in expansion of macro '_MEM_WRAP_WILL_WRAP' 2323 | (void)(UNLIKELY(_MEM_WRAP_WILL_WRAP(n,t)) \ | ^~~~~~~~~~~~~~~~~~~ /usr/lib64/perl5/CORE/handy.h:2335:30: note: in expansion of macro 'MEM_WRAP_CHECK' 2335 | #define MEM_WRAP_CHECK_(n,t) MEM_WRAP_CHECK(n,t), | ^~~~~~~~~~~~~~ /usr/lib64/perl5/CORE/handy.h:2418:28: note: in expansion of macro 'MEM_WRAP_CHECK_' 2418 | #define Newxz(v,n,t) (v = (MEM_WRAP_CHECK_(n,t) (t*)MEM_LOG_ALLOC(n,t,safecalloc((n),sizeof(t))))) | ^~~~~~~~~~~~~~~ /usr/lib64/perl5/CORE/handy.h:2424:23: note: in expansion of macro 'Newxz' 2424 | #define Newz(x,v,n,t) Newxz(v,n,t) | ^~~~~ Curl.xs:237:5: note: in expansion of macro 'Newz' 237 | Newz(1, self, 1, perl_curl_multi); | ^~~~ Curl.xs: In function 'perl_curl_share_new': Curl.xs:262:17: warning: assignment to 'struct CURLSH *' from incompatible pointer type 'CURLSH *' {aka 'struct Curl_share *'} [-Wincompatible-pointer-types] 262 | self->curlsh=curl_share_init(); | ^ Curl.xs: In function 'perl_curl_share_delete': Curl.xs:270:32: warning: passing argument 1 of 'curl_share_cleanup' from incompatible pointer type [-Wincompatible-pointer-types] 270 | curl_share_cleanup(self->curlsh); | ~~~~^~~~~~~~ | | | struct CURLSH * In file included from Curl.xs:18: /usr/include/curl/curl.h:2722:43: note: expected 'CURLSH *' {aka 'struct Curl_share *'} but argument is of type 'struct CURLSH *' 2722 | CURL_EXTERN CURLSHcode curl_share_cleanup(CURLSH *); | ^~~~~~~~ In file included from Curl.xs:575: curlopt-constants.c: In function 'constant': curlopt-constants.c:19:58: warning: 'return' with no value, in function returning non-void 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:141:42: warning: 'return' with no value, in function returning non-void 141 | if (strEQ(name, "STRICTER")) return CURL_STRICTER; | ^~~~~~ curlopt-constants.c:2:1: note: declared here 2 | constant(const char *name) | ^~~~~~~~ curlopt-constants.c:191:56: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073709551615' to '-1' [-Woverflow] 191 | if (strEQ(name, "ZERO_TERMINATED")) return CURL_ZERO_TERMINATED; | ^~~~~~~~~~~~~~~~~~~~ curlopt-constants.c:1714:40: warning: 'return' with no value, in function returning non-void 1714 | 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:2342:44: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073709551599' to '-17' [-Woverflow] 2342 | if (strEQ(name, "ANY")) return CURLAUTH_ANY; | ^~~~~~~~~~~~ curlopt-constants.c:2343:48: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073709551598' to '-18' [-Woverflow] 2343 | if (strEQ(name, "ANYSAFE")) return CURLAUTH_ANYSAFE; | ^~~~~~~~~~~~~~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs: In function 'XS_WWW__Curl__Easy_init': Curl.xs:628:30: warning: passing argument 1 of 'curl_easy_setopt' from incompatible pointer type [-Wincompatible-pointer-types] 628 | curl_easy_setopt(self->curl, CURLOPT_WRITEFUNCTION, write_callback_func); | ~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:29:45: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 29 | CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); | ~~~~~~^~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs:629:30: warning: passing argument 1 of 'curl_easy_setopt' from incompatible pointer type [-Wincompatible-pointer-types] 629 | curl_easy_setopt(self->curl, CURLOPT_READFUNCTION, read_callback_func); | ~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:29:45: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 29 | CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); | ~~~~~~^~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs:632:30: warning: passing argument 1 of 'curl_easy_setopt' from incompatible pointer type [-Wincompatible-pointer-types] 632 | curl_easy_setopt(self->curl, CURLOPT_FILE, self); | ~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:29:45: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 29 | CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); | ~~~~~~^~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs:633:30: warning: passing argument 1 of 'curl_easy_setopt' from incompatible pointer type [-Wincompatible-pointer-types] 633 | curl_easy_setopt(self->curl, CURLOPT_INFILE, self); | ~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:29:45: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 29 | CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); | ~~~~~~^~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs:636:30: warning: passing argument 1 of 'curl_easy_setopt' from incompatible pointer type [-Wincompatible-pointer-types] 636 | curl_easy_setopt(self->curl, CURLOPT_ERRORBUFFER, self->errbuf); | ~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:29:45: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 29 | CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); | ~~~~~~^~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs: In function 'XS_WWW__Curl__Easy_duphandle': Curl.xs:659:31: warning: passing argument 1 of 'curl_easy_setopt' from incompatible pointer type [-Wincompatible-pointer-types] 659 | curl_easy_setopt(clone->curl, CURLOPT_WRITEFUNCTION, write_callback_func); | ~~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:29:45: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 29 | CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); | ~~~~~~^~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs:660:31: warning: passing argument 1 of 'curl_easy_setopt' from incompatible pointer type [-Wincompatible-pointer-types] 660 | curl_easy_setopt(clone->curl, CURLOPT_READFUNCTION, read_callback_func); | ~~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:29:45: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 29 | CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); | ~~~~~~^~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs:662:25: warning: passing argument 1 of 'curl_easy_setopt' from incompatible pointer type [-Wincompatible-pointer-types] 662 | curl_easy_setopt(clone->curl, CURLOPT_HEADERFUNCTION, header_callback_func); | ~~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:29:45: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 29 | CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); | ~~~~~~^~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs:663:25: warning: passing argument 1 of 'curl_easy_setopt' from incompatible pointer type [-Wincompatible-pointer-types] 663 | curl_easy_setopt(clone->curl, CURLOPT_WRITEHEADER, clone); | ~~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:29:45: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 29 | CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); | ~~~~~~^~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs:667:25: warning: passing argument 1 of 'curl_easy_setopt' from incompatible pointer type [-Wincompatible-pointer-types] 667 | curl_easy_setopt(clone->curl, CURLOPT_PROGRESSFUNCTION, progress_callback_func); | ~~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:29:45: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 29 | CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); | ~~~~~~^~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs:668:25: warning: passing argument 1 of 'curl_easy_setopt' from incompatible pointer type [-Wincompatible-pointer-types] 668 | curl_easy_setopt(clone->curl, CURLOPT_PROGRESSDATA, clone); | ~~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:29:45: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 29 | CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); | ~~~~~~^~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs:672:25: warning: passing argument 1 of 'curl_easy_setopt' from incompatible pointer type [-Wincompatible-pointer-types] 672 | curl_easy_setopt(clone->curl, CURLOPT_DEBUGFUNCTION, debug_callback_func); | ~~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:29:45: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 29 | CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); | ~~~~~~^~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs:673:25: warning: passing argument 1 of 'curl_easy_setopt' from incompatible pointer type [-Wincompatible-pointer-types] 673 | curl_easy_setopt(clone->curl, CURLOPT_DEBUGDATA, clone); | ~~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:29:45: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 29 | CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); | ~~~~~~^~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs:677:31: warning: passing argument 1 of 'curl_easy_setopt' from incompatible pointer type [-Wincompatible-pointer-types] 677 | curl_easy_setopt(clone->curl, CURLOPT_FILE, clone); | ~~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:29:45: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 29 | CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); | ~~~~~~^~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs:678:31: warning: passing argument 1 of 'curl_easy_setopt' from incompatible pointer type [-Wincompatible-pointer-types] 678 | curl_easy_setopt(clone->curl, CURLOPT_INFILE, clone); | ~~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:29:45: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 29 | CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); | ~~~~~~^~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs:679:31: warning: passing argument 1 of 'curl_easy_setopt' from incompatible pointer type [-Wincompatible-pointer-types] 679 | curl_easy_setopt(clone->curl, CURLOPT_ERRORBUFFER, clone->errbuf); | ~~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:29:45: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 29 | CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); | ~~~~~~^~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs:689:26: warning: passing argument 1 of 'curl_easy_setopt' from incompatible pointer type [-Wincompatible-pointer-types] 689 | curl_easy_setopt(clone->curl, 10000 + i, clone->strings[i]); | ~~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:29:45: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 29 | CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); | ~~~~~~^~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs: In function 'XS_WWW__Curl__Easy_setopt': Curl.xs:718:24: warning: passing argument 1 of 'curl_easy_setopt' from incompatible pointer type [-Wincompatible-pointer-types] 718 | curl_easy_setopt(self->curl, CURLOPT_HEADERFUNCTION, SvOK(value) ? header_callback_func : NULL); | ~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:29:45: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 29 | CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); | ~~~~~~^~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs:719:31: warning: passing argument 1 of 'curl_easy_setopt' from incompatible pointer type [-Wincompatible-pointer-types] 719 | curl_easy_setopt(self->curl, option, SvOK(value) ? self : NULL); | ~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:29:45: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 29 | CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); | ~~~~~~^~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs:723:24: warning: passing argument 1 of 'curl_easy_setopt' from incompatible pointer type [-Wincompatible-pointer-types] 723 | curl_easy_setopt(self->curl, CURLOPT_PROGRESSFUNCTION, SvOK(value) ? progress_callback_func : NULL); | ~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:29:45: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 29 | CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); | ~~~~~~^~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs:724:31: warning: passing argument 1 of 'curl_easy_setopt' from incompatible pointer type [-Wincompatible-pointer-types] 724 | curl_easy_setopt(self->curl, option, SvOK(value) ? self : NULL); | ~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:29:45: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 29 | CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); | ~~~~~~^~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs:728:24: warning: passing argument 1 of 'curl_easy_setopt' from incompatible pointer type [-Wincompatible-pointer-types] 728 | curl_easy_setopt(self->curl, CURLOPT_DEBUGFUNCTION, SvOK(value) ? debug_callback_func : NULL); | ~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:29:45: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 29 | CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); | ~~~~~~^~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs:729:31: warning: passing argument 1 of 'curl_easy_setopt' from incompatible pointer type [-Wincompatible-pointer-types] 729 | curl_easy_setopt(self->curl, option, SvOK(value) ? self : NULL); | ~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:29:45: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 29 | CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); | ~~~~~~^~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs:739:24: warning: passing argument 1 of 'curl_easy_setopt' from incompatible pointer type [-Wincompatible-pointer-types] 739 | curl_easy_setopt(self->curl, option, SvOK(value) ? header_callback_func : NULL); | ~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:29:45: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 29 | CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); | ~~~~~~^~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs:740:24: warning: passing argument 1 of 'curl_easy_setopt' from incompatible pointer type [-Wincompatible-pointer-types] 740 | curl_easy_setopt(self->curl, CURLOPT_WRITEHEADER, SvOK(value) ? self : NULL); | ~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:29:45: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 29 | CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); | ~~~~~~^~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs:744:31: warning: passing argument 1 of 'curl_easy_setopt' from incompatible pointer type [-Wincompatible-pointer-types] 744 | curl_easy_setopt(self->curl, option, SvOK(value) ? progress_callback_func : NULL); | ~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:29:45: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 29 | CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); | ~~~~~~^~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs:745:24: warning: passing argument 1 of 'curl_easy_setopt' from incompatible pointer type [-Wincompatible-pointer-types] 745 | curl_easy_setopt(self->curl, CURLOPT_PROGRESSDATA, SvOK(value) ? self : NULL); | ~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:29:45: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 29 | CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); | ~~~~~~^~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs:749:24: warning: passing argument 1 of 'curl_easy_setopt' from incompatible pointer type [-Wincompatible-pointer-types] 749 | curl_easy_setopt(self->curl, option, SvOK(value) ? debug_callback_func : NULL); | ~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:29:45: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 29 | CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); | ~~~~~~^~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs:750:24: warning: passing argument 1 of 'curl_easy_setopt' from incompatible pointer type [-Wincompatible-pointer-types] 750 | curl_easy_setopt(self->curl, CURLOPT_DEBUGDATA, SvOK(value) ? self : NULL); | ~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:29:45: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 29 | CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); | ~~~~~~^~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs:786:47: warning: passing argument 1 of 'curl_easy_setopt' from incompatible pointer type [-Wincompatible-pointer-types] 786 | RETVAL = curl_easy_setopt(self->curl, option, *slist); | ~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:29:45: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 29 | CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); | ~~~~~~^~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs:802:47: warning: passing argument 1 of 'curl_easy_setopt' from incompatible pointer type [-Wincompatible-pointer-types] 802 | RETVAL = curl_easy_setopt(self->curl, option, IoOFP(sv_2io(value)) ); | ~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:29:45: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 29 | CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); | ~~~~~~^~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs:811:51: warning: passing argument 1 of 'curl_easy_setopt' from incompatible pointer type [-Wincompatible-pointer-types] 811 | RETVAL = curl_easy_setopt(self->curl, option, wrapper->post); | ~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:29:45: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 29 | CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); | ~~~~~~^~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs:823:37: warning: passing argument 1 of 'curl_easy_setopt' from incompatible pointer type [-Wincompatible-pointer-types] 823 | RETVAL = curl_easy_setopt(self->curl, option, wrapper->curlsh); | ~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:29:45: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 29 | CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); | ~~~~~~^~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs:831:51: warning: passing argument 1 of 'curl_easy_setopt' from incompatible pointer type [-Wincompatible-pointer-types] 831 | RETVAL = curl_easy_setopt(self->curl, option, (long)SvIV(value)); | ~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:29:45: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 29 | CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); | ~~~~~~^~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs:843:34: warning: passing argument 1 of 'curl_easy_setopt' from incompatible pointer type [-Wincompatible-pointer-types] 843 | RETVAL = curl_easy_setopt(self->curl, option, SvOK(value) ? pv : NULL); | ~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:29:45: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 29 | CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); | ~~~~~~^~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs:854:63: warning: passing argument 1 of 'curl_easy_setopt' from incompatible pointer type [-Wincompatible-pointer-types] 854 | RETVAL = curl_easy_setopt(self->curl, option, (curl_off_t) strtoll(pv,&pdummy,10)); | ~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:29:45: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 29 | CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); | ~~~~~~^~~~ Curl.xs: In function 'XS_WWW__Curl__Easy_perform': Curl.xs:882:40: warning: passing argument 1 of 'curl_easy_perform' from incompatible pointer type [-Wincompatible-pointer-types] 882 | RETVAL = curl_easy_perform(self->curl); | ~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:30:46: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 30 | CURL_EXTERN CURLcode curl_easy_perform(CURL *curl); | ~~~~~~^~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs: In function 'XS_WWW__Curl__Easy_getinfo': Curl.xs:903:39: warning: passing argument 1 of 'curl_easy_getinfo' from incompatible pointer type [-Wincompatible-pointer-types] 903 | curl_easy_getinfo(self->curl, option, &vchar); | ~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:46:46: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 46 | CURL_EXTERN CURLcode curl_easy_getinfo(CURL *curl, CURLINFO info, ...); | ~~~~~~^~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs:910:39: warning: passing argument 1 of 'curl_easy_getinfo' from incompatible pointer type [-Wincompatible-pointer-types] 910 | curl_easy_getinfo(self->curl, option, &vlong); | ~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:46:46: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 46 | CURL_EXTERN CURLcode curl_easy_getinfo(CURL *curl, CURLINFO info, ...); | ~~~~~~^~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs:917:39: warning: passing argument 1 of 'curl_easy_getinfo' from incompatible pointer type [-Wincompatible-pointer-types] 917 | curl_easy_getinfo(self->curl, option, &vdouble); | ~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:46:46: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 46 | CURL_EXTERN CURLcode curl_easy_getinfo(CURL *curl, CURLINFO info, ...); | ~~~~~~^~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs:926:39: warning: passing argument 1 of 'curl_easy_getinfo' from incompatible pointer type [-Wincompatible-pointer-types] 926 | curl_easy_getinfo(self->curl, option, &vlist); | ~~~~^~~~~~ | | | struct CURL * In file included from /usr/include/curl/curl.h:2876, from Curl.xs:18: /usr/include/curl/easy.h:46:46: note: expected 'CURL *' {aka 'struct Curl_easy *'} but argument is of type 'struct CURL *' 46 | CURL_EXTERN CURLcode curl_easy_getinfo(CURL *curl, CURLINFO info, ...); | ~~~~~~^~~~ Curl.xs: In function 'XS_WWW__Curl__Multi_info_read': Curl.xs:1092:45: error: 'perl_curl_multi' {aka 'struct '} has no member named 'curlm' 1092 | while ((msg = curl_multi_info_read(self->curlm, &queue))) { | ^~ Curl.xs:1102:32: error: 'perl_curl_multi' {aka 'struct '} has no member named 'curlm' 1102 | curl_multi_remove_handle(self->curlm, easy); | ^~ Curl.xs: In function 'XS_WWW__Curl__Multi_fdset': Curl.xs:1129:30: error: 'perl_curl_multi' {aka 'struct '} has no member named 'curlm' 1129 | curl_multi_fdset(self->curlm, &fdread, &fdwrite, &fdexcep, &maxfd); | ^~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs: In function 'XS_WWW__Curl__Share_setopt': Curl.xs:1252:52: warning: passing argument 1 of 'curl_share_setopt' from incompatible pointer type [-Wincompatible-pointer-types] 1252 | RETVAL = curl_share_setopt(self->curlsh, option, (long)SvIV(value)); | ~~~~^~~~~~~~ | | | struct CURLSH * In file included from Curl.xs:18: /usr/include/curl/curl.h:2721:42: note: expected 'CURLSH *' {aka 'struct Curl_share *'} but argument is of type 'struct CURLSH *' 2721 | CURL_EXTERN CURLSHcode curl_share_setopt(CURLSH *, CURLSHoption option, ...); | ^~~~~~~~ In file included from /usr/include/curl/curl.h:2884, from Curl.xs:18: Curl.xs:1257:52: warning: passing argument 1 of 'curl_share_setopt' from incompatible pointer type [-Wincompatible-pointer-types] 1257 | RETVAL = curl_share_setopt(self->curlsh, option, *pv ? pv : NULL); | ~~~~^~~~~~~~ | | | struct CURLSH * In file included from Curl.xs:18: /usr/include/curl/curl.h:2721:42: note: expected 'CURLSH *' {aka 'struct Curl_share *'} but argument is of type 'struct CURLSH *' 2721 | CURL_EXTERN CURLSHcode curl_share_setopt(CURLSH *, CURLSHoption option, ...); | ^~~~~~~~ make: *** [Makefile:347: Curl.o] Error 1 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.tbpeVZ (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.tbpeVZ (%build) I: [iurt_root_command] ERROR: chroot