+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/wf.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.ipvTTb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf wf-0.41 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/wf-0.41.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd wf-0.41 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cjFGY6 + umask 022 + cd /builddir/build/BUILD + cd wf-0.41 + 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 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /builddir/build/BUILD/wf-0.41/missing: Unknown `--run' option Try `/builddir/build/BUILD/wf-0.41/missing --help' for more information configure: WARNING: `missing' script is too old or missing checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking for riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl.exe... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -j4 /usr/bin/make all-recursive make[1]: Entering directory '/builddir/build/BUILD/wf-0.41' Making all in src make[2]: Entering directory '/builddir/build/BUILD/wf-0.41/src' gcc -DHAVE_CONFIG_H -I. -I.. -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 -c freq.c gcc -DHAVE_CONFIG_H -I. -I.. -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 -c main.c freq.c: In function 'addword_source': freq.c:68:8: warning: unused variable 'q' [-Wunused-variable] char *q; ^ freq.c: In function 'addword': freq.c:92:9: warning: unused variable 'text' [-Wunused-variable] char * text; ^~~~ freq.c: In function 'wordsort': freq.c:150:6: warning: unused variable 'i' [-Wunused-variable] int i=0; ^ In file included from freq.c:20:0: At top level: freq.h:16:22: warning: 'wfsc_table' defined but not used [-Wunused-variable] static unsigned char wfsc_table[] = { ^~~~~~~~~~ main.c: In function 'main': main.c:95:7: warning: unused variable 'this_option_optind' [-Wunused-variable] int this_option_optind = optind ? optind : 1; ^~~~~~~~~~~~~~~~~~ main.c:165:19: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] sprintf(fmt, "%%%d[A-Za-z%s]%%n", sizeof(buf)-1, wfsc_table); ~^ %ld main.c:169:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((q = strchr(buf_orig, '\n')) != NULL) ^ main.c:171:5: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] q = buf_orig; ^ main.c:175:23: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] if ((ret = sscanf(q, fmt, buf, &c))) { ^ In file included from /usr/include/features.h:428:0, from /usr/include/getopt.h:24, from main.c:15: /usr/include/stdio.h:400:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ main.c:77:6: warning: unused variable 'wsize' [-Wunused-variable] int wsize; ^~~~~ main.c:73:8: warning: unused variable 'r' [-Wunused-variable] char *r; ^ main.c:67:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ main.c:66:6: warning: unused variable 'digit_optind' [-Wunused-variable] int digit_optind = 0; ^~~~~~~~~~~~ In file included from main.c:26:0: At top level: freq.h:57:22: warning: 'wf_lowermap' defined but not used [-Wunused-variable] static unsigned char wf_lowermap[256] = { ^~~~~~~~~~~ freq.h:39:22: warning: 'wf_alphamap' defined but not used [-Wunused-variable] static unsigned char wf_alphamap[256] = { ^~~~~~~~~~~ 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 -o wf freq.o main.o make[2]: Leaving directory '/builddir/build/BUILD/wf-0.41/src' make[2]: Entering directory '/builddir/build/BUILD/wf-0.41' make[2]: Leaving directory '/builddir/build/BUILD/wf-0.41' make[1]: Leaving directory '/builddir/build/BUILD/wf-0.41' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.wCiHd6 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/wf-0.41-13.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/wf-0.41-13.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/wf-0.41-13.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/wf-0.41-13.fc28.riscv64 + cd wf-0.41 + /usr/bin/rm -rf /builddir/build/BUILDROOT/wf-0.41-13.fc28.riscv64 + /usr/bin/make DESTDIR=/builddir/build/BUILDROOT/wf-0.41-13.fc28.riscv64 'INSTALL=/usr/bin/install -p' install Making install in src make[1]: Entering directory '/builddir/build/BUILD/wf-0.41/src' make[2]: Entering directory '/builddir/build/BUILD/wf-0.41/src' test -z "/usr/bin" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/wf-0.41-13.fc28.riscv64/usr/bin" /usr/bin/install -p 'wf' '/builddir/build/BUILDROOT/wf-0.41-13.fc28.riscv64/usr/bin/wf' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/wf-0.41/src' make[1]: Leaving directory '/builddir/build/BUILD/wf-0.41/src' make[1]: Entering directory '/builddir/build/BUILD/wf-0.41' make[2]: Entering directory '/builddir/build/BUILD/wf-0.41' make[2]: Nothing to be done for 'install-exec-am'. test -z "/usr/share/man/man1" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/wf-0.41-13.fc28.riscv64/usr/share/man/man1" /usr/bin/install -p -m 644 './wf.1' '/builddir/build/BUILDROOT/wf-0.41-13.fc28.riscv64/usr/share/man/man1/wf.1' make[2]: Leaving directory '/builddir/build/BUILD/wf-0.41' make[1]: Leaving directory '/builddir/build/BUILD/wf-0.41' + /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: wf-0.41-13.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.smdC5m + umask 022 + cd /builddir/build/BUILD + cd wf-0.41 + DOCDIR=/builddir/build/BUILDROOT/wf-0.41-13.fc28.riscv64/usr/share/doc/wf + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/wf-0.41-13.fc28.riscv64/usr/share/doc/wf + cp -pr AUTHORS /builddir/build/BUILDROOT/wf-0.41-13.fc28.riscv64/usr/share/doc/wf + cp -pr ChangeLog /builddir/build/BUILDROOT/wf-0.41-13.fc28.riscv64/usr/share/doc/wf + cp -pr COPYING /builddir/build/BUILDROOT/wf-0.41-13.fc28.riscv64/usr/share/doc/wf + cp -pr NEWS /builddir/build/BUILDROOT/wf-0.41-13.fc28.riscv64/usr/share/doc/wf + cp -pr README /builddir/build/BUILDROOT/wf-0.41-13.fc28.riscv64/usr/share/doc/wf + cp -pr TODO /builddir/build/BUILDROOT/wf-0.41-13.fc28.riscv64/usr/share/doc/wf + exit 0 Provides: wf = 0.41-13.fc28 wf(riscv-64) = 0.41-13.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/wf-0.41-13.fc28.riscv64 Wrote: /builddir/build/SRPMS/wf-0.41-13.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/wf-0.41-13.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.9yF1Qt + umask 022 + cd /builddir/build/BUILD + cd wf-0.41 + /usr/bin/rm -rf /builddir/build/BUILDROOT/wf-0.41-13.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