+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/time.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.9MdEY9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf time-1.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/time-1.7.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd time-1.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (time-1.7-destdir.patch):' Patch #0 (time-1.7-destdir.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.in + echo 'Patch #1 (time-1.7-verbose.patch):' Patch #1 (time-1.7-verbose.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file time.c + echo 'Patch #2 (time-1.7-ru_maxrss-is-in-kilobytes-on-Linux.patch):' Patch #2 (time-1.7-ru_maxrss-is-in-kilobytes-on-Linux.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ru_maxrss --fuzz=0 patching file time.c + echo 'Patch #3 (time-1.7-Recompute-CPU-usage-at-microsecond-level.patch):' Patch #3 (time-1.7-Recompute-CPU-usage-at-microsecond-level.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .recompute_cpu --fuzz=0 patching file resuse.h patching file time.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kvk8tg + umask 022 + cd /builddir/build/BUILD + cd time-1.7 + echo 'ac_cv_func_wait3=${ac_cv_func_wait3='\''yes'\''}' + 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 loading cache ./config.cache checking for gcc... gcc checking whether we are using GNU C... yes checking how to run the C preprocessor... gcc -E checking for a BSD compatible install... /usr/bin/install -c checking whether cross-compiling... no checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for unistd.h... yes checking for string.h... yes checking for sys/rusage.h... no checking for working const... yes checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for struct timeval in sys/time.h... yes checking for vprintf... yes checking for wait3 that fills in rusage... (cached) yes checking for strerror... yes checking for getpagesize... yes updating cache ./config.cache creating ./config.status creating Makefile + make -j4 gcc -c -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DRETSIGTYPE=void -DHAVE_TIMEVAL=1 -DHAVE_VPRINTF=1 -DHAVE_WAIT3=1 -DHAVE_STRERROR=1 -DHAVE_GETPAGESIZE=1 -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 time.c gcc -c -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DRETSIGTYPE=void -DHAVE_TIMEVAL=1 -DHAVE_VPRINTF=1 -DHAVE_WAIT3=1 -DHAVE_STRERROR=1 -DHAVE_GETPAGESIZE=1 -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 getopt.c gcc -c -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DRETSIGTYPE=void -DHAVE_TIMEVAL=1 -DHAVE_VPRINTF=1 -DHAVE_WAIT3=1 -DHAVE_STRERROR=1 -DHAVE_GETPAGESIZE=1 -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 getopt1.c gcc -c -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DRETSIGTYPE=void -DHAVE_TIMEVAL=1 -DHAVE_VPRINTF=1 -DHAVE_WAIT3=1 -DHAVE_STRERROR=1 -DHAVE_GETPAGESIZE=1 -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 error.c gcc -c -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DRETSIGTYPE=void -DHAVE_TIMEVAL=1 -DHAVE_VPRINTF=1 -DHAVE_WAIT3=1 -DHAVE_STRERROR=1 -DHAVE_GETPAGESIZE=1 -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 resuse.c rm -f t-version.c echo 'const char *version_string = "'GNU time 1.7'";' \ > t-version.c if cmp -s version.c t-version.c; then \ rm t-version.c; \ else \ mv t-version.c version.c; \ fi echo timestamp > stamp-v gcc -c -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DRETSIGTYPE=void -DHAVE_TIMEVAL=1 -DHAVE_VPRINTF=1 -DHAVE_WAIT3=1 -DHAVE_STRERROR=1 -DHAVE_GETPAGESIZE=1 -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 version.c time.c:654:1: warning: return type of 'main' is not 'int' [-Wmain] main (argc, argv) ^~~~ gcc -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o time time.o getopt.o getopt1.o error.o resuse.o version.o + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.fgBorf + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/time-1.7-49.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/time-1.7-49.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/time-1.7-49.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/time-1.7-49.fc28.riscv64 + cd time-1.7 + make install DESTDIR=/builddir/build/BUILDROOT/time-1.7-49.fc28.riscv64 ./mkinstalldirs /builddir/build/BUILDROOT/time-1.7-49.fc28.riscv64//usr/bin mkdir /builddir/build/BUILDROOT/time-1.7-49.fc28.riscv64/usr mkdir /builddir/build/BUILDROOT/time-1.7-49.fc28.riscv64/usr/bin list="time"; for p in $list; do \ if test -f $p; then \ /usr/bin/install -c $p /builddir/build/BUILDROOT/time-1.7-49.fc28.riscv64//usr/bin/`echo $p|sed 's,^,,; '`; \ else :; fi; \ done ./mkinstalldirs /builddir/build/BUILDROOT/time-1.7-49.fc28.riscv64//usr/share/info mkdir /builddir/build/BUILDROOT/time-1.7-49.fc28.riscv64/usr/share mkdir /builddir/build/BUILDROOT/time-1.7-49.fc28.riscv64/usr/share/info for file in time.info; do \ for ifile in `cd . && echo $file*`; do \ /usr/bin/install -c -m 644 ./$ifile /builddir/build/BUILDROOT/time-1.7-49.fc28.riscv64//usr/share/info/$ifile; \ done; \ done + /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: time-1.7-49.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.BfiP0s + umask 022 + cd /builddir/build/BUILD + cd time-1.7 + DOCDIR=/builddir/build/BUILDROOT/time-1.7-49.fc28.riscv64/usr/share/doc/time + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/time-1.7-49.fc28.riscv64/usr/share/doc/time + cp -pr AUTHORS /builddir/build/BUILDROOT/time-1.7-49.fc28.riscv64/usr/share/doc/time + cp -pr ChangeLog /builddir/build/BUILDROOT/time-1.7-49.fc28.riscv64/usr/share/doc/time + cp -pr COPYING /builddir/build/BUILDROOT/time-1.7-49.fc28.riscv64/usr/share/doc/time + cp -pr NEWS /builddir/build/BUILDROOT/time-1.7-49.fc28.riscv64/usr/share/doc/time + cp -pr README /builddir/build/BUILDROOT/time-1.7-49.fc28.riscv64/usr/share/doc/time + exit 0 Provides: time = 1.7-49.fc28 time(riscv-64) = 1.7-49.fc28 Requires(interp): /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 /sbin/install-info Requires(preun): /bin/sh /sbin/install-info 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/time-1.7-49.fc28.riscv64 Wrote: /builddir/build/SRPMS/time-1.7-49.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/time-1.7-49.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.5eiLcb + umask 022 + cd /builddir/build/BUILD + cd time-1.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/time-1.7-49.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