+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/spectrwm.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.ezv8Xa + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf spectrwm-SPECTRWM_3_0_2 + /usr/bin/gzip -dc /builddir/build/SOURCES/SPECTRWM_3_0_2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd spectrwm-SPECTRWM_3_0_2 + /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 -a --author 'rpm-build ' -m 'spectrwm-3.0.2 base' + head -n14 version.h + tail -n13 + sed -e 's/ \* //g' -e 's/\*//g' + tail -n30 + head -n55 spectrwm.c + sed -e 's/ \* //g' -e 's/\*//g' + sed -e 's/ \* //g' -e 's/\*//g' + head -n38 lib/swm_hack.c + tail -n21 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.pWaJbY + umask 022 + cd /builddir/build/BUILD + cd spectrwm-SPECTRWM_3_0_2 + make -C linux 'CC=gcc -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' -j4 PREFIX=/usr LIBDIR=/usr/lib64 MANDIR=/usr/share/man DATAROOTDIR=/usr/share make: Entering directory '/builddir/build/BUILD/spectrwm-SPECTRWM_3_0_2/linux' gcc -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -Wno-uninitialized -g -D_GNU_SOURCE -I. -I/usr/include/freetype2 -DSWM_LIB=\"/usr/lib64/libswmhack.so.0.0\" -DSPECTRWM_BUILDSTR=\"d427f46c17cdd80dcb5ad18d2dd687860cf0e733\" -c -o spectrwm.o ../spectrwm.c gcc -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -Wno-uninitialized -g -D_GNU_SOURCE -I. -I/usr/include/freetype2 -DSWM_LIB=\"/usr/lib64/libswmhack.so.0.0\" -DSPECTRWM_BUILDSTR=\"d427f46c17cdd80dcb5ad18d2dd687860cf0e733\" -c -o linux.o linux.c gcc -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -Wno-uninitialized -g -D_GNU_SOURCE -I. -I/usr/include/freetype2 -DSWM_LIB=\"/usr/lib64/libswmhack.so.0.0\" -DSPECTRWM_BUILDSTR=\"d427f46c17cdd80dcb5ad18d2dd687860cf0e733\" -fpic -DPIC -c -o swm_hack.so ../lib/swm_hack.c gcc -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname,libswmhack.so.0.0 -shared -fpic -o libswmhack.so.0.0 swm_hack.so -lX11 -lX11-xcb -lxcb -lxcb-icccm -lxcb-randr -lxcb-keysyms -lxcb-util -lxcb-xtest -lXft -lXcursor ../spectrwm.c: In function 'search_win': ../spectrwm.c:6054:26: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 8 [-Wformat-truncation=] snprintf(s, sizeof s, "%d", i); ^~ ../spectrwm.c:6054:25: note: directive argument in the range [1, 2147483647] snprintf(s, sizeof s, "%d", i); ^~~~ In file included from /usr/include/stdio.h:861:0, from ../spectrwm.c:61: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 11 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o spectrwm spectrwm.o linux.o -lX11 -lX11-xcb -lxcb -lxcb-icccm -lxcb-randr -lxcb-keysyms -lxcb-util -lxcb-xtest -lXft -lXcursor make: Leaving directory '/builddir/build/BUILD/spectrwm-SPECTRWM_3_0_2/linux' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.kJ3Wu9 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64 + cd spectrwm-SPECTRWM_3_0_2 + make -C linux install 'CC=gcc -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' -j4 PREFIX=/usr LIBDIR=/usr/lib64 DATAROOTDIR=/usr/share MANDIR=/usr/share/man DESTDIR=/builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64 make: Entering directory '/builddir/build/BUILD/spectrwm-SPECTRWM_3_0_2/linux' install -m 755 -d /builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64/usr/bin install -m 755 -d /builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64/usr/lib64 install -m 755 -d /builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64/usr/share/man/man1 install -m 755 -d /builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64/usr/share/xsessions install -m 755 spectrwm /builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64/usr/bin ln -sf spectrwm /builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64/usr/bin/scrotwm install -m 644 libswmhack.so.0.0 /builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64/usr/lib64 ln -sf libswmhack.so.0.0 /builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64/usr/lib64/libswmhack.so.0 ln -sf libswmhack.so.0.0 /builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64/usr/lib64/libswmhack.so install -m 644 ../spectrwm.1 /builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64/usr/share/man/man1/spectrwm.1 install -m 644 spectrwm.desktop /builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64/usr/share/xsessions make: Leaving directory '/builddir/build/BUILD/spectrwm-SPECTRWM_3_0_2/linux' + chmod 755 /builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64/usr/lib64/libswmhack.so + strip /builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64/usr/lib64/libswmhack.so + ln -s spectrwm.1 /builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64/usr/share/man/man1/scrotwm.1 + install -d /builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64/etc + install -pm 644 spectrwm.conf /builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64/etc + install -dp /builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64/usr/share/spectrwm + for file in spectrwm_*.conf + install -m 644 spectrwm_cz.conf /builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64/usr/share/spectrwm + for file in spectrwm_*.conf + install -m 644 spectrwm_es.conf /builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64/usr/share/spectrwm + for file in spectrwm_*.conf + install -m 644 spectrwm_fr.conf /builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64/usr/share/spectrwm + for file in spectrwm_*.conf + install -m 644 spectrwm_fr_ch.conf /builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64/usr/share/spectrwm + for file in spectrwm_*.conf + install -m 644 spectrwm_se.conf /builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64/usr/share/spectrwm + for file in spectrwm_*.conf + install -m 644 spectrwm_us.conf /builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64/usr/share/spectrwm + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64/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: spectrwm-3.0.2-4.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.spHIOA + umask 022 + cd /builddir/build/BUILD + cd spectrwm-SPECTRWM_3_0_2 + DOCDIR=/builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64/usr/share/doc/spectrwm + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64/usr/share/doc/spectrwm + cp -pr baraction.sh /builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64/usr/share/doc/spectrwm + cp -pr initscreen.sh /builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64/usr/share/doc/spectrwm + cp -pr screenshot.sh /builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64/usr/share/doc/spectrwm + cp -pr README.md /builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64/usr/share/doc/spectrwm + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.tcAJ2T + umask 022 + cd /builddir/build/BUILD + cd spectrwm-SPECTRWM_3_0_2 + LICENSEDIR=/builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64/usr/share/licenses/spectrwm + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64/usr/share/licenses/spectrwm + cp -pr LICENSE /builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64/usr/share/licenses/spectrwm + cp -pr LICENSE-LD_PRELOAD /builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64/usr/share/licenses/spectrwm + cp -pr LICENSE-dwm /builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64/usr/share/licenses/spectrwm + exit 0 Provides: config(spectrwm) = 3.0.2-4.fc28 libswmhack.so.0.0()(64bit) spectrwm = 3.0.2-4.fc28 spectrwm(riscv-64) = 3.0.2-4.fc28 Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libX11-xcb.so.1()(64bit) libX11.so.6()(64bit) libXcursor.so.1()(64bit) libXft.so.2()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libswmhack.so.0.0()(64bit) libxcb-icccm.so.4()(64bit) libxcb-keysyms.so.1()(64bit) libxcb-randr.so.0()(64bit) libxcb-util.so.1()(64bit) libxcb-xtest.so.0()(64bit) libxcb.so.1()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/spectrwm-3.0.2-4.fc28.riscv64 Wrote: /builddir/build/SRPMS/spectrwm-3.0.2-4.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/spectrwm-3.0.2-4.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.1iexuX + umask 022 + cd /builddir/build/BUILD + cd spectrwm-SPECTRWM_3_0_2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/spectrwm-3.0.2-4.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