Mock Version: 1.2.14 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/i7z.spec'], chrootPath='/srv/build/7/B/mock-root/c7-epel-i686/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB', '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=21600logger=uid=501) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/i7z.spec'] with env {'LANG': 'en_GB', '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: worker1.bsys.centos.org Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/i7z-0.27.2-11.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/i7z.spec '], chrootPath='/srv/build/7/B/mock-root/c7-epel-i686/root'shell=Falseuid=501env={'LANG': 'en_GB', '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=21600private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/i7z.spec '] with env {'LANG': 'en_GB', '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: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XX5Hwy + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf i7z-0.27.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/i7z-0.27.2.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd i7z-0.27.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KRVju1 + umask 022 + cd /builddir/build/BUILD + cd i7z-0.27.2 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + LDFLAGS='-Wl,-z,relro ' + make -j16 rm -f *.o i7z cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fno-schedule-insns2 -fno-schedule-insns -fno-inline-small-functions -fno-caller-saves -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DBUILD_MAIN -Wimplicit-function-declaration -Dx86 -c -o i7z.o i7z.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fno-schedule-insns2 -fno-schedule-insns -fno-inline-small-functions -fno-caller-saves -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DBUILD_MAIN -Wimplicit-function-declaration -Dx86 -c -o helper_functions.o helper_functions.c If the compilation complains about not finding ncurses.h, install ncurses (libncurses5-dev on ubuntu/debian) cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fno-schedule-insns2 -fno-schedule-insns -fno-inline-small-functions -fno-caller-saves -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DBUILD_MAIN -Wimplicit-function-declaration -Dx86 -c -o i7z_Single_Socket.o i7z_Single_Socket.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fno-schedule-insns2 -fno-schedule-insns -fno-inline-small-functions -fno-caller-saves -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DBUILD_MAIN -Wimplicit-function-declaration -Dx86 -c -o i7z_Dual_Socket.o i7z_Dual_Socket.c i7z.c: In function 'logCpuFreq_single_ts': i7z.c:187:9: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' [-Wformat=] fprintf(fp_log_file_freq,"%d.%.9d\n",value->tv_sec,value->tv_nsec); //newline, replace \n with \t to get everything separated with tabs ^ i7z.c:187:9: warning: format '%d' expects argument of type 'int', but argument 4 has type '__syscall_slong_t' [-Wformat=] i7z.c:191:9: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' [-Wformat=] fprintf(fp_log_file_freq,"%d.%.9d\t",value->tv_sec,value->tv_nsec); ^ i7z.c:191:9: warning: format '%d' expects argument of type 'int', but argument 4 has type '__syscall_slong_t' [-Wformat=] i7z.c: In function 'logCpuFreq_dual_ts': i7z.c:267:13: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' [-Wformat=] fprintf(fp_log_file_freq_1,"%d.%.9d\n",value->tv_sec,value->tv_nsec); //newline, replace \n with \t to get everything separated with tabs ^ i7z.c:267:13: warning: format '%d' expects argument of type 'int', but argument 4 has type '__syscall_slong_t' [-Wformat=] i7z.c:271:14: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' [-Wformat=] fprintf(fp_log_file_freq_1,"%d.%.9d\t",value->tv_sec,value->tv_nsec); ^ i7z.c:271:14: warning: format '%d' expects argument of type 'int', but argument 4 has type '__syscall_slong_t' [-Wformat=] i7z.c:276:13: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' [-Wformat=] fprintf(fp_log_file_freq_2,"%d.%.9d\n",value->tv_sec,value->tv_nsec); //newline, replace \n with \t to get everything separated with tabs ^ i7z.c:276:13: warning: format '%d' expects argument of type 'int', but argument 4 has type '__syscall_slong_t' [-Wformat=] i7z.c:280:14: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' [-Wformat=] fprintf(fp_log_file_freq_2,"%d.%.9d\t",value->tv_sec,value->tv_nsec); ^ i7z.c:280:14: warning: format '%d' expects argument of type 'int', but argument 4 has type '__syscall_slong_t' [-Wformat=] i7z.c: In function 'logCpuCstates_single_ts': i7z.c:318:9: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' [-Wformat=] fprintf(fp_log_file_Cstates,"%d.%.9d",value->tv_sec,value->tv_nsec); //newline, replace \n with \t to get everything separated with tabs ^ i7z.c:318:9: warning: format '%d' expects argument of type 'int', but argument 4 has type '__syscall_slong_t' [-Wformat=] i7z.c: In function 'logCpuCstates_dual_ts': i7z.c:369:13: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' [-Wformat=] fprintf(fp_log_file_Cstates_1,"%d.%.9d",value->tv_sec,value->tv_nsec); //newline, replace \n with \t to get everything separated with tabs ^ i7z.c:369:13: warning: format '%d' expects argument of type 'int', but argument 4 has type '__syscall_slong_t' [-Wformat=] i7z.c:374:13: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' [-Wformat=] fprintf(fp_log_file_Cstates_2,"%d.%.9d",value->tv_sec,value->tv_nsec); //newline, replace \n with \t to get everything separated with tabs ^ i7z.c:374:13: warning: format '%d' expects argument of type 'int', but argument 4 has type '__syscall_slong_t' [-Wformat=] i7z.c: In function 'atexit_runsttysane': i7z.c:384:11: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system("stty sane"); ^ i7z.c: In function 'modprobing_msr': i7z.c:389:11: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system("modprobe msr"); ^ helper_functions.c: In function 'Test_Or_Make_MSR_DEVICE_FILES': helper_functions.c:510:20: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system ("msr_major=202; \ ^ helper_functions.c:521:20: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system ("modprobe msr"); ^ helper_functions.c: In function 'cpufreq_info': helper_functions.c:535:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] ("cat /proc/cpuinfo |grep MHz|sed 's/cpu\\sMHz\\s*:\\s//'|tail -n 1 > /tmp/cpufreq.txt"); ^ helper_functions.c:542:11: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (tmp_str, 30, tmp_file); ^ i7z_Single_Socket.c: In function 'print_i7z_socket_single': i7z_Single_Socket.c:207:13: warning: variable 'IA32_FIXED_CTR_CTL_Value' set but not used [-Wunused-but-set-variable] int IA32_FIXED_CTR_CTL_Value; ^ i7z_Single_Socket.c:201:13: warning: variable 'IA32_PERF_GLOBAL_CTRL_Value' set but not used [-Wunused-but-set-variable] int IA32_PERF_GLOBAL_CTRL_Value; ^ i7z_Single_Socket.c: In function 'print_i7z_single': i7z_Single_Socket.c:708:9: warning: variable 'HT_ON' set but not used [-Wunused-but-set-variable] int HT_ON; ^ i7z_Single_Socket.c:657:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ i7z_Dual_Socket.c: In function 'print_i7z_socket': i7z_Dual_Socket.c:188:13: warning: variable 'IA32_FIXED_CTR_CTL_Value' set but not used [-Wunused-but-set-variable] int IA32_FIXED_CTR_CTL_Value = get_msr_value (CPU_NUM, IA32_FIXED_CTR_CTL, 63, 0, &error_indx); ^ i7z_Dual_Socket.c:183:13: warning: variable 'IA32_PERF_GLOBAL_CTRL_Value' set but not used [-Wunused-but-set-variable] int IA32_PERF_GLOBAL_CTRL_Value = get_msr_value (CPU_NUM, IA32_PERF_GLOBAL_CTRL, 63, 0, &error_indx); ^ i7z_Dual_Socket.c: In function 'print_i7z': i7z_Dual_Socket.c:705:9: warning: variable 'HT_ON' set but not used [-Wunused-but-set-variable] int HT_ON; ^ i7z_Dual_Socket.c:661:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fno-schedule-insns2 -fno-schedule-insns -fno-inline-small-functions -fno-caller-saves -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DBUILD_MAIN -Wimplicit-function-declaration -Dx86 -Wl,-z,relro -o i7z i7z.o helper_functions.o i7z_Single_Socket.o i7z_Dual_Socket.o -lncurses -lpthread -lrt -lm Succeeded, now run sudo ./i7z + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Er5ZBv + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/i7z-0.27.2-11.el7.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/i7z-0.27.2-11.el7.i386 ++ dirname /builddir/build/BUILDROOT/i7z-0.27.2-11.el7.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/i7z-0.27.2-11.el7.i386 + cd i7z-0.27.2 + make install DESTDIR=/builddir/build/BUILDROOT/i7z-0.27.2-11.el7.i386 docdir=/usr/share/doc/i7z install -D -m 0644 doc/i7z.man /builddir/build/BUILDROOT/i7z-0.27.2-11.el7.i386/usr/share/man/man1/i7z.1 install -D -m 755 i7z /builddir/build/BUILDROOT/i7z-0.27.2-11.el7.i386/usr/sbin/i7z install -d /builddir/build/BUILDROOT/i7z-0.27.2-11.el7.i386/usr/share/doc/i7z install -m 0644 README.txt put_cores_offline.sh put_cores_online.sh MAKEDEV-cpuid-msr /builddir/build/BUILDROOT/i7z-0.27.2-11.el7.i386/usr/share/doc/i7z + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/i7z-0.27.2 extracting debug info from /builddir/build/BUILDROOT/i7z-0.27.2-11.el7.i386/usr/sbin/i7z dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 264 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: i7z-0.27.2-11.el7.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1T4Pi0 + umask 022 + cd /builddir/build/BUILD + cd i7z-0.27.2 + DOCDIR=/builddir/build/BUILDROOT/i7z-0.27.2-11.el7.i386/usr/share/doc/i7z-0.27.2 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/i7z-0.27.2-11.el7.i386/usr/share/doc/i7z-0.27.2 + cp -pr COPYING /builddir/build/BUILDROOT/i7z-0.27.2-11.el7.i386/usr/share/doc/i7z-0.27.2 + exit 0 Provides: i7z = 0.27.2-11.el7 i7z(x86-32) = 0.27.2-11.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libm.so.6 libncurses.so.5 libpthread.so.0 libpthread.so.0(GLIBC_2.0) libpthread.so.0(GLIBC_2.2) librt.so.1 librt.so.1(GLIBC_2.2) libtinfo.so.5 rtld(GNU_HASH) Processing files: i7z-debuginfo-0.27.2-11.el7.i686 Provides: i7z-debuginfo = 0.27.2-11.el7 i7z-debuginfo(x86-32) = 0.27.2-11.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/i7z-0.27.2-11.el7.i386 Wrote: /builddir/build/RPMS/i7z-0.27.2-11.el7.i686.rpm Wrote: /builddir/build/RPMS/i7z-debuginfo-0.27.2-11.el7.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.K89e4u + umask 022 + cd /builddir/build/BUILD + cd i7z-0.27.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/i7z-0.27.2-11.el7.i386 + exit 0 Child return code was: 0 LEAVE do -->