Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/expat.spec'], chrootPath='/mnt/mock/kojid//dist-an23.3-riscv64-gcc14-build-488596-74423/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=172800uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/expat.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1756252800 Wrote: /builddir/build/SRPMS/expat-2.5.0-7.an23_rva23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/expat.spec'], chrootPath='/mnt/mock/kojid//dist-an23.3-riscv64-gcc14-build-488596-74423/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=172800uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/expat.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1756252800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8wRKh4 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf expat-2.5.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/expat-2.5.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd expat-2.5.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-fix-CVE-2024-45490.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-fix-CVE-2024-45491.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0003-fix-CVE-2024-45492.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0004-fix-CVE-2024-28757.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0005-fix-CVE-2024-50602.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/1000-fix-CVE-2023-52425.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/1001-fix-CVE-2024-8176.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/1002-fix-CVE-2023-52426.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/989.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f The text leading up to this was: -------------------------- |From 89a9c6807c982b4fa8aa806dd72771d6642dd8a1 Mon Sep 17 00:00:00 2001 |From: =?UTF-8?q?Berkay=20Eren=20=C3=9Cr=C3=BCn?= |Date: Wed, 19 Mar 2025 02:20:49 +0100 |Subject: [PATCH 1/5] Stop updating m_eventPtr on exit for reentry | |The fix for recursive entity processing introduced a reenter flag that |returns the execution from the current function and switches to entity |processing. | |The same fix also updates the m_eventPtr during this switch. However |this update changes the behaviour in certain cases as the older version |does not update the m_eventPtr while recursing into entity processing. | |This commit removes the pointer update and restores the old behaviour. |--- | expat/lib/xmlparse.c | 4 +++- | 1 file changed, 3 insertions(+), 1 deletion(-) | |diff --git a/expat/lib/xmlparse.c b/expat/lib/xmlparse.c |index 626f56af2..67bd3a545 100644 |--- a/expat/lib/xmlparse.c |+++ b/expat/lib/xmlparse.c -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored The text leading up to this was: -------------------------- | |From bcf353990c651d589c74aa0f283f9b392bbb68bf Mon Sep 17 00:00:00 2001 |From: =?UTF-8?q?Berkay=20Eren=20=C3=9Cr=C3=BCn?= |Date: Wed, 19 Mar 2025 15:37:21 +0100 |Subject: [PATCH 2/5] Make parser->m_eventPtr handling clearer | |--- | expat/lib/xmlparse.c | 8 ++++++-- | 1 file changed, 6 insertions(+), 2 deletions(-) | |diff --git a/expat/lib/xmlparse.c b/expat/lib/xmlparse.c |index 67bd3a545..f8ae864a1 100644 |--- a/expat/lib/xmlparse.c |+++ b/expat/lib/xmlparse.c -------------------------- No file to patch. Skipping patch. 4 out of 4 hunks ignored The text leading up to this was: -------------------------- | |From f3feb0d09cf8dbb2caa072abd271355d3037fcd3 Mon Sep 17 00:00:00 2001 |From: Sebastian Pipping |Date: Tue, 25 Mar 2025 17:40:14 +0100 |Subject: [PATCH 3/5] tests: Make strndup(3) available to C99 | |--- | expat/tests/common.c | 25 +++++++++++++++++++++++++ | expat/tests/common.h | 2 ++ | 2 files changed, 27 insertions(+) | |diff --git a/expat/tests/common.c b/expat/tests/common.c |index af516f968..611959cf2 100644 |--- a/expat/tests/common.c |+++ b/expat/tests/common.c -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored The text leading up to this was: -------------------------- |diff --git a/expat/tests/common.h b/expat/tests/common.h |index bc4c7da68..88711308b 100644 |--- a/expat/tests/common.h |+++ b/expat/tests/common.h -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored The text leading up to this was: -------------------------- | |From c096f9698041e947b8321dc1d02ea3afc75f5444 Mon Sep 17 00:00:00 2001 |From: Sebastian Pipping |Date: Wed, 19 Mar 2025 02:44:41 +0100 |Subject: [PATCH 4/5] tests: Cover m_eventPtr value with entities and | reentering | |m_eventPtr is a key provider to these functions: |- XML_GetCurrentByteCount |- XML_GetCurrentByteIndex |- XML_GetCurrentColumnNumber |- XML_GetCurrentLineNumber |- XML_GetInputContext |--- | expat/tests/misc_tests.c | 61 ++++++++++++++++++++++++++++++++++++++++ | 1 file changed, 61 insertions(+) | |diff --git a/expat/tests/misc_tests.c b/expat/tests/misc_tests.c |index fa5f6ad15..a9f880c9d 100644 |--- a/expat/tests/misc_tests.c |+++ b/expat/tests/misc_tests.c -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored The text leading up to this was: -------------------------- | |From 308c31ed647f2c6aebe33ca3a4fa9e1436f461e2 Mon Sep 17 00:00:00 2001 |From: Sebastian Pipping |Date: Wed, 19 Mar 2025 16:02:00 +0100 |Subject: [PATCH 5/5] Changes: Document #980 #989 | |--- | expat/Changes | 15 +++++++++++++++ | 1 file changed, 15 insertions(+) | |diff --git a/expat/Changes b/expat/Changes |index 5d273ee8f..c088f0cbb 100644 |--- a/expat/Changes |+++ b/expat/Changes -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.8wRKh4 (%prep) Bad exit status from /var/tmp/rpm-tmp.8wRKh4 (%prep) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/expat.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 riscv64 --nodeps /builddir/build/SPECS/expat.spec