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/torque.spec'], chrootPath='/var/lib/mock/dist-an23.3-build-425203-72957/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.aqle5nfg:/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']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.aqle5nfg:/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', '5fbaf7123526475583dd14b2ac62b4fb', '-D', '/var/lib/mock/dist-an23.3-build-425203-72957/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.aqle5nfg:/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 x86_64 --nodeps /builddir/build/SPECS/torque.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 (5 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1742774400 Wrote: /builddir/build/SRPMS/torque-6.1.3-1.an23.src.rpm RPM build warnings: %patchN is deprecated (5 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/torque.spec'], chrootPath='/var/lib/mock/dist-an23.3-build-425203-72957/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.aqle5nfg:/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']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.aqle5nfg:/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', 'a136397e5e8a47819b44ec88c3c29394', '-D', '/var/lib/mock/dist-an23.3-build-425203-72957/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.aqle5nfg:/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 x86_64 --nodeps /builddir/build/SPECS/torque.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 (5 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1742774400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.10XY4C + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf torque + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/torque-6.1.3.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd torque + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (torque-munge-size.patch):' Patch #1 (torque-munge-size.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .munge-size --fuzz=0 patching file src/include/libpbs.h + echo 'Patch #2 (torque-6.1.3-port-args.patch):' Patch #2 (torque-6.1.3-port-args.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .port-args --fuzz=0 patching file contrib/init.d/pbs_mom.in + echo 'Patch #4 (torque-6.1.3-system-jsoncpp.patch):' Patch #4 (torque-6.1.3-system-jsoncpp.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .system-jsoncpp --fuzz=0 patching file configure.ac patching file src/include/machine.hpp patching file src/include/Makefile.am patching file src/include/pbs_job.h patching file src/lib/Libutils/Makefile.am patching file src/resmom/catch_child.c patching file src/resmom/mom_server.c patching file src/resmom/parse_config.c patching file src/resmom/prolog.c patching file src/resmom/requests.c patching file src/server/job.cpp patching file src/server/node_manager.c patching file src/server/pbsnode.cpp patching file src/test/catch_child/scaffolding.c patching file src/test/job/test_uut.c patching file src/test/machine/scaffolding.c patching file src/test/machine/test_uut.c patching file src/test/node_manager/scaffolding.c patching file src/test/node_manager/test_uut.c patching file src/test/numa_chip/scaffolding.c patching file src/test/numa_chip/test_uut.c patching file src/test/numa_socket/scaffolding.c patching file src/test/numa_socket/test_uut.c patching file src/test/parse_config/scaffolding.c patching file src/test/parse_config/test_uut.c patching file src/test/prolog/scaffolding.c + echo 'Patch #5 (torque-6.1.3-bool-fix.patch):' Patch #5 (torque-6.1.3-bool-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .bool-fix --fuzz=0 patching file src/drmaa/src/compat.h patching file src/include/pbs_ifl.h + echo 'Patch #6 (torque-6.1.3-autoconf-fixes.patch):' Patch #6 (torque-6.1.3-autoconf-fixes.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .cleanup --fuzz=0 patching file acinclude.m4 patching file buildutils/ac_c_bigendian_cross.m4 patching file buildutils/acx_pthread.m4 patching file buildutils/ax_cflags_gcc_option.m4 patching file buildutils/tac_tcltk.m4 patching file buildutils/tcl.m4 patching file configure.ac + rm -rf src/lib/Libutils/jsoncpp.cpp src/include/json + sed -i /LATEX_BATCHMODE/d src/drmaa/Doxyfile.in + install -pm 644 /builddir/build/SOURCES/xpbs.desktop /builddir/build/SOURCES/xpbsmon.desktop /builddir/build/SOURCES/xpbs.png /builddir/build/SOURCES/xpbsmon.png '%{SOURCE6}' /builddir/build/SOURCES/config . install: cannot stat '%{SOURCE6}': No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.10XY4C (%prep) RPM build warnings: RPM build errors: %patchN is deprecated (5 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.10XY4C (%prep) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M a136397e5e8a47819b44ec88c3c29394 -D /var/lib/mock/dist-an23.3-build-425203-72957/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.aqle5nfg:/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 x86_64 --nodeps /builddir/build/SPECS/torque.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: # /usr/bin/systemd-nspawn -q -M a136397e5e8a47819b44ec88c3c29394 -D /var/lib/mock/dist-an23.3-build-425203-72957/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.aqle5nfg:/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 x86_64 --nodeps /builddir/build/SPECS/torque.spec'