Mock Version: 6.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/perl-WWW-Curl.spec'], chrootPath='/var/lib/mock/fedorarebuild-x86_64-c1zCbX26xK/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=11527gid=900user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.03rk31_j:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.03rk31_j:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '9659e29e20c24665a6f90a07e6e9299f', '-D', '/var/lib/mock/fedorarebuild-x86_64-c1zCbX26xK/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.03rk31_j:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/perl-WWW-Curl.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1744329600 Wrote: /builddir/build/SRPMS/perl-WWW-Curl-4.17-42.fc43.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/perl-WWW-Curl.spec'], chrootPath='/var/lib/mock/fedorarebuild-x86_64-c1zCbX26xK/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=11527gid=900user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.03rk31_j:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.03rk31_j:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1be1c72d41734c2abcc8b21c8ccc7a7b', '-D', '/var/lib/mock/fedorarebuild-x86_64-c1zCbX26xK/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.03rk31_j:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/perl-WWW-Curl.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1744329600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.pqj8Nz Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.3D2It1 + umask 022 + cd /builddir/build/BUILD/perl-WWW-Curl-4.17-build + cd /builddir/build/BUILD/perl-WWW-Curl-4.17-build + rm -rf WWW-Curl-4.17 + /usr/lib/rpm/rpmuncompress -x /builddir/build/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 /builddir/build/SOURCES/WWW-Curl-4.17-Skip-preprocessor-symbol-only-CURL_STRICTER.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/WWW-Curl-4.17-define-CURL-as-void.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/WWW-Curl-4.17-Adapt-to-changes-in-cURL-7.69.0.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/WWW-Curl-4.17-Adapt-to-curl-7.87.0.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/WWW-Curl-4.17-Work-around-a-macro-bug-in-curl-7.87.0.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/WWW-Curl-4.17-add-back-CURLOPT_RESOLV-support.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/WWW-Curl-4.17-BRC2259537.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f + rm -rf inc + sed -i -e '/^inc\//d' MANIFEST + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WM6axk + umask 022 + cd /builddir/build/BUILD/perl-WWW-Curl-4.17-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + 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 + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor 'OPTIMIZE=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' NO_PACKLIST=1 NO_PERLLOCAL=1 include /builddir/build/BUILD/perl-WWW-Curl-4.17-build/WWW-Curl-4.17/inc/Module/Install.pm include inc/Module/Install/Metadata.pm include inc/Module/Install/Base.pm include inc/Module/Install/External.pm include inc/Module/Install/Can.pm Locating 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 include inc/Module/Install/MakeMaker.pm include inc/Module/Install/Makefile.pm Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for WWW::Curl Writing MYMETA.yml and MYMETA.json Writing META.yml + /usr/bin/make -O -j4 V=1 VERBOSE=1 Running Mkbootstrap for Curl () chmod 644 "Curl.bs" "/usr/bin/perl" "-Iinc" -MExtUtils::Command::MM -e 'cp_nonempty' -- Curl.bs blib/arch/auto/WWW/Curl/Curl.bs 644 cp lib/WWW/Curl/Share.pm blib/lib/WWW/Curl/Share.pm cp lib/WWW/Curl.pm blib/lib/WWW/Curl.pm cp lib/WWW/Curl/Form.pm blib/lib/WWW/Curl/Form.pm cp lib/WWW/Curl/Multi.pm blib/lib/WWW/Curl/Multi.pm cp lib/WWW/Curl/Easy.pm blib/lib/WWW/Curl/Easy.pm "/usr/bin/perl" "-Iinc" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/builddir/build/BUILD/perl-WWW-Curl-4.17-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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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); | ^~~~~~~~~~~~~ Curl.xs: In function ‘fwrite_wrapper2’: Curl.xs:359:13: warning: unused variable ‘sv’ [-Wunused-variable] 359 | SV *sv; | ^~ 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; | ^~~~~~~~~~~~~~~~ In file included from Curl.xs:15: Curl.c: In function ‘XS_WWW__Curl__Easy_init’: /usr/lib64/perl5/CORE/XSUB.h:197:20: warning: unused variable ‘ix’ [-Wunused-variable] 197 | #define dXSI32 I32 ix = XSANY.any_i32 | ^~ Curl.c:774:5: note: in expansion of macro ‘dXSI32’ 774 | dXSI32; | ^~~~~~ 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.c: In function ‘XS_WWW__Curl__Easy_internal_setopt’: Curl.c:1128:17: warning: unused variable ‘value’ [-Wunused-variable] 1128 | int value = (int)SvIV(ST(2)) | ^~~~~ Curl.c:1126:17: warning: unused variable ‘option’ [-Wunused-variable] 1126 | int option = (int)SvIV(ST(1)) | ^~~~~~ Curl.c:1125:25: warning: variable ‘self’ set but not used [-Wunused-but-set-variable] 1125 | WWW__Curl__Easy self; | ^~~~ Curl.c: In function ‘XS_WWW__Curl__Easy_cleanup’: Curl.c:1322:25: warning: variable ‘self’ set but not used [-Wunused-but-set-variable] 1322 | WWW__Curl__Easy self; | ^~~~ Curl.c: In function ‘XS_WWW__Curl__Easy_strerror’: Curl.c:1383:25: warning: variable ‘self’ set but not used [-Wunused-but-set-variable] 1383 | WWW__Curl__Easy self; | ^~~~ 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()"), | ^~~~~~~~~~~~~~~~~~~~ Curl.c: In function ‘XS_WWW__Curl__Multi_add_handle’: Curl.c:1615:25: warning: variable ‘curl’ set but not used [-Wunused-but-set-variable] 1615 | WWW__Curl__Easy curl; | ^~~~ Curl.c:1614:33: warning: variable ‘curlm’ set but not used [-Wunused-but-set-variable] 1614 | WWW__Curl__Multi curlm; | ^~~~~ Curl.c: In function ‘XS_WWW__Curl__Multi_remove_handle’: Curl.c:1662:25: warning: variable ‘curl’ set but not used [-Wunused-but-set-variable] 1662 | WWW__Curl__Easy curl; | ^~~~ Curl.c:1661:33: warning: variable ‘curlm’ set but not used [-Wunused-but-set-variable] 1661 | WWW__Curl__Multi curlm; | ^~~~~ Curl.c: In function ‘XS_WWW__Curl__Multi_fdset’: Curl.c:1776:17: warning: unused variable ‘RETVAL’ [-Wunused-variable] 1776 | SV * RETVAL; | ^~~~~~ Curl.xs: In function ‘XS_WWW__Curl__Multi_perform’: Curl.xs:1144:13: warning: unused variable ‘remaining’ [-Wunused-variable] 1144 | int remaining; | ^~~~~~~~~ Curl.c:1830:33: warning: variable ‘self’ set but not used [-Wunused-but-set-variable] 1830 | WWW__Curl__Multi self; | ^~~~ Curl.c: In function ‘XS_WWW__Curl__Multi_strerror’: Curl.c:1920:33: warning: variable ‘self’ set but not used [-Wunused-but-set-variable] 1920 | WWW__Curl__Multi self; | ^~~~ Curl.c: In function ‘XS_WWW__Curl__Share_strerror’: Curl.c:2097:33: warning: variable ‘self’ set but not used [-Wunused-but-set-variable] 2097 | WWW__Curl__Share self; | ^~~~ make: *** [Makefile:355: Curl.o] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.WM6axk (%build) Bad exit status from /var/tmp/rpm-tmp.WM6axk (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 1be1c72d41734c2abcc8b21c8ccc7a7b -D /var/lib/mock/fedorarebuild-x86_64-c1zCbX26xK/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.03rk31_j:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/perl-WWW-Curl.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 1be1c72d41734c2abcc8b21c8ccc7a7b -D /var/lib/mock/fedorarebuild-x86_64-c1zCbX26xK/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.03rk31_j:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/perl-WWW-Curl.spec'