config.status: WARNING: 'autoconf/makeinfo.in' seems to ignore the --datarootdir setting 0%100%100%100%Done Fetching slack-desc... 0%100%100%100%100%100%Done Fetching wmbattery.SlackBuild... 0%100%100%100%100%100%Done Fetching wmbattery.info... 0%100%100%100%100%100%Done wmbattery-2.51/ wmbattery-2.51/bigfont.xpm wmbattery-2.51/dial_bright.xpm wmbattery-2.51/plugged.xpm wmbattery-2.51/battery_low.xpm wmbattery-2.51/smallfont.xpm wmbattery-2.51/battery_blink.xpm wmbattery-2.51/GPL wmbattery-2.51/wmbattery.c wmbattery-2.51/sonypi.h wmbattery-2.51/simplehal.c wmbattery-2.51/nocharging.xpm wmbattery-2.51/battery_high.xpm wmbattery-2.51/configure wmbattery-2.51/mask_nodial.xbm wmbattery-2.51/mask.xbm wmbattery-2.51/upower.c wmbattery-2.51/INSTALL wmbattery-2.51/autoconf/ wmbattery-2.51/autoconf/makeinfo.in wmbattery-2.51/autoconf/install-sh wmbattery-2.51/config.h.in wmbattery-2.51/battery_medium.xpm wmbattery-2.51/Makefile wmbattery-2.51/sonypi.c wmbattery-2.51/charging.xpm wmbattery-2.51/README wmbattery-2.51/apm.h wmbattery-2.51/face.xpm wmbattery-2.51/acpi.c wmbattery-2.51/wmbattery.1 wmbattery-2.51/acpi.h wmbattery-2.51/simplehal.h wmbattery-2.51/wmbattery.h wmbattery-2.51/dial_dim.xpm wmbattery-2.51/unplugged.xpm wmbattery-2.51/TODO wmbattery-2.51/ChangeLog wmbattery-2.51/battery_none.xpm wmbattery-2.51/configure.ac wmbattery-2.51/upower.h wmbattery-2.51/autom4te.cache/ wmbattery-2.51/autom4te.cache/output.0 wmbattery-2.51/autom4te.cache/traces.0 wmbattery-2.51/autom4te.cache/traces.1 wmbattery-2.51/autom4te.cache/output.1 wmbattery-2.51/autom4te.cache/requests checking for /dev/apm... 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 for a BSD-compatible install... /usr/bin/ginstall -c checking how to run the C preprocessor... gcc -E checking for X... libraries , headers checking for XOpenDisplay in -lX11... yes checking for XShapeCombineMask in -lXext... yes checking for XpmReadFileToPixmap in -lXpm... yes checking for apm_read in -lapm... no 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 X11/xpm.h usability... yes checking X11/xpm.h presence... yes checking for X11/xpm.h... yes checking X11/extensions/shape.h usability... yes checking X11/extensions/shape.h presence... yes checking for X11/extensions/shape.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking machine/apm_bios.h usability... no checking machine/apm_bios.h presence... no checking for machine/apm_bios.h... no checking i386/apmvar.h usability... no checking i386/apmvar.h presence... no checking for i386/apmvar.h... no checking for an ANSI C-conforming const... yes checking whether gcc needs -traditional... no checking for vprintf... yes checking for _doprnt... no checking for strdup... yes configure: creating ./config.status config.status: creating makeinfo config.status: creating config.h gcc -O2 -fPIC -Wall -DACPI_APM -DUPOWER -DICONDIR=\"/usr/share/icons/wmbattery\" -c -o wmbattery.o wmbattery.c gcc -O2 -fPIC -Wall -DACPI_APM -DUPOWER -DICONDIR=\"/usr/share/icons/wmbattery\" -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:203:54: note: in expansion of macro ‘SYSFS_PATH’ 203 | snprintf(filename, sizeof(filename), SYSFS_PATH "/%s/type", ent->d_name); | ^~~~~~~~~~ acpi.c:227:79: note: format string is defined here 227 | snprintf(statusarray[i], sizeof(statusarray[i]), SYSFS_PATH "/%s/%s", devices[i], | ^~ acpi.c:203:17: note: ‘snprintf’ output between 30 and 285 bytes into a destination of size 128 203 | snprintf(filename, sizeof(filename), SYSFS_PATH "/%s/type", ent->d_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -fPIC -Wall -DACPI_APM -DUPOWER -DICONDIR=\"/usr/share/icons/wmbattery\" -c -o sonypi.o sonypi.c gcc -DICONDIR=\"/usr/share/icons/wmbattery\" -O2 -fPIC -Wall -DACPI_APM -DUPOWER -pthread -I/usr/include/libupower-glib -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c upower.c -o upower.o upower.c: In function ‘upower_read_child’: upower.c:75:9: warning: ‘up_client_get_devices’ is deprecated: Use 'up_client_get_devices2' instead [-Wdeprecated-declarations] 75 | devices = up_client_get_devices(up); | ^~~~~~~ In file included from /usr/include/libupower-glib/upower.h:38, from upower.c:13: /usr/include/libupower-glib/up-client.h:82:18: note: declared here 82 | GPtrArray *up_client_get_devices (UpClient *client) G_DEPRECATED_FOR(up_client_get_devices2); | ^~~~~~~~~~~~~~~~~~~~~ upower.c: In function ‘upower_read_work’: upower.c:176:57: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ssize_t’ {aka ‘long int’} [-Wformat=] 176 | fprintf(stderr, "recv: unexpected size %d", cv); | ~^ ~~ | | | | int ssize_t {aka long int} | %ld gcc -o wmbattery wmbattery.o acpi.o sonypi.o upower.o -lXpm -lXext -lX11 -lupower-glib -lgobject-2.0 -lglib-2.0 /usr/bin/ginstall -c -d /usr/src/slapt-src/desktop/wmbattery/package-wmbattery/usr/bin /usr/src/slapt-src/desktop/wmbattery/package-wmbattery/usr/man/man1 /usr/src/slapt-src/desktop/wmbattery/package-wmbattery/usr/share/icons/wmbattery /usr/bin/ginstall -c wmbattery /usr/src/slapt-src/desktop/wmbattery/package-wmbattery/usr/bin /usr/bin/ginstall -c -m 644 ./wmbattery.1 /usr/src/slapt-src/desktop/wmbattery/package-wmbattery/usr/man/man1/wmbattery.1 /usr/bin/ginstall -c -m 644 ./*.xpm /usr/src/slapt-src/desktop/wmbattery/package-wmbattery/usr/share/icons/wmbattery 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/desktop/wmbattery/wmbattery-2.51-x86_64-1salix15.0.txz ./ install/ install/slack-desc usr/ usr/bin/ usr/bin/wmbattery usr/doc/ usr/doc/wmbattery-2.51/ usr/doc/wmbattery-2.51/ChangeLog usr/doc/wmbattery-2.51/GPL usr/doc/wmbattery-2.51/INSTALL usr/doc/wmbattery-2.51/README usr/doc/wmbattery-2.51/TODO usr/doc/wmbattery-2.51/wmbattery.SlackBuild usr/man/ usr/man/man1/ usr/man/man1/wmbattery.1.gz usr/share/ usr/share/icons/ usr/share/icons/wmbattery/ usr/share/icons/wmbattery/battery_blink.xpm usr/share/icons/wmbattery/battery_high.xpm usr/share/icons/wmbattery/battery_low.xpm usr/share/icons/wmbattery/battery_medium.xpm usr/share/icons/wmbattery/battery_none.xpm usr/share/icons/wmbattery/bigfont.xpm usr/share/icons/wmbattery/charging.xpm usr/share/icons/wmbattery/dial_bright.xpm usr/share/icons/wmbattery/dial_dim.xpm usr/share/icons/wmbattery/face.xpm usr/share/icons/wmbattery/nocharging.xpm usr/share/icons/wmbattery/plugged.xpm usr/share/icons/wmbattery/smallfont.xpm usr/share/icons/wmbattery/unplugged.xpm Slackware package /usr/src/slapt-src/desktop/wmbattery/wmbattery-2.51-x86_64-1salix15.0.txz created. Installing package wmbattery-2.51-x86_64-1salix15.0... | wmbattery (Laptop Battery Status) | | wmbattery displays the status of your laptop's battery in a small | icon. This includes if it is plugged in, if the battery is charging, | how many minutes of battery life remain, battery life remaining (with | both a percentage and a graph), and battery status (high - green, low | - yellow, or critical - red). | | | | | |