The following packages will be installed: sleepd Fetching README... 0%100%100%100%100%100%Done Fetching doinst.sh... 0%100%100%100%100%100%Done Fetching fix_acpica_version.patch... 0%100%100%100%100%100%Done Fetching rc.sleepd... 0%100%100%100%100%100%Done Fetching slack-desc... 0%100%100%100%100%100%Done Fetching sleepd.SlackBuild... 0%100%100%100%100%100%Done Fetching sleepd.info... 0%100%100%100%100%100%Done sleepd-2.05/ sleepd-2.05/.gitattributes sleepd-2.05/GPL sleepd-2.05/INSTALL sleepd-2.05/Makefile sleepd-2.05/TODO sleepd-2.05/acpi.c sleepd-2.05/acpi.h sleepd-2.05/apm.h sleepd-2.05/debian/ sleepd-2.05/debian/NEWS sleepd-2.05/debian/changelog sleepd-2.05/debian/compat sleepd-2.05/debian/control sleepd-2.05/debian/copyright sleepd-2.05/debian/default sleepd-2.05/debian/docs sleepd-2.05/debian/init sleepd-2.05/debian/postrm sleepd-2.05/debian/preinst sleepd-2.05/debian/rules sleepd-2.05/eventmonitor.c sleepd-2.05/eventmonitor.h sleepd-2.05/simplehal.c sleepd-2.05/simplehal.h sleepd-2.05/sleepctl.1 sleepd-2.05/sleepctl.c sleepd-2.05/sleepd.8 sleepd-2.05/sleepd.c sleepd-2.05/sleepd.h sleepd-2.05/upower.c sleepd-2.05/upower.h patching file acpi.c cc -O2 -fPIC -fcommon -Wall -DACPI_APM -pthread -DACPI_APM -c -o sleepd.o sleepd.c sleepd.c: In function ‘parse_command_line’: sleepd.c:247:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 247 | if (use_net) | ^~ sleepd.c:249:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 249 | strncpy(netdevrx[netcount], "", 1); | ^~~~~~~ sleepd.c:212:41: warning: ‘strncpy’ specified bound 8 equals destination size [-Wstringop-truncation] 212 | strncpy(tmpdev, optarg, 8); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from sleepd.c:35: sleepd.h:7:16: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 7 | #define TXFILE "/sys/class/net/%s/statistics/tx_packets" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sleepd.h:7:16: note: in definition of macro ‘TXFILE’ 7 | #define TXFILE "/sys/class/net/%s/statistics/tx_packets" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sleepd.h:7:56: note: format string is defined here 7 | #define TXFILE "/sys/class/net/%s/statistics/tx_packets" | ^ sleepd.c:214:33: note: ‘sprintf’ output between 38 and 45 bytes into a destination of size 44 214 | sprintf(tx_statfile, TXFILE, tmpdev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from sleepd.c:35: sleepd.h:9:16: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 9 | #define RXFILE "/sys/class/net/%s/statistics/rx_packets" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sleepd.h:9:16: note: in definition of macro ‘RXFILE’ 9 | #define RXFILE "/sys/class/net/%s/statistics/rx_packets" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sleepd.h:9:56: note: format string is defined here 9 | #define RXFILE "/sys/class/net/%s/statistics/rx_packets" | ^ sleepd.c:215:33: note: ‘sprintf’ output between 38 and 45 bytes into a destination of size 44 215 | sprintf(rx_statfile, RXFILE, tmpdev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -fPIC -fcommon -Wall -DACPI_APM -pthread -DACPI_APM -c -o acpi.o acpi.c acpi.c: In function ‘find_items’: acpi.c:21:20: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 104 [-Wformat-truncation=] 21 | #define SYSFS_PATH "/sys/class/power_supply" | ^~~~~~~~~~~~~~~~~~~~~~~~~ acpi.c:192:54: note: in expansion of macro ‘SYSFS_PATH’ 192 | snprintf(filename, sizeof(filename), SYSFS_PATH "/%s/type", ent->d_name); | ^~~~~~~~~~ acpi.c:216:79: note: format string is defined here 216 | snprintf(statusarray[i], sizeof(statusarray[i]), SYSFS_PATH "/%s/%s", devices[i], | ^~ acpi.c:192:17: note: ‘snprintf’ output between 30 and 285 bytes into a destination of size 128 192 | snprintf(filename, sizeof(filename), SYSFS_PATH "/%s/type", ent->d_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -fPIC -fcommon -Wall -DACPI_APM -pthread -DACPI_APM -c -o eventmonitor.o eventmonitor.c eventmonitor.c: In function ‘initializeIE’: eventmonitor.c:46:41: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation] 46 | strncpy(eventData.events[j], devName, 127); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -fPIC -fcommon -Wall -DACPI_APM -pthread -DACPI_APM -o sleepd sleepd.o acpi.o eventmonitor.o -lpthread cc -O2 -fPIC -fcommon -Wall -DACPI_APM -pthread -DACPI_APM sleepctl.c -o sleepctl install -d /usr/src/slapt-src-x86_64/system/sleepd/package-sleepd/usr/sbin/ /usr/src/slapt-src-x86_64/system/sleepd/package-sleepd/usr/man/man8/ \ /usr/src/slapt-src-x86_64/system/sleepd/package-sleepd/usr/bin/ /usr/src/slapt-src-x86_64/system/sleepd/package-sleepd/usr/man/man1/ install -s sleepd /usr/src/slapt-src-x86_64/system/sleepd/package-sleepd/usr/sbin/ install -m 0644 sleepd.8 /usr/src/slapt-src-x86_64/system/sleepd/package-sleepd/usr/man/man8/ install -s -m 4755 -o root -g root sleepctl /usr/src/slapt-src-x86_64/system/sleepd/package-sleepd/usr/bin/ install -m 0644 sleepctl.1 /usr/src/slapt-src-x86_64/system/sleepd/package-sleepd/usr/man/man1/ 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-x86_64/system/sleepd/sleepd-2.05-x86_64-2salix15.0.txz ./ etc/ etc/rc.d/ etc/rc.d/rc.sleepd.new etc/sleepd.conf install/ install/doinst.sh install/slack-desc usr/ usr/bin/ usr/bin/sleepctl usr/doc/ usr/doc/sleepd-2.05/ usr/doc/sleepd-2.05/GPL usr/doc/sleepd-2.05/INSTALL usr/doc/sleepd-2.05/TODO usr/doc/sleepd-2.05/sleepd.SlackBuild usr/man/ usr/man/man1/ usr/man/man1/sleepctl.1.gz usr/man/man8/ usr/man/man8/sleepd.8.gz usr/sbin/ usr/sbin/sleepd Slackware package /usr/src/slapt-src-x86_64/system/sleepd/sleepd-2.05-x86_64-2salix15.0.txz created. Installing package sleepd-2.05-x86_64-2salix15.0... | sleepd (A daemon to put an inactive or low battery laptop to sleep) | | Sleepd is a daemon to put a laptop to sleep if it is not being used | or if the battery is low. | | It supports HAL, APM, and ACPI, although external programs must be | used to actually put the system to sleep. | | | | | |