/usr/src/slapt-src-i486/system/nmon/nmon/lmon14i.c: In function ‘save_smp’: /usr/src/slapt-src-i486/system/nmon/nmon/lmon14i.c:2108:38: warning: too many arguments for format [-Wformat-extra-args] 2108 | mvwprintw(pad,row,0, "%3d usr=%4ld sys=%4ld wait=%4ld idle=%4ld steal=%2ld nice=%4ld irq=%2ld sirq=%2ld\n", | Slackware package maker, version 3.14159265. Searching for symbolic links: No symbolic links were found, so we won't make an installation script. You can make your own later in ./install/doinst.sh and rebuild the package if you like. This next step is optional - you can set the directories in your package to some sane permissions. If any of the directories in your package have special permissions, then DO NOT reset them here! Would you like to reset all directory permissions to 755 (drwxr-xr-x) and directory ownerships to root.root ([y]es, [n]o)? n Creating Slackware package: /usr/src/slapt-src-i486/system/nmon/nmon-14i-i586-1salix15.0.txz Slackware package /usr/src/slapt-src-i486/system/nmon/nmon-14i-i586-1salix15.0.txz created. Installing package nmon-14i-i586-1salix15.0... | nmon (Nigel's performance MONitor) | | This systems administrator, tuner, benchmark tool gives you a huge | amount of important performance information in one go. It can output | the data in two ways. | | 1) You can display the CPU, memory, network, disks | (mini graphs or numbers), file systems, NFS, top processes, resources | 2) Save the data to a comma separated file for analysis and longer | term data capture. | | | | else | ^~~~ /usr/src/slapt-src-i486/system/nmon/nmon/lmon14i.c:4785:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 4785 | fprintf(fp,str_p, | ^~~~~~~ /usr/src/slapt-src-i486/system/nmon/nmon/lmon14i.c:5276:69: warning: format ‘%s’ expects argument of type ‘char *’, but argument 5 has type ‘long unsigned int *’ [-Wformat=] 5276 | CURSE mvwprintw(padnet,2 + i, 0, "%8s %7.1f %7.1f %6.1f %6.1f %6.1f %6.1f %7.1f %7.1f ", | ~~^ | | | char * | %8ls 5277 | &p->ifnets[i].if_name[0], | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * /usr/src/slapt-src-i486/system/nmon/nmon/lmon14i.c:5321:72: warning: format ‘%s’ expects argument of type ‘char *’, but argument 5 has type ‘long unsigned int *’ [-Wformat=] 5321 | CURSE mvwprintw(padneterr,2 + i, 0, "%8s %7lu %7lu %7lu %7lu %7lu %7lu %7lu %7lu %7lu", | ~~^ | | | char * | %8ls 5322 | &p->ifnets[i].if_name[0], | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * /usr/src/slapt-src-i486/system/nmon/nmon/lmon14i.c:5575:142: warning: format ‘%d’ expects argument of type ‘int’, but argument 13 has type ‘long unsigned int’ [-Wformat=] 5575 | mvwprintw(paddisk,2 + k, 0, "%-8s %3.0f%% %8.1f %8.1fKB/s %6.1f %5.1fKB %3.0f%% %9.1fKB/s %3d", | ~~^ | | | int | %3ld ...... 5585 | p->dk[i].dk_inflight); | ~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int /usr/src/slapt-src-i486/system/nmon/nmon/lmon14i.c:6072:99: warning: format ‘%d’ expects argument of type ‘int’, but argument 8 has type ‘long int’ [-Wformat=] 6072 | CURSE mvwprintw(padtop,j + 2 - skipped, 1, "%7d %7d %6s %4d %4d %9s 0x%08x %1s %-32s", | ~~^ | | | int | %4ld ...... 6076 | p->procs[i].pi_nice, | ~~~~~~~~~~~~~~~~~~~ | | | long int /usr/src/slapt-src-i486/system/nmon/nmon/lmon14i.c:6072:103: warning: format ‘%d’ expects argument of type ‘int’, but argument 9 has type ‘long int’ [-Wformat=] 6072 | CURSE mvwprintw(padtop,j + 2 - skipped, 1, "%7d %7d %6s %4d %4d %9s 0x%08x %1s %-32s", | ~~^ | | | int | %4ld ...... 6077 | p->procs[i].pi_pri, | ~~~~~~~~~~~~~~~~~~ | | | long int /usr/src/slapt-src-i486/system/nmon/nmon/lmon14i.c:6072:114: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 11 has type ‘long unsigned int’ [-Wformat=] 6072 | CURSE mvwprintw(padtop,j + 2 - skipped, 1, "%7d %7d %6s %4d %4d %9s 0x%08x %1s %-32s", | ~~~^ | | | unsigned int | %08lx ...... 6081 | p->procs[i].pi_flags, | ~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int /usr/src/slapt-src-i486/system/nmon/nmon/lmon14i.c:6134:41: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] 6134 | else | ^~~~ /usr/src/slapt-src-i486/system/nmon/nmon/lmon14i.c:6136:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 6136 | mvwprintw(padtop,j + 3 - skipped, 1, formatstring, | ^~~~~~~~~ In function ‘error’, inlined from ‘proc_read’ at /usr/src/slapt-src-i486/system/nmon/nmon/lmon14i.c:180:4: /usr/src/slapt-src-i486/system/nmon/nmon/lmon14i.c:131:9: warning: ‘strncpy’ output may be truncated copying 69 bytes from a string of length 1023 [-Wstringop-truncation] 131 | strncpy(errorstr,err,69); | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src-i486/system/nmon/nmon/lmon14i.c: In function ‘getuser’: /usr/src/slapt-src-i486/system/nmon/nmon/lmon14i.c:2348:17: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation] 2348 | strncpy(u[i].name, pw->pw_name, NAMESIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘error’, inlined from ‘proc_procsinfo’ at /usr/src/slapt-src-i486/system/nmon/nmon/lmon14i.c:3270:3: /usr/src/slapt-src-i486/system/nmon/nmon/lmon14i.c:131:9: warning: ‘strncpy’ output may be truncated copying 69 bytes from a string of length 4095 [-Wstringop-truncation] 131 | strncpy(errorstr,err,69); | ^~~~~~~~~~~~~~~~~~~~~~~~ In function ‘error’, inlined from ‘proc_procsinfo’ at /usr/src/slapt-src-i486/system/nmon/nmon/lmon14i.c:3163:3: /usr/src/slapt-src-i486/system/nmon/nmon/lmon14i.c:131:9: warning: ‘strncpy’ output may be truncated copying 69 bytes from a string of length 4095 [-Wstringop-truncation] 131 | strncpy(errorstr,err,69); | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src-i486/system/nmon/nmon/lmon14i.c: In function ‘child_start’: /usr/src/slapt-src-i486/system/nmon/nmon/lmon14i.c:3449:77: warning: ‘%02d’ directive writing between 2 and 11 bytes into a region of size between 0 and 8 [-Wformat-overflow=] 3449 | sprintf(time_stamp_str,"%02d:%02d:%02d,%02d,%02d,%04d", | ^~~~ /usr/src/slapt-src-i486/system/nmon/nmon/lmon14i.c:3449:56: note: directive argument in the range [-2147483647, 2147483647] 3449 | sprintf(time_stamp_str,"%02d:%02d:%02d,%02d,%02d,%04d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/slapt-src-i486/system/nmon/nmon/lmon14i.c:3449:56: note: directive argument in the range [-2147481748, 2147483647] /usr/src/slapt-src-i486/system/nmon/nmon/lmon14i.c:3449:33: note: ‘sprintf’ output between 20 and 72 bytes into a destination of size 20 3449 | sprintf(time_stamp_str,"%02d:%02d:%02d,%02d,%02d,%04d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3450 | tim->tm_hour, tim->tm_min, tim->tm_sec, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3451 | tim->tm_mday, tim->tm_mon + 1, tim->tm_year + 1900); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ install/ install/slack-desc usr/ usr/bin/ usr/bin/nmon usr/doc/ usr/doc/nmon-14i/ usr/doc/nmon-14i/nmon.SlackBuild