+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/spnavcfg.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.MmkOJY + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf spnavcfg-0.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/spnavcfg-0.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd spnavcfg-0.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (spnavcfg-0.3-fix_icon-install.patch):' Patch #0 (spnavcfg-0.3-fix_icon-install.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .icons --fuzz=0 patching file Makefile.in + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.djFw5R + umask 022 + cd /builddir/build/BUILD + cd spnavcfg-0.3 + export 'CFLAGS=-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 ' + CFLAGS='-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 ' + CFLAGS='-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 ' + export CFLAGS + CXXFLAGS='-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 ' + export CXXFLAGS + FFLAGS='-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/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info configuring spnavcfg... prefix: /usr optimize for speed: yes include debugging symbols: yes creating Makefile ... Done. You can now type make (or gmake) to compile spnavcfg. + sed -i 's/CFLAGS =/CFLAGS +=/g' Makefile + sed -i 's/\-O3//g' Makefile + sed -i 's/pkg-config --libs gtk+-2.0/pkg-config --libs gtk+-2.0 x11/g' Makefile + make -j4 echo 'static const char *ui_xml =' >ui.h sed 's/"/\\"/g; s/^.*$/ "&\\n"/' ui/ui.xml >>ui.h echo ';' >>ui.h 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 -pedantic -Wall -g `pkg-config --cflags gtk+-2.0 gmodule-export-2.0` -c spnavcfg.c -o spnavcfg.o 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 -pedantic -Wall -g `pkg-config --cflags gtk+-2.0 gmodule-export-2.0` -c front_gtk.c -o front_gtk.o 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 -pedantic -Wall -g `pkg-config --cflags gtk+-2.0 gmodule-export-2.0` -c back.c -o back.o 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 -pedantic -Wall -g `pkg-config --cflags gtk+-2.0 gmodule-export-2.0` -c cfgfile.c -o cfgfile.o back.c: In function 'backend': back.c:56:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(pfd, &tmp, 1); ^~~~~~~~~~~~~~~~~~~ back.c: In function 'get_daemon_pid': back.c:105:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, sizeof buf, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -E -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 -pedantic -Wall -g `pkg-config --cflags gtk+-2.0 gmodule-export-2.0` spnavcfg.c -MM -MT spnavcfg.o >spnavcfg.d gcc -E -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 -pedantic -Wall -g `pkg-config --cflags gtk+-2.0 gmodule-export-2.0` back.c -MM -MT back.o >back.d gcc -E -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 -pedantic -Wall -g `pkg-config --cflags gtk+-2.0 gmodule-export-2.0` cfgfile.c -MM -MT cfgfile.o >cfgfile.d In file included from front_gtk.c:29:0: ui.h:1172:1: warning: string length '62707' is greater than the length '4095' ISO C99 compilers are required to support [-Woverlength-strings] ; ^ front_gtk.c: In function 'update_cfg': front_gtk.c:136:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(pipe_fd, &cmd, 1); ^~~~~~~~~~~~~~~~~~~~~~~ front_gtk.c:137:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(pipe_fd, &cfg, sizeof cfg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ front_gtk.c: In function 'bn_handler': front_gtk.c:384:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(pipe_fd, &tmp, 1); ^~~~~~~~~~~~~~~~~~~~~~~ front_gtk.c:385:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(pipe_fd, &tmp, 1); ^~~~~~~~~~~~~~~~~~~~~~ At top level: front_gtk.c:140:12: warning: 'query_x11' defined but not used [-Wunused-function] static int query_x11(void) ^~~~~~~~~ gcc -E -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 -pedantic -Wall -g `pkg-config --cflags gtk+-2.0 gmodule-export-2.0` front_gtk.c -MM -MT front_gtk.o >front_gtk.d gcc -o spnavcfg spnavcfg.o front_gtk.o back.o cfgfile.o `pkg-config --libs gtk+-2.0 x11 gmodule-export-2.0` -lX11 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ZfRvbb + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/spnavcfg-0.3-6.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/spnavcfg-0.3-6.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/spnavcfg-0.3-6.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/spnavcfg-0.3-6.fc28.riscv64 + cd spnavcfg-0.3 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/spnavcfg-0.3-6.fc28.riscv64 'INSTALL=/usr/bin/install -p' /usr/bin/install -p -d /builddir/build/BUILDROOT/spnavcfg-0.3-6.fc28.riscv64/usr/bin /usr/bin/install -p -m 4775 spnavcfg /builddir/build/BUILDROOT/spnavcfg-0.3-6.fc28.riscv64/usr/bin/spnavcfg for i in 48 128 256; do \ destdir=/builddir/build/BUILDROOT/spnavcfg-0.3-6.fc28.riscv64/usr/share/icons/hicolor/${i}x${i}/apps; \ mkdir -p $destdir; \ cp -a icons/spnavcfg-${i}x${i}.png $destdir/spnavcfg.png; \ done + mkdir -p /builddir/build/BUILDROOT/spnavcfg-0.3-6.fc28.riscv64/usr/share/applications + desktop-file-install --dir=/builddir/build/BUILDROOT/spnavcfg-0.3-6.fc28.riscv64/usr/share/applications icons/spnavcfg.desktop + /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: spnavcfg-0.3-6.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.m1ziii + umask 022 + cd /builddir/build/BUILD + cd spnavcfg-0.3 + DOCDIR=/builddir/build/BUILDROOT/spnavcfg-0.3-6.fc28.riscv64/usr/share/doc/spnavcfg + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/spnavcfg-0.3-6.fc28.riscv64/usr/share/doc/spnavcfg + cp -pr COPYING /builddir/build/BUILDROOT/spnavcfg-0.3-6.fc28.riscv64/usr/share/doc/spnavcfg + cp -pr README /builddir/build/BUILDROOT/spnavcfg-0.3-6.fc28.riscv64/usr/share/doc/spnavcfg + exit 0 Provides: application() application(spnavcfg.desktop) spnavcfg = 0.3-6.fc28 spnavcfg(riscv-64) = 0.3-6.fc28 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(postun): /bin/sh Requires(posttrans): /bin/sh Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libX11.so.6()(64bit) libatk-1.0.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcairo.so.2()(64bit) libfontconfig.so.1()(64bit) libfreetype.so.6()(64bit) libgdk-x11-2.0.so.0()(64bit) libgdk_pixbuf-2.0.so.0()(64bit) libgio-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgmodule-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgtk-x11-2.0.so.0()(64bit) libpango-1.0.so.0()(64bit) libpangocairo-1.0.so.0()(64bit) libpangoft2-1.0.so.0()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/spnavcfg-0.3-6.fc28.riscv64 Wrote: /builddir/build/SRPMS/spnavcfg-0.3-6.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/spnavcfg-0.3-6.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.a5NJWf + umask 022 + cd /builddir/build/BUILD + cd spnavcfg-0.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/spnavcfg-0.3-6.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