Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/dmenu.spec'], chrootPath='/var/lib/mock/1089755-epel-8-x86_64-1573314563.798810/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jzja_qrs:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jzja_qrs:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '3990d5674c904af183ae01ffb6a83da6', '-D', '/var/lib/mock/1089755-epel-8-x86_64-1573314563.798810/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jzja_qrs:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/dmenu.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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/dmenu-4.9-3.el8.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/dmenu.spec'], chrootPath='/var/lib/mock/1089755-epel-8-x86_64-1573314563.798810/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jzja_qrs:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jzja_qrs:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '889bcf39337845efa83e5e40df8902c8', '-D', '/var/lib/mock/1089755-epel-8-x86_64-1573314563.798810/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jzja_qrs:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/dmenu.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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KYt3G9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dmenu-4.9 + /usr/bin/gzip -dc /builddir/build/SOURCES/dmenu-4.9.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dmenu-4.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git add . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'dmenu-4.9 base' + /usr/bin/cat /builddir/build/SOURCES/0001-Close-when-the-embedding-window-is-destroyed.patch + /usr/bin/git am -q + /usr/bin/cat /builddir/build/SOURCES/0002-fix-crash-when-XOpenIM-returns-NULL.patch + /usr/bin/git am -q + /usr/bin/cat /builddir/build/SOURCES/0003-make-dmenu_path-script-executable.patch + /usr/bin/git am -q + /usr/bin/cat /builddir/build/SOURCES/0004-improve-xopenim-error-message.patch + /usr/bin/git am -q + /usr/bin/cat /builddir/build/SOURCES/0005-revert-IME-support.patch + /usr/bin/git am -q + sed -i -e 's|-Os|-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection|' config.mk + sed -i -e 's|$(LIBS)|-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld $(LIBS)|' config.mk + sed -i -e 's|X11INC = .*|X11INC = /usr/include|' config.mk + sed -i -e 's|X11LIB = .*|X11LIB = /usr/lib64|' config.mk + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0tjNW1 + umask 022 + cd /builddir/build/BUILD + cd dmenu-4.9 + make -j2 cp config.def.h config.h dmenu build options: cc -c -std=c99 -pedantic -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include -I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"4.9\" -DXINERAMA dmenu.c CFLAGS = -std=c99 -pedantic -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include -I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION="4.9" -DXINERAMA LDFLAGS = -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib64 -lX11 -lXinerama -lfontconfig -lXft CC = cc cc -c -std=c99 -pedantic -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include -I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"4.9\" -DXINERAMA drw.c dmenu.c: In function 'setup': dmenu.c:24:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] #define INTERSECT(x,y,w,h,r) (MAX(0, MIN((x)+(w),(r).x_org+(r).width) - MAX((x),(r).x_org)) \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * MAX(0, MIN((y)+(h),(r).y_org+(r).height) - MAX((y),(r).y_org))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dmenu.c:637:9: note: in expansion of macro 'INTERSECT' if (INTERSECT(x, y, 1, 1, info[i])) ^~~~~~~~~ drw.c: In function 'drw_text': drw.c:312:53: warning: 'ew' may be used uninitialized in this function [-Wmaybe-uninitialized] for (len = MIN(utf8strlen, sizeof(buf) - 1); len && ew > w; len--) ~~~~^~~~~~~~~ cc -c -std=c99 -pedantic -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include -I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"4.9\" -DXINERAMA util.c cc -c -std=c99 -pedantic -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include -I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"4.9\" -DXINERAMA stest.c cc -o stest stest.o -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib64 -lX11 -lXinerama -lfontconfig -lXft cc -o dmenu dmenu.o drw.o util.o -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib64 -lX11 -lXinerama -lfontconfig -lXft + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6ar4HW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dmenu-4.9-3.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dmenu-4.9-3.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/dmenu-4.9-3.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dmenu-4.9-3.el8.x86_64 + cd dmenu-4.9 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/dmenu-4.9-3.el8.x86_64 'INSTALL=/usr/bin/install -p' PREFIX=/usr dmenu build options: CFLAGS = -std=c99 -pedantic -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include -I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION="4.9" -DXINERAMA LDFLAGS = -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib64 -lX11 -lXinerama -lfontconfig -lXft CC = cc mkdir -p /builddir/build/BUILDROOT/dmenu-4.9-3.el8.x86_64/usr/bin cp -f dmenu dmenu_path dmenu_run stest /builddir/build/BUILDROOT/dmenu-4.9-3.el8.x86_64/usr/bin chmod 755 /builddir/build/BUILDROOT/dmenu-4.9-3.el8.x86_64/usr/bin/dmenu chmod 755 /builddir/build/BUILDROOT/dmenu-4.9-3.el8.x86_64/usr/bin/dmenu_path chmod 755 /builddir/build/BUILDROOT/dmenu-4.9-3.el8.x86_64/usr/bin/dmenu_run chmod 755 /builddir/build/BUILDROOT/dmenu-4.9-3.el8.x86_64/usr/bin/stest mkdir -p /builddir/build/BUILDROOT/dmenu-4.9-3.el8.x86_64/usr/share/man/man1 sed "s/VERSION/4.9/g" < dmenu.1 > /builddir/build/BUILDROOT/dmenu-4.9-3.el8.x86_64/usr/share/man/man1/dmenu.1 sed "s/VERSION/4.9/g" < stest.1 > /builddir/build/BUILDROOT/dmenu-4.9-3.el8.x86_64/usr/share/man/man1/stest.1 chmod 644 /builddir/build/BUILDROOT/dmenu-4.9-3.el8.x86_64/usr/share/man/man1/dmenu.1 chmod 644 /builddir/build/BUILDROOT/dmenu-4.9-3.el8.x86_64/usr/share/man/man1/stest.1 + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 4.9-3.el8 --unique-debug-suffix -4.9-3.el8.x86_64 --unique-debug-src-base dmenu-4.9-3.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/dmenu-4.9 extracting debug info from /builddir/build/BUILDROOT/dmenu-4.9-3.el8.x86_64/usr/bin/dmenu extracting debug info from /builddir/build/BUILDROOT/dmenu-4.9-3.el8.x86_64/usr/bin/stest /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 73 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: dmenu-4.9-3.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ek4jIT + umask 022 + cd /builddir/build/BUILD + cd dmenu-4.9 + DOCDIR=/builddir/build/BUILDROOT/dmenu-4.9-3.el8.x86_64/usr/share/doc/dmenu + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dmenu-4.9-3.el8.x86_64/usr/share/doc/dmenu + cp -pr LICENSE /builddir/build/BUILDROOT/dmenu-4.9-3.el8.x86_64/usr/share/doc/dmenu + cp -pr README /builddir/build/BUILDROOT/dmenu-4.9-3.el8.x86_64/usr/share/doc/dmenu + exit 0 Provides: dmenu = 4.9-3.el8 dmenu(x86-64) = 4.9-3.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh libX11.so.6()(64bit) libXft.so.2()(64bit) libXinerama.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(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) libfontconfig.so.1()(64bit) rtld(GNU_HASH) Processing files: dmenu-debugsource-4.9-3.el8.x86_64 Provides: dmenu-debugsource = 4.9-3.el8 dmenu-debugsource(x86-64) = 4.9-3.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: dmenu-debuginfo-4.9-3.el8.x86_64 Provides: debuginfo(build-id) = 3a379b96c7b882ca792a9a6a1f9f211c3f9efdbf debuginfo(build-id) = 5be56574fa6fe1b627d03200110f393933ec15f6 dmenu-debuginfo = 4.9-3.el8 dmenu-debuginfo(x86-64) = 4.9-3.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dmenu-debugsource(x86-64) = 4.9-3.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/dmenu-4.9-3.el8.x86_64 Wrote: /builddir/build/RPMS/dmenu-4.9-3.el8.x86_64.rpm Wrote: /builddir/build/RPMS/dmenu-debugsource-4.9-3.el8.x86_64.rpm Wrote: /builddir/build/RPMS/dmenu-debuginfo-4.9-3.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.KETryR + umask 022 + cd /builddir/build/BUILD + cd dmenu-4.9 + /usr/bin/rm -rf /builddir/build/BUILDROOT/dmenu-4.9-3.el8.x86_64 + exit 0 Child return code was: 0