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/bison.spec'], chrootPath='/var/lib/mock/dist-an23-build-559500-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/bison.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 setting SOURCE_DATE_EPOCH=1785369600 Wrote: /builddir/build/SRPMS/bison-3.8.2-3.an23.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/bison.spec'], chrootPath='/var/lib/mock/dist-an23-build-559500-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/bison.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 setting SOURCE_DATE_EPOCH=1785369600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZkbeZy + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bison-3.8.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/bison-3.8.2.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd bison-3.8.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2026-56390.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f The text leading up to this was: -------------------------- |From: PengLAI Code |Date: Thu, 30 Jul 2026 01:51:10 +0000 |Subject: [PATCH] Fix CVE-2026-56390 in bison | |CVE: CVE-2026-56390 |Bug: CVE-2026-56390 | |--- | src/parse-gram.y | 31 ++++++++++++++++++++++++++----- | src/parse-gram.c | 30 +++++++++++++++++++++++++----- | 2 files changed, 51 insertions(+), 10 deletions(-) | |From 8d101c19d4d9aaedf83a448c925513742d4efcf0 Mon Sep 17 00:00:00 2001 |From: Paul Eggert |Date: Thu, 23 Apr 2026 12:41:25 -0700 |Subject: [PATCH] bison: tighten up output file names | |Problem reported by Michal Majchrowicz. |* src/parse-gram.y: Do not allow '/' in %header and %output directives. | |Fixes: CVE-2026-56390 |Upstream: https://cgit.git.savannah.gnu.org/cgit/bison.git/commit/?id=8d101c19d4d9aaedf83a448c925513742d4efcf0 |Backported to bison 3.8.2: adapted src/parse-gram.y and the shipped |generated file src/parse-gram.c; dropped THANKS/doc/version-comment hunks. |--- |--- a/src/parse-gram.y |+++ b/src/parse-gram.y -------------------------- No file to patch. Skipping patch. 4 out of 4 hunks ignored The text leading up to this was: -------------------------- |--- a/src/parse-gram.c |+++ b/src/parse-gram.c -------------------------- No file to patch. Skipping patch. 4 out of 4 hunks ignored RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.ZkbeZy (%prep) Bad exit status from /var/tmp/rpm-tmp.ZkbeZy (%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/bison.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/bison.spec'