Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/dmenu.spec'], chrootPath='/var/lib/mock/f31-build-110700-34041/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=986gid=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=1567641600 Wrote: /builddir/build/SRPMS/dmenu-4.9-3.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/dmenu.spec'], chrootPath='/var/lib/mock/f31-build-110700-34041/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=986gid=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=1567641600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sTEyAZ + 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 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.fpvXSY + 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 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 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 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 BUILDSTDERR: dmenu.c: In function 'setup': BUILDSTDERR: dmenu.c:24:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] BUILDSTDERR: 23 | #define INTERSECT(x,y,w,h,r) (MAX(0, MIN((x)+(w),(r).x_org+(r).width) - MAX((x),(r).x_org)) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 24 | * MAX(0, MIN((y)+(h),(r).y_org+(r).height) - MAX((y),(r).y_org))) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dmenu.c:637:9: note: in expansion of macro 'INTERSECT' BUILDSTDERR: 637 | if (INTERSECT(x, y, 1, 1, info[i])) BUILDSTDERR: | ^~~~~~~~~ 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 BUILDSTDERR: drw.c: In function 'drw_text': BUILDSTDERR: drw.c:328:7: warning: 'ew' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 328 | w -= ew; BUILDSTDERR: | ~~^~~~~ 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 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.y758sZ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dmenu-4.9-3.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dmenu-4.9-3.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/dmenu-4.9-3.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dmenu-4.9-3.fc31.riscv64 + cd dmenu-4.9 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/dmenu-4.9-3.fc31.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-3.fc31.riscv64/usr/bin cp -f dmenu dmenu_path dmenu_run stest /builddir/build/BUILDROOT/dmenu-4.9-3.fc31.riscv64/usr/bin chmod 755 /builddir/build/BUILDROOT/dmenu-4.9-3.fc31.riscv64/usr/bin/dmenu chmod 755 /builddir/build/BUILDROOT/dmenu-4.9-3.fc31.riscv64/usr/bin/dmenu_path chmod 755 /builddir/build/BUILDROOT/dmenu-4.9-3.fc31.riscv64/usr/bin/dmenu_run chmod 755 /builddir/build/BUILDROOT/dmenu-4.9-3.fc31.riscv64/usr/bin/stest mkdir -p /builddir/build/BUILDROOT/dmenu-4.9-3.fc31.riscv64/usr/share/man/man1 sed "s/VERSION/4.9/g" < dmenu.1 > /builddir/build/BUILDROOT/dmenu-4.9-3.fc31.riscv64/usr/share/man/man1/dmenu.1 sed "s/VERSION/4.9/g" < stest.1 > /builddir/build/BUILDROOT/dmenu-4.9-3.fc31.riscv64/usr/share/man/man1/stest.1 chmod 644 /builddir/build/BUILDROOT/dmenu-4.9-3.fc31.riscv64/usr/share/man/man1/dmenu.1 chmod 644 /builddir/build/BUILDROOT/dmenu-4.9-3.fc31.riscv64/usr/share/man/man1/stest.1 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 4.9-3.fc31 --unique-debug-suffix -4.9-3.fc31.riscv64 --unique-debug-src-base dmenu-4.9-3.fc31.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-3.fc31.riscv64/usr/bin/stest explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/dmenu-4.9-3.fc31.riscv64/usr/bin/dmenu extracting debug info from /builddir/build/BUILDROOT/dmenu-4.9-3.fc31.riscv64/usr/bin/stest extracting debug info from /builddir/build/BUILDROOT/dmenu-4.9-3.fc31.riscv64/usr/bin/dmenu original debug info size: 156kB, size after compression: 156kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. BUILDSTDERR: 73 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /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_run from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/dmenu_path from /bin/sh to #!/usr/bin/sh Processing files: dmenu-4.9-3.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.6PguxX + umask 022 + cd /builddir/build/BUILD + cd dmenu-4.9 + DOCDIR=/builddir/build/BUILDROOT/dmenu-4.9-3.fc31.riscv64/usr/share/doc/dmenu + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dmenu-4.9-3.fc31.riscv64/usr/share/doc/dmenu + cp -pr LICENSE /builddir/build/BUILDROOT/dmenu-4.9-3.fc31.riscv64/usr/share/doc/dmenu + cp -pr README /builddir/build/BUILDROOT/dmenu-4.9-3.fc31.riscv64/usr/share/doc/dmenu + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: dmenu = 4.9-3.fc31 dmenu(riscv-64) = 4.9-3.fc31 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-3.fc31.riscv64 Provides: dmenu-debugsource = 4.9-3.fc31 dmenu-debugsource(riscv-64) = 4.9-3.fc31 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.fc31.riscv64 Provides: debuginfo(build-id) = 47abf36206cfb0a17a34b4f8a791083462fd1aa7 debuginfo(build-id) = c33c82d131a87b2e9cdde9068aab4c57ad5690f5 dmenu-debuginfo = 4.9-3.fc31 dmenu-debuginfo(riscv-64) = 4.9-3.fc31 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-3.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/dmenu-4.9-3.fc31.riscv64 Wrote: /builddir/build/RPMS/dmenu-debugsource-4.9-3.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/dmenu-4.9-3.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/dmenu-debuginfo-4.9-3.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Zc1gJV + umask 022 + cd /builddir/build/BUILD + cd dmenu-4.9 + /usr/bin/rm -rf /builddir/build/BUILDROOT/dmenu-4.9-3.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0