In file included from sa.h:11, from sa_common.c:36: sa_common.c: In function 'allocate_structures': sa_common.c:68:52: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] (size_t) act[i]->msize * (size_t) act[i]->nr * (size_t) act[i]->nr2); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ common.h:126:16: note: in definition of macro 'SREALLOC' if (SIZE) { \ ^~~~ In file included from sa.h:11, from sadc.c:37: sadc.c: In function 'sa_sys_init': sadc.c:339:51: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] (size_t) act[i]->msize * (size_t) act[i]->nr * (size_t) act[i]->nr2); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ common.h:126:16: note: in definition of macro 'SREALLOC' if (SIZE) { \ ^~~~ sa_common.c: In function 'check_file_actlst': sa_common.c:1295: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:126:16: note: in definition of macro 'SREALLOC' if (SIZE) { \ ^~~~ sa_common.c: In function 'reallocate_vol_act_structures': sa_common.c:1436:50: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] (size_t) act[p]->msize * (size_t) act[p]->nr * (size_t) act[p]->nr2); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ common.h:126:16: note: in definition of macro 'SREALLOC' if (SIZE) { \ ^~~~ sadc.c: In function 'open_ofile': sadc.c:974:50: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] (size_t) act[p]->msize * (size_t) act[p]->nr * (size_t) act[p]->nr2); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ common.h:126:16: note: in definition of macro 'SREALLOC' if (SIZE) { \ ^~~~ /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-gcc -o count.o -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -Wstrict-prototypes -pipe -O2 -DSOURCE_SADC -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib/sa/sadc\" -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H count.c sa_common.c: In function 'set_default_file': sa_common.c:446: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:445: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:438: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:438:5: note: directive argument in the range [-2147481748, 2147483647] "%s/sa%04d%02d%02d", sa_dir, ^~~~~~~~~~~~~~~~~~~ sa_common.c:438:5: note: directive argument in the range [-2147483647, 2147483647] sa_common.c:437: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); ~~~~~~~~~~~~~~~~ sa_common.c: In function 'check_net_dev_reg': sa_common.c:689:6: warning: 'strncpy' output may be truncated copying 15 bytes from a string of length 15 [-Wstringop-truncation] strncpy(sndp->interface, sndc->interface, MAX_IFACE_LEN - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sa_common.c: In function 'check_net_edev_reg': sa_common.c:746:5: warning: 'strncpy' output may be truncated copying 15 bytes from a string of length 15 [-Wstringop-truncation] strncpy(snedp->interface, snedc->interface, MAX_IFACE_LEN - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-gcc -o rd_sensors.o -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib/sa/sadc\" -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H rd_sensors.c /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-gcc -o common.o -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib/sa/sadc\" -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H common.c /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-gcc -o ioconf.o -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib/sa/sadc\" -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H ioconf.c common.c: In function 'get_dev_part_nr': common.c:233: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:233: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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:517: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:517: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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-gcc -o sar.o -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib/sa/sadc\" -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H sar.c rd_stats.c: In function 'read_fchost': rd_stats.c:2241: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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-gcc -o act_sar.o -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -Wstrict-prototypes -pipe -O2 -DSOURCE_SAR -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib/sa/sadc\" -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H activity.c /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-gcc -o format_sar.o -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -Wstrict-prototypes -pipe -O2 -DSOURCE_SAR -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib/sa/sadc\" -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H format.c /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-gcc -o pr_stats.o -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib/sa/sadc\" -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H pr_stats.c /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-gcc -o sadf.o -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib/sa/sadc\" -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H sadf.c sar.c: In function 'write_stats_avg': sar.c:362: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]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-gcc -o act_sadf.o -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -Wstrict-prototypes -pipe -O2 -DSOURCE_SADF -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib/sa/sadc\" -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H activity.c /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-gcc -o format_sadf.o -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -Wstrict-prototypes -pipe -O2 -DSOURCE_SADF -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib/sa/sadc\" -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H format.c /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-gcc -o sadf_misc.o -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib/sa/sadc\" -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H sadf_misc.c sadf_misc.c: In function 'print_dbppc_timestamp': sadf_misc.c:493: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:493: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:498: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:498: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" : ""); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-gcc -o sa_conv.o -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib/sa/sadc\" -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H sa_conv.c /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-gcc -o rndr_stats.o -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib/sa/sadc\" -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H 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:478: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:126:16: note: in definition of macro 'SREALLOC' if (SIZE) { \ ^~~~ /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-gcc -o xml_stats.o -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib/sa/sadc\" -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H xml_stats.c /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-gcc -o json_stats.o -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib/sa/sadc\" -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H json_stats.c xml_stats.c: In function 'xml_print_cpu_stats': xml_stats.c:133: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:133:19: note: directive argument in the range [0, 2147483646] sprintf(cpuno, "%d", i - 1); ^~~~ xml_stats.c:133: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:314: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:314:20: note: directive argument in the range [0, 2147483646] sprintf(irqno, "%d", i - 1); ^~~~ xml_stats.c:314: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:142: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:142:19: note: directive argument in the range [0, 2147483646] sprintf(cpuno, "%d", i - 1); ^~~~ json_stats.c:142: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:330: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:330:20: note: directive argument in the range [0, 2147483646] sprintf(irqno, "%d", i - 1); ^~~~ json_stats.c:330:5: note: 'sprintf' output between 2 and 11 bytes into a destination of size 8 sprintf(irqno, "%d", i - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ xml_stats.c: In function 'xml_print_pwr_cpufreq_stats': xml_stats.c:1723:21: 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:1723:20: note: directive argument in the range [0, 2147483646] sprintf(cpuno, "%d", i - 1); ^~~~ xml_stats.c:1723:5: 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:1967:21: 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:1967:20: note: directive argument in the range [0, 2147483646] sprintf(cpuno, "%d", i - 1); ^~~~ xml_stats.c:1967:5: note: 'sprintf' output between 2 and 11 bytes into a destination of size 8 sprintf(cpuno, "%d", i - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-gcc -o svg_stats.o -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib/sa/sadc\" -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H svg_stats.c json_stats.c: In function 'json_print_pwr_cpufreq_stats': json_stats.c:1770:21: 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:1770:20: note: directive argument in the range [0, 2147483646] sprintf(cpuno, "%d", i - 1); ^~~~ json_stats.c:1770:5: 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_softnet_stats': xml_stats.c:2181: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:2181:19: note: directive argument in the range [0, 2147483646] sprintf(cpuno, "%d", i - 1); ^~~~ xml_stats.c:2181: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:2046:21: 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:2046:20: note: directive argument in the range [0, 2147483646] sprintf(cpuno, "%d", i - 1); ^~~~ json_stats.c:2046:5: note: 'sprintf' output between 2 and 11 bytes into a destination of size 8 sprintf(cpuno, "%d", i - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-gcc -o raw_stats.o -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib/sa/sadc\" -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H raw_stats.c json_stats.c: In function 'json_print_softnet_stats': json_stats.c:2316: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:2316:19: note: directive argument in the range [0, 2147483646] sprintf(cpuno, "%d", i - 1); ^~~~ json_stats.c:2316:4: note: 'sprintf' output between 2 and 11 bytes into a destination of size 8 sprintf(cpuno, "%d", i - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-gcc -o iostat.o -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib/sa/sadc\" -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H iostat.c svg_stats.c: In function 'recappend': svg_stats.c:499: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%lu,%.2f%s", restart ? data1 : "", timetag, p_value, ^~ svg_stats.c:499:2: note: 'snprintf' output between 9 and 581 bytes into a destination of size 128 snprintf(data, 128, "%s L%lu,%.2f%s", restart ? data1 : "", timetag, p_value, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ p_value != value ? data2 : ""); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-gcc -o rd_stats_light.o -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib/sa/sadc\" -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H rd_stats.c iostat.c: In function 'read_sysfs_dlist_part_stat': iostat.c:573: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:573: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:1242: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:1242:24: note: directive argument in the range [0, 2147483646] sprintf(item_name, "%d", i - 1); ^~~~ svg_stats.c:1242:5: note: 'sprintf' output between 2 and 11 bytes into a destination of size 8 sprintf(item_name, "%d", i - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-gcc -o count_light.o -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib/sa/sadc\" -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H count.c /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-gcc -o tapestat.o -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib/sa/sadc\" -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H tapestat.c /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-gcc -o mpstat.o -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib/sa/sadc\" -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H mpstat.c /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-gcc -o pidstat.o -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib/sa/sadc\" -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H pidstat.c /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-gcc -o cifsiostat.o -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -Wstrict-prototypes -pipe -O2 -DSA_DIR=\"/var/log/sa\" -DSADC_PATH=\"/usr/lib/sa/sadc\" -DHAVE_SYS_SYSMACROS_H -DHAVE_SYS_PARAM_H cifsiostat.c /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-ar rvs librdstats.a rd_stats.o count.o /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-ar: creating librdstats.a a - rd_stats.o a - count.o /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-ar rvs librdsensors.a rd_sensors.o /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-ar: creating librdsensors.a a - rd_sensors.o /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-ar rvs libsyscom.a common.o ioconf.o /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-ar: creating libsyscom.a a - common.o a - ioconf.o /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-ar rvs librdstats_light.a rd_stats_light.o count_light.o /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-ar: creating librdstats_light.a a - rd_stats_light.o a - count_light.o /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-gcc -o sadc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -Wstrict-prototypes -pipe -O2 sadc.o act_sadc.o sa_wrap.o sa_common.o librdstats.a librdsensors.a libsyscom.a /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-gcc -o sar -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -Wstrict-prototypes -pipe -O2 sar.o act_sar.o format_sar.o sa_common.o pr_stats.o libsyscom.a /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-gcc -o iostat -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -Wstrict-prototypes -pipe -O2 iostat.o librdstats_light.a libsyscom.a /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-gcc -o tapestat -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -Wstrict-prototypes -pipe -O2 tapestat.o librdstats_light.a libsyscom.a /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-gcc -o cifsiostat -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -Wstrict-prototypes -pipe -O2 cifsiostat.o librdstats_light.a libsyscom.a /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-gcc -o mpstat -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -Wstrict-prototypes -pipe -O2 mpstat.o librdstats_light.a libsyscom.a svg_stats.c: In function 'svg_print_pwr_cpufreq_stats': svg_stats.c:4139: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:4139:24: note: directive argument in the range [0, 2147483646] sprintf(item_name, "%d", i - 1); ^~~~ svg_stats.c:4139:5: note: 'sprintf' output between 2 and 11 bytes into a destination of size 8 sprintf(item_name, "%d", i - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ svg_stats.c: In function 'svg_print_pwr_fan_stats': svg_stats.c:4212: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:4212: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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ svg_stats.c: In function 'svg_print_pwr_temp_stats': svg_stats.c:4306: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:4306: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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ svg_stats.c: In function 'svg_print_pwr_in_stats': svg_stats.c:4400: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:4400: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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-gcc -o pidstat -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -Wall -Wstrict-prototypes -pipe -O2 pidstat.o librdstats_light.a libsyscom.a svg_stats.c: In function 'svg_print_softnet_stats': svg_stats.c:4928: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:4928:24: note: directive argument in the range [0, 2147483646] sprintf(item_name, "%d", i - 1); ^~~~ svg_stats.c:4928:5: note: 'sprintf' output between 2 and 11 bytes into a destination of size 8 sprintf(item_name, "%d", i - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-gcc -o sadf -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -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 libsyscom.a make[1]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/sysstat-11.6.3' >>> sysstat 11.6.3 Installing to target PATH="/home/buildroot/autobuild/instance-2/output-1/host/bin:/home/buildroot/autobuild/instance-2/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/buildroot/.local/bin" /usr/bin/make -j4 DESTDIR=/home/buildroot/autobuild/instance-2/output-1/target install -C /home/buildroot/autobuild/instance-2/output-1/build/sysstat-11.6.3/ make[1]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/sysstat-11.6.3' mkdir -p /home/buildroot/autobuild/instance-2/output-1/target/usr/lib/sa mkdir -p /home/buildroot/autobuild/instance-2/output-1/target/var/log/sa mkdir -p /home/buildroot/autobuild/instance-2/output-1/target/usr/bin mkdir -p /home/buildroot/autobuild/instance-2/output-1/target/usr/share/doc/sysstat-11.6.3 mkdir -p /home/buildroot/autobuild/instance-2/output-1/target/etc/sysconfig install -m 755 sa1 /home/buildroot/autobuild/instance-2/output-1/target/usr/lib/sa install -m 755 sa2 /home/buildroot/autobuild/instance-2/output-1/target/usr/lib/sa install -m 755 sadc /home/buildroot/autobuild/instance-2/output-1/target/usr/lib/sa install -m 755 sar /home/buildroot/autobuild/instance-2/output-1/target/usr/bin install -m 755 sadf /home/buildroot/autobuild/instance-2/output-1/target/usr/bin install -m 755 iostat /home/buildroot/autobuild/instance-2/output-1/target/usr/bin install -m 755 tapestat /home/buildroot/autobuild/instance-2/output-1/target/usr/bin install -m 755 mpstat /home/buildroot/autobuild/instance-2/output-1/target/usr/bin install -m 755 pidstat /home/buildroot/autobuild/instance-2/output-1/target/usr/bin install -m 755 cifsiostat /home/buildroot/autobuild/instance-2/output-1/target/usr/bin install -m 644 sysstat.ioconf /home/buildroot/autobuild/instance-2/output-1/target/etc/sysconfig install -m 644 sysstat.sysconfig /home/buildroot/autobuild/instance-2/output-1/target/etc/sysconfig/sysstat make[1]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/sysstat-11.6.3' whetstone.c: OK (sha256: 333e4ceca042c146f63eec605573d16ae8b07166cbc44a17bec1ea97c6f1efbf) >>> whetstone 1.2 Extracting cp /home/buildroot/autobuild/instance-2/buildroot/instance-2/dl/whetstone/whetstone.c /home/buildroot/autobuild/instance-2/output-1/build/whetstone-1.2/ >>> whetstone 1.2 Patching >>> whetstone 1.2 Configuring >>> whetstone 1.2 Building PATH="/home/buildroot/autobuild/instance-2/output-1/host/bin:/home/buildroot/autobuild/instance-2/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/buildroot/.local/bin" AR="/home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-ar" AS="/home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-as" LD="/home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-ld" NM="/home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-nm" CC="/home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-gcc" GCC="/home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-gcc" CPP="/home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-cpp" CXX="/home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-g++" FC="/home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-gfortran" F77="/home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-gfortran" RANLIB="/home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-ranlib" READELF="/home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-readelf" STRIP="/home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-strip" OBJCOPY="/home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-objcopy" OBJDUMP="/home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/buildroot/autobuild/instance-2/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-2/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-2/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/autobuild/instance-2/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/instance-2/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-as" DEFAULT_LINKER="/home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " LDFLAGS="" FCFLAGS=" -Os " FFLAGS=" -Os " PKG_CONFIG="/home/buildroot/autobuild/instance-2/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/autobuild/instance-2/output-1/host/nds32le-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl CXX=no /usr/bin/make -j4 LDLIBS="-lm" -C /home/buildroot/autobuild/instance-2/output-1/build/whetstone-1.2 whetstone make[1]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/whetstone-1.2' /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 whetstone.c -lm -o whetstone make[1]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/whetstone-1.2' >>> whetstone 1.2 Installing to target /usr/bin/install -D /home/buildroot/autobuild/instance-2/output-1/build/whetstone-1.2/whetstone /home/buildroot/autobuild/instance-2/output-1/target/usr/bin/whetstone >>> Finalizing target directory # Check files that are touched by more than one package ./support/scripts/check-uniq-files -t target /home/buildroot/autobuild/instance-2/output-1/build/packages-file-list.txt ./support/scripts/check-uniq-files -t staging /home/buildroot/autobuild/instance-2/output-1/build/packages-file-list-staging.txt ./support/scripts/check-uniq-files -t host /home/buildroot/autobuild/instance-2/output-1/build/packages-file-list-host.txt mkdir -p /home/buildroot/autobuild/instance-2/output-1/host/etc/meson sed -e "s%@TARGET_CROSS@%/home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-%g" -e "s%@TARGET_ARCH@%nds32le%g" -e "s%@TARGET_CPU@%%g" -e "s%@TARGET_ENDIAN@%"little"%g" -e "s%@TARGET_CFLAGS@%`printf '"%s", ' -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os `%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%`printf '"%s", ' -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os `%g" -e "s%@HOST_DIR@%/home/buildroot/autobuild/instance-2/output-1/host%g" package/meson//cross-compilation.conf.in > /home/buildroot/autobuild/instance-2/output-1/host/etc/meson/cross-compilation.conf mkdir -p /home/buildroot/autobuild/instance-2/output-1/target/etc echo "buildroot" > /home/buildroot/autobuild/instance-2/output-1/target/etc/hostname /bin/sed -i -e '$a \127.0.1.1\tbuildroot' -e '/^127.0.1.1/d' /home/buildroot/autobuild/instance-2/output-1/target/etc/hosts mkdir -p /home/buildroot/autobuild/instance-2/output-1/target/etc echo "Welcome to Buildroot" > /home/buildroot/autobuild/instance-2/output-1/target/etc/issue /bin/sed -i -e s,^root:[^:]*:,root::, /home/buildroot/autobuild/instance-2/output-1/target/etc/shadow rm -f /home/buildroot/autobuild/instance-2/output-1/target/bin/sh rm -f /home/buildroot/autobuild/instance-2/output-1/build/locales.nopurge for i in C en_US locale-archive; do echo $i >> /home/buildroot/autobuild/instance-2/output-1/build/locales.nopurge; done for dir in ; do for langdir in $dir/*; do if [ -e "${langdir}" ]; then grep -qx "${langdir##*/}" /home/buildroot/autobuild/instance-2/output-1/build/locales.nopurge || rm -rf $langdir; fi done; done if [ -d /home/buildroot/autobuild/instance-2/output-1/target/usr/share/X11/locale ]; then for lang in C en_US; do if [ -f /home/buildroot/autobuild/instance-2/output-1/target/usr/share/X11/locale/$lang/XLC_LOCALE ]; then echo "$lang/XLC_LOCALE: $lang"; fi done > /home/buildroot/autobuild/instance-2/output-1/target/usr/share/X11/locale/locale.dir; fi rm -rf /home/buildroot/autobuild/instance-2/output-1/target/usr/include /home/buildroot/autobuild/instance-2/output-1/target/usr/share/aclocal \ /home/buildroot/autobuild/instance-2/output-1/target/usr/lib/pkgconfig /home/buildroot/autobuild/instance-2/output-1/target/usr/share/pkgconfig \ /home/buildroot/autobuild/instance-2/output-1/target/usr/lib/cmake /home/buildroot/autobuild/instance-2/output-1/target/usr/share/cmake find /home/buildroot/autobuild/instance-2/output-1/target/usr/{lib,share}/ -name '*.cmake' -print0 | xargs -0 rm -f find /home/buildroot/autobuild/instance-2/output-1/target/lib/ /home/buildroot/autobuild/instance-2/output-1/target/usr/lib/ /home/buildroot/autobuild/instance-2/output-1/target/usr/libexec/ \ \( -name '*.a' -o -name '*.la' \) -print0 | xargs -0 rm -f find: '/home/buildroot/autobuild/instance-2/output-1/target/usr/libexec/': No such file or directory rm -rf /home/buildroot/autobuild/instance-2/output-1/target/usr/share/gdb rm -rf /home/buildroot/autobuild/instance-2/output-1/target/usr/share/bash-completion rm -rf /home/buildroot/autobuild/instance-2/output-1/target/usr/share/zsh rm -rf /home/buildroot/autobuild/instance-2/output-1/target/usr/man /home/buildroot/autobuild/instance-2/output-1/target/usr/share/man rm -rf /home/buildroot/autobuild/instance-2/output-1/target/usr/info /home/buildroot/autobuild/instance-2/output-1/target/usr/share/info rm -rf /home/buildroot/autobuild/instance-2/output-1/target/usr/doc /home/buildroot/autobuild/instance-2/output-1/target/usr/share/doc rm -rf /home/buildroot/autobuild/instance-2/output-1/target/usr/share/gtk-doc rmdir /home/buildroot/autobuild/instance-2/output-1/target/usr/share 2>/dev/null || true find /home/buildroot/autobuild/instance-2/output-1/target -type f \( -perm /111 -o -name '*.so*' \) -not \( -name 'libpthread*.so*' -o -name 'ld-*.so*' -o -name '*.ko' \) -print0 | xargs -0 /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-strip --remove-section=.comment --remove-section=.note 2>/dev/null || true find /home/buildroot/autobuild/instance-2/output-1/target \( -name 'ld-*.so*' -o -name 'libpthread*.so*' \) -print0 | xargs -0 -r /home/buildroot/autobuild/instance-2/output-1/host/bin/nds32le-linux-strip --remove-section=.comment --remove-section=.note --strip-debug 2>/dev/null || true test -f /home/buildroot/autobuild/instance-2/output-1/target/etc/ld.so.conf && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf file"; exit 1; } || true test -d /home/buildroot/autobuild/instance-2/output-1/target/etc/ld.so.conf.d && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf.d directory"; exit 1; } || true mkdir -p /home/buildroot/autobuild/instance-2/output-1/target/etc ( \ echo "NAME=Buildroot"; \ echo "VERSION=2019.05.2-00169-g05a5b9a004"; \ echo "ID=buildroot"; \ echo "VERSION_ID=2019.05.2"; \ echo "PRETTY_NAME=\"Buildroot 2019.05.2\"" \ ) > /home/buildroot/autobuild/instance-2/output-1/target/usr/lib/os-release ln -sf ../usr/lib/os-release /home/buildroot/autobuild/instance-2/output-1/target/etc >>> Sanitizing RPATH in target tree /home/buildroot/autobuild/instance-2/buildroot/support/scripts/fix-rpath target touch /home/buildroot/autobuild/instance-2/output-1/target/usr make: Leaving directory '/home/buildroot/autobuild/instance-2/buildroot' make: Entering directory '/home/buildroot/autobuild/instance-2/buildroot' >>> Buildroot 2019.05.2-00169-g05a5b9a004 Collecting legal info COPYING: OK (sha256: 9755181e27175cb3510b4da8629caa406fb355a19aa8e7d55f06bf8ab33323c4) >>> toolchain-external Collecting legal info >>> host-skeleton Collecting legal info >>> skeleton Collecting legal info >>> skeleton-init-none Collecting legal info >>> skeleton-init-common Collecting legal info >>> toolchain-external-andes-nds32 Collecting legal info >>> toolchain Collecting legal info >>> acpica 20170531 Collecting legal info ERROR: No hash found for source/include/acpi.h >>> host-bison 3.0.4 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> host-m4 1.4.18 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> host-flex 2.6.4 Collecting legal info COPYING: OK (sha256: 97fd685958d93be7f8dab939bb8161dbd6afb0718c63bfc337c24321aea44273) >>> host-autoconf 2.69 Collecting legal info COPYINGv3: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) COPYING.EXCEPTION: OK (sha256: 23ed0b84fa023bfa33433b498192cd08a3bfb1f4864a8ed791a84f3eb48b2dd2) >>> host-libtool 2.4.6 Collecting legal info COPYING: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) libltdl/COPYING.LIB: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> host-automake 1.15.1 Collecting legal info COPYING: OK (sha256: ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6) >>> host-gettext Collecting legal info >>> host-gettext-tiny c6dcdcdef801127549d3906d153c061880d25a73 Collecting legal info LICENSE: OK (sha256: b57aa4fdc1c614c28d41c1e2d5c4090935964c5f86291ba7d1c99ffd1d698b34) extra/COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> elfutils 0.176 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) COPYING-GPLV2: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) COPYING-LGPLV3: OK (sha256: da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768) >>> zlib Collecting legal info >>> libzlib 1.2.11 Collecting legal info README: OK (sha256: 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15) >>> libiscsi 1.18.0 Collecting legal info COPYING: OK (sha256: 88e3eccc48722b2a0eaff456dda94b8e8e123848d01f631969bec8e3c6c6eb85) LICENCE-GPL-2.txt: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) LICENCE-LGPL-2.1.txt: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> libreplaygain r475 Collecting legal info ERROR: No hash found for src/gain_analysis.c >>> host-patchelf 0.9 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> s6-linux-utils 2.5.0.0 Collecting legal info COPYING: OK (sha256: 3eadcf980c40da0f257b8292d805ff41e5e5a908c1942315d9a627732e1aa012) >>> skalibs 2.6.4.0 Collecting legal info COPYING: OK (sha256: 3eadcf980c40da0f257b8292d805ff41e5e5a908c1942315d9a627732e1aa012) >>> slirp 8c2da74c1385242f20799fec8c04f8378edc6550 Collecting legal info >>> sysstat 11.6.3 Collecting legal info COPYING: OK (sha256: db296f2f7f35bca3a174efb0eb392b3b17bd94b341851429a3dff411b1c2fc73) >>> whetstone 1.2 Collecting legal info WARNING: the Buildroot source code has not been saved WARNING: toolchain-external-andes-nds32: cannot save license (TOOLCHAIN_EXTERNAL_ANDES_NDS32_LICENSE_FILES not defined) WARNING: slirp-8c2da74c1385242f20799fec8c04f8378edc6550: cannot save license (SLIRP_LICENSE_FILES not defined) WARNING: whetstone-1.2: cannot save license (WHETSTONE_LICENSE_FILES not defined) Legal info produced in /home/buildroot/autobuild/instance-2/output-1/legal-info make: Leaving directory '/home/buildroot/autobuild/instance-2/buildroot'