Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rubygem-curb.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-78450-53035/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rubygem-curb.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'} and shell False warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/rubygem-curb-1.0.1-1.oc9.src.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/rubygem-curb.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-78450-53035/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/rubygem-curb.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'} and shell False warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZdznJ9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf curb-1.0.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/curb-1.0.1.gem Unpacked gem: '/builddir/build/BUILD/curb-1.0.1' + STATUS=0 + '[' 0 -ne 0 ']' + cd curb-1.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (curb-disable-network-lookup-test.patch): + echo 'Patch #0 (curb-disable-network-lookup-test.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file tests/tc_curl_easy.rb Hunk #1 succeeded at 1069 (offset 121 lines). + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.wsCz1Q + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd curb-1.0.1 + gem build ../curb-1.0.1.gemspec Successfully built RubyGem Name: curb Version: 1.0.1 File: curb-1.0.1.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection'\'' --with-cxxflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection'\'' --with-ldflags='\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1'\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc curb-1.0.1.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/curb-1.0.1 Bin dir: /builddir/build/BUILD/curb-1.0.1/usr/bin Gem home: /builddir/build/BUILD/curb-1.0.1/usr/share/gems Plugins dir: /builddir/build/BUILD/curb-1.0.1/usr/share/gems/plugins /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/LICENSE /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/README.markdown /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/Rakefile /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/doc.rb /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/ext/banned.h /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/ext/curb.c /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/ext/curb.h /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/ext/curb_easy.c /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/ext/curb_easy.h /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/ext/curb_errors.c /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/ext/curb_errors.h /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/ext/curb_macros.h /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/ext/curb_multi.c /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/ext/curb_multi.h /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/ext/curb_postfield.c /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/ext/curb_postfield.h /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/ext/curb_upload.c /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/ext/curb_upload.h /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/ext/extconf.rb /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/lib/curb.rb /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/lib/curl.rb /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/lib/curl/easy.rb /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/lib/curl/multi.rb /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/tests/alltests.rb /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/tests/bug_crash_on_debug.rb /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/tests/bug_crash_on_progress.rb /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/tests/bug_curb_easy_blocks_ruby_threads.rb /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/tests/bug_curb_easy_post_with_string_no_content_length_header.rb /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/tests/bug_instance_post_differs_from_class_post.rb /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/tests/bug_issue102.rb /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/tests/bug_issue277.rb /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/tests/bug_multi_segfault.rb /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/tests/bug_postfields_crash.rb /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/tests/bug_postfields_crash2.rb /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/tests/bug_require_last_or_segfault.rb /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/tests/bugtests.rb /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/tests/helper.rb /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/tests/mem_check.rb /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/tests/require_last_or_segfault_script.rb /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/tests/signals.rb /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/tests/tc_curl.rb /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/tests/tc_curl_download.rb /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/tests/tc_curl_easy.rb /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/tests/tc_curl_easy_resolve.rb /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/tests/tc_curl_easy_setopt.rb /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/tests/tc_curl_maxfilesize.rb /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/tests/tc_curl_multi.rb /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/tests/tc_curl_postfield.rb /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/tests/tc_curl_protocols.rb /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/tests/timeout.rb /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/tests/timeout_server.rb /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/tests/unittests.rb Building native extensions. This could take a while... current directory: /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/ext ["/usr/bin/ruby", "-I/usr/share/rubygems", "extconf.rb"] checking for curl-config... yes checking for curlopt_tcp_keepalive... yes checking for curlopt_tcp_keepidle... yes checking for curlopt_tcp_keepintvl... yes checking for curlinfo_appconnect_time... yes checking for curlinfo_redirect_time... yes checking for curlinfo_response_code... yes checking for curlinfo_filetime... yes checking for curlinfo_redirect_count... yes checking for curlinfo_os_errno... yes checking for curlinfo_num_connects... yes checking for curlinfo_cookielist... yes checking for curlinfo_ftp_entry_path... yes checking for curl_version_ssl... yes checking for curl_version_libz... yes checking for curl_version_ntlm... yes checking for curl_version_gssnegotiate... yes checking for curl_version_debug... yes checking for curl_version_asynchdns... yes checking for curl_version_spnego... yes checking for curl_version_largefile... yes checking for curl_version_idn... yes checking for curl_version_sspi... yes checking for curl_version_conv... yes checking for curl_version_http2... yes checking for curlproxy_http... yes checking for curlproxy_socks4... yes checking for curlproxy_socks4a... yes checking for curlproxy_socks5... yes checking for curlproxy_socks5_hostname... yes checking for curlauth_basic... yes checking for curlauth_digest... yes checking for curlauth_gssnegotiate... yes checking for curlauth_ntlm... yes checking for curlauth_anysafe... yes checking for curlauth_any... yes checking for curle_tftp_notfound... yes checking for curle_tftp_perm... yes checking for curle_tftp_diskfull... yes checking for curle_tftp_illegal... yes checking for curle_tftp_unknownid... yes checking for curle_tftp_exists... yes checking for curle_tftp_nosuchuser... yes checking for curle_send_fail_rewind... yes checking for curle_ssl_engine_initfailed... yes checking for curle_login_denied... yes checking for curlopt_nosignal... yes checking for curlmopt_pipelining... yes checking for curlmopt_maxconnects... yes checking for curlopt_seekfunction... yes checking for curlopt_seekdata... yes checking for curlopt_sockoptfunction... yes checking for curlopt_sockoptdata... yes checking for curlopt_opensocketfunction... yes checking for curlopt_opensocketdata... yes checking for curle_conv_failed... yes checking for curle_conv_reqd... yes checking for curle_ssl_cacert_badfile... yes checking for curle_remote_file_not_found... yes checking for curle_ssh... yes checking for curle_ssl_shutdown_failed... yes checking for curle_again... yes checking for curle_ssl_crl_badfile... yes checking for curle_ssl_issuer_error... yes checking for curlinfo_redirect_url... yes checking for curlopt_username... yes checking for curlopt_password... yes checking for curlinfo_primary_ip... yes checking for curlauth_digest_ie... yes checking for curlftpmethod_multicwd... yes checking for curlftpmethod_nocwd... yes checking for curlftpmethod_singlecwd... yes checking for curlm_bad_socket... yes checking for curlm_unknown_option... yes checking for curl_multi_timeout()... yes checking for curl_multi_fdset()... yes checking for curl_multi_perform()... yes checking for curlopt_haproxyprotocol... yes checking for curlopt_interleavefunction... yes checking for curlopt_interleavedata... yes checking for curlopt_chunk_bgn_function... yes checking for curlopt_chunk_end_function... yes checking for curlopt_chunk_data... yes checking for curlopt_fnmatch_function... yes checking for curlopt_fnmatch_data... yes checking for curlopt_errorbuffer... yes checking for curlopt_stderr... yes checking for curlopt_failonerror... yes checking for curlopt_url... yes checking for curlopt_protocols... yes checking for curlopt_redir_protocols... yes checking for curlopt_proxy... yes checking for curlopt_proxyport... yes checking for curlopt_proxytype... yes checking for curlopt_noproxy... yes checking for curlopt_httpproxytunnel... yes checking for curlopt_socks5_gssapi_service... yes checking for curlopt_socks5_gssapi_nec... yes checking for curlopt_interface... yes checking for curlopt_localport... yes checking for curlopt_dns_cache_timeout... yes checking for curlopt_dns_use_global_cache... yes checking for curlopt_buffersize... yes checking for curlopt_port... yes checking for curlopt_tcp_nodelay... yes checking for curlopt_address_scope... yes checking for curlopt_netrc... yes checking for curl_netrc_optional... yes checking for curl_netrc_ignored... yes checking for curl_netrc_required... yes checking for curlopt_netrc_file... yes checking for curlopt_userpwd... yes checking for curlopt_proxyuserpwd... yes checking for curlopt_username... yes checking for curlopt_password... yes checking for curlopt_password... yes checking for curlopt_password... yes checking for curlopt_httpauth... yes checking for curlauth_digest_ie... yes checking for curlauth_only... yes checking for curlopt_tlsauth_type... yes checking for curlopt_tlsauth_srp... no checking for curlopt_tlsauth_username... yes checking for curlopt_tlsauth_password... yes checking for curlopt_proxyauth... yes checking for curlopt_autoreferer... yes checking for curlopt_encoding... yes checking for curlopt_followlocation... yes checking for curlopt_unrestricted_auth... yes checking for curlopt_maxredirs... yes checking for curlopt_postredir... yes checking for curlopt_put... yes checking for curlopt_post... yes checking for curlopt_postfields... yes checking for curlopt_postfieldsize... yes checking for curlopt_postfieldsize_large... yes checking for curlopt_copypostfields... yes checking for curlopt_httppost... yes checking for curlopt_referer... yes checking for curlopt_useragent... yes checking for curlopt_httpheader... yes checking for curlopt_proxyheader... yes checking for curlopt_http200aliases... yes checking for curlopt_cookie... yes checking for curlopt_cookiefile... yes checking for curlopt_cookiejar... yes checking for curlopt_cookiesession... yes checking for curlopt_cookielist... yes checking for curlopt_httpget... yes checking for curlopt_http_version... yes checking for curl_http_version_none... yes checking for curl_http_version_1_0... yes checking for curl_http_version_1_1... yes checking for curlopt_ignore_content_length... yes checking for curlopt_http_content_decoding... yes checking for curlopt_http_transfer_decoding... yes checking for curlopt_mail_from... yes checking for curlopt_mail_rcpt... yes checking for curlopt_tftp_blksize... yes checking for curlopt_ftpport... yes checking for curlopt_quote... yes checking for curlopt_postquote... yes checking for curlopt_prequote... yes checking for curlopt_dirlistonly... yes checking for curlopt_append... yes checking for curlopt_ftp_use_eprt... yes checking for curlopt_ftp_use_epsv... yes checking for curlopt_ftp_use_pret... yes checking for curlopt_ftp_create_missing_dirs... yes checking for curlopt_ftp_response_timeout... yes checking for curlopt_ftp_alternative_to_user... yes checking for curlopt_ftp_skip_pasv_ip... yes checking for curlopt_ftpsslauth... yes checking for curlftpauth_default... yes checking for curlftpauth_ssl... yes checking for curlftpauth_tls... yes checking for curlopt_ftp_ssl_ccc... yes checking for curlftpssl_ccc_none... yes checking for curlftpssl_ccc_passive... yes checking for curlftpssl_ccc_active... yes checking for curlopt_ftp_account... yes checking for curlopt_ftp_filemethod... yes checking for curlftpmethod_multicwd... yes checking for curlftpmethod_nocwd... yes checking for curlftpmethod_singlecwd... yes checking for curlopt_rtsp_request... yes checking for curl_rtspreq_options... yes checking for curl_rtspreq_describe... yes checking for curl_rtspreq_announce... yes checking for curl_rtspreq_setup... yes checking for curl_rtspreq_play... yes checking for curl_rtspreq_pause... yes checking for curl_rtspreq_teardown... yes checking for curl_rtspreq_get_parameter... yes checking for curl_rtspreq_set_parameter... yes checking for curl_rtspreq_record... yes checking for curl_rtspreq_receive... yes checking for curlopt_rtsp_session_id... yes checking for curlopt_rtsp_stream_uri... yes checking for curlopt_rtsp_transport... yes checking for curlopt_rtsp_header... no checking for curlopt_rtsp_client_cseq... yes checking for curlopt_rtsp_server_cseq... yes checking for curlopt_transfertext... yes checking for curlopt_proxy_transfer_mode... yes checking for curlopt_crlf... yes checking for curlopt_range... yes checking for curlopt_resume_from... yes checking for curlopt_resume_from_large... yes checking for curlopt_customrequest... yes checking for curlopt_filetime... yes checking for curlopt_nobody... yes checking for curlopt_infilesize... yes checking for curlopt_infilesize_large... yes checking for curlopt_upload... yes checking for curlopt_maxfilesize... yes checking for curlopt_maxfilesize_large... yes checking for curlopt_timecondition... yes checking for curlopt_timevalue... yes checking for curlopt_timeout... yes checking for curlopt_timeout_ms... yes checking for curlopt_low_speed_limit... yes checking for curlopt_low_speed_time... yes checking for curlopt_max_send_speed_large... yes checking for curlopt_max_recv_speed_large... yes checking for curlopt_maxconnects... yes checking for curlopt_closepolicy... yes checking for curlopt_fresh_connect... yes checking for curlopt_forbid_reuse... yes checking for curlopt_connecttimeout... yes checking for curlopt_connecttimeout_ms... yes checking for curlopt_ipresolve... yes checking for curl_ipresolve_whatever... yes checking for curl_ipresolve_v4... yes checking for curl_ipresolve_v6... yes checking for curlopt_connect_only... yes checking for curlopt_use_ssl... yes checking for curlusessl_none... yes checking for curlusessl_try... yes checking for curlusessl_control... yes checking for curlusessl_all... yes checking for curlopt_resolve... yes checking for curlopt_sslcert... yes checking for curlopt_sslcerttype... yes checking for curlopt_sslkey... yes checking for curlopt_sslkeytype... yes checking for curlopt_keypasswd... yes checking for curlopt_sslengine... yes checking for curlopt_sslengine_default... yes checking for curlopt_sslversion... yes checking for curl_sslversion_default... yes checking for CURL_SSLVERSION_TLSv1... yes checking for CURL_SSLVERSION_SSLv2... yes checking for CURL_SSLVERSION_SSLv3... yes checking for CURL_SSLVERSION_TLSv1_0... yes checking for CURL_SSLVERSION_TLSv1_1... yes checking for CURL_SSLVERSION_TLSv1_2... yes checking for CURL_SSLVERSION_TLSv1_3... yes checking for curlopt_ssl_verifypeer... yes checking for curlopt_cainfo... yes checking for curlopt_issuercert... yes checking for curlopt_capath... yes checking for curlopt_crlfile... yes checking for curlopt_ssl_verifyhost... yes checking for curlopt_certinfo... yes checking for curlopt_random_file... yes checking for curlopt_egdsocket... yes checking for curlopt_ssl_cipher_list... yes checking for curlopt_ssl_sessionid_cache... yes checking for curlopt_krblevel... yes checking for curlopt_ssh_auth_types... yes checking for curlopt_ssh_host_public_key_md5... yes checking for curlopt_ssh_public_keyfile... yes checking for curlopt_ssh_private_keyfile... yes checking for curlopt_ssh_knownhosts... yes checking for curlopt_ssh_keyfunction... yes checking for curlkhstat_fine_add_to_file... yes checking for curlkhstat_fine... yes checking for curlkhstat_reject... yes checking for curlkhstat_defer... yes checking for curlopt_ssh_keydata... yes checking for curlopt_private... yes checking for curlopt_share... yes checking for curlopt_new_file_perms... yes checking for curlopt_new_directory_perms... yes checking for curlopt_telnetoptions... yes checking for curle_not_built_in... yes checking for curle_obsolete... yes checking for curle_ftp_pret_failed... yes checking for curle_rtsp_cseq_error... yes checking for curle_rtsp_session_error... yes checking for curle_ftp_bad_file_list... yes checking for curle_chunk_failed... yes checking for curle_no_connection_available... yes checking for curle_ssl_pinnedpubkeynotmatch... yes checking for curle_ssl_invalidcertstatus... yes checking for curle_http2_stream... yes checking for curlopt_gssapi_delegation... yes checking for curlgssapi_delegation_policy_flag... yes checking for curlgssapi_delegation_flag... yes checking for CURLM_ADDED_ALREADY... yes checking for curlopt_unix_socket_path... yes checking for curlopt_path_as_is... yes checking for curlopt_pipewait... yes checking for curlproto_all... yes checking for curlproto_dict... yes checking for curlproto_file... yes checking for curlproto_ftp... yes checking for curlproto_ftps... yes checking for curlproto_gopher... yes checking for curlproto_http... yes checking for curlproto_https... yes checking for curlproto_imap... yes checking for curlproto_imaps... yes checking for curlproto_ldap... yes checking for curlproto_ldaps... yes checking for curlproto_pop3... yes checking for curlproto_pop3s... yes checking for curlproto_rtmp... yes checking for curlproto_rtmpe... yes checking for curlproto_rtmps... yes checking for curlproto_rtmpt... yes checking for curlproto_rtmpte... yes checking for curlproto_rtmpts... yes checking for curlproto_rtsp... yes checking for curlproto_scp... yes checking for curlproto_sftp... yes checking for curlproto_smb... yes checking for curlproto_smbs... yes checking for curlproto_smtp... yes checking for curlproto_smtps... yes checking for curlproto_telnet... yes checking for curlproto_tftp... yes checking for curl_easy_escape... yes checking for rb_thread_blocking_region()... no checking for ruby/thread.h... yes checking for rb_thread_call_without_gvl() in ruby/thread.h... yes checking for ruby/io.h... yes checking for rb_io_stdio_file()... yes creating curb_config.h creating Makefile current directory: /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/ext ["make", "DESTDIR=", "sitearchdir=./.gem.20240603-3936047-dombwp", "sitelibdir=./.gem.20240603-3936047-dombwp", "clean"] rm -f rm -fr curb_core.so false curb.o curb_easy.o curb_errors.o curb_multi.o curb_postfield.o curb_upload.o *.bak mkmf.log .*.time current directory: /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/ext ["make", "DESTDIR=", "sitearchdir=./.gem.20240603-3936047-dombwp", "sitelibdir=./.gem.20240603-3936047-dombwp"] gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DRUBY_EXTCONF_H=\"curb_config.h\" -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -o curb.o -c curb.c curb.c: In function 'Init_curb_core': curb.c:434:3: warning: 'CURLOPT_IOCTLFUNCTION' is deprecated: since 7.18.0. Use CURLOPT_SEEKFUNCTION [-Wdeprecated-declarations] 434 | CURB_DEFINE(CURLOPT_IOCTLFUNCTION); | ^~~~~~~~~~~ In file included from curb.h:19, from curb.c:8: /usr/include/curl/curl.h:1584:3: note: declared here 1584 | CURLOPTDEPRECATED(CURLOPT_IOCTLFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 130, | ^~~~~~~~~~~~~~~~~ curb.c:435:3: warning: 'CURLOPT_IOCTLDATA' is deprecated: since 7.18.0. Use CURLOPT_SEEKDATA [-Wdeprecated-declarations] 435 | CURB_DEFINE(CURLOPT_IOCTLDATA); | ^~~~~~~~~~~ /usr/include/curl/curl.h:1586:3: note: declared here 1586 | CURLOPTDEPRECATED(CURLOPT_IOCTLDATA, CURLOPTTYPE_CBPOINT, 131, | ^~~~~~~~~~~~~~~~~ curb.c:454:3: warning: 'CURLOPT_PROGRESSFUNCTION' is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Wdeprecated-declarations] 454 | CURB_DEFINE(CURLOPT_PROGRESSFUNCTION); | ^~~~~~~~~~~ /usr/include/curl/curl.h:1299:3: note: declared here 1299 | CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 56, | ^~~~~~~~~~~~~~~~~ curb.c:462:3: warning: 'CURLOPT_CONV_TO_NETWORK_FUNCTION' is deprecated: since 7.82.0. Serves no purpose anymore [-Wdeprecated-declarations] 462 | CURB_DEFINE(CURLOPT_CONV_TO_NETWORK_FUNCTION); | ^~~~~~~~~~~ /usr/include/curl/curl.h:1632:3: note: declared here 1632 | CURLOPTDEPRECATED(CURLOPT_CONV_TO_NETWORK_FUNCTION, | ^~~~~~~~~~~~~~~~~ curb.c:463:3: warning: 'CURLOPT_CONV_FROM_NETWORK_FUNCTION' is deprecated: since 7.82.0. Serves no purpose anymore [-Wdeprecated-declarations] 463 | CURB_DEFINE(CURLOPT_CONV_FROM_NETWORK_FUNCTION); | ^~~~~~~~~~~ /usr/include/curl/curl.h:1626:3: note: declared here 1626 | CURLOPTDEPRECATED(CURLOPT_CONV_FROM_NETWORK_FUNCTION, | ^~~~~~~~~~~~~~~~~ curb.c:464:3: warning: 'CURLOPT_CONV_FROM_UTF8_FUNCTION' is deprecated: since 7.82.0. Serves no purpose anymore [-Wdeprecated-declarations] 464 | CURB_DEFINE(CURLOPT_CONV_FROM_UTF8_FUNCTION); | ^~~~~~~~~~~ /usr/include/curl/curl.h:1639:3: note: declared here 1639 | CURLOPTDEPRECATED(CURLOPT_CONV_FROM_UTF8_FUNCTION, | ^~~~~~~~~~~~~~~~~ curb.c:498:3: warning: 'CURLOPT_PROTOCOLS' is deprecated: since 7.85.0. Use CURLOPT_PROTOCOLS_STR [-Wdeprecated-declarations] 498 | CURB_DEFINE(CURLOPT_PROTOCOLS); | ^~~~~~~~~~~ /usr/include/curl/curl.h:1753:3: note: declared here 1753 | CURLOPTDEPRECATED(CURLOPT_PROTOCOLS, CURLOPTTYPE_LONG, 181, | ^~~~~~~~~~~~~~~~~ curb.c:501:3: warning: 'CURLOPT_REDIR_PROTOCOLS' is deprecated: since 7.85.0. Use CURLOPT_REDIR_PROTOCOLS_STR [-Wdeprecated-declarations] 501 | CURB_DEFINE(CURLOPT_REDIR_PROTOCOLS); | ^~~~~~~~~~~ /usr/include/curl/curl.h:1759:3: note: declared here 1759 | CURLOPTDEPRECATED(CURLOPT_REDIR_PROTOCOLS, CURLOPTTYPE_LONG, 182, | ^~~~~~~~~~~~~~~~~ curb.c:513:3: warning: 'CURLOPT_SOCKS5_GSSAPI_SERVICE' is deprecated: since 7.49.0. Use CURLOPT_PROXY_SERVICE_NAME [-Wdeprecated-declarations] 513 | CURB_DEFINE(CURLOPT_SOCKS5_GSSAPI_SERVICE); | ^~~~~~~~~~~ /usr/include/curl/curl.h:1742:3: note: declared here 1742 | CURLOPTDEPRECATED(CURLOPT_SOCKS5_GSSAPI_SERVICE, | ^~~~~~~~~~~~~~~~~ curb.c:523:3: warning: 'CURLOPT_DNS_USE_GLOBAL_CACHE' is deprecated: since 7.11.1. Use CURLOPT_SHARE [-Wdeprecated-declarations] 523 | CURB_DEFINE(CURLOPT_DNS_USE_GLOBAL_CACHE); | ^~~~~~~~~~~ /usr/include/curl/curl.h:1428:3: note: declared here 1428 | CURLOPTDEPRECATED(CURLOPT_DNS_USE_GLOBAL_CACHE, CURLOPTTYPE_LONG, 91, | ^~~~~~~~~~~~~~~~~ curb.c:595:3: warning: 'CURLOPT_PUT' is deprecated: since 7.12.1. Use CURLOPT_UPLOAD [-Wdeprecated-declarations] 595 | CURB_DEFINE(CURLOPT_PUT); | ^~~~~~~~~~~ /usr/include/curl/curl.h:1290:3: note: declared here 1290 | CURLOPTDEPRECATED(CURLOPT_PUT, CURLOPTTYPE_LONG, 54, | ^~~~~~~~~~~~~~~~~ curb.c:609:3: warning: 'CURLOPT_HTTPPOST' is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations] 609 | CURB_DEFINE(CURLOPT_HTTPPOST); | ^~~~~~~~~~~ /usr/include/curl/curl.h:1199:3: note: declared here 1199 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24, | ^~~~~~~~~~~~~~~~~ curb.c:983:3: warning: 'CURLOPT_RANDOM_FILE' is deprecated: since 7.84.0. Serves no purpose anymore [-Wdeprecated-declarations] 983 | CURB_DEFINE(CURLOPT_RANDOM_FILE); | ^~~~~~~~~~~ /usr/include/curl/curl.h:1368:3: note: declared here 1368 | CURLOPTDEPRECATED(CURLOPT_RANDOM_FILE, CURLOPTTYPE_STRINGPOINT, 76, | ^~~~~~~~~~~~~~~~~ curb.c:986:3: warning: 'CURLOPT_EGDSOCKET' is deprecated: since 7.84.0. Serves no purpose anymore [-Wdeprecated-declarations] 986 | CURB_DEFINE(CURLOPT_EGDSOCKET); | ^~~~~~~~~~~ /usr/include/curl/curl.h:1372:3: note: declared here 1372 | CURLOPTDEPRECATED(CURLOPT_EGDSOCKET, CURLOPTTYPE_STRINGPOINT, 77, | ^~~~~~~~~~~~~~~~~ gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DRUBY_EXTCONF_H=\"curb_config.h\" -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -o curb_easy.o -c curb_easy.c curb_easy.c: In function 'proc_progress_handler': curb_easy.c:194:56: warning: passing argument 3 of 'rb_rescue' from incompatible pointer type [-Wincompatible-pointer-types] 194 | procret = rb_rescue(call_progress_handler, callargs, callback_exception, Qnil); | ^~~~~~~~~~~~~~~~~~ | | | VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)} In file included from /usr/include/ruby/ruby.h:41, from /usr/include/ruby.h:38, from curb.h:11, from curb_easy.h:10, from curb_easy.c:7: /usr/include/ruby/internal/iterator.h:364:62: note: expected 'VALUE (*)(VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int)'} but argument is of type 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} 364 | VALUE rb_rescue(VALUE (*b_proc)(VALUE), VALUE data1, VALUE (*r_proc)(VALUE, VALUE), VALUE data2); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ curb_easy.c: In function 'proc_debug_handler': curb_easy.c:213:43: warning: passing argument 3 of 'rb_rescue' from incompatible pointer type [-Wincompatible-pointer-types] 213 | rb_rescue(call_debug_handler, callargs, callback_exception, Qnil); | ^~~~~~~~~~~~~~~~~~ | | | VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)} /usr/include/ruby/internal/iterator.h:364:62: note: expected 'VALUE (*)(VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int)'} but argument is of type 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} 364 | VALUE rb_rescue(VALUE (*b_proc)(VALUE), VALUE data1, VALUE (*r_proc)(VALUE, VALUE), VALUE data2); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ curb_easy.c: In function 'ruby_curl_easy_free': curb_easy.c:253:5: warning: 'CURLOPT_PROGRESSFUNCTION' is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Wdeprecated-declarations] 253 | curl_easy_setopt(rbce->curl, CURLOPT_PROGRESSFUNCTION, NULL); | ^~~~~~~~~~~~~~~~ In file included from curb.h:19: /usr/include/curl/curl.h:1299:3: note: declared here 1299 | CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 56, | ^~~~~~~~~~~~~~~~~ curb_easy.c: In function 'ruby_curl_easy_setup': curb_easy.c:2314:5: warning: 'CURLOPT_PROGRESSFUNCTION' is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Wdeprecated-declarations] 2314 | curl_easy_setopt(curl, CURLOPT_PROGRESSFUNCTION, (curl_progress_callback)&proc_progress_handler); | ^~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:1299:3: note: declared here 1299 | CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 56, | ^~~~~~~~~~~~~~~~~ curb_easy.c:2502:7: warning: 'rb_iterate' is deprecated: by: rb_block_call since 1.9 [-Wdeprecated-declarations] 2502 | rb_iterate(rb_each, rb_easy_get("headers"), cb_each_http_header, wrap); | ^~~~~~~~~~ /usr/include/ruby/internal/iterator.h:283:7: note: declared here 283 | VALUE rb_iterate(VALUE (*func1)(VALUE), VALUE data1, rb_block_call_func_t proc, VALUE data2); | ^~~~~~~~~~ curb_easy.c:2502:51: warning: passing argument 3 of 'rb_iterate' from incompatible pointer type [-Wincompatible-pointer-types] 2502 | rb_iterate(rb_each, rb_easy_get("headers"), cb_each_http_header, wrap); | ^~~~~~~~~~~~~~~~~~~ | | | VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)} /usr/include/ruby/internal/iterator.h:283:75: note: expected 'rb_block_call_func_t' {aka 'long unsigned int (*)(long unsigned int, long unsigned int, int, const long unsigned int *, long unsigned int)'} but argument is of type 'VALUE (*)(VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int)'} 283 | VALUE rb_iterate(VALUE (*func1)(VALUE), VALUE data1, rb_block_call_func_t proc, VALUE data2); | ~~~~~~~~~~~~~~~~~~~~~^~~~ curb_easy.c:2520:7: warning: 'rb_iterate' is deprecated: by: rb_block_call since 1.9 [-Wdeprecated-declarations] 2520 | rb_iterate(rb_each, rb_easy_get("proxy_headers"), cb_each_http_proxy_header, wrap); | ^~~~~~~~~~ /usr/include/ruby/internal/iterator.h:283:7: note: declared here 283 | VALUE rb_iterate(VALUE (*func1)(VALUE), VALUE data1, rb_block_call_func_t proc, VALUE data2); | ^~~~~~~~~~ curb_easy.c:2520:57: warning: passing argument 3 of 'rb_iterate' from incompatible pointer type [-Wincompatible-pointer-types] 2520 | rb_iterate(rb_each, rb_easy_get("proxy_headers"), cb_each_http_proxy_header, wrap); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)} /usr/include/ruby/internal/iterator.h:283:75: note: expected 'rb_block_call_func_t' {aka 'long unsigned int (*)(long unsigned int, long unsigned int, int, const long unsigned int *, long unsigned int)'} but argument is of type 'VALUE (*)(VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int)'} 283 | VALUE rb_iterate(VALUE (*func1)(VALUE), VALUE data1, rb_block_call_func_t proc, VALUE data2); | ~~~~~~~~~~~~~~~~~~~~~^~~~ curb_easy.c:2536:7: warning: 'rb_iterate' is deprecated: by: rb_block_call since 1.9 [-Wdeprecated-declarations] 2536 | rb_iterate(rb_each, rb_easy_get("ftp_commands"), cb_each_ftp_command, wrap); | ^~~~~~~~~~ /usr/include/ruby/internal/iterator.h:283:7: note: declared here 283 | VALUE rb_iterate(VALUE (*func1)(VALUE), VALUE data1, rb_block_call_func_t proc, VALUE data2); | ^~~~~~~~~~ curb_easy.c:2536:56: warning: passing argument 3 of 'rb_iterate' from incompatible pointer type [-Wincompatible-pointer-types] 2536 | rb_iterate(rb_each, rb_easy_get("ftp_commands"), cb_each_ftp_command, wrap); | ^~~~~~~~~~~~~~~~~~~ | | | VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)} /usr/include/ruby/internal/iterator.h:283:75: note: expected 'rb_block_call_func_t' {aka 'long unsigned int (*)(long unsigned int, long unsigned int, int, const long unsigned int *, long unsigned int)'} but argument is of type 'VALUE (*)(VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int)'} 283 | VALUE rb_iterate(VALUE (*func1)(VALUE), VALUE data1, rb_block_call_func_t proc, VALUE data2); | ~~~~~~~~~~~~~~~~~~~~~^~~~ curb_easy.c:2549:7: warning: 'rb_iterate' is deprecated: by: rb_block_call since 1.9 [-Wdeprecated-declarations] 2549 | rb_iterate(rb_each, rb_easy_get("resolve"), cb_each_resolve, wrap); | ^~~~~~~~~~ /usr/include/ruby/internal/iterator.h:283:7: note: declared here 283 | VALUE rb_iterate(VALUE (*func1)(VALUE), VALUE data1, rb_block_call_func_t proc, VALUE data2); | ^~~~~~~~~~ curb_easy.c:2549:51: warning: passing argument 3 of 'rb_iterate' from incompatible pointer type [-Wincompatible-pointer-types] 2549 | rb_iterate(rb_each, rb_easy_get("resolve"), cb_each_resolve, wrap); | ^~~~~~~~~~~~~~~ | | | VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)} /usr/include/ruby/internal/iterator.h:283:75: note: expected 'rb_block_call_func_t' {aka 'long unsigned int (*)(long unsigned int, long unsigned int, int, const long unsigned int *, long unsigned int)'} but argument is of type 'VALUE (*)(VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int)'} 283 | VALUE rb_iterate(VALUE (*func1)(VALUE), VALUE data1, rb_block_call_func_t proc, VALUE data2); | ~~~~~~~~~~~~~~~~~~~~~^~~~ curb_easy.c: In function 'ruby_curl_easy_perform_post': curb_easy.c:2718:5: warning: 'CURLOPT_HTTPPOST' is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations] 2718 | curl_easy_setopt(curl, CURLOPT_HTTPPOST, first); | ^~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:1199:3: note: declared here 1199 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24, | ^~~~~~~~~~~~~~~~~ curb_easy.c:2720:5: warning: 'curl_formfree' is deprecated: since 7.56.0. Use curl_mime_free() [-Wdeprecated-declarations] 2720 | curl_formfree(first); | ^~~~~~~~~~~~~ /usr/include/curl/curl.h:2621:1: note: declared here 2621 | curl_formfree(struct curl_httppost *form); | ^~~~~~~~~~~~~ curb_easy.c: In function 'ruby_curl_easy_uploaded_bytes_get': curb_easy.c:3124:3: warning: 'CURLINFO_SIZE_UPLOAD' is deprecated: since 7.55.0. Use CURLINFO_SIZE_UPLOAD_T [-Wdeprecated-declarations] 3124 | curl_easy_getinfo(rbce->curl, CURLINFO_SIZE_UPLOAD, &bytes); | ^~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2863:3: note: declared here 2863 | CURLINFO_SIZE_UPLOAD CURL_DEPRECATED(7.55.0, "Use CURLINFO_SIZE_UPLOAD_T") | ^~~~~~~~~~~~~~~~~~~~ curb_easy.c: In function 'ruby_curl_easy_downloaded_bytes_get': curb_easy.c:3141:3: warning: 'CURLINFO_SIZE_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_SIZE_DOWNLOAD_T [-Wdeprecated-declarations] 3141 | curl_easy_getinfo(rbce->curl, CURLINFO_SIZE_DOWNLOAD, &bytes); | ^~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2866:3: note: declared here 2866 | CURLINFO_SIZE_DOWNLOAD | ^~~~~~~~~~~~~~~~~~~~~~ curb_easy.c: In function 'ruby_curl_easy_upload_speed_get': curb_easy.c:3158:3: warning: 'CURLINFO_SPEED_UPLOAD' is deprecated: since 7.55.0. Use CURLINFO_SPEED_UPLOAD_T [-Wdeprecated-declarations] 3158 | curl_easy_getinfo(rbce->curl, CURLINFO_SPEED_UPLOAD, &bytes); | ^~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2874:3: note: declared here 2874 | CURLINFO_SPEED_UPLOAD | ^~~~~~~~~~~~~~~~~~~~~ curb_easy.c: In function 'ruby_curl_easy_download_speed_get': curb_easy.c:3175:3: warning: 'CURLINFO_SPEED_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_SPEED_DOWNLOAD_T [-Wdeprecated-declarations] 3175 | curl_easy_getinfo(rbce->curl, CURLINFO_SPEED_DOWNLOAD, &bytes); | ^~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2870:3: note: declared here 2870 | CURLINFO_SPEED_DOWNLOAD | ^~~~~~~~~~~~~~~~~~~~~~~ curb_easy.c: In function 'ruby_curl_easy_downloaded_content_length_get': curb_easy.c:3252:3: warning: 'CURLINFO_CONTENT_LENGTH_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_CONTENT_LENGTH_DOWNLOAD_T [-Wdeprecated-declarations] 3252 | curl_easy_getinfo(rbce->curl, CURLINFO_CONTENT_LENGTH_DOWNLOAD, &bytes); | ^~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2883:3: note: declared here 2883 | CURLINFO_CONTENT_LENGTH_DOWNLOAD | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curb_easy.c: In function 'ruby_curl_easy_uploaded_content_length_get': curb_easy.c:3268:3: warning: 'CURLINFO_CONTENT_LENGTH_UPLOAD' is deprecated: since 7.55.0. Use CURLINFO_CONTENT_LENGTH_UPLOAD_T [-Wdeprecated-declarations] 3268 | curl_easy_getinfo(rbce->curl, CURLINFO_CONTENT_LENGTH_UPLOAD, &bytes); | ^~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2888:3: note: declared here 2888 | CURLINFO_CONTENT_LENGTH_UPLOAD | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curb_easy.c: In function 'ruby_curl_easy_set_opt': curb_easy.c:3648:3: warning: 'CURLOPT_PROTOCOLS' is deprecated: since 7.85.0. Use CURLOPT_PROTOCOLS_STR [-Wdeprecated-declarations] 3648 | case CURLOPT_PROTOCOLS: | ^~~~ /usr/include/curl/curl.h:1753:3: note: declared here 1753 | CURLOPTDEPRECATED(CURLOPT_PROTOCOLS, CURLOPTTYPE_LONG, 181, | ^~~~~~~~~~~~~~~~~ curb_easy.c:3649:3: warning: 'CURLOPT_REDIR_PROTOCOLS' is deprecated: since 7.85.0. Use CURLOPT_REDIR_PROTOCOLS_STR [-Wdeprecated-declarations] 3649 | case CURLOPT_REDIR_PROTOCOLS: | ^~~~ /usr/include/curl/curl.h:1759:3: note: declared here 1759 | CURLOPTDEPRECATED(CURLOPT_REDIR_PROTOCOLS, CURLOPTTYPE_LONG, 182, | ^~~~~~~~~~~~~~~~~ curb_easy.c: In function 'init_curb_easy': curb_easy.c:3844:3: warning: passing argument 3 of 'rb_define_method_00' from incompatible pointer type [-Wincompatible-pointer-types] 3844 | rb_define_method(cCurlEasy, "connect_timeout", ruby_curl_easy_connect_timeout_get, 0); | ^~~~~~~~~~~~~~~~ | | | VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)} In file included from /usr/include/ruby/ruby.h:27: /usr/include/ruby/internal/anyargs.h:277:1: note: expected 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} but argument is of type 'VALUE (*)(VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int)'} 277 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ curb_easy.c:3846:3: warning: passing argument 3 of 'rb_define_method_00' from incompatible pointer type [-Wincompatible-pointer-types] 3846 | rb_define_method(cCurlEasy, "connect_timeout_ms", ruby_curl_easy_connect_timeout_ms_get, 0); | ^~~~~~~~~~~~~~~~ | | | VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)} /usr/include/ruby/internal/anyargs.h:277:1: note: expected 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} but argument is of type 'VALUE (*)(VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int)'} 277 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ curb_easy.c:3848:3: warning: passing argument 3 of 'rb_define_method_00' from incompatible pointer type [-Wincompatible-pointer-types] 3848 | rb_define_method(cCurlEasy, "dns_cache_timeout", ruby_curl_easy_dns_cache_timeout_get, 0); | ^~~~~~~~~~~~~~~~ | | | VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)} /usr/include/ruby/internal/anyargs.h:277:1: note: expected 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} but argument is of type 'VALUE (*)(VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int)'} 277 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ curb_easy.c:3850:3: warning: passing argument 3 of 'rb_define_method_00' from incompatible pointer type [-Wincompatible-pointer-types] 3850 | rb_define_method(cCurlEasy, "ftp_response_timeout", ruby_curl_easy_ftp_response_timeout_get, 0); | ^~~~~~~~~~~~~~~~ | | | VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)} /usr/include/ruby/internal/anyargs.h:277:1: note: expected 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} but argument is of type 'VALUE (*)(VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int)'} 277 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ curb_easy.c:3852:3: warning: passing argument 3 of 'rb_define_method_00' from incompatible pointer type [-Wincompatible-pointer-types] 3852 | rb_define_method(cCurlEasy, "low_speed_limit", ruby_curl_easy_low_speed_limit_get, 0); | ^~~~~~~~~~~~~~~~ | | | VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)} /usr/include/ruby/internal/anyargs.h:277:1: note: expected 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} but argument is of type 'VALUE (*)(VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int)'} 277 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ curb_easy.c:3854:3: warning: passing argument 3 of 'rb_define_method_00' from incompatible pointer type [-Wincompatible-pointer-types] 3854 | rb_define_method(cCurlEasy, "low_speed_time", ruby_curl_easy_low_speed_time_get, 0); | ^~~~~~~~~~~~~~~~ | | | VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)} /usr/include/ruby/internal/anyargs.h:277:1: note: expected 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} but argument is of type 'VALUE (*)(VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int)'} 277 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ curb_easy.c:3856:3: warning: passing argument 3 of 'rb_define_method_00' from incompatible pointer type [-Wincompatible-pointer-types] 3856 | rb_define_method(cCurlEasy, "max_send_speed_large", ruby_curl_easy_max_send_speed_large_get, 0); | ^~~~~~~~~~~~~~~~ | | | VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)} /usr/include/ruby/internal/anyargs.h:277:1: note: expected 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} but argument is of type 'VALUE (*)(VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int)'} 277 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ curb_easy.c:3858:3: warning: passing argument 3 of 'rb_define_method_00' from incompatible pointer type [-Wincompatible-pointer-types] 3858 | rb_define_method(cCurlEasy, "max_recv_speed_large", ruby_curl_easy_max_recv_speed_large_get, 0); | ^~~~~~~~~~~~~~~~ | | | VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)} /usr/include/ruby/internal/anyargs.h:277:1: note: expected 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} but argument is of type 'VALUE (*)(VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int)'} 277 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ curb_easy.c:3860:3: warning: passing argument 3 of 'rb_define_method_00' from incompatible pointer type [-Wincompatible-pointer-types] 3860 | rb_define_method(cCurlEasy, "ssl_version", ruby_curl_easy_ssl_version_get, 0); | ^~~~~~~~~~~~~~~~ | | | VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)} /usr/include/ruby/internal/anyargs.h:277:1: note: expected 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} but argument is of type 'VALUE (*)(VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int)'} 277 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ curb_easy.c:3862:3: warning: passing argument 3 of 'rb_define_method_00' from incompatible pointer type [-Wincompatible-pointer-types] 3862 | rb_define_method(cCurlEasy, "use_ssl", ruby_curl_easy_use_ssl_get, 0); | ^~~~~~~~~~~~~~~~ | | | VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)} /usr/include/ruby/internal/anyargs.h:277:1: note: expected 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} but argument is of type 'VALUE (*)(VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int)'} 277 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ curb_easy.c:3864:3: warning: passing argument 3 of 'rb_define_method_00' from incompatible pointer type [-Wincompatible-pointer-types] 3864 | rb_define_method(cCurlEasy, "ftp_filemethod", ruby_curl_easy_ftp_filemethod_get, 0); | ^~~~~~~~~~~~~~~~ | | | VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)} /usr/include/ruby/internal/anyargs.h:277:1: note: expected 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} but argument is of type 'VALUE (*)(VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int)'} 277 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ curb_easy.c:3867:3: warning: passing argument 3 of 'rb_define_method_00' from incompatible pointer type [-Wincompatible-pointer-types] 3867 | rb_define_method(cCurlEasy, "username", ruby_curl_easy_username_get, 0); | ^~~~~~~~~~~~~~~~ | | | VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)} /usr/include/ruby/internal/anyargs.h:277:1: note: expected 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} but argument is of type 'VALUE (*)(VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int)'} 277 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ curb_easy.c:3869:3: warning: passing argument 3 of 'rb_define_method_00' from incompatible pointer type [-Wincompatible-pointer-types] 3869 | rb_define_method(cCurlEasy, "password", ruby_curl_easy_password_get, 0); | ^~~~~~~~~~~~~~~~ | | | VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)} /usr/include/ruby/internal/anyargs.h:277:1: note: expected 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} but argument is of type 'VALUE (*)(VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int)'} 277 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~ gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DRUBY_EXTCONF_H=\"curb_config.h\" -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -o curb_errors.o -c curb_errors.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DRUBY_EXTCONF_H=\"curb_config.h\" -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -o curb_multi.o -c curb_multi.c curb_multi.c: In function 'rb_curl_mutli_handle_complete': curb_multi.c:301:53: warning: passing argument 3 of 'rb_rescue' from incompatible pointer type [-Wincompatible-pointer-types] 301 | val = rb_rescue(call_status_handler1, callargs, callback_exception, Qnil); | ^~~~~~~~~~~~~~~~~~ | | | VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)} In file included from /usr/include/ruby/ruby.h:41, from /usr/include/ruby.h:38, from curb_multi.c:7: /usr/include/ruby/internal/iterator.h:364:62: note: expected 'VALUE (*)(VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int)'} but argument is of type 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} 364 | VALUE rb_rescue(VALUE (*b_proc)(VALUE), VALUE data1, VALUE (*r_proc)(VALUE, VALUE), VALUE data2); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ curb_multi.c:316:55: warning: passing argument 3 of 'rb_rescue' from incompatible pointer type [-Wincompatible-pointer-types] 316 | val = rb_rescue(call_status_handler2, callargs, callback_exception, Qnil); | ^~~~~~~~~~~~~~~~~~ | | | VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)} /usr/include/ruby/internal/iterator.h:364:62: note: expected 'VALUE (*)(VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int)'} but argument is of type 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} 364 | VALUE rb_rescue(VALUE (*b_proc)(VALUE), VALUE data1, VALUE (*r_proc)(VALUE, VALUE), VALUE data2); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ curb_multi.c:325:53: warning: passing argument 3 of 'rb_rescue' from incompatible pointer type [-Wincompatible-pointer-types] 325 | val = rb_rescue(call_status_handler1, callargs, callback_exception, Qnil); | ^~~~~~~~~~~~~~~~~~ | | | VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)} /usr/include/ruby/internal/iterator.h:364:62: note: expected 'VALUE (*)(VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int)'} but argument is of type 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} 364 | VALUE rb_rescue(VALUE (*b_proc)(VALUE), VALUE data1, VALUE (*r_proc)(VALUE, VALUE), VALUE data2); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ curb_multi.c:333:53: warning: passing argument 3 of 'rb_rescue' from incompatible pointer type [-Wincompatible-pointer-types] 333 | val = rb_rescue(call_status_handler2, callargs, callback_exception, Qnil); | ^~~~~~~~~~~~~~~~~~ | | | VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)} /usr/include/ruby/internal/iterator.h:364:62: note: expected 'VALUE (*)(VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int)'} but argument is of type 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} 364 | VALUE rb_rescue(VALUE (*b_proc)(VALUE), VALUE data1, VALUE (*r_proc)(VALUE, VALUE), VALUE data2); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ curb_multi.c:339:53: warning: passing argument 3 of 'rb_rescue' from incompatible pointer type [-Wincompatible-pointer-types] 339 | val = rb_rescue(call_status_handler2, callargs, callback_exception, Qnil); | ^~~~~~~~~~~~~~~~~~ | | | VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)} /usr/include/ruby/internal/iterator.h:364:62: note: expected 'VALUE (*)(VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int)'} but argument is of type 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} 364 | VALUE rb_rescue(VALUE (*b_proc)(VALUE), VALUE data1, VALUE (*r_proc)(VALUE, VALUE), VALUE data2); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ curb_multi.c:344:53: warning: passing argument 3 of 'rb_rescue' from incompatible pointer type [-Wincompatible-pointer-types] 344 | val = rb_rescue(call_status_handler2, callargs, callback_exception, Qnil); | ^~~~~~~~~~~~~~~~~~ | | | VALUE (*)(VALUE) {aka long unsigned int (*)(long unsigned int)} /usr/include/ruby/internal/iterator.h:364:62: note: expected 'VALUE (*)(VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int)'} but argument is of type 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} 364 | VALUE rb_rescue(VALUE (*b_proc)(VALUE), VALUE data1, VALUE (*r_proc)(VALUE, VALUE), VALUE data2); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ curb_multi.c:277:19: warning: variable 'val' set but not used [-Wunused-but-set-variable] 277 | VALUE callargs, val = Qtrue; | ^~~ gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DRUBY_EXTCONF_H=\"curb_config.h\" -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -o curb_postfield.o -c curb_postfield.c curb_postfield.c: In function 'append_to_form': curb_postfield.c:50:13: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 50 | result = curl_formadd(first, last, CURLFORM_PTRNAME, StringValuePtr(rbcpf->name), | ^~~~~~ In file included from curb.h:19, from curb_postfield.h:10, from curb_postfield.c:7: /usr/include/curl/curl.h:2585:1: note: declared here 2585 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ curb_postfield.c:50:13: warning: 'CURLFORM_PTRNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 50 | result = curl_formadd(first, last, CURLFORM_PTRNAME, StringValuePtr(rbcpf->name), | ^~~~~~ /usr/include/curl/curl.h:2511:3: note: declared here 2511 | CURLFORM_PTRNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~ curb_postfield.c:51:48: warning: 'CURLFORM_BUFFER' is deprecated: since 7.56.0. Use curl_mime_filename() [-Wdeprecated-declarations] 51 | CURLFORM_BUFFER, StringValuePtr(rbcpf->remote_file), | ^~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2521:3: note: declared here 2521 | CURLFORM_BUFFER CURL_DEPRECATED(7.56.0, "Use curl_mime_filename()"), | ^~~~~~~~~~~~~~~ curb_postfield.c:52:48: warning: 'CURLFORM_BUFFERPTR' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 52 | CURLFORM_BUFFERPTR, StringValuePtr(rbcpf->buffer_str), | ^~~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2522:3: note: declared here 2522 | CURLFORM_BUFFERPTR CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~ curb_postfield.c:53:48: warning: 'CURLFORM_BUFFERLENGTH' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 53 | CURLFORM_BUFFERLENGTH, RSTRING_LEN(rbcpf->buffer_str), | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2523:3: note: declared here 2523 | CURLFORM_BUFFERLENGTH CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ curb_postfield.c:56:13: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 56 | result = curl_formadd(first, last, CURLFORM_PTRNAME, StringValuePtr(rbcpf->name), | ^~~~~~ /usr/include/curl/curl.h:2585:1: note: declared here 2585 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ curb_postfield.c:56:13: warning: 'CURLFORM_PTRNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 56 | result = curl_formadd(first, last, CURLFORM_PTRNAME, StringValuePtr(rbcpf->name), | ^~~~~~ /usr/include/curl/curl.h:2511:3: note: declared here 2511 | CURLFORM_PTRNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~ curb_postfield.c:57:48: warning: 'CURLFORM_BUFFER' is deprecated: since 7.56.0. Use curl_mime_filename() [-Wdeprecated-declarations] 57 | CURLFORM_BUFFER, StringValuePtr(rbcpf->remote_file), | ^~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2521:3: note: declared here 2521 | CURLFORM_BUFFER CURL_DEPRECATED(7.56.0, "Use curl_mime_filename()"), | ^~~~~~~~~~~~~~~ curb_postfield.c:58:48: warning: 'CURLFORM_BUFFERPTR' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 58 | CURLFORM_BUFFERPTR, StringValuePtr(rbcpf->buffer_str), | ^~~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2522:3: note: declared here 2522 | CURLFORM_BUFFERPTR CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~ curb_postfield.c:59:48: warning: 'CURLFORM_BUFFERLENGTH' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 59 | CURLFORM_BUFFERLENGTH, RSTRING_LEN(rbcpf->buffer_str), | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2523:3: note: declared here 2523 | CURLFORM_BUFFERLENGTH CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ curb_postfield.c:60:48: warning: 'CURLFORM_CONTENTTYPE' is deprecated: since 7.56.0. Use curl_mime_type() [-Wdeprecated-declarations] 60 | CURLFORM_CONTENTTYPE, StringValuePtr(rbcpf->content_type), | ^~~~~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2525:3: note: declared here 2525 | CURLFORM_CONTENTTYPE CURL_DEPRECATED(7.56.0, "Use curl_mime_type()"), | ^~~~~~~~~~~~~~~~~~~~ curb_postfield.c:70:13: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 70 | result = curl_formadd(first, last, CURLFORM_PTRNAME, StringValuePtr(rbcpf->name), | ^~~~~~ /usr/include/curl/curl.h:2585:1: note: declared here 2585 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ curb_postfield.c:70:13: warning: 'CURLFORM_PTRNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 70 | result = curl_formadd(first, last, CURLFORM_PTRNAME, StringValuePtr(rbcpf->name), | ^~~~~~ /usr/include/curl/curl.h:2511:3: note: declared here 2511 | CURLFORM_PTRNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~ curb_postfield.c:71:48: warning: 'CURLFORM_BUFFER' is deprecated: since 7.56.0. Use curl_mime_filename() [-Wdeprecated-declarations] 71 | CURLFORM_BUFFER, StringValuePtr(rbcpf->remote_file), | ^~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2521:3: note: declared here 2521 | CURLFORM_BUFFER CURL_DEPRECATED(7.56.0, "Use curl_mime_filename()"), | ^~~~~~~~~~~~~~~ curb_postfield.c:72:48: warning: 'CURLFORM_BUFFERPTR' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 72 | CURLFORM_BUFFERPTR, StringValuePtr(rbcpf->content), | ^~~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2522:3: note: declared here 2522 | CURLFORM_BUFFERPTR CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~ curb_postfield.c:73:48: warning: 'CURLFORM_BUFFERLENGTH' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 73 | CURLFORM_BUFFERLENGTH, RSTRING_LEN(rbcpf->content), | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2523:3: note: declared here 2523 | CURLFORM_BUFFERLENGTH CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ curb_postfield.c:76:13: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 76 | result = curl_formadd(first, last, CURLFORM_PTRNAME, StringValuePtr(rbcpf->name), | ^~~~~~ /usr/include/curl/curl.h:2585:1: note: declared here 2585 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ curb_postfield.c:76:13: warning: 'CURLFORM_PTRNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 76 | result = curl_formadd(first, last, CURLFORM_PTRNAME, StringValuePtr(rbcpf->name), | ^~~~~~ /usr/include/curl/curl.h:2511:3: note: declared here 2511 | CURLFORM_PTRNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~ curb_postfield.c:77:48: warning: 'CURLFORM_BUFFER' is deprecated: since 7.56.0. Use curl_mime_filename() [-Wdeprecated-declarations] 77 | CURLFORM_BUFFER, StringValuePtr(rbcpf->remote_file), | ^~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2521:3: note: declared here 2521 | CURLFORM_BUFFER CURL_DEPRECATED(7.56.0, "Use curl_mime_filename()"), | ^~~~~~~~~~~~~~~ curb_postfield.c:78:48: warning: 'CURLFORM_BUFFERPTR' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 78 | CURLFORM_BUFFERPTR, StringValuePtr(rbcpf->content), | ^~~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2522:3: note: declared here 2522 | CURLFORM_BUFFERPTR CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~ curb_postfield.c:79:48: warning: 'CURLFORM_BUFFERLENGTH' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 79 | CURLFORM_BUFFERLENGTH, RSTRING_LEN(rbcpf->content), | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2523:3: note: declared here 2523 | CURLFORM_BUFFERLENGTH CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ curb_postfield.c:80:48: warning: 'CURLFORM_CONTENTTYPE' is deprecated: since 7.56.0. Use curl_mime_type() [-Wdeprecated-declarations] 80 | CURLFORM_CONTENTTYPE, StringValuePtr(rbcpf->content_type), | ^~~~~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2525:3: note: declared here 2525 | CURLFORM_CONTENTTYPE CURL_DEPRECATED(7.56.0, "Use curl_mime_type()"), | ^~~~~~~~~~~~~~~~~~~~ curb_postfield.c:94:13: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 94 | result = curl_formadd(first, last, CURLFORM_PTRNAME, StringValuePtr(rbcpf->name), | ^~~~~~ /usr/include/curl/curl.h:2585:1: note: declared here 2585 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ curb_postfield.c:94:13: warning: 'CURLFORM_PTRNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 94 | result = curl_formadd(first, last, CURLFORM_PTRNAME, StringValuePtr(rbcpf->name), | ^~~~~~ /usr/include/curl/curl.h:2511:3: note: declared here 2511 | CURLFORM_PTRNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~ curb_postfield.c:95:48: warning: 'CURLFORM_FILE' is deprecated: since 7.56.0. Use curl_mime_filedata() [-Wdeprecated-declarations] 95 | CURLFORM_FILE, StringValuePtr(rbcpf->local_file), | ^~~~~~~~~~~~~ /usr/include/curl/curl.h:2519:3: note: declared here 2519 | CURLFORM_FILE CURL_DEPRECATED(7.56.0, "Use curl_mime_filedata()"), | ^~~~~~~~~~~~~ curb_postfield.c:96:48: warning: 'CURLFORM_FILENAME' is deprecated: since 7.56.0. Use curl_mime_filename() [-Wdeprecated-declarations] 96 | CURLFORM_FILENAME, StringValuePtr(rbcpf->remote_file), | ^~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2527:3: note: declared here 2527 | CURLFORM_FILENAME CURL_DEPRECATED(7.56.0, "Use curl_mime_filename()"), | ^~~~~~~~~~~~~~~~~ curb_postfield.c:99:13: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 99 | result = curl_formadd(first, last, CURLFORM_PTRNAME, StringValuePtr(rbcpf->name), | ^~~~~~ /usr/include/curl/curl.h:2585:1: note: declared here 2585 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ curb_postfield.c:99:13: warning: 'CURLFORM_PTRNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 99 | result = curl_formadd(first, last, CURLFORM_PTRNAME, StringValuePtr(rbcpf->name), | ^~~~~~ /usr/include/curl/curl.h:2511:3: note: declared here 2511 | CURLFORM_PTRNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~ curb_postfield.c:100:48: warning: 'CURLFORM_FILE' is deprecated: since 7.56.0. Use curl_mime_filedata() [-Wdeprecated-declarations] 100 | CURLFORM_FILE, StringValuePtr(rbcpf->local_file), | ^~~~~~~~~~~~~ /usr/include/curl/curl.h:2519:3: note: declared here 2519 | CURLFORM_FILE CURL_DEPRECATED(7.56.0, "Use curl_mime_filedata()"), | ^~~~~~~~~~~~~ curb_postfield.c:101:48: warning: 'CURLFORM_FILENAME' is deprecated: since 7.56.0. Use curl_mime_filename() [-Wdeprecated-declarations] 101 | CURLFORM_FILENAME, StringValuePtr(rbcpf->remote_file), | ^~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2527:3: note: declared here 2527 | CURLFORM_FILENAME CURL_DEPRECATED(7.56.0, "Use curl_mime_filename()"), | ^~~~~~~~~~~~~~~~~ curb_postfield.c:102:48: warning: 'CURLFORM_CONTENTTYPE' is deprecated: since 7.56.0. Use curl_mime_type() [-Wdeprecated-declarations] 102 | CURLFORM_CONTENTTYPE, StringValuePtr(rbcpf->content_type), | ^~~~~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2525:3: note: declared here 2525 | CURLFORM_CONTENTTYPE CURL_DEPRECATED(7.56.0, "Use curl_mime_type()"), | ^~~~~~~~~~~~~~~~~~~~ curb_postfield.c:115:11: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 115 | result = curl_formadd(first, last, CURLFORM_PTRNAME, StringValuePtr(rbcpf->name), | ^~~~~~ /usr/include/curl/curl.h:2585:1: note: declared here 2585 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ curb_postfield.c:115:11: warning: 'CURLFORM_PTRNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 115 | result = curl_formadd(first, last, CURLFORM_PTRNAME, StringValuePtr(rbcpf->name), | ^~~~~~ /usr/include/curl/curl.h:2511:3: note: declared here 2511 | CURLFORM_PTRNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~ curb_postfield.c:116:46: warning: 'CURLFORM_PTRCONTENTS' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 116 | CURLFORM_PTRCONTENTS, StringValuePtr(rbcpf->buffer_str), | ^~~~~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2514:3: note: declared here 2514 | CURLFORM_PTRCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~ curb_postfield.c:117:46: warning: 'CURLFORM_CONTENTSLENGTH' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 117 | CURLFORM_CONTENTSLENGTH, RSTRING_LEN(rbcpf->buffer_str), | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2515:3: note: declared here 2515 | CURLFORM_CONTENTSLENGTH CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~~~ curb_postfield.c:120:11: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 120 | result = curl_formadd(first, last, CURLFORM_PTRNAME, StringValuePtr(rbcpf->name), | ^~~~~~ /usr/include/curl/curl.h:2585:1: note: declared here 2585 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ curb_postfield.c:120:11: warning: 'CURLFORM_PTRNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 120 | result = curl_formadd(first, last, CURLFORM_PTRNAME, StringValuePtr(rbcpf->name), | ^~~~~~ /usr/include/curl/curl.h:2511:3: note: declared here 2511 | CURLFORM_PTRNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~ curb_postfield.c:121:46: warning: 'CURLFORM_PTRCONTENTS' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 121 | CURLFORM_PTRCONTENTS, StringValuePtr(rbcpf->buffer_str), | ^~~~~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2514:3: note: declared here 2514 | CURLFORM_PTRCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~ curb_postfield.c:122:46: warning: 'CURLFORM_CONTENTSLENGTH' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 122 | CURLFORM_CONTENTSLENGTH, RSTRING_LEN(rbcpf->buffer_str), | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2515:3: note: declared here 2515 | CURLFORM_CONTENTSLENGTH CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~~~ curb_postfield.c:123:46: warning: 'CURLFORM_CONTENTTYPE' is deprecated: since 7.56.0. Use curl_mime_type() [-Wdeprecated-declarations] 123 | CURLFORM_CONTENTTYPE, StringValuePtr(rbcpf->content_type), | ^~~~~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2525:3: note: declared here 2525 | CURLFORM_CONTENTTYPE CURL_DEPRECATED(7.56.0, "Use curl_mime_type()"), | ^~~~~~~~~~~~~~~~~~~~ curb_postfield.c:128:11: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 128 | result = curl_formadd(first, last, CURLFORM_PTRNAME, StringValuePtr(rbcpf->name), | ^~~~~~ /usr/include/curl/curl.h:2585:1: note: declared here 2585 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ curb_postfield.c:128:11: warning: 'CURLFORM_PTRNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 128 | result = curl_formadd(first, last, CURLFORM_PTRNAME, StringValuePtr(rbcpf->name), | ^~~~~~ /usr/include/curl/curl.h:2511:3: note: declared here 2511 | CURLFORM_PTRNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~ curb_postfield.c:129:46: warning: 'CURLFORM_PTRCONTENTS' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 129 | CURLFORM_PTRCONTENTS, StringValuePtr(rbcpf->content), | ^~~~~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2514:3: note: declared here 2514 | CURLFORM_PTRCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~ curb_postfield.c:130:46: warning: 'CURLFORM_CONTENTSLENGTH' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 130 | CURLFORM_CONTENTSLENGTH, RSTRING_LEN(rbcpf->content), | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2515:3: note: declared here 2515 | CURLFORM_CONTENTSLENGTH CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~~~ curb_postfield.c:133:11: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 133 | result = curl_formadd(first, last, CURLFORM_PTRNAME, StringValuePtr(rbcpf->name), | ^~~~~~ /usr/include/curl/curl.h:2585:1: note: declared here 2585 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ curb_postfield.c:133:11: warning: 'CURLFORM_PTRNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 133 | result = curl_formadd(first, last, CURLFORM_PTRNAME, StringValuePtr(rbcpf->name), | ^~~~~~ /usr/include/curl/curl.h:2511:3: note: declared here 2511 | CURLFORM_PTRNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~ curb_postfield.c:134:46: warning: 'CURLFORM_PTRCONTENTS' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 134 | CURLFORM_PTRCONTENTS, StringValuePtr(rbcpf->content), | ^~~~~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2514:3: note: declared here 2514 | CURLFORM_PTRCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~ curb_postfield.c:135:46: warning: 'CURLFORM_CONTENTSLENGTH' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 135 | CURLFORM_CONTENTSLENGTH, RSTRING_LEN(rbcpf->content), | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2515:3: note: declared here 2515 | CURLFORM_CONTENTSLENGTH CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~~~ curb_postfield.c:136:46: warning: 'CURLFORM_CONTENTTYPE' is deprecated: since 7.56.0. Use curl_mime_type() [-Wdeprecated-declarations] 136 | CURLFORM_CONTENTTYPE, StringValuePtr(rbcpf->content_type), | ^~~~~~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:2525:3: note: declared here 2525 | CURLFORM_CONTENTTYPE CURL_DEPRECATED(7.56.0, "Use curl_mime_type()"), | ^~~~~~~~~~~~~~~~~~~~ curb_postfield.c:149:7: warning: 'CURL_FORMADD_MEMORY' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 149 | case CURL_FORMADD_MEMORY: | ^~~~ /usr/include/curl/curl.h:2563:3: note: declared here 2563 | CURL_FORMADD_MEMORY CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~~~ curb_postfield.c:152:7: warning: 'CURL_FORMADD_OPTION_TWICE' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 152 | case CURL_FORMADD_OPTION_TWICE: | ^~~~ /usr/include/curl/curl.h:2564:3: note: declared here 2564 | CURL_FORMADD_OPTION_TWICE CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~~~~~~~~~ curb_postfield.c:155:7: warning: 'CURL_FORMADD_NULL' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 155 | case CURL_FORMADD_NULL: | ^~~~ /usr/include/curl/curl.h:2565:3: note: declared here 2565 | CURL_FORMADD_NULL CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~ curb_postfield.c:158:7: warning: 'CURL_FORMADD_UNKNOWN_OPTION' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 158 | case CURL_FORMADD_UNKNOWN_OPTION: | ^~~~ /usr/include/curl/curl.h:2566:3: note: declared here 2566 | CURL_FORMADD_UNKNOWN_OPTION CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ curb_postfield.c:161:7: warning: 'CURL_FORMADD_INCOMPLETE' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 161 | case CURL_FORMADD_INCOMPLETE: | ^~~~ /usr/include/curl/curl.h:2567:3: note: declared here 2567 | CURL_FORMADD_INCOMPLETE CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~~~~~~~ curb_postfield.c:164:7: warning: 'CURL_FORMADD_ILLEGAL_ARRAY' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 164 | case CURL_FORMADD_ILLEGAL_ARRAY: | ^~~~ /usr/include/curl/curl.h:2568:3: note: declared here 2568 | CURL_FORMADD_ILLEGAL_ARRAY CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ curb_postfield.c:167:7: warning: 'CURL_FORMADD_DISABLED' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 167 | case CURL_FORMADD_DISABLED: | ^~~~ /usr/include/curl/curl.h:2570:3: note: declared here 2570 | CURL_FORMADD_DISABLED CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~~~~~ curb_postfield.c: In function 'ruby_curl_postfield_to_str': curb_postfield.c:478:75: warning: '%s' directive argument is null [-Wformat-overflow=] 478 | rb_raise(eCurlErrInvalidPostField, "Failed to url-encode content `%s'", tmpchrs); | ^~ curb_postfield.c:450:70: warning: '%s' directive argument is null [-Wformat-overflow=] 450 | rb_raise(eCurlErrInvalidPostField, "Failed to url-encode name `%s'", tmpchrs); | ^~ gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DRUBY_EXTCONF_H=\"curb_config.h\" -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -o curb_upload.o -c curb_upload.c rm -f curb_core.so gcc -shared -o curb_core.so curb.o curb_easy.o curb_errors.o curb_multi.o curb_postfield.o curb_upload.o -L. -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -lruby -lm -lpthread -lc -lcurl curb_easy.c: In function 'ruby_curl_easy_clone': curb_easy.c:398:3: warning: call to '_curl_easy_setopt_err_error_buffer' declared with attribute warning: curl_easy_setopt expects a char buffer of CURL_ERROR_SIZE as argument for this option [-Wattribute-warning] 398 | curl_easy_setopt(rbce->curl, CURLOPT_ERRORBUFFER, &rbce->err_buf); | ^ curb_easy.c: In function 'ruby_curl_easy_initialize': curb_easy.c:360:3: warning: call to '_curl_easy_setopt_err_error_buffer' declared with attribute warning: curl_easy_setopt expects a char buffer of CURL_ERROR_SIZE as argument for this option [-Wattribute-warning] 360 | curl_easy_setopt(rbce->curl, CURLOPT_ERRORBUFFER, &rbce->err_buf); | ^ curb_easy.c: In function 'ruby_curl_easy_reset': curb_easy.c:469:3: warning: call to '_curl_easy_setopt_err_error_buffer' declared with attribute warning: curl_easy_setopt expects a char buffer of CURL_ERROR_SIZE as argument for this option [-Wattribute-warning] 469 | curl_easy_setopt(rbce->curl, CURLOPT_ERRORBUFFER, &rbce->err_buf); | ^ current directory: /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/ext ["make", "DESTDIR=", "sitearchdir=./.gem.20240603-3936047-dombwp", "sitelibdir=./.gem.20240603-3936047-dombwp", "install"] /usr/bin/mkdir -p . ./.gem.20240603-3936047-dombwp exit > .sitearchdir.time /usr/bin/install -c -m 0755 curb_core.so ./.gem.20240603-3936047-dombwp current directory: /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/ext ["make", "DESTDIR=", "sitearchdir=./.gem.20240603-3936047-dombwp", "sitelibdir=./.gem.20240603-3936047-dombwp", "clean"] rm -f rm -fr curb_core.so false curb.o curb_easy.o curb_errors.o curb_multi.o curb_postfield.o curb_upload.o *.bak mkmf.log .*.time current directory: /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/ext /usr/bin/ruby -I/usr/share/rubygems extconf.rb current directory: /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/ext make DESTDIR\= sitearchdir\=./.gem.20240603-3936047-dombwp sitelibdir\=./.gem.20240603-3936047-dombwp clean current directory: /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/ext make DESTDIR\= sitearchdir\=./.gem.20240603-3936047-dombwp sitelibdir\=./.gem.20240603-3936047-dombwp current directory: /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/ext make DESTDIR\= sitearchdir\=./.gem.20240603-3936047-dombwp sitelibdir\=./.gem.20240603-3936047-dombwp install current directory: /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/ext make DESTDIR\= sitearchdir\=./.gem.20240603-3936047-dombwp sitelibdir\=./.gem.20240603-3936047-dombwp clean Successfully installed curb-1.0.1 Parsing documentation for curb-1.0.1 Parsing sources... 4% [ 1/23] LICENSE 8% [ 2/23] README.markdown 13% [ 3/23] ext/Makefile 17% [ 4/23] ext/banned.h 21% [ 5/23] ext/curb.c 26% [ 6/23] ext/curb.h 30% [ 7/23] ext/curb_config.h 34% [ 8/23] ext/curb_easy.c 39% [ 9/23] ext/curb_easy.h 43% [10/23] ext/curb_errors.c 47% [11/23] ext/curb_errors.h 52% [12/23] ext/curb_macros.h 56% [13/23] ext/curb_multi.c 60% [14/23] ext/curb_multi.h 65% [15/23] ext/curb_postfield.c 69% [16/23] ext/curb_postfield.h 73% [17/23] ext/curb_upload.c 78% [18/23] ext/curb_upload.h 82% [19/23] ext/extconf.rb 86% [20/23] lib/curb.rb 91% [21/23] lib/curl.rb 95% [22/23] lib/curl/easy.rb 100% [23/23] lib/curl/multi.rb Installing ri documentation for curb-1.0.1 Installing darkfish documentation for curb-1.0.1 Done installing documentation for curb after 1 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.aFDtSx + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-curb-1.0.1-1.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-curb-1.0.1-1.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/rubygem-curb-1.0.1-1.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-curb-1.0.1-1.oc9.aarch64 + cd curb-1.0.1 + mkdir -p /builddir/build/BUILDROOT/rubygem-curb-1.0.1-1.oc9.aarch64/usr/share/gems + cp -a ./usr/share/gems/build_info ./usr/share/gems/cache ./usr/share/gems/doc ./usr/share/gems/extensions ./usr/share/gems/gems ./usr/share/gems/plugins ./usr/share/gems/specifications /builddir/build/BUILDROOT/rubygem-curb-1.0.1-1.oc9.aarch64/usr/share/gems/ + mkdir -p /builddir/build/BUILDROOT/rubygem-curb-1.0.1-1.oc9.aarch64/usr/lib64/gems/ruby/curb-1.0.1 + cp -a ./usr/lib64/gems/ruby/curb-1.0.1/gem.build_complete ./usr/lib64/gems/ruby/curb-1.0.1/curb_core.so /builddir/build/BUILDROOT/rubygem-curb-1.0.1-1.oc9.aarch64/usr/lib64/gems/ruby/curb-1.0.1/ + rm -rf /builddir/build/BUILDROOT/rubygem-curb-1.0.1-1.oc9.aarch64/usr/share/gems/gems/curb-1.0.1/ext/ + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.0.1-1.oc9 --unique-debug-suffix -1.0.1-1.oc9.aarch64 --unique-debug-src-base rubygem-curb-1.0.1-1.oc9.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/curb-1.0.1 extracting debug info from /builddir/build/BUILDROOT/rubygem-curb-1.0.1-1.oc9.aarch64/usr/lib64/gems/ruby/curb-1.0.1/curb_core.so 488 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.nW2veg + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS ~/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1 ~/build/BUILD/curb-1.0.1 + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd curb-1.0.1 + pushd ./usr/share/gems/gems/curb-1.0.1 + sed -i '/^ def test_connection_keepalive/ a omit' tests/tc_curl_multi.rb + export RUBYLIB=lib:/builddir/build/BUILDROOT/rubygem-curb-1.0.1-1.oc9.aarch64/usr/lib64/gems/ruby/curb-1.0.1 + RUBYLIB=lib:/builddir/build/BUILDROOT/rubygem-curb-1.0.1-1.oc9.aarch64/usr/lib64/gems/ruby/curb-1.0.1 + ruby -e 'Dir.glob "./tests/tc_*.rb", &method(:require)' Loaded suite -e Started/builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/lib/curl/easy.rb:67: warning: undefining the allocator of T_DATA class Curl::Multi .........................../builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/tests/tc_curl_easy.rb:1115: warning: undefining the allocator of T_DATA class Curl::Upload .................................................... ../builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/tests/tc_curl_easy.rb:799: warning: undefining the allocator of T_DATA class Curl::PostField .................................................O =============================================================================== Omission: omitted. [test_connection_keepalive(TestCurbCurlMulti)] /builddir/build/BUILD/curb-1.0.1/usr/share/gems/gems/curb-1.0.1/tests/tc_curl_multi.rb:13:in `test_connection_keepalive' =============================================================================== ............................................... Finished in 2.03264981 seconds. ------------------------------------------------------------------------------- 178 tests, 624 assertions, 0 failures, 0 errors, 0 pendings, 1 omissions, 0 notifications 100% passed ------------------------------------------------------------------------------- 87.57 tests/s, 306.99 assertions/s + popd + RPM_EC=0 ~/build/BUILD/curb-1.0.1 ++ jobs -p + exit 0 Processing files: rubygem-curb-1.0.1-1.oc9.aarch64 Provides: rubygem(curb) = 1.0.1 rubygem-curb = 1.0.1-1.oc9 rubygem-curb(aarch-64) = 1.0.1-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libcurl.so.4()(64bit) libruby.so.3.2()(64bit) rtld(GNU_HASH) ruby(rubygems) Processing files: rubygem-curb-doc-1.0.1-1.oc9.noarch Provides: rubygem-curb-doc = 1.0.1-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rubygem-curb-debugsource-1.0.1-1.oc9.aarch64 Provides: rubygem-curb-debugsource = 1.0.1-1.oc9 rubygem-curb-debugsource(aarch-64) = 1.0.1-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rubygem-curb-debuginfo-1.0.1-1.oc9.aarch64 Provides: debuginfo(build-id) = df372e73a73b1a24c871b2019fe44a1f57d0081a rubygem-curb-debuginfo = 1.0.1-1.oc9 rubygem-curb-debuginfo(aarch-64) = 1.0.1-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rubygem-curb-debugsource(aarch-64) = 1.0.1-1.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-curb-1.0.1-1.oc9.aarch64 Wrote: /builddir/build/RPMS/rubygem-curb-debugsource-1.0.1-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/rubygem-curb-1.0.1-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/rubygem-curb-debuginfo-1.0.1-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/rubygem-curb-doc-1.0.1-1.oc9.noarch.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0