Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/tigervnc.spec'], chrootPath='/var/lib/mock/dist-an23-build-460295-73691/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=982gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qw8o4rg7:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qw8o4rg7:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b5270b8937fe4a4aaaffb8c85dc875a9', '-D', '/var/lib/mock/dist-an23-build-460295-73691/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qw8o4rg7:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/tigervnc.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False sh: line 1: xserver-sdk-abi-requires: command not found sh: line 1: xserver-sdk-abi-requires: command not found warning: %patchN is deprecated (9 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1754524800 Wrote: /builddir/build/SRPMS/tigervnc-1.13.1-5.an23.src.rpm RPM build warnings: %patchN is deprecated (9 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 aarch64 --nodeps /builddir/build/SPECS/tigervnc.spec'], chrootPath='/var/lib/mock/dist-an23-build-460295-73691/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=982gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qw8o4rg7:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qw8o4rg7:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f568205a313d4e09838db9268d15e02b', '-D', '/var/lib/mock/dist-an23-build-460295-73691/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qw8o4rg7:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/tigervnc.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: %patchN is deprecated (9 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1754524800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wXIbO5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tigervnc-1.13.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/tigervnc-1.13.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd tigervnc-1.13.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #50 (tigervnc-vncsession-restore-script-systemd-service.patch):' Patch #50 (tigervnc-vncsession-restore-script-systemd-service.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .vncsession-restore-script-systemd-service --fuzz=0 patching file unix/vncserver/CMakeLists.txt patching file unix/vncserver/vncserver@.service.in patching file unix/vncserver/vncsession-restore.in + cp -r /usr/share/xorg-x11-server-source/GL /usr/share/xorg-x11-server-source/Makefile.am /usr/share/xorg-x11-server-source/Xext /usr/share/xorg-x11-server-source/Xi /usr/share/xorg-x11-server-source/aclocal.m4 /usr/share/xorg-x11-server-source/composite /usr/share/xorg-x11-server-source/config /usr/share/xorg-x11-server-source/configure.ac /usr/share/xorg-x11-server-source/damageext /usr/share/xorg-x11-server-source/dbe /usr/share/xorg-x11-server-source/devbook.am /usr/share/xorg-x11-server-source/dix /usr/share/xorg-x11-server-source/doc /usr/share/xorg-x11-server-source/docbook.am /usr/share/xorg-x11-server-source/dri3 /usr/share/xorg-x11-server-source/exa /usr/share/xorg-x11-server-source/fb /usr/share/xorg-x11-server-source/glamor /usr/share/xorg-x11-server-source/glx /usr/share/xorg-x11-server-source/hw /usr/share/xorg-x11-server-source/include /usr/share/xorg-x11-server-source/m4 /usr/share/xorg-x11-server-source/man /usr/share/xorg-x11-server-source/manpages.am /usr/share/xorg-x11-server-source/meson_options.txt /usr/share/xorg-x11-server-source/mi /usr/share/xorg-x11-server-source/miext /usr/share/xorg-x11-server-source/os /usr/share/xorg-x11-server-source/present /usr/share/xorg-x11-server-source/pseudoramiX /usr/share/xorg-x11-server-source/randr /usr/share/xorg-x11-server-source/record /usr/share/xorg-x11-server-source/render /usr/share/xorg-x11-server-source/test /usr/share/xorg-x11-server-source/xfixes /usr/share/xorg-x11-server-source/xkb /usr/share/xorg-x11-server-source/xorg-server.m4 /usr/share/xorg-x11-server-source/xorg-server.pc.in /usr/share/xorg-x11-server-source/xserver.ent.in unix/xserver + pushd unix/xserver ~/build/BUILD/tigervnc-1.13.1/unix/xserver ~/build/BUILD/tigervnc-1.13.1 ++ find . -type f -perm -001 + echo 'Patch #100 (tigervnc-xserver120.patch):' Patch #100 (tigervnc-xserver120.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .xserver120-rebased --fuzz=0 patching file configure.ac Hunk #1 succeeded at 71 (offset -3 lines). Hunk #2 succeeded at 1738 (offset -126 lines). Hunk #3 succeeded at 1777 (offset -126 lines). Hunk #4 succeeded at 1993 (offset -130 lines). Hunk #5 succeeded at 2530 (offset -167 lines). patching file hw/Makefile.am patching file mi/miinitext.c patching file include/os.h Hunk #1 succeeded at 635 (offset 14 lines). + echo 'Patch #101 (101-bugfix-for-CVE-2024-21885.patch):' Patch #101 (101-bugfix-for-CVE-2024-21885.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .101-bugfix-for-CVE-2024-21885 --fuzz=0 patching file Xi/xichangehierarchy.c Hunk #1 succeeded at 416 (offset 76 lines). Hunk #2 succeeded at 470 (offset 76 lines). Hunk #3 succeeded at 481 (offset 76 lines). Hunk #4 succeeded at 492 (offset 76 lines). Patch #102 (102-bugfix-for-CVE-2025-49176.patch): + echo 'Patch #102 (102-bugfix-for-CVE-2025-49176.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .102-bugfix-for-CVE-2025-49176 --fuzz=0 patching file dix/dispatch.c Hunk #1 succeeded at 447 (offset -71 lines). Hunk #2 succeeded at 471 (offset -71 lines). patching file os/io.c + echo 'Patch #103 (103-bugfix-for-CVE-2025-49176.patch):' Patch #103 (103-bugfix-for-CVE-2025-49176.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .103-bugfix-for-CVE-2025-49176 --fuzz=0 patching file os/io.c Hunk #1 succeeded at 395 (offset 1 line). + echo 'Patch #104 (1004-fix-CVE-2025-49177.patch):' Patch #104 (1004-fix-CVE-2025-49177.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .1004-fix-CVE-2025-49177 --fuzz=0 can't find file to patch at input line 14 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |From 8bbda7e11f328021a1209eafc6d2c7ad2cd77901 Mon Sep 17 00:00:00 2001 |From: mgb01105731 |Date: Mon, 23 Jun 2025 01:14:29 -0400 |Subject: [PATCH 1/1] fix CVE-2025-49177 | |--- | xfixes/disconnect.c | 3 ++- | 1 file changed, 2 insertions(+), 1 deletion(-) | |diff --git a/xfixes/disconnect.c b/xfixes/disconnect.c |index 7793272..209e3d8 100644 |--- a/xfixes/disconnect.c |+++ b/xfixes/disconnect.c -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored RPM build warnings: RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.wXIbO5 (%prep) %patchN is deprecated (9 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.wXIbO5 (%prep) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M f568205a313d4e09838db9268d15e02b -D /var/lib/mock/dist-an23-build-460295-73691/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.qw8o4rg7:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/tigervnc.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: # /usr/bin/systemd-nspawn -q -M f568205a313d4e09838db9268d15e02b -D /var/lib/mock/dist-an23-build-460295-73691/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.qw8o4rg7:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/tigervnc.spec'