Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/spnavcfg.spec'], chrootPath='/var/lib/mock/f30-build-35242-19590/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/spnavcfg.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/spnavcfg-0.3-8.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/spnavcfg.spec'], chrootPath='/var/lib/mock/f30-build-35242-19590/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/spnavcfg.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.F8Hgib + 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.omYRfi + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pedantic -Wall -g `pkg-config --cflags gtk+-2.0 gmodule-export-2.0` -c cfgfile.c -o cfgfile.o BUILDSTDERR: back.c: In function 'backend': BUILDSTDERR: back.c:56:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(pfd, &tmp, 1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: back.c: In function 'get_daemon_pid': BUILDSTDERR: back.c:105:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(buf, sizeof buf, fp); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pedantic -Wall -g `pkg-config --cflags gtk+-2.0 gmodule-export-2.0` cfgfile.c -MM -MT cfgfile.o >cfgfile.d BUILDSTDERR: In file included from front_gtk.c:29: BUILDSTDERR: ui.h:1172:1: warning: string length '62707' is greater than the length '4095' ISO C99 compilers are required to support [-Woverlength-strings] BUILDSTDERR: ; BUILDSTDERR: ^ BUILDSTDERR: front_gtk.c: In function 'update_cfg': BUILDSTDERR: front_gtk.c:136:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(pipe_fd, &cmd, 1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: front_gtk.c:137:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(pipe_fd, &cfg, sizeof cfg); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: front_gtk.c: In function 'bn_handler': BUILDSTDERR: front_gtk.c:384:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(pipe_fd, &tmp, 1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: front_gtk.c:385:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read(pipe_fd, &tmp, 1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: front_gtk.c:140:12: warning: 'query_x11' defined but not used [-Wunused-function] BUILDSTDERR: static int query_x11(void) BUILDSTDERR: ^~~~~~~~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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.DQDJlm + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/spnavcfg-0.3-8.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/spnavcfg-0.3-8.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/spnavcfg-0.3-8.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/spnavcfg-0.3-8.fc30.riscv64 + cd spnavcfg-0.3 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/spnavcfg-0.3-8.fc30.riscv64 'INSTALL=/usr/bin/install -p' /usr/bin/install -p -d /builddir/build/BUILDROOT/spnavcfg-0.3-8.fc30.riscv64/usr/bin /usr/bin/install -p -m 4775 spnavcfg /builddir/build/BUILDROOT/spnavcfg-0.3-8.fc30.riscv64/usr/bin/spnavcfg for i in 48 128 256; do \ destdir=/builddir/build/BUILDROOT/spnavcfg-0.3-8.fc30.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-8.fc30.riscv64/usr/share/applications + desktop-file-install --dir=/builddir/build/BUILDROOT/spnavcfg-0.3-8.fc30.riscv64/usr/share/applications icons/spnavcfg.desktop + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.3-8.fc30 --unique-debug-suffix -0.3-8.fc30.riscv64 --unique-debug-src-base spnavcfg-0.3-8.fc30.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/spnavcfg-0.3 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/spnavcfg-0.3-8.fc30.riscv64/usr/bin/spnavcfg extracting debug info from /builddir/build/BUILDROOT/spnavcfg-0.3-8.fc30.riscv64/usr/bin/spnavcfg /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 201 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /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-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: spnavcfg-0.3-8.fc30.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.MxI7Mh + umask 022 + cd /builddir/build/BUILD + cd spnavcfg-0.3 + DOCDIR=/builddir/build/BUILDROOT/spnavcfg-0.3-8.fc30.riscv64/usr/share/doc/spnavcfg + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/spnavcfg-0.3-8.fc30.riscv64/usr/share/doc/spnavcfg + cp -pr COPYING /builddir/build/BUILDROOT/spnavcfg-0.3-8.fc30.riscv64/usr/share/doc/spnavcfg + cp -pr README /builddir/build/BUILDROOT/spnavcfg-0.3-8.fc30.riscv64/usr/share/doc/spnavcfg + exit 0 Provides: application() application(spnavcfg.desktop) spnavcfg = 0.3-8.fc30 spnavcfg(riscv-64) = 0.3-8.fc30 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) Processing files: spnavcfg-debugsource-0.3-8.fc30.riscv64 Provides: spnavcfg-debugsource = 0.3-8.fc30 spnavcfg-debugsource(riscv-64) = 0.3-8.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: spnavcfg-debuginfo-0.3-8.fc30.riscv64 Provides: debuginfo(build-id) = 6feaba20b3aaa1202bf3a0aea71e88173bd8035b spnavcfg-debuginfo = 0.3-8.fc30 spnavcfg-debuginfo(riscv-64) = 0.3-8.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: spnavcfg-debugsource(riscv-64) = 0.3-8.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/spnavcfg-0.3-8.fc30.riscv64 Wrote: /builddir/build/RPMS/spnavcfg-0.3-8.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/spnavcfg-debugsource-0.3-8.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/spnavcfg-debuginfo-0.3-8.fc30.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.UMSrnd + umask 022 + cd /builddir/build/BUILD + cd spnavcfg-0.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/spnavcfg-0.3-8.fc30.riscv64 + exit 0 Child return code was: 0