+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/dmenu.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.j2lSVj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dmenu-4.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/dmenu-4.7.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dmenu-4.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i -e 's|\t@|\t|' Makefile + 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 |' config.mk + sed -i -e 's|-s ${LIBS}|-Wl,-z,relro -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.Fqbq9N + umask 022 + cd /builddir/build/BUILD + cd dmenu-4.7 + make -j4 echo dmenu build options: echo creating config.h from config.def.h dmenu build options: echo "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 -I/usr/include -I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"4.7\" -DXINERAMA" creating config.h from config.def.h cp config.def.h config.h 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 -I/usr/include -I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION="4.7" -DXINERAMA echo "LDFLAGS = -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib64 -lX11 -lXinerama -lfontconfig -lXft" echo CC dmenu.c echo CC drw.c LDFLAGS = -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib64 -lX11 -lXinerama -lfontconfig -lXft echo CC util.c echo "CC = cc" CC dmenu.c CC 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 -I/usr/include -I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"4.7\" -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 -I/usr/include -I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"4.7\" -DXINERAMA drw.c CC 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 -I/usr/include -I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"4.7\" -DXINERAMA util.c CC = cc echo CC stest.c CC stest.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 -I/usr/include -I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"4.7\" -DXINERAMA stest.c dmenu.c: In function 'setup': dmenu.c:23: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:588:9: note: in expansion of macro 'INTERSECT' if (INTERSECT(x, y, 1, 1, info[i])) ^~~~~~~~~ echo CC -o stest CC -o stest cc -o stest stest.o -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib64 -lX11 -lXinerama -lfontconfig -lXft drw.c: In function 'drw_text': drw.c:299:53: warning: 'ew' may be used uninitialized in this function [-Wmaybe-uninitialized] for (len = MIN(utf8strlen, sizeof(buf) - 1); len && ew > w; len--) ~~~~^~~~~~~~~ echo CC -o dmenu CC -o dmenu cc -o dmenu dmenu.o drw.o util.o -Wl,-z,relro -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.3b6S73 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dmenu-4.7-3.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dmenu-4.7-3.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/dmenu-4.7-3.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dmenu-4.7-3.fc28.riscv64 + cd dmenu-4.7 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/dmenu-4.7-3.fc28.riscv64 'INSTALL=/usr/bin/install -p' PREFIX=/usr echo dmenu build options: dmenu build options: echo "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 -I/usr/include -I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"4.7\" -DXINERAMA" 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 -I/usr/include -I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION="4.7" -DXINERAMA echo "LDFLAGS = -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib64 -lX11 -lXinerama -lfontconfig -lXft" LDFLAGS = -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib64 -lX11 -lXinerama -lfontconfig -lXft echo "CC = cc" CC = cc echo installing executables to /builddir/build/BUILDROOT/dmenu-4.7-3.fc28.riscv64/usr/bin installing executables to /builddir/build/BUILDROOT/dmenu-4.7-3.fc28.riscv64/usr/bin mkdir -p /builddir/build/BUILDROOT/dmenu-4.7-3.fc28.riscv64/usr/bin cp -f dmenu dmenu_path dmenu_run stest /builddir/build/BUILDROOT/dmenu-4.7-3.fc28.riscv64/usr/bin chmod 755 /builddir/build/BUILDROOT/dmenu-4.7-3.fc28.riscv64/usr/bin/dmenu chmod 755 /builddir/build/BUILDROOT/dmenu-4.7-3.fc28.riscv64/usr/bin/dmenu_path chmod 755 /builddir/build/BUILDROOT/dmenu-4.7-3.fc28.riscv64/usr/bin/dmenu_run chmod 755 /builddir/build/BUILDROOT/dmenu-4.7-3.fc28.riscv64/usr/bin/stest echo installing manual pages to /builddir/build/BUILDROOT/dmenu-4.7-3.fc28.riscv64/usr/share/man/man1 installing manual pages to /builddir/build/BUILDROOT/dmenu-4.7-3.fc28.riscv64/usr/share/man/man1 mkdir -p /builddir/build/BUILDROOT/dmenu-4.7-3.fc28.riscv64/usr/share/man/man1 sed "s/VERSION/4.7/g" < dmenu.1 > /builddir/build/BUILDROOT/dmenu-4.7-3.fc28.riscv64/usr/share/man/man1/dmenu.1 sed "s/VERSION/4.7/g" < stest.1 > /builddir/build/BUILDROOT/dmenu-4.7-3.fc28.riscv64/usr/share/man/man1/stest.1 chmod 644 /builddir/build/BUILDROOT/dmenu-4.7-3.fc28.riscv64/usr/share/man/man1/dmenu.1 chmod 644 /builddir/build/BUILDROOT/dmenu-4.7-3.fc28.riscv64/usr/share/man/man1/stest.1 + /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 /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: dmenu-4.7-3.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.yaEOXK + umask 022 + cd /builddir/build/BUILD + cd dmenu-4.7 + DOCDIR=/builddir/build/BUILDROOT/dmenu-4.7-3.fc28.riscv64/usr/share/doc/dmenu + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dmenu-4.7-3.fc28.riscv64/usr/share/doc/dmenu + cp -pr LICENSE /builddir/build/BUILDROOT/dmenu-4.7-3.fc28.riscv64/usr/share/doc/dmenu + cp -pr README /builddir/build/BUILDROOT/dmenu-4.7-3.fc28.riscv64/usr/share/doc/dmenu + exit 0 Provides: dmenu = 4.7-3.fc28 dmenu(riscv-64) = 4.7-3.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /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) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/dmenu-4.7-3.fc28.riscv64 Wrote: /builddir/build/SRPMS/dmenu-4.7-3.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/dmenu-4.7-3.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.jG0QkM + umask 022 + cd /builddir/build/BUILD + cd dmenu-4.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/dmenu-4.7-3.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff