Cook: i7z 0.27.2 ================================================================================ QA: checking package receipt... Checking build dependencies... Extracting source archive "i7z-0.27.2.tar.gz" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed rm -f *.o i7z cc -march=i486 -Os -pipe -mindirect-branch=thunk -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 -D_GLIBCXX_USE_C99_MATH=1 -c -o i7z.o i7z.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -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 -D_GLIBCXX_USE_C99_MATH=1 -c -o helper_functions.o helper_functions.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -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 -D_GLIBCXX_USE_C99_MATH=1 -c -o i7z_Single_Socket.o i7z_Single_Socket.c If the compilation complains about not finding ncurses.h, install ncurses (libncurses5-dev on ubuntu/debian) cc -march=i486 -Os -pipe -mindirect-branch=thunk -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 -D_GLIBCXX_USE_C99_MATH=1 -c -o i7z_Dual_Socket.o i7z_Dual_Socket.c i7z.c: In function 'logCpuFreq_single_ts': i7z.c:187:36: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' {aka 'long int'} [-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 ~^ ~~~~~~~~~~~~~ %ld i7z.c:187:41: warning: format '%d' expects argument of type 'int', but argument 4 has type '__syscall_slong_t' {aka 'long int'} [-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 ~~~^ ~~~~~~~~~~~~~~ %.9ld i7z.c:191:36: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' {aka 'long int'} [-Wformat=] fprintf(fp_log_file_freq,"%d.%.9d\t",value->tv_sec,value->tv_nsec); ~^ ~~~~~~~~~~~~~ %ld i7z.c:191:41: warning: format '%d' expects argument of type 'int', but argument 4 has type '__syscall_slong_t' {aka 'long int'} [-Wformat=] fprintf(fp_log_file_freq,"%d.%.9d\t",value->tv_sec,value->tv_nsec); ~~~^ ~~~~~~~~~~~~~~ %.9ld i7z.c: In function 'logCpuFreq_dual_ts': i7z.c:267:42: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' {aka 'long int'} [-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 ~^ ~~~~~~~~~~~~~ %ld i7z.c:267:47: warning: format '%d' expects argument of type 'int', but argument 4 has type '__syscall_slong_t' {aka 'long int'} [-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 ~~~^ ~~~~~~~~~~~~~~ %.9ld i7z.c:271:43: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' {aka 'long int'} [-Wformat=] fprintf(fp_log_file_freq_1,"%d.%.9d\t",value->tv_sec,value->tv_nsec); ~^ ~~~~~~~~~~~~~ %ld i7z.c:271:48: warning: format '%d' expects argument of type 'int', but argument 4 has type '__syscall_slong_t' {aka 'long int'} [-Wformat=] fprintf(fp_log_file_freq_1,"%d.%.9d\t",value->tv_sec,value->tv_nsec); ~~~^ ~~~~~~~~~~~~~~ %.9ld i7z.c:276:42: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' {aka 'long int'} [-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 ~^ ~~~~~~~~~~~~~ %ld i7z.c:276:47: warning: format '%d' expects argument of type 'int', but argument 4 has type '__syscall_slong_t' {aka 'long int'} [-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 ~~~^ ~~~~~~~~~~~~~~ %.9ld i7z.c:280:43: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' {aka 'long int'} [-Wformat=] fprintf(fp_log_file_freq_2,"%d.%.9d\t",value->tv_sec,value->tv_nsec); ~^ ~~~~~~~~~~~~~ %ld i7z.c:280:48: warning: format '%d' expects argument of type 'int', but argument 4 has type '__syscall_slong_t' {aka 'long int'} [-Wformat=] fprintf(fp_log_file_freq_2,"%d.%.9d\t",value->tv_sec,value->tv_nsec); ~~~^ ~~~~~~~~~~~~~~ %.9ld i7z.c: In function 'logCpuCstates_single_ts': i7z.c:318:39: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' {aka 'long int'} [-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 ~^ ~~~~~~~~~~~~~ %ld i7z.c:318:44: warning: format '%d' expects argument of type 'int', but argument 4 has type '__syscall_slong_t' {aka 'long int'} [-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 ~~~^ ~~~~~~~~~~~~~~ %.9ld i7z.c: In function 'logCpuCstates_dual_ts': i7z.c:369:45: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' {aka 'long int'} [-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 ~^ ~~~~~~~~~~~~~ %ld i7z.c:369:50: warning: format '%d' expects argument of type 'int', but argument 4 has type '__syscall_slong_t' {aka 'long int'} [-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 ~~~^ ~~~~~~~~~~~~~~ %.9ld i7z.c:374:45: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' {aka 'long int'} [-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 ~^ ~~~~~~~~~~~~~ %ld i7z.c:374:50: warning: format '%d' expects argument of type 'int', but argument 4 has type '__syscall_slong_t' {aka 'long int'} [-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 ~~~^ ~~~~~~~~~~~~~~ %.9ld i7z.c: In function 'atexit_runsttysane': i7z.c:384:5: 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:5: 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:13: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system ("msr_major=202; \ ^~~~~~~~~~~~~~~~~~~~~~~~~ cpuid_major=203; \ ~~~~~~~~~~~~~~~~~~ n=0; \ ~~~~~~ while [ $n -lt 16 ]; do \ ~~~~~~~~~~~~~~~~~~~~~~~~~ mkdir -m 0755 -p /dev/cpu/$n; \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mknod /dev/cpu/$n/msr -m 0600 c $msr_major $n; \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mknod /dev/cpu/$n/cpuid -m 0444 c $cpuid_major $n; \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ n=`expr $n + 1`; \ ~~~~~~~~~~~~~~~~~~ done; \ ~~~~~~~ "); ~~ helper_functions.c:521:13: 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:534:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system ^~~~~~ ("cat /proc/cpuinfo |grep MHz|sed 's/cpu\\sMHz\\s*:\\s//'|tail -n 1 > /tmp/cpufreq.txt"); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ helper_functions.c:542:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (tmp_str, 30, tmp_file); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -march=i486 -Os -pipe -mindirect-branch=thunk -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,-Os,--as-needed -o i7z i7z.o helper_functions.o i7z_Single_Socket.o i7z_Dual_Socket.o -lncurses -lpthread -lrt -lm Succeeded, now run sudo ./i7z install -D -m 0644 doc/i7z.man /home/slitaz/wok/i7z/install/usr/share/man/man1/i7z.1 install -D -m 755 i7z /home/slitaz/wok/i7z/install/usr/sbin/i7z install -d /home/slitaz/wok/i7z/install/usr/share/doc/i7z/ install -m 0644 README.txt put_cores_offline.sh put_cores_online.sh MAKEDEV-cpuid-msr /home/slitaz/wok/i7z/install/usr/share/doc/i7z/ ================================================================================ Executing strip on all files... Done Time: 0.43s. Size: 64520 B -> 46752 B. Save: 17 KB. Installing (pkg/local): advancecomp-static-2.1-i486 Compressing man pages... Done Time: 1.63s. Size: 1851 B -> 986 B. Save: 1 KB. Cache hit: 1/1. ================================================================================ Build dependencies to remove: 1 Removing: advancecomp-static Pack: i7z 0.27.2 ================================================================================ Executing: genpkg_rules Copying folders and files... Done Copying "receipt"... Done Determining package architecture... i486 Creating the list of files... Done Creating md5sum of files... Done Compressing the FS... Done Creating full cpio archive... Done QA: checking for empty package... Done Removing old package "i7z-0.27.2-i486.tazpkg" Done The release checksum has changed. ================================================================================ Package "i7z-0.27.2-i486.tazpkg" created Post-check ================================================================================ Checking build... Done Checking 'any' arch... Done Checking libtool in source/i7z-0.27.2... Done Checking site script in source/i7z-0.27.2... Done Checking ownership in install... Done Checking permissions in install... Done Checking broken symlinks in install... Done Querying Repology... Done Updating activity log... Done ================================================================================ Summary for: i7z 0.27.2 ================================================================================ Src file : i7z-0.27.2.tar.gz Src size : 52.0K Source dir : 400.0K Produced : 100.0K Cook time : 8s Cook date : 2020-07-07 11:29 Target arch : i486 -------------------------------------------------------------------------------- # : Packed : Compressed : Files : Package name -------------------------------------------------------------------------------- 1 : 76.0K : 14.1K : 1 : i7z-0.27.2-i486.tazpkg ================================================================================