Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/time.spec'], chrootPath='/var/lib/mock/time-1.7-45.el7-20180328131158-16881/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1006) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/time.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False warning: Could not canonicalize hostname: x86-01.bsys.centos.org Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/time-1.7-45.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/time.spec'], chrootPath='/var/lib/mock/time-1.7-45.el7-20180328131158-16881/root'shell=Falseuid=1006env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/time.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AAjzYm + 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 -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd time-1.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (time-1.7-destdir.patch): + echo 'Patch #0 (time-1.7-destdir.patch):' + /usr/bin/cat /builddir/build/SOURCES/time-1.7-destdir.patch + /usr/bin/patch -p1 --fuzz=0 patching file Makefile.in + echo 'Patch #1 (time-1.7-verbose.patch):' Patch #1 (time-1.7-verbose.patch): + /usr/bin/cat /builddir/build/SOURCES/time-1.7-verbose.patch + /usr/bin/patch -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/cat /builddir/build/SOURCES/time-1.7-ru_maxrss-is-in-kilobytes-on-Linux.patch + /usr/bin/patch -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/cat /builddir/build/SOURCES/time-1.7-Recompute-CPU-usage-at-microsecond-level.patch + /usr/bin/patch -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.FHnX59 + 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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' x86_64 == ppc64le ']' ++ find . -name config.guess -o -name config.sub + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-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 -j16 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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic 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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic 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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic 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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic 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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic 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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic version.c time.c:654:1: warning: return type of 'main' is not 'int' [-Wmain] main (argc, argv) ^ gcc -Wl,-z,relro -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.478HBY + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/time-1.7-45.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/time-1.7-45.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/time-1.7-45.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/time-1.7-45.el7.x86_64 + cd time-1.7 + make install DESTDIR=/builddir/build/BUILDROOT/time-1.7-45.el7.x86_64 ./mkinstalldirs /builddir/build/BUILDROOT/time-1.7-45.el7.x86_64//usr/bin mkdir /builddir/build/BUILDROOT/time-1.7-45.el7.x86_64/usr mkdir /builddir/build/BUILDROOT/time-1.7-45.el7.x86_64/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-45.el7.x86_64//usr/bin/`echo $p|sed 's,^,,; '`; \ else :; fi; \ done ./mkinstalldirs /builddir/build/BUILDROOT/time-1.7-45.el7.x86_64//usr/share/info mkdir /builddir/build/BUILDROOT/time-1.7-45.el7.x86_64/usr/share mkdir /builddir/build/BUILDROOT/time-1.7-45.el7.x86_64/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-45.el7.x86_64//usr/share/info/$ifile; \ done; \ done + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/time-1.7 extracting debug info from /builddir/build/BUILDROOT/time-1.7-45.el7.x86_64/usr/bin/time dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 69 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: time-1.7-45.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.65Q1uN + umask 022 + cd /builddir/build/BUILD + cd time-1.7 + DOCDIR=/builddir/build/BUILDROOT/time-1.7-45.el7.x86_64/usr/share/doc/time-1.7 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/time-1.7-45.el7.x86_64/usr/share/doc/time-1.7 + cp -pr AUTHORS /builddir/build/BUILDROOT/time-1.7-45.el7.x86_64/usr/share/doc/time-1.7 + cp -pr ChangeLog /builddir/build/BUILDROOT/time-1.7-45.el7.x86_64/usr/share/doc/time-1.7 + cp -pr COPYING /builddir/build/BUILDROOT/time-1.7-45.el7.x86_64/usr/share/doc/time-1.7 + cp -pr NEWS /builddir/build/BUILDROOT/time-1.7-45.el7.x86_64/usr/share/doc/time-1.7 + cp -pr README /builddir/build/BUILDROOT/time-1.7-45.el7.x86_64/usr/share/doc/time-1.7 + exit 0 Provides: time = 1.7-45.el7 time(x86-64) = 1.7-45.el7 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: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Processing files: time-debuginfo-1.7-45.el7.x86_64 Provides: time-debuginfo = 1.7-45.el7 time-debuginfo(x86-64) = 1.7-45.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/time-1.7-45.el7.x86_64 warning: Could not canonicalize hostname: x86-01.bsys.centos.org Wrote: /builddir/build/RPMS/time-1.7-45.el7.x86_64.rpm Wrote: /builddir/build/RPMS/time-debuginfo-1.7-45.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.YLzfDg + umask 022 + cd /builddir/build/BUILD + cd time-1.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/time-1.7-45.el7.x86_64 + exit 0 Child return code was: 0