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/json-glib.spec'], chrootPath='/var/lib/mock/dist-an23.5-build-592140-100542/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/json-glib.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: bogus date in %changelog: Tue Oct 28 2026 ali - 1.8.0-2 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1793145600 Wrote: /builddir/build/SRPMS/json-glib-1.8.0-2.an23.src.rpm RPM build warnings: bogus date in %changelog: Tue Oct 28 2026 ali - 1.8.0-2 Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/json-glib.spec'], chrootPath='/var/lib/mock/dist-an23.5-build-592140-100542/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/json-glib.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: bogus date in %changelog: Tue Oct 28 2026 ali - 1.8.0-2 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1793145600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0LNihd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf json-glib-1.8.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/json-glib-1.8.0.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd json-glib-1.8.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/fix-CVE-2026-120194.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f The text leading up to this was: -------------------------- |From 6e0ba8a1f2d54c07aa9ac3de2c4673f8e0e0ef1a Mon Sep 17 00:00:00 2001 |Subject: [PATCH] path: Reject non-positive slice steps (CVE-2026-120194) | |The JSONPath slice evaluator iterated with `i < end` while adding a |possibly negative step, so an expression like `$[:5:-1]` moved the index |away from the termination condition and hung json_path_query() forever. | |Reject zero and negative steps at compile time, and bail out of the |slice loop if a non-positive step reaches the evaluator. | |Reference: https://gitlab.gnome.org/GNOME/json-glib/-/issues/96 |Reference: https://bugzilla.redhat.com/show_bug.cgi?id=2564418 | |--- |diff --git a/json-glib/json-path.c b/json-glib/json-path.c |index 5e4c0ef..f03c6ad 100644 |--- a/json-glib/json-path.c |+++ b/json-glib/json-path.c -------------------------- No file to patch. Skipping patch. 3 out of 3 hunks ignored RPM build warnings: RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.0LNihd (%prep) bogus date in %changelog: Tue Oct 28 2026 ali - 1.8.0-2 Bad exit status from /var/tmp/rpm-tmp.0LNihd (%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/json-glib.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/json-glib.spec'