Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/sysstat.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-270994-64130/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/sysstat.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/sysstat-11.7.3-9.0.1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/sysstat.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-270994-64130/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/sysstat.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XRvZLr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sysstat-11.7.3 + /usr/bin/xz -dc /builddir/build/SOURCES/sysstat-11.7.3.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd sysstat-11.7.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (CVE-2019-16167_memory-corruption-due-to-an-integer-overflow.patch): + echo 'Patch #1 (CVE-2019-16167_memory-corruption-due-to-an-integer-overflow.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file sa_common.c Patch #2 (0001-ignoring-autofs-as-real-filesystem-by-counting-numbe.patch): + echo 'Patch #2 (0001-ignoring-autofs-as-real-filesystem-by-counting-numbe.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file count.c patching file rd_stats.c Hunk #1 succeeded at 2429 (offset -35 lines). Hunk #2 succeeded at 2456 (offset -35 lines). Patch #3 (0001-sar-Add-missing-gnice-CPU-value-for-tickless-CPU.patch): + echo 'Patch #3 (0001-sar-Add-missing-gnice-CPU-value-for-tickless-CPU.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file pr_stats.c Hunk #1 succeeded at 220 (offset 2 lines). Patch #4 (0001-sadf-Fix-seg-fault-on-empty-data-files.patch): + echo 'Patch #4 (0001-sadf-Fix-seg-fault-on-empty-data-files.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file sadf.c Patch #5 (0001-sar-Fix-typo-in-manual-page.patch): + echo 'Patch #5 (0001-sar-Fix-typo-in-manual-page.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file man/sar.in Patch #6 (CVE-2022-39377-arithmetic-overflow-in-allocate-structures-on-32-bit-systems.patch): + echo 'Patch #6 (CVE-2022-39377-arithmetic-overflow-in-allocate-structures-on-32-bit-systems.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file common.c Hunk #1 succeeded at 1404 (offset -251 lines). patching file common.h Hunk #1 succeeded at 243 (offset -17 lines). patching file sa_common.c Hunk #1 succeeded at 398 (offset -61 lines). Patch #7 (0001-sadc-Add-a-f-flag-to-force-fdatasync-use.patch): + echo 'Patch #7 (0001-sadc-Add-a-f-flag-to-force-fdatasync-use.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file man/sadc.in patching file sa.h patching file sadc.c Hunk #2 succeeded at 1134 (offset 25 lines). Hunk #3 succeeded at 1238 (offset 25 lines). + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.lBTGfx + umask 022 + cd /builddir/build/BUILD + cd sysstat-11.7.3 + export 'CFLAGS=-O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + CFLAGS='-O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + CFLAGS='-O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export CFLAGS + CXXFLAGS='-O2 -g' + export CXXFLAGS + FFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -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-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=loongarch64-Anolis-linux --host=loongarch64-Anolis-linux --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 --enable-install-cron --enable-copy-only --disable-file-attr --disable-stripping --docdir=/usr/share/doc/sysstat 'sadc_options=-S DISK' history=28 compressafter=31 configure: WARNING: unrecognized options: --disable-dependency-tracking . Check programs: . checking for loongarch64-Anolis-linux-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether ln -s works... yes checking for chmod... chmod checking for chown... chown checking for ar... ar checking for install... install checking for msgfmt... msgfmt checking for xgettext... xgettext checking for msgmerge... msgmerge checking for xz... xz checking for cp... /usr/bin/cp checking for chkconfig... /usr/sbin/chkconfig checking for pkg-config... pkg-config checking for systemctl... /usr/bin/systemctl . Check header files: . checking for ANSI C header files... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking net/if.h usability... yes checking net/if.h presence... yes checking for net/if.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for sys/stat.h... (cached) yes checking sys/sysmacros.h usability... yes checking sys/sysmacros.h presence... yes checking for sys/sysmacros.h... yes . Check typedefs, structures and compiler characteristics: . checking return type of signal handlers... void checking for size_t... yes checking for off_t... yes . Check library functions: . checking for strchr... yes checking for strcspn... yes checking for strspn... yes checking for strstr... yes checking for sensors support... yes checking for sensors_get_detected_chips in -lsensors... yes checking for sensors lib... yes . Check system services: . checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no . Check configuration: . checking run-commands directory... /etc/rc.d checking sadc directory... /usr/lib64/sa INFO: Directory /usr/lib64/sa will be created during installation stage. checking system activity directory... /var/log/sa INFO: Directory /var/log/sa will be created during installation stage. checking sysstat configuration directory... /etc/sysconfig checking National Language Support... yes checking number of daily data files to keep... 28 checking number of days after which data files are compressed... 31 checking group for manual pages... man checking whether attributes should not be set on files being installed... yes checking whether manual pages should be compressed... no checking whether system activity directory should be cleaned... no checking whether cron should start sar automatically... yes checking crontab owner... root INFO: Crontab for root will be saved in current directory if necessary checking crontab interval... 10 checking whether sadc should collect all possible activities... no checking options to be passed to sadc... -S DISK checking whether files should only be copied... yes checking whether documentation should be installed... yes checking whether object files should be stripped... no . Now create files: . configure: creating ./config.status config.status: creating sa1 config.status: creating sa2 config.status: creating cron/crontab config.status: creating sysstat.sysconfig config.status: creating version.h config.status: creating sysconfig.h config.status: creating cron/sysstat.cron.daily config.status: creating cron/sysstat.cron.hourly config.status: creating cron/sysstat.crond config.status: creating cron/sysstat.crond.sample.in config.status: creating sysstat config.status: creating sysstat.service config.status: creating cron/sysstat-collect.service config.status: creating cron/sysstat-collect.timer config.status: creating cron/sysstat-summary.service config.status: creating cron/sysstat-summary.timer config.status: creating man/sa1.8 config.status: creating man/sa2.8 config.status: creating man/sadc.8 config.status: creating man/sadf.1 config.status: creating man/sar.1 config.status: creating man/sysstat.5 config.status: creating man/iostat.1 config.status: creating man/cifsiostat.1 config.status: creating Makefile configure: WARNING: unrecognized options: --disable-dependency-tracking Sysstat version: 11.7.3 Installation prefix: /usr rc directory: /etc/rc.d Init directory: /etc/rc.d/init.d Systemd unit dir: /usr/lib/systemd/system Configuration directory: /etc/sysconfig Man pages directory: /usr/share/man Compiler: gcc Compiler flags: -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld + make -j4 gcc -o sadc.o -c -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib64/sa/sadc\" -DHAVE_SENSORS -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H -DUSE_NLS -DPACKAGE=\"sysstat\" -DLOCALEDIR=\"/usr/share/locale\" sadc.c gcc -o act_sadc.o -c -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wall -Wstrict-prototypes -pipe -O2 -DSOURCE_SADC -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib64/sa/sadc\" -DHAVE_SENSORS -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H -DUSE_NLS -DPACKAGE=\"sysstat\" -DLOCALEDIR=\"/usr/share/locale\" activity.c gcc -o sa_wrap.o -c -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wall -Wstrict-prototypes -pipe -O2 -DSOURCE_SADC -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib64/sa/sadc\" -DHAVE_SENSORS -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H -DUSE_NLS -DPACKAGE=\"sysstat\" -DLOCALEDIR=\"/usr/share/locale\" sa_wrap.c gcc -o sa_common_sadc.o -c -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wall -Wstrict-prototypes -pipe -O2 -DSOURCE_SADC -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib64/sa/sadc\" -DHAVE_SENSORS -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H -DUSE_NLS -DPACKAGE=\"sysstat\" -DLOCALEDIR=\"/usr/share/locale\" sa_common.c In file included from sa.h:11, from sadc.c:37: sadc.c: In function 'sa_sys_init': sadc.c:336:55: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] (size_t) act[i]->msize * (size_t) act[i]->nr_ini * (size_t) act[i]->nr2); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ common.h:125:16: note: in definition of macro 'SREALLOC' if (SIZE) { \ ^~~~ sadc.c: In function 'open_ofile': sadc.c:993:54: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] (size_t) act[p]->msize * (size_t) act[p]->nr_ini * (size_t) act[p]->nr2); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ common.h:125:16: note: in definition of macro 'SREALLOC' if (SIZE) { \ ^~~~ In file included from sa.h:11, from sa_wrap.c:25: sa_wrap.c: In function 'reallocate_buffer': sa_wrap.c:48:49: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] (size_t) a->msize * (size_t) a->nr_allocated * 2); /* a->nr2 value is 1 */ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ common.h:125:16: note: in definition of macro 'SREALLOC' if (SIZE) { \ ^~~~ sa_wrap.c: In function 'wrap_read_cpu_wghfreq': sa_wrap.c:946:69: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] (size_t) a->msize * (size_t) a->nr2 * (size_t) a->nr_allocated * 2); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ common.h:125:16: note: in definition of macro 'SREALLOC' if (SIZE) { \ ^~~~ gcc -o common_sadc.o -c -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wall -Wstrict-prototypes -pipe -O2 -DSOURCE_SADC -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib64/sa/sadc\" -DHAVE_SENSORS -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H -DUSE_NLS -DPACKAGE=\"sysstat\" -DLOCALEDIR=\"/usr/share/locale\" common.c sa_common.c: In function 'set_default_file': sa_common.c:231:8: warning: '/sa' directive output may be truncated writing 3 bytes into a region of size between 1 and 256 [-Wformat-truncation=] "%s/sa%02d", sa_dir, ^~~ sa_common.c:230:3: note: 'snprintf' output between 6 and 270 bytes into a destination of size 256 snprintf(datafile, MAX_FILE_LEN, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/sa%02d", sa_dir, ~~~~~~~~~~~~~~~~~~~~ rectime.tm_mday); ~~~~~~~~~~~~~~~~ sa_common.c:223:8: warning: '/sa' directive output may be truncated writing 3 bytes into a region of size between 1 and 256 [-Wformat-truncation=] "%s/sa%04d%02d%02d", sa_dir, ^~~ sa_common.c:223:5: note: directive argument in the range [-2147481748, 2147483647] "%s/sa%04d%02d%02d", sa_dir, ^~~~~~~~~~~~~~~~~~~ sa_common.c:223:5: note: directive argument in the range [-2147483647, 2147483647] sa_common.c:222:3: note: 'snprintf' output between 12 and 292 bytes into a destination of size 256 snprintf(datafile, MAX_FILE_LEN, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/sa%04d%02d%02d", sa_dir, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rectime.tm_year + 1900, ~~~~~~~~~~~~~~~~~~~~~~~ rectime.tm_mon + 1, ~~~~~~~~~~~~~~~~~~~ rectime.tm_mday); ~~~~~~~~~~~~~~~~ gcc -o rd_stats.o -c -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wall -Wstrict-prototypes -pipe -O2 -DSOURCE_SADC -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib64/sa/sadc\" -DHAVE_SENSORS -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H -DUSE_NLS -DPACKAGE=\"sysstat\" -DLOCALEDIR=\"/usr/share/locale\" rd_stats.c gcc -o count.o -c -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wall -Wstrict-prototypes -pipe -O2 -DSOURCE_SADC -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib64/sa/sadc\" -DHAVE_SENSORS -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H -DUSE_NLS -DPACKAGE=\"sysstat\" -DLOCALEDIR=\"/usr/share/locale\" count.c gcc -o rd_sensors.o -c -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib64/sa/sadc\" -DHAVE_SENSORS -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H -DUSE_NLS -DPACKAGE=\"sysstat\" -DLOCALEDIR=\"/usr/share/locale\" rd_sensors.c rd_stats.c: In function 'read_filesystem': rd_stats.c:2465:9: warning: assignment to 'int *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types] pos2 = strchr(pos + 1, ' '); ^ rd_stats.c:2469:16: warning: passing argument 1 of 'sscanf' from incompatible pointer type [-Wincompatible-pointer-types] sscanf(pos2 + 1, "%127s", type); ~~~~~^~~ In file included from rd_stats.c:22: /usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'int *' extern int sscanf (const char *__restrict __s, ~~~~~~~~~~~~~~~~~~~~~~~^~~ gcc -o sar.o -c -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib64/sa/sadc\" -DHAVE_SENSORS -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H -DUSE_NLS -DPACKAGE=\"sysstat\" -DLOCALEDIR=\"/usr/share/locale\" sar.c gcc -o act_sar.o -c -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wall -Wstrict-prototypes -pipe -O2 -DSOURCE_SAR -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib64/sa/sadc\" -DHAVE_SENSORS -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H -DUSE_NLS -DPACKAGE=\"sysstat\" -DLOCALEDIR=\"/usr/share/locale\" activity.c gcc -o format_sar.o -c -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wall -Wstrict-prototypes -pipe -O2 -DSOURCE_SAR -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib64/sa/sadc\" -DHAVE_SENSORS -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H -DUSE_NLS -DPACKAGE=\"sysstat\" -DLOCALEDIR=\"/usr/share/locale\" format.c gcc -o sa_common.o -c -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib64/sa/sadc\" -DHAVE_SENSORS -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H -DUSE_NLS -DPACKAGE=\"sysstat\" -DLOCALEDIR=\"/usr/share/locale\" sa_common.c sar.c: In function 'write_stats_avg': sar.c:368:2: warning: 'strcpy' accessing 1 byte at offsets [0, 64] and [0, 128] may overlap 1 byte at offset 0 [-Wrestrict] strcpy(timestamp[!curr], timestamp[curr]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o pr_stats.o -c -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib64/sa/sadc\" -DHAVE_SENSORS -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H -DUSE_NLS -DPACKAGE=\"sysstat\" -DLOCALEDIR=\"/usr/share/locale\" pr_stats.c In file included from sa.h:11, from sa_common.c:37: sa_common.c: In function 'allocate_structures': sa_common.c:410:56: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] (size_t) act[i]->msize * (size_t) act[i]->nr_ini * (size_t) act[i]->nr2); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ common.h:125:16: note: in definition of macro 'SREALLOC' if (SIZE) { \ ^~~~ sa_common.c: In function 'reallocate_all_buffers': sa_common.c:473:35: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] (size_t) a->msize * nr_realloc * (size_t) a->nr2); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ common.h:125:16: note: in definition of macro 'SREALLOC' if (SIZE) { \ ^~~~ sa_common.c: In function 'check_file_actlst': sa_common.c:1811:66: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] SREALLOC(*file_actlst, struct file_activity, FILE_ACTIVITY_SIZE * file_hdr->sa_act_nr); common.h:125:16: note: in definition of macro 'SREALLOC' if (SIZE) { \ ^~~~ In file included from sa.h:11, from pr_stats.c:27: pr_stats.c: In function 'stub_print_pwr_cpufreq_stats': pr_stats.c:1958:72: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] SREALLOC(avg_cpufreq, unsigned long long, sizeof(unsigned long long) * a->nr[curr]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ common.h:125:16: note: in definition of macro 'SREALLOC' if (SIZE) { \ ^~~~ pr_stats.c: In function 'stub_print_pwr_fan_stats': pr_stats.c:2090:44: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] SREALLOC(avg_fan, double, sizeof(double) * a->nr[curr]); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ common.h:125:16: note: in definition of macro 'SREALLOC' if (SIZE) { \ ^~~~ pr_stats.c:2091:48: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] SREALLOC(avg_fan_min, double, sizeof(double) * a->nr[curr]); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ common.h:125:16: note: in definition of macro 'SREALLOC' if (SIZE) { \ ^~~~ pr_stats.c: In function 'stub_print_pwr_temp_stats': pr_stats.c:2195:45: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] SREALLOC(avg_temp, double, sizeof(double) * a->nr[curr]); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ common.h:125:16: note: in definition of macro 'SREALLOC' if (SIZE) { \ ^~~~ pr_stats.c:2196:49: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] SREALLOC(avg_temp_min, double, sizeof(double) * a->nr[curr]); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ common.h:125:16: note: in definition of macro 'SREALLOC' if (SIZE) { \ ^~~~ pr_stats.c:2197:49: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] SREALLOC(avg_temp_max, double, sizeof(double) * a->nr[curr]); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ common.h:125:16: note: in definition of macro 'SREALLOC' if (SIZE) { \ ^~~~ pr_stats.c: In function 'stub_print_pwr_in_stats': pr_stats.c:2311:43: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] SREALLOC(avg_in, double, sizeof(double) * a->nr[curr]); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ common.h:125:16: note: in definition of macro 'SREALLOC' if (SIZE) { \ ^~~~ pr_stats.c:2312:47: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] SREALLOC(avg_in_min, double, sizeof(double) * a->nr[curr]); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ common.h:125:16: note: in definition of macro 'SREALLOC' if (SIZE) { \ ^~~~ pr_stats.c:2313:47: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] SREALLOC(avg_in_max, double, sizeof(double) * a->nr[curr]); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ common.h:125:16: note: in definition of macro 'SREALLOC' if (SIZE) { \ ^~~~ sa_common.c: In function 'set_default_file': sa_common.c:231:8: warning: '/sa' directive output may be truncated writing 3 bytes into a region of size between 1 and 256 [-Wformat-truncation=] "%s/sa%02d", sa_dir, ^~~ sa_common.c:230:3: note: 'snprintf' output between 6 and 270 bytes into a destination of size 256 snprintf(datafile, MAX_FILE_LEN, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/sa%02d", sa_dir, ~~~~~~~~~~~~~~~~~~~~ rectime.tm_mday); ~~~~~~~~~~~~~~~~ sa_common.c:223:8: warning: '/sa' directive output may be truncated writing 3 bytes into a region of size between 1 and 256 [-Wformat-truncation=] "%s/sa%04d%02d%02d", sa_dir, ^~~ sa_common.c:223:5: note: directive argument in the range [-2147481748, 2147483647] "%s/sa%04d%02d%02d", sa_dir, ^~~~~~~~~~~~~~~~~~~ sa_common.c:223:5: note: directive argument in the range [-2147483647, 2147483647] sa_common.c:222:3: note: 'snprintf' output between 12 and 292 bytes into a destination of size 256 snprintf(datafile, MAX_FILE_LEN, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/sa%04d%02d%02d", sa_dir, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rectime.tm_year + 1900, ~~~~~~~~~~~~~~~~~~~~~~~ rectime.tm_mon + 1, ~~~~~~~~~~~~~~~~~~~ rectime.tm_mday); ~~~~~~~~~~~~~~~~ gcc -o rd_stats_light.o -c -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib64/sa/sadc\" -DHAVE_SENSORS -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H -DUSE_NLS -DPACKAGE=\"sysstat\" -DLOCALEDIR=\"/usr/share/locale\" rd_stats.c gcc -o count_light.o -c -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib64/sa/sadc\" -DHAVE_SENSORS -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H -DUSE_NLS -DPACKAGE=\"sysstat\" -DLOCALEDIR=\"/usr/share/locale\" count.c rd_stats.c: In function 'read_fchost': rd_stats.c:2604:4: warning: 'strncpy' output may be truncated copying 16 bytes from a string of length 255 [-Wstringop-truncation] strncpy(st_fc_i->fchost_name, drd->d_name, MAX_FCH_LEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o common.o -c -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib64/sa/sadc\" -DHAVE_SENSORS -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H -DUSE_NLS -DPACKAGE=\"sysstat\" -DLOCALEDIR=\"/usr/share/locale\" common.c gcc -o ioconf.o -c -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib64/sa/sadc\" -DHAVE_SENSORS -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H -DUSE_NLS -DPACKAGE=\"sysstat\" -DLOCALEDIR=\"/usr/share/locale\" ioconf.c ioconf.c: In function 'ioc_init': ioconf.c:307:25: warning: '%s' directive writing up to 31 bytes into a region of size 16 [-Wformat-overflow=] sprintf(blkp->cfmt, "%s%s%%d", blkp->name, cfmt); ^~ ioconf.c:307:4: note: 'sprintf' output between 3 and 49 bytes into a destination of size 16 sprintf(blkp->cfmt, "%s%s%%d", blkp->name, cfmt); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ioconf.c:329:28: warning: 'd' directive writing 1 byte into a region of size between 0 and 15 [-Wformat-overflow=] sprintf(blkp->pfmt, "%s%%d", (*pfmt == '*') ? "" : pfmt); ^ ioconf.c:329:3: note: 'sprintf' output between 3 and 18 bytes into a destination of size 16 sprintf(blkp->pfmt, "%s%%d", (*pfmt == '*') ? "" : pfmt); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ioconf.c:340:3: warning: 'strncpy' output may be truncated copying 63 bytes from a string of length 63 [-Wstringop-truncation] strncpy(blkp->desc, desc, IOC_DESCLEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ioconf.c:222:5: warning: 'strncpy' output may be truncated copying 63 bytes from a string of length 63 [-Wstringop-truncation] strncpy(iocp->desc, desc, IOC_DESCLEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ioconf.c: In function 'transform_devmapname': ioconf.c:513:37: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 244 [-Wformat-truncation=] snprintf(filen, MAX_FILE_LEN, "%s/%s", DEVMAP_DIR, dp->d_name); ^~ ioconf.c:513:3: note: 'snprintf' output between 13 and 268 bytes into a destination of size 256 snprintf(filen, MAX_FILE_LEN, "%s/%s", DEVMAP_DIR, dp->d_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o sadf.o -c -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib64/sa/sadc\" -DHAVE_SENSORS -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H -DUSE_NLS -DPACKAGE=\"sysstat\" -DLOCALEDIR=\"/usr/share/locale\" sadf.c common.c: In function 'get_dev_part_nr': common.c:338:35: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(line, MAX_PF_NAME, "%s/%s/%s", dfile, drd->d_name, S_STAT); ^~ common.c:338:3: note: 'snprintf' output between 7 and 1285 bytes into a destination of size 1024 snprintf(line, MAX_PF_NAME, "%s/%s/%s", dfile, drd->d_name, S_STAT); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o act_sadf.o -c -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wall -Wstrict-prototypes -pipe -O2 -DSOURCE_SADF -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib64/sa/sadc\" -DHAVE_SENSORS -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H -DUSE_NLS -DPACKAGE=\"sysstat\" -DLOCALEDIR=\"/usr/share/locale\" activity.c gcc -o format_sadf.o -c -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wall -Wstrict-prototypes -pipe -O2 -DSOURCE_SADF -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib64/sa/sadc\" -DHAVE_SENSORS -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H -DUSE_NLS -DPACKAGE=\"sysstat\" -DLOCALEDIR=\"/usr/share/locale\" format.c gcc -o sadf_misc.o -c -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib64/sa/sadc\" -DHAVE_SENSORS -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H -DUSE_NLS -DPACKAGE=\"sysstat\" -DLOCALEDIR=\"/usr/share/locale\" sadf_misc.c gcc -o sa_conv.o -c -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib64/sa/sadc\" -DHAVE_SENSORS -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H -DUSE_NLS -DPACKAGE=\"sysstat\" -DLOCALEDIR=\"/usr/share/locale\" sa_conv.c gcc -o rndr_stats.o -c -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib64/sa/sadc\" -DHAVE_SENSORS -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H -DUSE_NLS -DPACKAGE=\"sysstat\" -DLOCALEDIR=\"/usr/share/locale\" rndr_stats.c In file included from sa.h:11, from sadf.h:9, from sa_conv.c:29: sa_conv.c: In function 'upgrade_header_section': sa_conv.c:303:75: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] SREALLOC(*ofile_actlst, struct old_file_activity, OLD_FILE_ACTIVITY_SIZE * file_hdr->sa_act_nr); common.h:125:16: note: in definition of macro 'SREALLOC' if (SIZE) { \ ^~~~ sa_conv.c: In function 'upgrade_activity_section': sa_conv.c:1397:66: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] SREALLOC(*file_actlst, struct file_activity, FILE_ACTIVITY_SIZE * file_hdr->sa_act_nr); common.h:125:16: note: in definition of macro 'SREALLOC' if (SIZE) { \ ^~~~ sadf_misc.c: In function 'print_dbppc_timestamp': sadf_misc.c:484:28: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(temp, 80, "%s%s ", pre, cur_date); ^ sadf_misc.c:484:3: note: 'snprintf' output 2 or more bytes (assuming 81) into a destination of size 80 snprintf(temp, 80, "%s%s ", pre, cur_date); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sadf_misc.c:489:25: warning: '%s' directive output may be truncated writing up to 4 bytes into a region of size between 1 and 80 [-Wformat-truncation=] snprintf(pre, 80, "%s%s%s", temp, cur_time, ^~ sadf_misc.c:489:2: note: 'snprintf' output 1 or more bytes (assuming 84) into a destination of size 80 snprintf(pre, 80, "%s%s%s", temp, cur_time, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ strlen(cur_date) && utc ? " UTC" : ""); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o xml_stats.o -c -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib64/sa/sadc\" -DHAVE_SENSORS -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H -DUSE_NLS -DPACKAGE=\"sysstat\" -DLOCALEDIR=\"/usr/share/locale\" xml_stats.c gcc -o json_stats.o -c -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib64/sa/sadc\" -DHAVE_SENSORS -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H -DUSE_NLS -DPACKAGE=\"sysstat\" -DLOCALEDIR=\"/usr/share/locale\" json_stats.c xml_stats.c: In function 'xml_print_cpu_stats': xml_stats.c:160:20: warning: '%d' directive writing between 1 and 10 bytes into a region of size 8 [-Wformat-overflow=] sprintf(cpuno, "%d", i - 1); ^~ xml_stats.c:160:19: note: directive argument in the range [0, 2147483646] sprintf(cpuno, "%d", i - 1); ^~~~ xml_stats.c:160:4: note: 'sprintf' output between 2 and 11 bytes into a destination of size 8 sprintf(cpuno, "%d", i - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ xml_stats.c: In function 'xml_print_irq_stats': xml_stats.c:317:21: warning: '%d' directive writing between 1 and 10 bytes into a region of size 8 [-Wformat-overflow=] sprintf(irqno, "%d", i - 1); ^~ xml_stats.c:317:20: note: directive argument in the range [0, 2147483646] sprintf(irqno, "%d", i - 1); ^~~~ xml_stats.c:317:5: note: 'sprintf' output between 2 and 11 bytes into a destination of size 8 sprintf(irqno, "%d", i - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ json_stats.c: In function 'json_print_cpu_stats': json_stats.c:168:20: warning: '%d' directive writing between 1 and 10 bytes into a region of size 8 [-Wformat-overflow=] sprintf(cpuno, "%d", i - 1); ^~ json_stats.c:168:19: note: directive argument in the range [0, 2147483646] sprintf(cpuno, "%d", i - 1); ^~~~ json_stats.c:168:4: note: 'sprintf' output between 2 and 11 bytes into a destination of size 8 sprintf(cpuno, "%d", i - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ json_stats.c: In function 'json_print_irq_stats': json_stats.c:332:21: warning: '%d' directive writing between 1 and 10 bytes into a region of size 8 [-Wformat-overflow=] sprintf(irqno, "%d", i - 1); ^~ json_stats.c:332:20: note: directive argument in the range [0, 2147483646] sprintf(irqno, "%d", i - 1); ^~~~ json_stats.c:332:5: note: 'sprintf' output between 2 and 11 bytes into a destination of size 8 sprintf(irqno, "%d", i - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o svg_stats.o -c -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib64/sa/sadc\" -DHAVE_SENSORS -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H -DUSE_NLS -DPACKAGE=\"sysstat\" -DLOCALEDIR=\"/usr/share/locale\" svg_stats.c In file included from sa.h:11, from svg_stats.c:28: svg_stats.c: In function 'reallocate_all_graph_lines': svg_stats.c:293:44: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] SREALLOC(*out, char *, n * sizeof(char *) * 2); ~~~~~~~~~~~~~~~~~~~^~~ common.h:125:16: note: in definition of macro 'SREALLOC' if (SIZE) { \ ^~~~ svg_stats.c:294:42: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] SREALLOC(*outsize, int, n * sizeof(int) * 2); ~~~~~~~~~~~~~~~~^~~ common.h:125:16: note: in definition of macro 'SREALLOC' if (SIZE) { \ ^~~~ svg_stats.c:295:46: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] SREALLOC(*spmin, double, n * sizeof(double) * 2); ~~~~~~~~~~~~~~~~~~~^~~ common.h:125:16: note: in definition of macro 'SREALLOC' if (SIZE) { \ ^~~~ svg_stats.c:296:46: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] SREALLOC(*spmax, double, n * sizeof(double) * 2); ~~~~~~~~~~~~~~~~~~~^~~ common.h:125:16: note: in definition of macro 'SREALLOC' if (SIZE) { \ ^~~~ json_stats.c: In function 'json_print_pwr_cpufreq_stats': json_stats.c:1785:20: warning: '%d' directive writing between 1 and 10 bytes into a region of size 8 [-Wformat-overflow=] sprintf(cpuno, "%d", i - 1); ^~ json_stats.c:1785:19: note: directive argument in the range [0, 2147483646] sprintf(cpuno, "%d", i - 1); ^~~~ json_stats.c:1785:4: note: 'sprintf' output between 2 and 11 bytes into a destination of size 8 sprintf(cpuno, "%d", i - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ xml_stats.c: In function 'xml_print_pwr_cpufreq_stats': xml_stats.c:1740:20: warning: '%d' directive writing between 1 and 10 bytes into a region of size 8 [-Wformat-overflow=] sprintf(cpuno, "%d", i - 1); ^~ xml_stats.c:1740:19: note: directive argument in the range [0, 2147483646] sprintf(cpuno, "%d", i - 1); ^~~~ xml_stats.c:1740:4: note: 'sprintf' output between 2 and 11 bytes into a destination of size 8 sprintf(cpuno, "%d", i - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ json_stats.c: In function 'json_print_pwr_wghfreq_stats': json_stats.c:2061:20: warning: '%d' directive writing between 1 and 10 bytes into a region of size 8 [-Wformat-overflow=] sprintf(cpuno, "%d", i - 1); ^~ json_stats.c:2061:19: note: directive argument in the range [0, 2147483646] sprintf(cpuno, "%d", i - 1); ^~~~ json_stats.c:2061:4: note: 'sprintf' output between 2 and 11 bytes into a destination of size 8 sprintf(cpuno, "%d", i - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ xml_stats.c: In function 'xml_print_pwr_wghfreq_stats': xml_stats.c:1984:20: warning: '%d' directive writing between 1 and 10 bytes into a region of size 8 [-Wformat-overflow=] sprintf(cpuno, "%d", i - 1); ^~ xml_stats.c:1984:19: note: directive argument in the range [0, 2147483646] sprintf(cpuno, "%d", i - 1); ^~~~ xml_stats.c:1984:4: note: 'sprintf' output between 2 and 11 bytes into a destination of size 8 sprintf(cpuno, "%d", i - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o raw_stats.o -c -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib64/sa/sadc\" -DHAVE_SENSORS -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H -DUSE_NLS -DPACKAGE=\"sysstat\" -DLOCALEDIR=\"/usr/share/locale\" raw_stats.c xml_stats.c: In function 'xml_print_softnet_stats': xml_stats.c:2222:20: warning: '%d' directive writing between 1 and 10 bytes into a region of size 8 [-Wformat-overflow=] sprintf(cpuno, "%d", i - 1); ^~ xml_stats.c:2222:19: note: directive argument in the range [0, 2147483646] sprintf(cpuno, "%d", i - 1); ^~~~ xml_stats.c:2222:4: note: 'sprintf' output between 2 and 11 bytes into a destination of size 8 sprintf(cpuno, "%d", i - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ json_stats.c: In function 'json_print_softnet_stats': json_stats.c:2353:20: warning: '%d' directive writing between 1 and 10 bytes into a region of size 8 [-Wformat-overflow=] sprintf(cpuno, "%d", i - 1); ^~ json_stats.c:2353:19: note: directive argument in the range [0, 2147483646] sprintf(cpuno, "%d", i - 1); ^~~~ json_stats.c:2353:4: note: 'sprintf' output between 2 and 11 bytes into a destination of size 8 sprintf(cpuno, "%d", i - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o iostat.o -c -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib64/sa/sadc\" -DHAVE_SENSORS -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H -DUSE_NLS -DPACKAGE=\"sysstat\" -DLOCALEDIR=\"/usr/share/locale\" iostat.c gcc -o tapestat.o -c -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib64/sa/sadc\" -DHAVE_SENSORS -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H -DUSE_NLS -DPACKAGE=\"sysstat\" -DLOCALEDIR=\"/usr/share/locale\" tapestat.c svg_stats.c: In function 'recappend': svg_stats.c:544:25: warning: ' L' directive output may be truncated writing 2 bytes into a region of size between 1 and 128 [-Wformat-truncation=] snprintf(data, 128, "%s L%llu,%.2f%s", restart ? data1 : "", timetag, p_value, ^~ svg_stats.c:544:22: note: assuming directive output of 4 bytes snprintf(data, 128, "%s L%llu,%.2f%s", restart ? data1 : "", timetag, p_value, ^~~~~~~~~~~~~~~~~ svg_stats.c:544:2: note: 'snprintf' output between 8 and 591 bytes into a destination of size 128 snprintf(data, 128, "%s L%llu,%.2f%s", restart ? data1 : "", timetag, p_value, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ p_value != value ? data2 : ""); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iostat.c: In function 'read_sysfs_dlist_part_stat': iostat.c:572:39: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, MAX_PF_NAME, "%s/%s/%s", dfile, drd->d_name, S_STAT); ^~ iostat.c:572:3: note: 'snprintf' output between 7 and 1285 bytes into a destination of size 1024 snprintf(filename, MAX_PF_NAME, "%s/%s/%s", dfile, drd->d_name, S_STAT); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ svg_stats.c: In function 'svg_print_cpu_stats': svg_stats.c:1302:25: warning: '%d' directive writing between 1 and 10 bytes into a region of size 8 [-Wformat-overflow=] sprintf(item_name, "%d", i - 1); ^~ svg_stats.c:1302:24: note: directive argument in the range [0, 2147483646] sprintf(item_name, "%d", i - 1); ^~~~ svg_stats.c:1302:5: note: 'sprintf' output between 2 and 11 bytes into a destination of size 8 sprintf(item_name, "%d", i - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o mpstat.o -c -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib64/sa/sadc\" -DHAVE_SENSORS -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H -DUSE_NLS -DPACKAGE=\"sysstat\" -DLOCALEDIR=\"/usr/share/locale\" mpstat.c gcc -o pidstat.o -c -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib64/sa/sadc\" -DHAVE_SENSORS -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H -DUSE_NLS -DPACKAGE=\"sysstat\" -DLOCALEDIR=\"/usr/share/locale\" pidstat.c svg_stats.c: In function 'svg_print_net_dev_stats': svg_stats.c:2374:5: warning: 'item_name' may be used uninitialized in this function [-Wmaybe-uninitialized] strncpy(item_name, sndc->interface, CHUNKSIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o cifsiostat.o -c -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib64/sa/sadc\" -DHAVE_SENSORS -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H -DUSE_NLS -DPACKAGE=\"sysstat\" -DLOCALEDIR=\"/usr/share/locale\" cifsiostat.c svg_stats.c: In function 'svg_print_net_edev_stats': svg_stats.c:2579:5: warning: 'item_name' may be used uninitialized in this function [-Wmaybe-uninitialized] strncpy(item_name, snedc->interface, CHUNKSIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msgfmt -o nls/ko.gmo nls/ko.po msgfmt -o nls/pt.gmo nls/pt.po msgfmt -o nls/ja.gmo nls/ja.po msgfmt -o nls/de.gmo nls/de.po msgfmt -o nls/tr.gmo nls/tr.po msgfmt -o nls/sr.gmo nls/sr.po msgfmt -o nls/vi.gmo nls/vi.po msgfmt -o nls/da.gmo nls/da.po msgfmt -o nls/sv.gmo nls/sv.po msgfmt -o nls/it.gmo nls/it.po msgfmt -o nls/pl.gmo nls/pl.po msgfmt -o nls/nb.gmo nls/nb.po msgfmt -o nls/ru.gmo nls/ru.po msgfmt -o nls/ky.gmo nls/ky.po msgfmt -o nls/ro.gmo nls/ro.po msgfmt -o nls/mt.gmo nls/mt.po msgfmt -o nls/fi.gmo nls/fi.po msgfmt -o nls/es.gmo nls/es.po msgfmt -o nls/eu.gmo nls/eu.po msgfmt -o nls/nn.gmo nls/nn.po msgfmt -o nls/hr.gmo nls/hr.po msgfmt -o nls/fr.gmo nls/fr.po msgfmt -o nls/eo.gmo nls/eo.po msgfmt -o nls/fur.gmo nls/fur.po msgfmt -o nls/id.gmo nls/id.po msgfmt -o nls/gl.gmo nls/gl.po msgfmt -o nls/uk.gmo nls/uk.po msgfmt -o nls/pt_BR.gmo nls/pt_BR.po msgfmt -o nls/cs.gmo nls/cs.po msgfmt -o nls/lv.gmo nls/lv.po msgfmt -o nls/nl.gmo nls/nl.po msgfmt -o nls/zh_CN.gmo nls/zh_CN.po msgfmt -o nls/sk.gmo nls/sk.po msgfmt -o nls/hu.gmo nls/hu.po msgfmt -o nls/zh_TW.gmo nls/zh_TW.po msgfmt -o nls/af.gmo nls/af.po ar rvs librdstats.a rd_stats.o count.o ar rvs librdsensors.a rd_sensors.o ar: creating librdstats.a a - rd_stats.o a - count.o ar rvs librdstats_light.a rd_stats_light.o count_light.o ar: creating librdsensors.a a - rd_sensors.o ar rvs libsyscom.a common.o ioconf.o ar: creating librdstats_light.a a - rd_stats_light.o a - count_light.o gcc -o sadc -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wall -Wstrict-prototypes -pipe -O2 sadc.o act_sadc.o sa_wrap.o sa_common_sadc.o common_sadc.o librdstats.a librdsensors.a -lsensors ar: creating libsyscom.a a - common.o a - ioconf.o gcc -o sar -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wall -Wstrict-prototypes -pipe -O2 sar.o act_sar.o format_sar.o sa_common.o pr_stats.o librdstats_light.a libsyscom.a svg_stats.c: In function 'svg_print_pwr_fan_stats': svg_stats.c:4290:54: warning: '%s' directive output may be truncated writing up to 19 bytes into a region of size between 16 and 25 [-Wformat-truncation=] snprintf(item_name, MAX_SENSORS_DEV_LEN + 8, "%d: %s", i + 1, spc->device); ^~ svg_stats.c:4290:4: note: 'snprintf' output between 4 and 32 bytes into a destination of size 28 snprintf(item_name, MAX_SENSORS_DEV_LEN + 8, "%d: %s", i + 1, spc->device); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o iostat -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wall -Wstrict-prototypes -pipe -O2 iostat.o librdstats_light.a libsyscom.a svg_stats.c: In function 'svg_print_pwr_temp_stats': svg_stats.c:4384:54: warning: '%s' directive output may be truncated writing up to 19 bytes into a region of size between 16 and 25 [-Wformat-truncation=] snprintf(item_name, MAX_SENSORS_DEV_LEN + 8, "%d: %s", i + 1, spc->device); ^~ svg_stats.c:4384:4: note: 'snprintf' output between 4 and 32 bytes into a destination of size 28 snprintf(item_name, MAX_SENSORS_DEV_LEN + 8, "%d: %s", i + 1, spc->device); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o tapestat -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wall -Wstrict-prototypes -pipe -O2 tapestat.o librdstats_light.a libsyscom.a svg_stats.c: In function 'svg_print_pwr_in_stats': svg_stats.c:4478:54: warning: '%s' directive output may be truncated writing up to 19 bytes into a region of size between 16 and 25 [-Wformat-truncation=] snprintf(item_name, MAX_SENSORS_DEV_LEN + 8, "%d: %s", i + 1, spc->device); ^~ svg_stats.c:4478:4: note: 'snprintf' output between 4 and 32 bytes into a destination of size 28 snprintf(item_name, MAX_SENSORS_DEV_LEN + 8, "%d: %s", i + 1, spc->device); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o mpstat -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wall -Wstrict-prototypes -pipe -O2 mpstat.o librdstats_light.a libsyscom.a gcc -o cifsiostat -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wall -Wstrict-prototypes -pipe -O2 cifsiostat.o librdstats_light.a libsyscom.a svg_stats.c: In function 'svg_print_softnet_stats': svg_stats.c:5095:25: warning: '%d' directive writing between 1 and 10 bytes into a region of size 8 [-Wformat-overflow=] sprintf(item_name, "%d", i - 1); ^~ svg_stats.c:5095:24: note: directive argument in the range [0, 2147483646] sprintf(item_name, "%d", i - 1); ^~~~ svg_stats.c:5095:5: note: 'sprintf' output between 2 and 11 bytes into a destination of size 8 sprintf(item_name, "%d", i - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o sadf -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wall -Wstrict-prototypes -pipe -O2 sadf.o act_sadf.o format_sadf.o sadf_misc.o sa_conv.o rndr_stats.o xml_stats.o json_stats.o svg_stats.o raw_stats.o sa_common.o librdstats_light.a libsyscom.a gcc -o pidstat -O2 -g -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wall -Wstrict-prototypes -pipe -O2 pidstat.o librdstats_light.a libsyscom.a + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.tHmjoY + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64 ++ dirname /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64 + cd sysstat-11.7.3 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64 'INSTALL=/usr/bin/install -p' mkdir -p /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/man/man1 mkdir -p /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/man/man5 mkdir -p /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/man/man8 rm -f /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/man/man8/sa1.8* /usr/bin/install -p -m 644 man/sa1.8 /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/man/man8 rm -f /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/man/man8/sa2.8* /usr/bin/install -p -m 644 man/sa2.8 /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/man/man8 rm -f /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/man/man8/sadc.8* /usr/bin/install -p -m 644 man/sadc.8 /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/man/man8 rm -f /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/man/man1/sar.1* /usr/bin/install -p -m 644 man/sar.1 /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/man/man1 rm -f /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/man/man1/sadf.1* /usr/bin/install -p -m 644 man/sadf.1 /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/man/man1 rm -f /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/man/man5/sysstat.5* /usr/bin/install -p -m 644 man/sysstat.5 /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/man/man5 rm -f /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/man/man1/iostat.1* /usr/bin/install -p -m 644 man/iostat.1 /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/man/man1 rm -f /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/man/man1/tapestat.1* /usr/bin/install -p -m 644 man/tapestat.1 /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/man/man1 rm -f /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/man/man1/mpstat.1* /usr/bin/install -p -m 644 man/mpstat.1 /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/man/man1 rm -f /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/man/man1/pidstat.1* /usr/bin/install -p -m 644 man/pidstat.1 /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/man/man1 rm -f /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/man/man1/cifsiostat.1* /usr/bin/install -p -m 644 man/cifsiostat.1 /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/man/man1 catalogs='nls/cs.gmo nls/uk.gmo nls/lv.gmo nls/it.gmo nls/de.gmo nls/mt.gmo nls/id.gmo nls/ro.gmo nls/da.gmo nls/fur.gmo nls/ru.gmo nls/ky.gmo nls/ko.gmo nls/eo.gmo nls/nb.gmo nls/hr.gmo nls/pt_BR.gmo nls/zh_CN.gmo nls/pl.gmo nls/hu.gmo nls/nl.gmo nls/sk.gmo nls/tr.gmo nls/zh_TW.gmo nls/sr.gmo nls/eu.gmo nls/fr.gmo nls/af.gmo nls/pt.gmo nls/ja.gmo nls/es.gmo nls/gl.gmo nls/nn.gmo nls/vi.gmo nls/fi.gmo nls/sv.gmo'; \ for c in $catalogs; do \ c=`basename $c`; \ c=`echo $c | sed 's/\.gmo$//'`; \ mkdir -p /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/locale/$c/LC_MESSAGES; \ echo "NLS: Installing $c file..." ; \ /usr/bin/install -p -m 644 nls/$c.gmo /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/locale/$c/LC_MESSAGES/sysstat.mo; \ done NLS: Installing cs file... NLS: Installing uk file... NLS: Installing lv file... NLS: Installing it file... NLS: Installing de file... NLS: Installing mt file... NLS: Installing id file... NLS: Installing ro file... NLS: Installing da file... NLS: Installing fur file... NLS: Installing ru file... NLS: Installing ky file... NLS: Installing ko file... NLS: Installing eo file... NLS: Installing nb file... NLS: Installing hr file... NLS: Installing pt_BR file... NLS: Installing zh_CN file... NLS: Installing pl file... NLS: Installing hu file... NLS: Installing nl file... NLS: Installing sk file... NLS: Installing tr file... NLS: Installing zh_TW file... NLS: Installing sr file... NLS: Installing eu file... NLS: Installing fr file... NLS: Installing af file... NLS: Installing pt file... NLS: Installing ja file... NLS: Installing es file... NLS: Installing gl file... NLS: Installing nn file... NLS: Installing vi file... NLS: Installing fi file... NLS: Installing sv file... mkdir -p /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/lib64/sa mkdir -p /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/var/log/sa mkdir -p /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/bin mkdir -p /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/doc/sysstat mkdir -p /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/etc/sysconfig /usr/bin/install -p -m 755 sa1 /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/lib64/sa /usr/bin/install -p -m 755 sa2 /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/lib64/sa /usr/bin/install -p -m 755 sadc /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/lib64/sa /usr/bin/install -p -m 755 sar /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/bin /usr/bin/install -p -m 755 sadf /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/bin /usr/bin/install -p -m 755 iostat /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/bin /usr/bin/install -p -m 755 tapestat /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/bin /usr/bin/install -p -m 755 mpstat /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/bin /usr/bin/install -p -m 755 pidstat /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/bin /usr/bin/install -p -m 755 cifsiostat /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/bin /usr/bin/install -p -m 644 sysstat.ioconf /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/etc/sysconfig /usr/bin/install -p -m 644 sysstat.sysconfig /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/etc/sysconfig/sysstat /usr/bin/install -p -m 644 CHANGES /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/doc/sysstat /usr/bin/install -p -m 644 COPYING /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/doc/sysstat /usr/bin/install -p -m 644 CREDITS /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/doc/sysstat /usr/bin/install -p -m 644 README.md /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/doc/sysstat /usr/bin/install -p -m 644 FAQ.md /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/doc/sysstat /usr/bin/install -p -m 644 *.lsm /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/doc/sysstat mkdir -p /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/lib/systemd/system if [ -z "/usr/lib/systemd/system" -o ! -d "/builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/lib/systemd/system" ]; then \ if [ -d /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/etc/cron.d ]; then \ /usr/bin/install -p -m 644 cron/sysstat.crond /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/etc/cron.d/sysstat; \ elif [ -d /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/etc/cron.hourly -a -d /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/etc/cron.daily ]; then \ /usr/bin/install -p -m 755 cron/sysstat.cron.hourly /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/etc/cron.hourly/sysstat; \ /usr/bin/install -p -m 755 cron/sysstat.cron.daily /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/etc/cron.daily/sysstat; \ fi \ fi if [ -n "/usr/lib/systemd/system" -a -d "/builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/lib/systemd/system" ]; then \ /usr/bin/install -p -m 644 sysstat.service /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/lib/systemd/system; \ /usr/bin/install -p -m 644 cron/sysstat-collect.service /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/lib/systemd/system; \ /usr/bin/install -p -m 644 cron/sysstat-collect.timer /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/lib/systemd/system; \ /usr/bin/install -p -m 644 cron/sysstat-summary.service /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/lib/systemd/system; \ /usr/bin/install -p -m 644 cron/sysstat-summary.timer /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/lib/systemd/system; \ elif [ -d /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/etc/rc.d/init.d ]; then \ /usr/bin/install -p -m 755 sysstat /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/etc/rc.d/init.d/sysstat; \ if [ "y" == "n" ]; then \ if [ -x "/usr/sbin/chkconfig" ]; then \ cd /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/etc/rc.d/init.d && /usr/sbin/chkconfig --add sysstat; \ else \ [ -d /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/etc/rc.d/rc2.d ] || mkdir -p /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/etc/rc.d/rc2.d; \ [ -d /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/etc/rc.d/rc3.d ] || mkdir -p /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/etc/rc.d/rc3.d; \ [ -d /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/etc/rc.d/rc5.d ] || mkdir -p /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/etc/rc.d/rc5.d; \ cd /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/etc/rc.d/rc2.d && ln -s -f ../init.d/sysstat S01sysstat; \ cd /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/etc/rc.d/rc3.d && ln -s -f ../init.d/sysstat S01sysstat; \ cd /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/etc/rc.d/rc5.d && ln -s -f ../init.d/sysstat S01sysstat; \ fi \ fi \ elif [ -d /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/etc/rc.d ]; then \ /usr/bin/install -p -m 755 sysstat /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/etc/rc.d/rc.sysstat; \ if [ "y" == "n" ]; then \ if [ -x "/usr/sbin/chkconfig" ]; then \ cd /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/etc/rc.d && /usr/sbin/chkconfig --add rc.sysstat; \ else \ [ -d /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/etc/rc.d/rc2.d ] || mkdir -p /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/etc/rc.d/rc2.d; \ [ -d /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/etc/rc.d/rc3.d ] || mkdir -p /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/etc/rc.d/rc3.d; \ [ -d /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/etc/rc.d/rc5.d ] || mkdir -p /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/etc/rc.d/rc5.d; \ cd /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/etc/rc.d/rc2.d && ln -s -f ../rc.sysstat S01sysstat; \ cd /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/etc/rc.d/rc3.d && ln -s -f ../rc.sysstat S01sysstat; \ cd /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/etc/rc.d/rc5.d && ln -s -f ../rc.sysstat S01sysstat; \ fi \ fi \ fi + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64 sysstat + mkdir -p /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/etc/profile.d + install -p -m 644 /builddir/build/SOURCES/colorsysstat.csh /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/etc/profile.d + install -p -m 644 /builddir/build/SOURCES/colorsysstat.sh /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/etc/profile.d + rm -rf /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64//usr/share/doc/sysstat + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 11.7.3-9.0.1.an8 --unique-debug-suffix -11.7.3-9.0.1.an8.loongarch64 --unique-debug-src-base sysstat-11.7.3-9.0.1.an8.loongarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/sysstat-11.7.3 extracting debug info from /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/bin/cifsiostat extracting debug info from /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/bin/mpstat extracting debug info from /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/bin/pidstat extracting debug info from /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/bin/iostat extracting debug info from /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/bin/sar extracting debug info from /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/bin/sadf extracting debug info from /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/bin/tapestat extracting debug info from /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/lib64/sa/sadc /usr/lib/rpm/sepdebugcrcfix: Updated 8 CRC32s, 0 CRC32s did match. 2869 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: sysstat-11.7.3-9.0.1.an8.loongarch64 Provides: config(sysstat) = 11.7.3-9.0.1.an8 sysstat = 11.7.3-9.0.1.an8 sysstat(loongarch-64) = 11.7.3-9.0.1.an8 Requires(interp): /bin/sh /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 systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: /bin/sh libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libsensors.so.4()(64bit) Processing files: sysstat-doc-11.7.3-9.0.1.an8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.YffmSh + umask 022 + cd /builddir/build/BUILD + cd sysstat-11.7.3 + DOCDIR=/builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/doc/sysstat-doc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/doc/sysstat-doc + cp -pr CHANGES /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/doc/sysstat-doc + cp -pr COPYING /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/doc/sysstat-doc + cp -pr CREDITS /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/doc/sysstat-doc + cp -pr FAQ.md /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/doc/sysstat-doc + cp -pr README.md /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/doc/sysstat-doc + cp -pr sysstat-11.7.3.lsm /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64/usr/share/doc/sysstat-doc + exit 0 Provides: sysstat-doc = 11.7.3-9.0.1.an8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: sysstat-debugsource-11.7.3-9.0.1.an8.loongarch64 Provides: sysstat-debugsource = 11.7.3-9.0.1.an8 sysstat-debugsource(loongarch-64) = 11.7.3-9.0.1.an8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: sysstat-debuginfo-11.7.3-9.0.1.an8.loongarch64 Provides: debuginfo(build-id) = 074fad19f2dd31d9aff98372560be608b2d46848 debuginfo(build-id) = 0faa1c3eb6de566d2131c839218f8d2d6fffdf61 debuginfo(build-id) = 50b3035691c1ba5552e1e11dee4f6f60b22dad27 debuginfo(build-id) = 54c027680a5e5ab4e765f8cd9d290fac5f36254f debuginfo(build-id) = 6c0606f22a65c0aaea16da86e39ba739470215eb debuginfo(build-id) = 9601edd3d7de181000c9f5df787ecdb95ae3bae1 debuginfo(build-id) = b7266b2ba91bcb1d80054a07bb9e2807ab15854b debuginfo(build-id) = db90d9fb22fbe9fa00ffe879a7ab3064deccb69f sysstat-debuginfo = 11.7.3-9.0.1.an8 sysstat-debuginfo(loongarch-64) = 11.7.3-9.0.1.an8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sysstat-debugsource(loongarch-64) = 11.7.3-9.0.1.an8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64 Wrote: /builddir/build/RPMS/sysstat-11.7.3-9.0.1.an8.loongarch64.rpm Wrote: /builddir/build/RPMS/sysstat-doc-11.7.3-9.0.1.an8.noarch.rpm Wrote: /builddir/build/RPMS/sysstat-debugsource-11.7.3-9.0.1.an8.loongarch64.rpm Wrote: /builddir/build/RPMS/sysstat-debuginfo-11.7.3-9.0.1.an8.loongarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.TOVeGJ + umask 022 + cd /builddir/build/BUILD + cd sysstat-11.7.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/sysstat-11.7.3-9.0.1.an8.loongarch64 + exit 0 Child return code was: 0