Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/xpdf.spec'], chrootPath='/var/lib/mock/dist-an23-build-557288-90176/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/xpdf.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: line 69: It's not recommended to have unversioned Obsoletes: Obsoletes: xpdf-chinese-simplified warning: line 71: It's not recommended to have unversioned Obsoletes: Obsoletes: xpdf-chinese-traditional warning: line 73: It's not recommended to have unversioned Obsoletes: Obsoletes: xpdf-korean warning: line 75: It's not recommended to have unversioned Obsoletes: Obsoletes: xpdf-japanese warning: %patchN is deprecated (12 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1785196800 Wrote: /builddir/build/SRPMS/xpdf-4.06-2.an23.src.rpm RPM build warnings: line 69: It's not recommended to have unversioned Obsoletes: Obsoletes: xpdf-chinese-simplified line 71: It's not recommended to have unversioned Obsoletes: Obsoletes: xpdf-chinese-traditional line 73: It's not recommended to have unversioned Obsoletes: Obsoletes: xpdf-korean line 75: It's not recommended to have unversioned Obsoletes: Obsoletes: xpdf-japanese %patchN is deprecated (12 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/xpdf.spec'], chrootPath='/var/lib/mock/dist-an23-build-557288-90176/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/xpdf.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: line 69: It's not recommended to have unversioned Obsoletes: Obsoletes: xpdf-chinese-simplified warning: line 71: It's not recommended to have unversioned Obsoletes: Obsoletes: xpdf-chinese-traditional warning: line 73: It's not recommended to have unversioned Obsoletes: Obsoletes: xpdf-korean warning: line 75: It's not recommended to have unversioned Obsoletes: Obsoletes: xpdf-japanese warning: %patchN is deprecated (12 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1785196800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QvC7xC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xpdf-4.06 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xpdf-4.06.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd xpdf-4.06 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xpdf-chinese-simplified.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xpdf-chinese-traditional.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xpdf-japanese.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xpdf-korean.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xpdf-cyrillic.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xpdf-thai.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xpdf-arabic.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xpdf-greek.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xpdf-hebrew.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xpdf-latin2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xpdf-turkish.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #3 (xpdf-4.01-ext.patch):' Patch #3 (xpdf-4.01-ext.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ext --fuzz=0 patching file goo/gfile.cc Hunk #1 succeeded at 513 (offset 40 lines). Hunk #2 succeeded at 528 (offset 40 lines). Patch #9 (xpdf-3.00-papersize.patch): + echo 'Patch #9 (xpdf-3.00-papersize.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .papersize --fuzz=0 patching file xpdf/config.h Hunk #1 succeeded at 43 (offset 2 lines). Patch #11 (xpdf-4.01-crash.patch): + echo 'Patch #11 (xpdf-4.01-crash.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .crash --fuzz=0 patching file fofi/FoFiType1.cc Hunk #1 succeeded at 281 (offset 5 lines). Patch #12 (xpdf-4.01-64bit.patch): + echo 'Patch #12 (xpdf-4.01-64bit.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .alloc --fuzz=0 patching file goo/gmem.cc Hunk #1 succeeded at 86 (offset 2 lines). Hunk #2 succeeded at 136 (offset 2 lines). Hunk #3 succeeded at 152 (offset 2 lines). patching file goo/gmem.h Patch #25 (xpdf-4.00-versionedlib.patch): + echo 'Patch #25 (xpdf-4.00-versionedlib.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .versionedlib --fuzz=0 patching file fofi/CMakeLists.txt Hunk #1 succeeded at 26 (offset 2 lines). patching file goo/CMakeLists.txt Hunk #1 succeeded at 28 (offset 3 lines). patching file splash/CMakeLists.txt Hunk #1 succeeded at 46 (offset 2 lines). Patch #26 (xpdf-4.02-urw-base35-fonts.patch): + echo 'Patch #26 (xpdf-4.02-urw-base35-fonts.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .urw-font-fix --fuzz=0 patching file xpdf/GlobalParams.cc Patch #204 (CVE-2026-4407.patch): + echo 'Patch #204 (CVE-2026-4407.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file xpdf-4.06-CVE-2026-4407.patch can't find file to patch at input line 68 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/xpdf.spec b/xpdf.spec |index 17d8be9..9b8cfdd 100644 |--- a/xpdf.spec |+++ b/xpdf.spec -------------------------- No file to patch. Skipping patch. 4 out of 4 hunks ignored error: Bad exit status from /var/tmp/rpm-tmp.QvC7xC (%prep) RPM build warnings: RPM build errors: line 69: It's not recommended to have unversioned Obsoletes: Obsoletes: xpdf-chinese-simplified line 71: It's not recommended to have unversioned Obsoletes: Obsoletes: xpdf-chinese-traditional line 73: It's not recommended to have unversioned Obsoletes: Obsoletes: xpdf-korean line 75: It's not recommended to have unversioned Obsoletes: Obsoletes: xpdf-japanese %patchN is deprecated (12 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.QvC7xC (%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/xpdf.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 612, 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/xpdf.spec'