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/xerces-c.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-130748-8997/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/xerces-c.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/xerces-c-3.2.4-2.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/xerces-c.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-130748-8997/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/xerces-c.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JsM5FA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xerces-c-3.2.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xerces-c-3.2.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd xerces-c-3.2.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Fix-CVE-2024-23807.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f The text leading up to this was: -------------------------- |From 0d0cb79fc1b2f747873f01a8409423cfe87c459e Mon Sep 17 00:00:00 2001 |From: jiaxinyyang |Date: Mon, 4 Mar 2024 17:12:34 +0800 |Subject: [PATCH] Fix CVE-2024-23807 | |--- | src/xercesc/internal/DGXMLScanner.cpp | 6 +- | src/xercesc/internal/IGXMLScanner.cpp | 6 +- | src/xercesc/internal/ReaderMgr.cpp | 212 ++++++++++++++++++-------- | src/xercesc/internal/ReaderMgr.hpp | 92 +++++++++-- | 4 files changed, 231 insertions(+), 85 deletions(-) | |diff --git a/src/xercesc/internal/DGXMLScanner.cpp b/src/xercesc/internal/DGXMLScanner.cpp |index 4334223..895dfeb 100644 |--- a/src/xercesc/internal/DGXMLScanner.cpp |+++ b/src/xercesc/internal/DGXMLScanner.cpp -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored The text leading up to this was: -------------------------- |diff --git a/src/xercesc/internal/IGXMLScanner.cpp b/src/xercesc/internal/IGXMLScanner.cpp |index 912ec0c..d694b23 100644 |--- a/src/xercesc/internal/IGXMLScanner.cpp |+++ b/src/xercesc/internal/IGXMLScanner.cpp -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored The text leading up to this was: -------------------------- |diff --git a/src/xercesc/internal/ReaderMgr.cpp b/src/xercesc/internal/ReaderMgr.cpp |index d14483e..6b3783e 100644 |--- a/src/xercesc/internal/ReaderMgr.cpp |+++ b/src/xercesc/internal/ReaderMgr.cpp -------------------------- No file to patch. Skipping patch. 15 out of 15 hunks ignored The text leading up to this was: -------------------------- |diff --git a/src/xercesc/internal/ReaderMgr.hpp b/src/xercesc/internal/ReaderMgr.hpp |index f63b219..4a1ae37 100644 |--- a/src/xercesc/internal/ReaderMgr.hpp |+++ b/src/xercesc/internal/ReaderMgr.hpp -------------------------- No file to patch. Skipping patch. 5 out of 5 hunks ignored RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.JsM5FA (%prep) Bad exit status from /var/tmp/rpm-tmp.JsM5FA (%prep) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/xerces-c.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, 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 aarch64 --nodeps /builddir/build/SPECS/xerces-c.spec