+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/tudu.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.gP050z + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tudu-0.9.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/tudu-0.9.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd tudu-0.9.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (tudu.patch):' Patch #0 (tudu.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file configure + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.TdzQG2 + umask 022 + cd /builddir/build/BUILD + cd tudu-0.9.1 + 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 cpp... WARNING: Unknown flag '--program-prefix'. WARNING: Unknown flag '--disable-dependency-tracking'. checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-unknown-linux-gnu using crosscompilation mode. checking for working directories... current using prefix '/usr' checking for c++ compiler... g++ checking for xcurses.h... no checking for ncursesw/curses.h... yes checking for ncurses/curses.h... yes checking for ncurses.h... yes checking for curses.h... yes checking for libncursesw ... yes checking for libncurses ... yes checking for libcurses ... yes checking for WIDEC_CURSES... yes checking for string... yes checking for vector... yes checking for map... yes checking for fstream... yes checking for list... yes checking for stack... yes checking for algorithm... yes checking for set... yes checking for ctime... yes checking for cstring... yes checking for csignal... yes checking for cstdio... yes checking for cstdlib... yes checking for sys/types.h... yes checking for sys/wait.h... yes checking for sys/stat.h... yes checking for unistd.h... yes checking for fcntl.h... yes checking for locale... yes checking for cwchar... yes checking for clocale... yes checking for climits... yes checking for iostream... yes checking for iomanip... yes checking for sstream... yes checking for cerrno... yes creating ./Makefile creating src/Makefile creating data/Makefile creating src/defs.h cleaning temporally files... done + make -j4 cd src && make make[1]: Entering directory '/builddir/build/BUILD/tudu-0.9.1/src' g++ -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 -g -Wall -O2 -c tudu.cc g++ -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 -g -Wall -O2 -c data.cc g++ -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 -g -Wall -O2 -c editor.cc g++ -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 -g -Wall -O2 -c interface.cc interface.cc: In member function 'void Interface::editText()': interface.cc:770:9: warning: ignoring return value of 'char* tmpnam(char*)', declared with attribute warn_unused_result [-Wunused-result] tmpnam(path); ~~~~~~^~~~~~ interface.cc:773:11: warning: ignoring return value of 'char* tmpnam(char*)', declared with attribute warn_unused_result [-Wunused-result] tmpnam(path); ~~~~~~^~~~~~ g++ -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 -g -Wall -O2 -c window.cc g++ -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 -g -Wall -O2 -c text.cc window.cc: In member function 'int Window::_cols()': window.cc:188:6: warning: variable 'lines' set but not used [-Wunused-but-set-variable] int lines, cols; ^~~~~ g++ -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 -g -Wall -O2 -c parser.cc g++ -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 -g -Wall -O2 -c config.cc g++ -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 -g -Wall -O2 -c date.cc g++ -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 -g -Wall -O2 -c screen.cc g++ -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 -g -Wall -O2 -c sched.cc g++ -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 -g -Wall -O2 -c cmd.cc g++ -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 -g -Wall -O2 -o tudu tudu.o data.o editor.o interface.o window.o text.o parser.o config.o date.o screen.o sched.o cmd.o -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib64 -Wl,-R/usr/lib64 -lncursesw interface.o: In function `Interface::editText()': /builddir/build/BUILD/tudu-0.9.1/src/interface.cc:770: warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[1]: Leaving directory '/builddir/build/BUILD/tudu-0.9.1/src' cd data && make make[1]: Entering directory '/builddir/build/BUILD/tudu-0.9.1/data' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/tudu-0.9.1/data' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.IYEslY + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/tudu-0.9.1-7.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/tudu-0.9.1-7.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/tudu-0.9.1-7.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/tudu-0.9.1-7.fc28.riscv64 + cd tudu-0.9.1 + rm -rf /builddir/build/BUILDROOT/tudu-0.9.1-7.fc28.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/tudu-0.9.1-7.fc28.riscv64 cd src && make make[1]: Entering directory '/builddir/build/BUILD/tudu-0.9.1/src' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/tudu-0.9.1/src' cd data && make make[1]: Entering directory '/builddir/build/BUILD/tudu-0.9.1/data' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/tudu-0.9.1/data' cd src && make install make[1]: Entering directory '/builddir/build/BUILD/tudu-0.9.1/src' mkdir -p /builddir/build/BUILDROOT/tudu-0.9.1-7.fc28.riscv64/usr/bin /usr/bin/install -m 755 tudu /builddir/build/BUILDROOT/tudu-0.9.1-7.fc28.riscv64/usr/bin make[1]: Leaving directory '/builddir/build/BUILD/tudu-0.9.1/src' cd data && make install make[1]: Entering directory '/builddir/build/BUILD/tudu-0.9.1/data' mkdir -p /builddir/build/BUILDROOT/tudu-0.9.1-7.fc28.riscv64/usr/share/tudu /usr/bin/install -m 644 tudu.dtd /builddir/build/BUILDROOT/tudu-0.9.1-7.fc28.riscv64/usr/share/tudu /usr/bin/install -m 644 welcome.xml /builddir/build/BUILDROOT/tudu-0.9.1-7.fc28.riscv64/usr/share/tudu mkdir -p /builddir/build/BUILDROOT/tudu-0.9.1-7.fc28.riscv64/etc /usr/bin/install -m 644 tudurc /builddir/build/BUILDROOT/tudu-0.9.1-7.fc28.riscv64/etc mkdir -p /builddir/build/BUILDROOT/tudu-0.9.1-7.fc28.riscv64/usr/share/man/man1 /usr/bin/install -m 644 tudu.1 /builddir/build/BUILDROOT/tudu-0.9.1-7.fc28.riscv64/usr/share/man/man1 make[1]: Leaving directory '/builddir/build/BUILD/tudu-0.9.1/data' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/tudu-0.9.1-7.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: tudu-0.9.1-7.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.cIiLP9 + umask 022 + cd /builddir/build/BUILD + cd tudu-0.9.1 + DOCDIR=/builddir/build/BUILDROOT/tudu-0.9.1-7.fc28.riscv64/usr/share/doc/tudu + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tudu-0.9.1-7.fc28.riscv64/usr/share/doc/tudu + cp -pr README /builddir/build/BUILDROOT/tudu-0.9.1-7.fc28.riscv64/usr/share/doc/tudu + cp -pr COPYING /builddir/build/BUILDROOT/tudu-0.9.1-7.fc28.riscv64/usr/share/doc/tudu + cp -pr CONTRIBUTORS /builddir/build/BUILDROOT/tudu-0.9.1-7.fc28.riscv64/usr/share/doc/tudu + cp -pr ChangeLog /builddir/build/BUILDROOT/tudu-0.9.1-7.fc28.riscv64/usr/share/doc/tudu + cp -pr AUTHORS /builddir/build/BUILDROOT/tudu-0.9.1-7.fc28.riscv64/usr/share/doc/tudu + cp -pr todo.xml /builddir/build/BUILDROOT/tudu-0.9.1-7.fc28.riscv64/usr/share/doc/tudu + exit 0 Provides: config(tudu) = 0.9.1-7.fc28 tudu = 0.9.1-7.fc28 tudu(riscv-64) = 0.9.1-7.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) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libncursesw.so.6()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tudu-0.9.1-7.fc28.riscv64 Wrote: /builddir/build/SRPMS/tudu-0.9.1-7.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/tudu-0.9.1-7.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.EHUCMh + umask 022 + cd /builddir/build/BUILD + cd tudu-0.9.1 + rm -rf /builddir/build/BUILDROOT/tudu-0.9.1-7.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff