Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/curl.spec'], chrootPath='/var/lib/mock/dist-an8.8-build-296643-65788/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/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'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/curl-7.61.1-31.0.2.an8.2.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/curl.spec'], chrootPath='/var/lib/mock/dist-an8.8-build-296643-65788/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/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'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pSnmKa + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf curl-7.61.1 + /usr/bin/xz -dc /builddir/build/SOURCES/curl-7.61.1.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd curl-7.61.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (0001-curl-7.61.1-test320-gnutls.patch):' Patch #1 (0001-curl-7.61.1-test320-gnutls.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file tests/data/test320 Patch #2 (0002-curl-7.61.1-tlsv1.0-man.patch): + echo 'Patch #2 (0002-curl-7.61.1-tlsv1.0-man.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file docs/cmdline-opts/tlsv1.0.d Patch #3 (0003-curl-7.61.1-TLS-1.3-PHA.patch): + echo 'Patch #3 (0003-curl-7.61.1-TLS-1.3-PHA.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/vtls/openssl.c + git init hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /builddir/build/BUILD/curl-7.61.1/.git/ + git apply /builddir/build/SOURCES/0004-curl-7.61.1-CVE-2018-16842.patch Patch #5 (0005-curl-7.61.1-CVE-2018-16840.patch): + echo 'Patch #5 (0005-curl-7.61.1-CVE-2018-16840.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/url.c Patch #6 (0006-curl-7.61.1-CVE-2018-16839.patch): + echo 'Patch #6 (0006-curl-7.61.1-CVE-2018-16839.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/vauth/cleartext.c Patch #7 (0007-curl-7.63.0-JO-preserve-local-file.patch): + echo 'Patch #7 (0007-curl-7.63.0-JO-preserve-local-file.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/tool_cb_hdr.c patching file src/tool_cb_wrt.c patching file src/tool_cb_wrt.h patching file src/tool_operate.c Patch #8 (0008-curl-7.61.1-CVE-2018-20483.patch): + echo 'Patch #8 (0008-curl-7.61.1-CVE-2018-20483.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file docs/libcurl/Makefile.inc patching file docs/libcurl/curl_url.3 patching file docs/libcurl/curl_url_cleanup.3 patching file docs/libcurl/curl_url_dup.3 patching file docs/libcurl/curl_url_get.3 patching file docs/libcurl/curl_url_set.3 patching file docs/libcurl/symbols-in-versions patching file include/curl/Makefile.am patching file include/curl/curl.h patching file include/curl/urlapi.h patching file lib/Makefile.inc patching file lib/escape.c patching file lib/escape.h patching file lib/imap.c patching file lib/transfer.c patching file lib/url.c patching file lib/url.h patching file lib/urlapi-int.h (copied from lib/escape.h) patching file lib/urlapi.c patching file tests/data/Makefile.inc patching file tests/data/test1560 patching file tests/libtest/Makefile.am patching file tests/libtest/Makefile.inc patching file tests/libtest/lib1560.c patching file docs/libcurl/curl_url.3 patching file docs/libcurl/curl_url_cleanup.3 patching file docs/libcurl/curl_url_dup.3 patching file docs/libcurl/curl_url_get.3 patching file docs/libcurl/curl_url_set.3 patching file docs/libcurl/curl_url_set.3 patching file lib/urlapi.c patching file lib/url.c patching file docs/libcurl/Makefile.inc patching file docs/libcurl/libcurl-url.3 patching file docs/libcurl/curl_url_set.3 patching file docs/libcurl/curl_url_get.3 patching file lib/urlapi.c patching file docs/libcurl/curl_url_set.3 patching file include/curl/urlapi.h patching file lib/urlapi.c patching file tests/data/test1560 patching file tests/libtest/lib1560.c patching file docs/libcurl/libcurl-errors.3 patching file docs/libcurl/symbols-in-versions patching file include/curl/urlapi.h patching file tests/libtest/lib1560.c patching file lib/urlapi-int.h patching file lib/urlapi.c patching file tests/libtest/lib1560.c patching file lib/urlapi.c patching file tests/libtest/lib1560.c patching file src/tool_xattr.c patching file tests/data/Makefile.inc patching file tests/data/test1621 patching file tests/unit/Makefile.inc patching file tests/unit/unit1621.c Patch #9 (0009-curl-7.61.1-CVE-2018-16890.patch): + echo 'Patch #9 (0009-curl-7.61.1-CVE-2018-16890.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/vauth/ntlm.c Patch #10 (0010-curl-7.61.1-CVE-2019-3822.patch): + echo 'Patch #10 (0010-curl-7.61.1-CVE-2019-3822.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/vauth/ntlm.c Patch #11 (0011-curl-7.61.1-CVE-2019-3823.patch): + echo 'Patch #11 (0011-curl-7.61.1-CVE-2019-3823.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/smtp.c Patch #14 (0014-curl-7.61.1-libssh-socket.patch): + echo 'Patch #14 (0014-curl-7.61.1-libssh-socket.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/ssh-libssh.c Patch #101 (0101-curl-7.32.0-multilib.patch): + echo 'Patch #101 (0101-curl-7.32.0-multilib.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file curl-config.in patching file docs/curl-config.1 patching file libcurl.pc.in Patch #102 (0102-curl-7.36.0-debug.patch): + echo 'Patch #102 (0102-curl-7.36.0-debug.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure patching file m4/curl-compilers.m4 Patch #103 (0103-curl-7.59.0-python3.patch): + echo 'Patch #103 (0103-curl-7.59.0-python3.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file tests/http_pipe.py patching file tests/runtests.pl patching file tests/negtelnetserver.py patching file tests/smbserver.py Patch #104 (0104-curl-7.19.7-localhost6.patch): + echo 'Patch #104 (0104-curl-7.19.7-localhost6.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file tests/data/test1083 patching file tests/data/test241 Patch #105 (0105-curl-7.61.1-test-ports.patch): + echo 'Patch #105 (0105-curl-7.61.1-test-ports.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file tests/data/test1448 patching file tests/data/test651 patching file tests/data/test653 + sed -e 's|%HTTPPORT|6490|g' -i tests/data/test1448 Patch #17 (0017-curl-7.64.0-CVE-2019-5436.patch): + echo 'Patch #17 (0017-curl-7.64.0-CVE-2019-5436.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/tftp.c Patch #18 (0018-curl-7.65.3-CVE-2019-5482.patch): + echo 'Patch #18 (0018-curl-7.65.3-CVE-2019-5482.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/tftp.c patching file lib/tftp.c Patch #19 (0019-curl-7.65.3-CVE-2019-5481.patch): + echo 'Patch #19 (0019-curl-7.65.3-CVE-2019-5481.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/security.c Patch #20 (0020-curl-7.61.1-openssl-engines.patch): + echo 'Patch #20 (0020-curl-7.61.1-openssl-engines.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/vtls/openssl.c Patch #21 (0021-curl-7.61.1-CVE-2020-8177.patch): + echo 'Patch #21 (0021-curl-7.61.1-CVE-2020-8177.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/tool_cb_hdr.c patching file src/tool_getparam.c Patch #22 (0022-curl-7.61.1-CVE-2020-8231.patch): + echo 'Patch #22 (0022-curl-7.61.1-CVE-2020-8231.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/connect.c patching file lib/easy.c patching file lib/multi.c patching file lib/url.c patching file lib/urldata.h Patch #23 (0023-curl-7.61.1-no-https-proxy-crash.patch): + echo 'Patch #23 (0023-curl-7.61.1-no-https-proxy-crash.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/url.c Patch #24 (0024-curl-7.61.1-openssl-partial-chain.patch): + echo 'Patch #24 (0024-curl-7.61.1-openssl-partial-chain.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/vtls/openssl.c patching file docs/libcurl/opts/CURLOPT_SSL_OPTIONS.3 patching file docs/libcurl/symbols-in-versions patching file include/curl/curl.h patching file lib/setopt.c patching file lib/urldata.h patching file lib/vtls/openssl.c patching file docs/libcurl/opts/CURLOPT_CRLFILE.3 patching file lib/vtls/openssl.c Patch #25 (0025-curl-7.61.1-CVE-2020-8284.patch): + echo 'Patch #25 (0025-curl-7.61.1-CVE-2020-8284.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file docs/cmdline-opts/ftp-skip-pasv-ip.d patching file docs/libcurl/opts/CURLOPT_FTP_SKIP_PASV_IP.3 patching file lib/url.c patching file src/tool_cfgable.c patching file tests/data/test1400 patching file tests/data/test1401 patching file tests/data/test1402 patching file tests/data/test1403 patching file tests/data/test1404 patching file tests/data/test1405 patching file tests/data/test1406 patching file tests/data/test1407 patching file tests/data/test1420 Patch #26 (0026-curl-7.61.1-CVE-2020-8285.patch): + echo 'Patch #26 (0026-curl-7.61.1-CVE-2020-8285.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/ftp.c Patch #27 (0027-curl-7.61.1-CVE-2020-8286.patch): + echo 'Patch #27 (0027-curl-7.61.1-CVE-2020-8286.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/vtls/openssl.c Patch #28 (0028-curl-7.61.1-http-auth-payload.patch): + echo 'Patch #28 (0028-curl-7.61.1-http-auth-payload.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/http.c patching file tests/data/test1097 Patch #29 (0029-curl-7.61.1-CVE-2021-22876.patch): + echo 'Patch #29 (0029-curl-7.61.1-CVE-2021-22876.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/transfer.c patching file lib/transfer.c Patch #30 (0030-curl-7.61.1-file-head.patch): + echo 'Patch #30 (0030-curl-7.61.1-file-head.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/file.c patching file lib/getinfo.c patching file lib/url.c patching file src/tool_cb_hdr.c patching file tests/data/test1016 patching file tests/data/test1017 patching file tests/data/test1018 patching file tests/data/test1019 patching file tests/data/test1020 patching file tests/data/test1029 patching file tests/data/test1146 patching file tests/data/test1220 patching file tests/data/test200 patching file tests/data/test2000 patching file tests/data/test2001 patching file tests/data/test2002 patching file tests/data/test2003 patching file tests/data/test2004 patching file tests/data/test2006 patching file tests/data/test2007 patching file tests/data/test2008 patching file tests/data/test2009 patching file tests/data/test2010 patching file tests/data/test202 patching file tests/data/test203 patching file tests/data/test204 patching file tests/data/test205 patching file tests/data/test2070 patching file tests/data/test2071 patching file tests/data/test2072 patching file tests/data/test210 patching file tests/data/test231 patching file tests/data/test288 Patch #31 (0031-curl-7.61.1-CVE-2021-22924.patch): + echo 'Patch #31 (0031-curl-7.61.1-CVE-2021-22924.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/setopt.c patching file lib/url.c patching file lib/urldata.h patching file lib/vtls/cyassl.c patching file lib/vtls/darwinssl.c patching file lib/vtls/gskit.c patching file lib/vtls/gtls.c patching file lib/vtls/mbedtls.c patching file lib/vtls/nss.c patching file lib/vtls/openssl.c patching file lib/vtls/polarssl.c patching file lib/vtls/schannel.c patching file lib/url.c patching file lib/urldata.h patching file lib/vtls/gtls.c patching file lib/vtls/nss.c patching file lib/vtls/openssl.c patching file lib/vtls/vtls.c Patch #32 (0032-curl-7.61.1-CVE-2021-22898.patch): + echo 'Patch #32 (0032-curl-7.61.1-CVE-2021-22898.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/telnet.c Patch #33 (0033-curl-7.61.1-CVE-2021-22925.patch): + echo 'Patch #33 (0033-curl-7.61.1-CVE-2021-22925.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/telnet.c Patch #34 (0034-curl-7.61.1-CVE-2021-22946.patch): + echo 'Patch #34 (0034-curl-7.61.1-CVE-2021-22946.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/ftp.c patching file lib/imap.c patching file lib/pop3.c patching file tests/data/Makefile.inc patching file tests/data/test984 patching file tests/data/test985 patching file tests/data/test986 Patch #35 (0035-curl-7.61.1-CVE-2021-22947.patch): + echo 'Patch #35 (0035-curl-7.61.1-CVE-2021-22947.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/ftp.c patching file lib/imap.c patching file lib/pop3.c patching file lib/smtp.c patching file tests/data/Makefile.inc patching file tests/data/test980 patching file tests/data/test981 patching file tests/data/test982 patching file tests/data/test983 Patch #36 (0036-curl-7.61.1-CVE-2022-22576.patch): + echo 'Patch #36 (0036-curl-7.61.1-CVE-2022-22576.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/curl_sasl.c patching file lib/http.c patching file lib/url.c patching file lib/urldata.h patching file lib/strcase.c patching file lib/strcase.h patching file lib/url.c patching file lib/urldata.h patching file lib/vtls/vtls.c Patch #37 (0037-curl-7.61.1-CVE-2022-27776.patch): + echo 'Patch #37 (0037-curl-7.61.1-CVE-2022-27776.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file docs/libcurl/opts/CURLOPT_HTTPHEADER.3 patching file lib/http.c patching file tests/data/Makefile.inc patching file tests/data/test330 patching file tests/data/test1455 patching file tests/server/sws.c patching file tests/runtests.pl patching file tests/server/sws.c patching file lib/http.c patching file lib/urldata.h patching file tests/data/Makefile.inc patching file tests/data/test898 Patch #38 (0038-curl-7.61.1-CVE-2022-27774.patch): + echo 'Patch #38 (0038-curl-7.61.1-CVE-2022-27774.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/connect.c patching file lib/urldata.h patching file lib/transfer.c patching file lib/url.c patching file lib/urldata.h patching file tests/data/Makefile.inc patching file tests/data/test973 patching file tests/data/test974 patching file tests/data/test975 patching file tests/data/test976 patching file lib/http.c patching file lib/http.h patching file lib/vtls/openssl.c + sed -e 's|:8992/|:6492/|g' -i tests/data/test973 tests/data/test974 tests/data/test975 tests/data/test976 Patch #39 (0039-curl-7.61.1-CVE-2022-27782.patch): + echo 'Patch #39 (0039-curl-7.61.1-CVE-2022-27782.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/setopt.c patching file lib/url.c patching file lib/urldata.h patching file lib/vtls/openssl.c patching file lib/vtls/vtls.c patching file lib/ssh.h patching file lib/url.c Patch #40 (0040-curl-7.61.1-CVE-2022-32208.patch): + echo 'Patch #40 (0040-curl-7.61.1-CVE-2022-32208.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/krb5.c patching file lib/security.c Patch #41 (0041-curl-7.61.1-CVE-2022-32206.patch): + echo 'Patch #41 (0041-curl-7.61.1-CVE-2022-32206.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/content_encoding.c patching file tests/data/Makefile.inc patching file tests/data/test387 Patch #42 (0042-curl-7.61.1-ssh-known-hosts.patch): + echo 'Patch #42 (0042-curl-7.61.1-ssh-known-hosts.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/setopt.c Patch #43 (0043-curl-7.61.1-CVE-2022-35252.patch): + echo 'Patch #43 (0043-curl-7.61.1-CVE-2022-35252.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file tests/runtests.pl patching file lib/cookie.c patching file tests/data/test8 Patch #44 (0044-curl-7.61.1-retry-http11.patch): + echo 'Patch #44 (0044-curl-7.61.1-retry-http11.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/http2.c patching file lib/http2.h patching file lib/multi.c Patch #45 (0045-curl-7.61.1-CVE-2022-43552.patch): + echo 'Patch #45 (0045-curl-7.61.1-CVE-2022-43552.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/smb.c patching file lib/telnet.c Patch #46 (0046-curl-7.61.1-h2-window-size.patch): + echo 'Patch #46 (0046-curl-7.61.1-h2-window-size.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/http2.c patching file tests/data/test1800 Patch #47 (0047-curl-7.61.1-CVE-2023-23916.patch): + echo 'Patch #47 (0047-curl-7.61.1-CVE-2023-23916.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file tests/runtests.pl patching file tests/server/getpart.c patching file lib/content_encoding.c patching file lib/urldata.h patching file tests/data/Makefile.inc patching file tests/data/test387 patching file tests/data/test418 Patch #48 (0048-curl-7.61.1-CVE-2023-27535.patch): + echo 'Patch #48 (0048-curl-7.61.1-CVE-2023-27535.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/strcase.c patching file lib/strcase.h patching file lib/ftp.c patching file lib/ftp.h patching file lib/setopt.c patching file lib/url.c patching file lib/urldata.h Patch #50 (0050-curl-7.61.1-sftp-upload-flags.patch): + echo 'Patch #50 (0050-curl-7.61.1-sftp-upload-flags.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/ssh-libssh.c Patch #105 (0105-curl-7.61.1-test-ports.patch): + echo 'Patch #105 (0105-curl-7.61.1-test-ports.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file tests/data/test1448 Hunk #1 FAILED at 17. Hunk #2 FAILED at 52. 2 out of 2 hunks FAILED -- saving rejects to file tests/data/test1448.rej patching file tests/data/test651 Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file tests/data/test651.rej patching file tests/data/test653 Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 2 out of 2 hunks ignored -- saving rejects to file tests/data/test653.rej error: Bad exit status from /var/tmp/rpm-tmp.pSnmKa (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.pSnmKa (%prep) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/curl.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/curl.spec