Mock Version: 2.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/xautolock.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1588939845.257206/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dej9i5vf:/etc/resolv.conf', '--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=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dej9i5vf:/etc/resolv.conf', '--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', 'c68bae092c744e05aa77d95438d58f91', '-D', '/var/lib/mock/epel-7-x86_64-1588939845.257206/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dej9i5vf:/etc/resolv.conf', '--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', '--console=pipe', '--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', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/xautolock.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'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/xautolock-2.2-25.el7.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/xautolock.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1588939845.257206/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dej9i5vf:/etc/resolv.conf', '--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=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dej9i5vf:/etc/resolv.conf', '--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', '402919123327477cb5ceda86c81a890e', '-D', '/var/lib/mock/epel-7-x86_64-1588939845.257206/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dej9i5vf:/etc/resolv.conf', '--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', '--console=pipe', '--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', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/xautolock.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'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jq6BY2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xautolock-2.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/xautolock-2.2.tgz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd xautolock-2.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/xautolock-2.2-XSS-fix.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/10-fix-memory-corruption.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/11-fix-no-dpms.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/12-fix-manpage.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/13-fix-hppa-build.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/14-do-not-use-union-wait-type.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/detectsleep-lock-on-resume.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/xautolock-longer-times.patch + /usr/bin/patch -p1 -s + xmkmf imake -DUseInstalled -I/usr/share/X11/config + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.efJMIN + umask 022 + cd /builddir/build/BUILD + cd xautolock-2.2 + make -j2 'CDEBUGFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' CC=gcc gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Iinclude -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHasVFork -DHasScreenSaver -c src/diy.c -o src/diy.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Iinclude -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHasVFork -DHasScreenSaver -c src/options.c -o src/options.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Iinclude -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHasVFork -DHasScreenSaver -c src/message.c -o src/message.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Iinclude -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHasVFork -DHasScreenSaver -c src/state.c -o src/state.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Iinclude -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHasVFork -DHasScreenSaver -c src/engine.c -o src/engine.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Iinclude -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHasVFork -DHasScreenSaver -c src/xautolock.c -o src/xautolock.o src/engine.c: In function 'evaluateTriggers': src/engine.c:318:11: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] { int dummy; dummy = system (killer); } // Silly gcc... ^ src/engine.c:334:13: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] { int dummy; dummy = system (notifier); } // Silly gcc... ^ rm -f xautolock._man rm -f xautolock if test -z "" ; then \ cd `dirname xautolock` && \ ln -s `basename xautolock.man` `basename xautolock._man`; \ else \ cpp -undef -traditional -D__apploaddir__=/usr/share/X11/app-defaults -D__appmansuffix__=1x -D__filemansuffix__=5x -D__libmansuffix__=3x -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 6 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 6 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" \ < xautolock.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >xautolock._man; \ fi gcc -o xautolock -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -L/usr/lib64 src/diy.o src/options.o src/message.o src/state.o src/engine.o src/xautolock.o -lXss -lXext -lX11 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.B97MGz + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xautolock-2.2-25.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xautolock-2.2-25.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/xautolock-2.2-25.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xautolock-2.2-25.el7.x86_64 + cd xautolock-2.2 + make install install.man DESTDIR=/builddir/build/BUILDROOT/xautolock-2.2-25.el7.x86_64 'INSTALL=install -p' + mkdir -p /builddir/build/BUILDROOT/xautolock-2.2-25.el7.x86_64/usr/bin install -p -c xautolock /builddir/build/BUILDROOT/xautolock-2.2-25.el7.x86_64/usr/bin/xautolock install in . done + mkdir -p /builddir/build/BUILDROOT/xautolock-2.2-25.el7.x86_64/usr/share/man/man1 install -p -c -m 0444 xautolock._man /builddir/build/BUILDROOT/xautolock-2.2-25.el7.x86_64/usr/share/man/man1/xautolock.1x install.man in . done + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/xautolock-2.2 extracting debug info from /builddir/build/BUILDROOT/xautolock-2.2-25.el7.x86_64/usr/bin/xautolock dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 136 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: xautolock-2.2-25.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.tyGn6l + umask 022 + cd /builddir/build/BUILD + cd xautolock-2.2 + DOCDIR=/builddir/build/BUILDROOT/xautolock-2.2-25.el7.x86_64/usr/share/doc/xautolock-2.2 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xautolock-2.2-25.el7.x86_64/usr/share/doc/xautolock-2.2 + cp -pr Changelog /builddir/build/BUILDROOT/xautolock-2.2-25.el7.x86_64/usr/share/doc/xautolock-2.2 + cp -pr License /builddir/build/BUILDROOT/xautolock-2.2-25.el7.x86_64/usr/share/doc/xautolock-2.2 + cp -pr Readme /builddir/build/BUILDROOT/xautolock-2.2-25.el7.x86_64/usr/share/doc/xautolock-2.2 + cp -pr Todo /builddir/build/BUILDROOT/xautolock-2.2-25.el7.x86_64/usr/share/doc/xautolock-2.2 + exit 0 Provides: xautolock = 2.2-25.el7 xautolock(x86-64) = 2.2-25.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libX11.so.6()(64bit) libXext.so.6()(64bit) libXss.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Processing files: xautolock-debuginfo-2.2-25.el7.x86_64 Provides: xautolock-debuginfo = 2.2-25.el7 xautolock-debuginfo(x86-64) = 2.2-25.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xautolock-2.2-25.el7.x86_64 Wrote: /builddir/build/RPMS/xautolock-2.2-25.el7.x86_64.rpm Wrote: /builddir/build/RPMS/xautolock-debuginfo-2.2-25.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Q6sGKH + umask 022 + cd /builddir/build/BUILD + cd xautolock-2.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/xautolock-2.2-25.el7.x86_64 + exit 0 Child return code was: 0