Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/dmenu.spec'], chrootPath='/var/lib/mock/f33-build-127284-40210/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580169600 Wrote: /builddir/build/SRPMS/dmenu-4.9-4.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/dmenu.spec'], chrootPath='/var/lib/mock/f33-build-127284-40210/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580169600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.G4F4Fv + 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 -fasynchronous-unwind-tables -fstack-clash-protection|' config.mk + sed -i -e 's|$(LIBS)|-Wl,-z,relro -Wl,--as-needed -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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.G3ERyv + umask 022 + cd /builddir/build/BUILD + cd dmenu-4.9 + make -j4 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 -fasynchronous-unwind-tables -fstack-clash-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 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 -fasynchronous-unwind-tables -fstack-clash-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 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 -fasynchronous-unwind-tables -fstack-clash-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 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 -fasynchronous-unwind-tables -fstack-clash-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,--as-needed -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 -fasynchronous-unwind-tables -fstack-clash-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 dmenu.c: In function 'setup': dmenu.c:24:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 23 | #define INTERSECT(x,y,w,h,r) (MAX(0, MIN((x)+(w),(r).x_org+(r).width) - MAX((x),(r).x_org)) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 24 | * 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' 637 | if (INTERSECT(x, y, 1, 1, info[i])) | ^~~~~~~~~ cc -o stest stest.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib64 -lX11 -lXinerama -lfontconfig -lXft drw.c: In function 'drw_text': drw.c:328:7: warning: 'ew' may be used uninitialized in this function [-Wmaybe-uninitialized] 328 | w -= ew; | ~~^~~~~ cc -o dmenu dmenu.o drw.o util.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib64 -lX11 -lXinerama -lfontconfig -lXft + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.qftHNv + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dmenu-4.9-4.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dmenu-4.9-4.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/dmenu-4.9-4.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dmenu-4.9-4.fc33.riscv64 + cd dmenu-4.9 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/dmenu-4.9-4.fc33.riscv64 '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 -fasynchronous-unwind-tables -fstack-clash-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,--as-needed -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-4.fc33.riscv64/usr/bin cp -f dmenu dmenu_path dmenu_run stest /builddir/build/BUILDROOT/dmenu-4.9-4.fc33.riscv64/usr/bin chmod 755 /builddir/build/BUILDROOT/dmenu-4.9-4.fc33.riscv64/usr/bin/dmenu chmod 755 /builddir/build/BUILDROOT/dmenu-4.9-4.fc33.riscv64/usr/bin/dmenu_path chmod 755 /builddir/build/BUILDROOT/dmenu-4.9-4.fc33.riscv64/usr/bin/dmenu_run chmod 755 /builddir/build/BUILDROOT/dmenu-4.9-4.fc33.riscv64/usr/bin/stest mkdir -p /builddir/build/BUILDROOT/dmenu-4.9-4.fc33.riscv64/usr/share/man/man1 sed "s/VERSION/4.9/g" < dmenu.1 > /builddir/build/BUILDROOT/dmenu-4.9-4.fc33.riscv64/usr/share/man/man1/dmenu.1 sed "s/VERSION/4.9/g" < stest.1 > /builddir/build/BUILDROOT/dmenu-4.9-4.fc33.riscv64/usr/share/man/man1/stest.1 chmod 644 /builddir/build/BUILDROOT/dmenu-4.9-4.fc33.riscv64/usr/share/man/man1/dmenu.1 chmod 644 /builddir/build/BUILDROOT/dmenu-4.9-4.fc33.riscv64/usr/share/man/man1/stest.1 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 4.9-4.fc33 --unique-debug-suffix -4.9-4.fc33.riscv64 --unique-debug-src-base dmenu-4.9-4.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/dmenu-4.9 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/dmenu-4.9-4.fc33.riscv64/usr/bin/dmenu explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/dmenu-4.9-4.fc33.riscv64/usr/bin/stest extracting debug info from /builddir/build/BUILDROOT/dmenu-4.9-4.fc33.riscv64/usr/bin/stest extracting debug info from /builddir/build/BUILDROOT/dmenu-4.9-4.fc33.riscv64/usr/bin/dmenu original debug info size: 148kB, size after compression: 152kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 73 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/dmenu_path from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/dmenu_run from /bin/sh to #!/usr/bin/sh Processing files: dmenu-4.9-4.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.IVH0Cu + umask 022 + cd /builddir/build/BUILD + cd dmenu-4.9 + DOCDIR=/builddir/build/BUILDROOT/dmenu-4.9-4.fc33.riscv64/usr/share/doc/dmenu + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dmenu-4.9-4.fc33.riscv64/usr/share/doc/dmenu + cp -pr LICENSE /builddir/build/BUILDROOT/dmenu-4.9-4.fc33.riscv64/usr/share/doc/dmenu + cp -pr README /builddir/build/BUILDROOT/dmenu-4.9-4.fc33.riscv64/usr/share/doc/dmenu + RPM_EC=0 ++ jobs -p + exit 0 Provides: dmenu = 4.9-4.fc33 dmenu(riscv-64) = 4.9-4.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libX11.so.6()(64bit) libXft.so.2()(64bit) libXinerama.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libfontconfig.so.1()(64bit) rtld(GNU_HASH) Processing files: dmenu-debugsource-4.9-4.fc33.riscv64 Provides: dmenu-debugsource = 4.9-4.fc33 dmenu-debugsource(riscv-64) = 4.9-4.fc33 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-4.fc33.riscv64 Provides: debuginfo(build-id) = abc6e1a27df2b76ee5c68611c1a80e0b21e8e0c2 debuginfo(build-id) = f49362cf8cd9e47fc8f2d68c79ddfcfa17d2cdbe dmenu-debuginfo = 4.9-4.fc33 dmenu-debuginfo(riscv-64) = 4.9-4.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dmenu-debugsource(riscv-64) = 4.9-4.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/dmenu-4.9-4.fc33.riscv64 Wrote: /builddir/build/RPMS/dmenu-debugsource-4.9-4.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/dmenu-4.9-4.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/dmenu-debuginfo-4.9-4.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.lfG6Wt + umask 022 + cd /builddir/build/BUILD + cd dmenu-4.9 + /usr/bin/rm -rf /builddir/build/BUILDROOT/dmenu-4.9-4.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0