Mock Version: 6.2 Mock Version: 6.2 Mock Version: 6.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/sqlite.spec'], chrootPath='/var/lib/mock/dist-an23-build-559530-90272/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=989gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/sqlite.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 (7 usages found), use %patch N (or %patch -P N) warning: extra tokens at the end of %endif directive in line 218: %endif #with check Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1785369600 Wrote: /builddir/build/SRPMS/sqlite-3.42.0-10.an23.src.rpm RPM build warnings: %patchN is deprecated (7 usages found), use %patch N (or %patch -P N) extra tokens at the end of %endif directive in line 218: %endif #with check Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/sqlite.spec'], chrootPath='/var/lib/mock/dist-an23-build-559530-90272/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=989gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/sqlite.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 (7 usages found), use %patch N (or %patch -P N) warning: extra tokens at the end of %endif directive in line 218: %endif #with check Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1785369600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6gYKwp + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sqlite-src-3420000 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/sqlite-src-3420000.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd sqlite-src-3420000 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/sqlite-doc-3420000.zip + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (0001-CVE-2023-7104.patch):' Patch #1 (0001-CVE-2023-7104.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file ext/session/sqlite3session.c Patch #2 (1001-fix-CVE-2025-6965.patch): + echo 'Patch #2 (1001-fix-CVE-2025-6965.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/expr.c patching file src/sqliteInt.h + echo 'Patch #3 (0003-bugfix-for-CVE-2025-70873.patch):' Patch #3 (0003-bugfix-for-CVE-2025-70873.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file ext/misc/zipfile.c Hunk #1 succeeded at 966 (offset -41 lines). + echo 'Patch #4 (0004-bugfix-for-CVE-2026-11824.patch):' Patch #4 (0004-bugfix-for-CVE-2026-11824.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file ext/fts5/fts5_index.c patching file ext/fts5/test/fts5corruptA.test Patch #5 (fix-CVE-2026-50812.patch): + echo 'Patch #5 (fix-CVE-2026-50812.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file ext/session/session9.test patching file ext/session/sqlite3session.c Hunk #1 succeeded at 4668 (offset -2 lines). Patch #6 (0006-bugfix-for-CVE-2026-50813.patch): + echo 'Patch #6 (0006-bugfix-for-CVE-2026-50813.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file ext/session/sessionC.test patching file ext/session/sqlite3session.c Patch #7 (CVE-2026-51302.patch): + echo 'Patch #7 (CVE-2026-51302.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file 0007-bugfix-for-CVE-2026-51302.patch can't find file to patch at input line 69 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/sqlite.spec b/sqlite.spec |index 8721c89..dd4fbed 100644 |--- a/sqlite.spec |+++ b/sqlite.spec -------------------------- No file to patch. Skipping patch. 4 out of 4 hunks ignored error: Bad exit status from /var/tmp/rpm-tmp.6gYKwp (%prep) RPM build warnings: RPM build errors: %patchN is deprecated (7 usages found), use %patch N (or %patch -P N) extra tokens at the end of %endif directive in line 218: %endif #with check Bad exit status from /var/tmp/rpm-tmp.6gYKwp (%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/sqlite.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 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/sqlite.spec'