>>> apcupsd: Building main/apcupsd 3.14.14-r6 (using abuild 3.10.0-r2) started Wed, 12 Apr 2023 06:24:42 +0000
>>> apcupsd: Checking sanity of /home/buildozer/aports/main/apcupsd/APKBUILD...
>>> apcupsd: Analyzing dependencies...
>>> apcupsd: Installing for build: build-base util-linux net-snmp-dev linux-headers gd-dev libusb-compat-dev
(1/151) Installing util-linux (2.38.1-r6)
(2/151) Installing setarch (2.38.1-r6)
(3/151) Installing libblkid (2.38.1-r6)
(4/151) Installing libuuid (2.38.1-r6)
(5/151) Installing libfdisk (2.38.1-r6)
(6/151) Installing libmount (2.38.1-r6)
(7/151) Installing libsmartcols (2.38.1-r6)
(8/151) Installing util-linux-misc (2.38.1-r6)
(9/151) Installing libeconf (0.5.2-r1)
(10/151) Installing linux-pam (1.5.2-r10)
(11/151) Installing runuser (2.38.1-r6)
(12/151) Installing mount (2.38.1-r6)
(13/151) Installing losetup (2.38.1-r6)
(14/151) Installing hexdump (2.38.1-r6)
(15/151) Installing uuidgen (2.38.1-r6)
(16/151) Installing blkid (2.38.1-r6)
(17/151) Installing sfdisk (2.38.1-r6)
(18/151) Installing mcookie (2.38.1-r6)
(19/151) Installing agetty (2.38.1-r6)
(20/151) Installing wipefs (2.38.1-r6)
(21/151) Installing cfdisk (2.38.1-r6)
(22/151) Installing umount (2.38.1-r6)
(23/151) Installing flock (2.38.1-r6)
(24/151) Installing lsblk (2.38.1-r6)
(25/151) Installing libcap-ng (0.8.3-r3)
(26/151) Installing setpriv (2.38.1-r6)
(27/151) Installing logger (2.38.1-r6)
(28/151) Installing partx (2.38.1-r6)
(29/151) Installing fstrim (2.38.1-r6)
(30/151) Installing findmnt (2.38.1-r6)
(31/151) Installing openssl-dev (3.1.0-r3)
(32/151) Installing net-snmp-libs (5.9.3-r3)
(33/151) Installing net-snmp-agent-libs (5.9.3-r3)
(34/151) Installing net-snmp-dev (5.9.3-r3)
(35/151) Installing linux-headers (6.2-r0)
(36/151) Installing libxau (1.0.11-r1)
(37/151) Installing libmd (1.0.4-r2)
(38/151) Installing libbsd (0.11.7-r1)
(39/151) Installing libxdmcp (1.1.4-r1)
(40/151) Installing libxcb (1.15-r1)
(41/151) Installing libx11 (1.8.4-r2)
(42/151) Installing libxext (1.3.5-r1)
(43/151) Installing libice (1.1.1-r1)
(44/151) Installing libsm (1.2.4-r1)
(45/151) Installing libxt (1.3.0-r1)
(46/151) Installing libxpm (3.5.15-r2)
(47/151) Installing aom-libs (3.6.0-r2)
(48/151) Installing libdav1d (1.1.0-r1)
(49/151) Installing libavif (0.11.1-r1)
(50/151) Installing libbz2 (1.0.8-r5)
(51/151) Installing libffi (3.4.4-r2)
(52/151) Installing libintl (0.21.1-r3)
(53/151) Installing glib (2.76.1-r1)
(54/151) Installing graphite2 (1.3.14-r5)
(55/151) Installing harfbuzz (7.1.0-r1)
(56/151) Installing libpng (1.6.39-r3)
(57/151) Installing freetype (2.13.0-r3)
(58/151) Installing fontconfig (2.14.2-r1)
(59/151) Installing libjpeg-turbo (2.1.5.1-r2)
(60/151) Installing libwebp (1.3.0-r1)
(61/151) Installing tiff (4.5.0-r6)
(62/151) Installing libgd (2.3.3-r7)
(63/151) Installing gd (2.3.3-r7)
(64/151) Installing perl (5.36.0-r2)
(65/151) Installing expat (2.5.0-r1)
(66/151) Installing expat-dev (2.5.0-r1)
(67/151) Installing bzip2-dev (1.0.8-r5)
(68/151) Installing libxrender (0.9.11-r2)
(69/151) Installing pixman (0.42.2-r1)
(70/151) Installing cairo (1.17.8-r1)
(71/151) Installing harfbuzz-cairo (7.1.0-r1)
(72/151) Installing harfbuzz-gobject (7.1.0-r1)
(73/151) Installing icu-data-en (72.1-r3)
Executing icu-data-en-72.1-r3.post-install
*
* If you need ICU with non-English locales and legacy charset support, install
* package icu-data-full.
*
(74/151) Installing icu-libs (72.1-r3)
(75/151) Installing harfbuzz-icu (7.1.0-r1)
(76/151) Installing harfbuzz-subset (7.1.0-r1)
(77/151) Installing cairo-tools (1.17.8-r1)
(78/151) Installing xorgproto (2022.2-r0)
(79/151) Installing libxau-dev (1.0.11-r1)
(80/151) Installing xcb-proto (1.15.2-r1)
(81/151) Installing libxdmcp-dev (1.1.4-r1)
(82/151) Installing libxcb-dev (1.15-r1)
(83/151) Installing xtrans (1.4.0-r2)
(84/151) Installing libx11-dev (1.8.4-r2)
(85/151) Installing libxext-dev (1.3.5-r1)
(86/151) Installing libxrender-dev (0.9.11-r2)
(87/151) Installing pixman-dev (0.42.2-r1)
(88/151) Installing util-macros (1.20.0-r0)
(89/151) Installing xcb-util (0.4.1-r2)
(90/151) Installing xcb-util-dev (0.4.1-r2)
(91/151) Installing cairo-gobject (1.17.8-r1)
(92/151) Installing xz-libs (5.4.2-r1)
(93/151) Installing libxml2 (2.10.4-r1)
(94/151) Installing libxml2-utils (2.10.4-r1)
(95/151) Installing docbook-xml (4.5-r8)
Executing docbook-xml-4.5-r8.post-install
(96/151) Installing libgpg-error (1.47-r1)
(97/151) Installing libgcrypt (1.10.2-r1)
(98/151) Installing libxslt (1.1.37-r3)
(99/151) Installing docbook-xsl (1.79.2-r8)
Executing docbook-xsl-1.79.2-r8.post-install
(100/151) Installing gettext-asprintf (0.21.1-r3)
(101/151) Installing gettext-libs (0.21.1-r3)
(102/151) Installing gettext (0.21.1-r3)
(103/151) Installing gettext-dev (0.21.1-r3)
(104/151) Installing gdbm (1.23-r1)
(105/151) Installing mpdecimal (2.5.1-r2)
(106/151) Installing libpanelw (6.4_p20230401-r3)
(107/151) Installing readline (8.2.1-r1)
(108/151) Installing sqlite-libs (3.41.2-r2)
(109/151) Installing python3 (3.11.3-r1)
(110/151) Installing libffi-dev (3.4.4-r2)
(111/151) Installing bsd-compat-headers (0.7.2-r4)
(112/151) Installing libformw (6.4_p20230401-r3)
(113/151) Installing libmenuw (6.4_p20230401-r3)
(114/151) Installing libncurses++ (6.4_p20230401-r3)
(115/151) Installing ncurses-dev (6.4_p20230401-r3)
(116/151) Installing libedit-dev (20221030.3.1-r1)
(117/151) Installing zlib-dev (1.2.13-r1)
(118/151) Installing libpcre2-16 (10.42-r1)
(119/151) Installing libpcre2-32 (10.42-r1)
(120/151) Installing pcre2-dev (10.42-r1)
(121/151) Installing util-linux-dev (2.38.1-r6)
(122/151) Installing glib-dev (2.76.1-r1)
(123/151) Installing libpng-dev (1.6.39-r3)
(124/151) Installing cairo-dev (1.17.8-r1)
(125/151) Installing graphite2-dev (1.3.14-r5)
(126/151) Installing icu (72.1-r3)
(127/151) Installing icu-dev (72.1-r3)
(128/151) Installing harfbuzz-dev (7.1.0-r1)
(129/151) Installing brotli (1.0.9-r12)
(130/151) Installing brotli-dev (1.0.9-r12)
(131/151) Installing freetype-dev (2.13.0-r3)
(132/151) Installing fontconfig-dev (2.14.2-r1)
(133/151) Installing libavif-dev (0.11.1-r1)
(134/151) Installing libjpeg-turbo-dev (2.1.5.1-r2)
(135/151) Installing zstd (1.5.5-r1)
(136/151) Installing zstd-dev (1.5.5-r1)
(137/151) Installing libtiffxx (4.5.0-r6)
(138/151) Installing libwebp-dev (1.3.0-r1)
(139/151) Installing tiff-dev (4.5.0-r6)
(140/151) Installing libxpm-dev (3.5.15-r2)
(141/151) Installing gd-dev (2.3.3-r7)
(142/151) Installing libusb (1.0.26-r2)
(143/151) Installing libusb-compat (0.1.8-r1)
(144/151) Installing libusb-dev (1.0.26-r2)
(145/151) Installing libusb-compat-dev (0.1.8-r1)
(146/151) Installing .makedepends-apcupsd (20230412.062443)
(147/151) Installing util-linux-openrc (2.38.1-r6)
(148/151) Installing agetty-openrc (0.46-r3)
(149/151) Installing perl-error (0.17029-r1)
(150/151) Installing perl-git (2.40.0-r0)
(151/151) Installing git-perl (2.40.0-r0)
Executing busybox-1.36.0-r6.trigger
Executing glib-2.76.1-r1.trigger
No schema files found: doing nothing.
OK: 549 MiB in 249 packages
>>> apcupsd: Cleaning up srcdir
>>> apcupsd: Cleaning up pkgdir
>>> apcupsd: Fetching https://distfiles.alpinelinux.org/distfiles/edge/apcupsd-3.14.14.tar.gz
>>> apcupsd: Fetching https://distfiles.alpinelinux.org/distfiles/edge/apcupsd-3.14.14.tar.gz
>>> apcupsd: Checking sha512sums...
apcupsd-3.14.14.tar.gz: OK
apcupsd.initd: OK
apcupsd.powerfail.initd: OK
apcupsd-alpine.patch: OK
>>> apcupsd: Unpacking /var/cache/distfiles/apcupsd-3.14.14.tar.gz...
>>> apcupsd: Updating ./autoconf/config.sub
>>> apcupsd: apcupsd-alpine.patch
patching file platforms/apccontrol.in
checking for true... /bin/true
checking for false... /bin/false
checking build system type... powerpc64le-alpine-linux-musl
checking host system type... powerpc64le-alpine-linux-musl
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for powerpc64le-alpine-linux-musl-gcc... gcc
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 a BSD-compatible install... /usr/bin/install -c
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for library containing strerror... none required
checking for shutdown... (cached) /sbin/poweroff
checking for mail... no
configure: WARNING: mail program not found !
checking for wall... /usr/bin/wall
checking for sh... /bin/sh
checking for GNU make... make
checking for powerpc64le-alpine-linux-musl-ranlib... no
checking for ranlib... ranlib
checking for rm... /bin/rm
checking for cp... /bin/cp
checking for echo... /bin/echo
checking for ln... /bin/ln
checking for sed... /bin/sed
checking for powerpc64le-alpine-linux-musl-ar... no
checking for ar... ar
checking for mv... /bin/mv
checking for powerpc64le-alpine-linux-musl-windres... no
checking for windres... no
checking for powerpc64le-alpine-linux-musl-strip... no
checking for powerpc64le-alpine-linux-musl-true... no
checking for strip... strip
checking for rst2html... no
checking for rst2html.py... no
checking for rst2pdf... no
checking for abort... yes
checking for calloc... yes
checking for getpid... yes
checking for rewind... yes
checking for signal... yes
checking for strerror... yes
checking for strncmp... yes
checking for strncpy... yes
checking for vfprintf... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for strlcpy... yes
checking for strlcat... yes
checking for accept4... yes
checking for fork... yes
checking for ioctl... yes
checking for kill... yes
checking for select... yes
checking for setsid... yes
checking for tcgetattr... yes
checking for syslog... yes
checking for library containing nanosleep... none required
checking for strftime... yes
checking for library containing socket... none required
checking for library containing gethostname... none required
checking for library containing gethostbyname... none required
checking for library containing gethostbyname_r... none required
checking for library containing inet_addr... none required
checking for strchr... yes
using libc's strchr
checking for strstr... yes
checking for strcasecmp... yes
checking for memmove... yes
checking for getopt_long... yes
checking for inet_pton... yes
checking for localtime_r... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /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 arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/types.h... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking arpa/nameser.h usability... yes
checking arpa/nameser.h presence... yes
checking for arpa/nameser.h... yes
checking whether stat file-mode macros are broken... no
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for uid_t in sys/types.h... yes
checking type of array argument to getgroups... gid_t
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking return type of signal handlers... void
checking for size_t... yes
checking for uid_t in sys/types.h... (cached) yes
checking for socklen_t... yes
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... no
checking whether #! works in shell scripts... yes
Using halpolicydir=/usr/share/hal/fdi/policy/20thirdparty
checking for gdImagePng in -lgd... yes
using PNG file format.
checking gd.h usability... yes
checking gd.h presence... yes
checking for gd.h... yes
Using Linux USB driver.
checking for libusb-config... /usr/bin/libusb-config
Using generic libusb USB driver.
checking for powerpc64le-alpine-linux-musl-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking how many arguments gethostbyname_r() takes... six
checking if libsupc++ is required... yes
checking whether C compiler accepts -fno-exceptions... yes
checking whether C compiler accepts -fno-rtti... yes
checking whether C compiler accepts -Wall... yes
checking whether C compiler accepts -Wno-unused-result... yes
checking for wait... yes
checking for waitpid... yes
checking for wait3... yes
checking for snprintf... (cached) yes
Enabling cgi program support...
gcc private include directory found.
configure: creating ./config.status
config.status: creating autoconf/variables.mak
config.status: WARNING: 'autoconf/variables.mak.in' seems to ignore the --datarootdir setting
config.status: creating platforms/apccontrol
config.status: creating platforms/etc/changeme
config.status: creating platforms/etc/commfailure
config.status: creating platforms/etc/commok
config.status: creating platforms/etc/offbattery
config.status: creating platforms/etc/onbattery
config.status: creating platforms/etc/apcupsd.conf
config.status: creating examples/safe.apccontrol
config.status: creating platforms/unknown/apcupsd
config.status: creating platforms/unknown/halt
config.status: creating include/libusb.h
config.status: creating src/cgi/cgiconfig.h
config.status: creating include/apcconfig.h
Configuration on Wed Apr 12 06:24:51 UTC 2023:
Host: powerpc64le-alpine-linux-musl -- unknown unknown
Apcupsd version: 3.14.14 (31 May 2016)
Source code location: .
Install binaries: /sbin
Install config files: /etc/apcupsd
Install man files: /usr/share/man
Nologin file in: /etc
PID directory: /var/run
LOG dir (events, status) /var/log
LOCK dir (for serial port) /var/lock
Power Fail dir /etc/apcupsd
Compiler: g++ 12.2.1_git20220924-r9)
Preprocessor flags: -Os -fomit-frame-pointer -I$(topdir)/src/libusbhid
Compiler flags: -Os -fomit-frame-pointer -fno-exceptions -fno-rtti -Wall -Wno-unused-result
Linker: gcc
Linker flags: -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -L/usr/local/lib
Host and version: unknown unknown
Shutdown Program: /sbin/poweroff
Port/Device: /dev/ttyS0
Network Info Port (CGI): 3551
UPSTYPE apcsmart
UPSCABLE smart
drivers (no-* are disabled): apcsmart dumb net linux-usb snmp pcnet modbus modbus-usb no-test
enable-nis: yes
with-nisip: 0.0.0.0
enable-cgi: yes
with-cgi-bin: /etc/apcupsd
with-libwrap:
enable-pthreads: yes
enable-dist-install: yes
enable-gapcmon: no
enable-apcagent: no
Configuration complete: Run 'make' to build apcuspd.
src
doc
MAN apcupsd.8 -> apcupsd.man.txt
/bin/sh: man: not found
MAN apcaccess.8 -> apcaccess.man.txt
/bin/sh: man: not found
MAN apctest.8 -> apctest.man.txt
/bin/sh: man: not found
MAN apccontrol.8 -> apccontrol.man.txt
/bin/sh: man: not found
MAN apcupsd.conf.5 -> apcupsd.conf.man.txt
/bin/sh: man: not found
src/lib
src/drivers
src/libusbhid
src/drivers/apcsmart
src/drivers/dumb
src/drivers/net
src/drivers/pcnet
src/drivers/usb
src/drivers/snmplite
src/drivers/modbus
src/drivers/usb/linux
CXX src/drivers/pcnet/pcnet.c
CXX src/drivers/net/net.c
CXX src/libusbhid/parse.c
CXX src/libusbhid/data.c
CXX src/libusbhid/descr.c
CXX src/drivers/dumb/dumboper.c
CXX src/drivers/dumb/dumbsetup.c
CXX src/libusbhid/HidUps.cpp
CXX src/drivers/usb/linux/linux-usb.c
CXX src/drivers/apcsmart/smart.c
CXX src/drivers/apcsmart/smarteeprom.c
CXX src/drivers/apcsmart/smartoper.c
CXX src/drivers/apcsmart/smartsetup.c
CXX src/drivers/apcsmart/smartsetup2.c
CXX src/drivers/modbus/mapping.cpp
CXX src/drivers/snmplite/apc-mib.cpp
CXX src/drivers/modbus/modbus.cpp
CXX src/drivers/modbus/ModbusComm.cpp
CXX src/drivers/snmplite/asn.cpp
CXX src/drivers/snmplite/mge-mib.cpp
CXX src/drivers/modbus/ModbusRs232Comm.cpp
CXX src/drivers/snmplite/mibs.cpp
CXX src/drivers/modbus/ModbusUsbComm.cpp
CXX src/drivers/snmplite/rfc1628-mib.cpp
CXX src/drivers/snmplite/snmp.cpp
CXX src/drivers/snmplite/snmplite.cpp
CXX src/lib/apcconfig.c
CXX src/lib/apcerror.c
CXX src/lib/apcevents.c
CXX src/lib/apcexec.c
CXX src/lib/apcfile.c
CXX src/lib/apclibnis.c
CXX src/lib/apclock.c
CXX src/lib/apclog.c
CXX src/lib/apcsignal.c
CXX src/lib/apcstatus.c
CXX src/lib/asys.c
CXX src/lib/newups.c
CXX src/lib/md5.c
CXX src/lib/statmgr.cpp
CXX src/lib/gethostname.c
CXX src/lib/amutex.cpp
CXX src/lib/astring.cpp
CXX src/lib/autil.cpp
CXX src/lib/atimer.cpp
CXX src/lib/athread.cpp
CXX src/lib/usbvidpid.cpp
CXX src/lib/cloexec.c
AR src/drivers/dumb/libdumbdrv.a
AR src/libusbhid/libusbhid.a
AR src/lib/libapc.a
src/cgi
CXX src/cgi/upsfetch.c
CXX src/cgi/cgilib.c
CXX src/cgi/multimon.c
CXX src/cgi/upsstats.c
CXX src/cgi/upsfstats.c
CXX src/cgi/upsimage.c
AR src/drivers/pcnet/libpcnetdrv.a
AR src/drivers/modbus/libmodbusdrv.a
AR src/drivers/net/libnetdrv.a
AR src/drivers/apcsmart/libapcsmartdrv.a
CXX src/drivers/usb/usb.c
upsfetch.c: In function 'int fetch_data(const char*)':
upsfetch.c:119:41: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 170 [-Wformat-truncation=]
119 | "upsfetch: tcp_open failed for %s port %d", lhost, nis_port);
| ^~ ~~~~~
upsfetch.c:118:22: note: 'snprintf' output between 38 and 247 bytes into a destination of size 200
118 | (void) snprintf(errmsg, sizeof (errmsg),
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
119 | "upsfetch: tcp_open failed for %s port %d", lhost, nis_port);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
upsimage.c: In function 'void DrawText(gdImagePtr, int, int)':
upsimage.c:77:44: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=]
77 | (void) snprintf(text, sizeof(text), "%d", next);
| ^
upsimage.c:77:20: note: 'snprintf' output between 2 and 11 bytes into a destination of size 10
77 | (void) snprintf(text, sizeof(text), "%d", next);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
upsimage.c:81:44: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=]
81 | (void) snprintf(text, sizeof(text), "%d", next);
| ^
upsimage.c:81:20: note: 'snprintf' output between 2 and 11 bytes into a destination of size 10
81 | (void) snprintf(text, sizeof(text), "%d", next);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
upsimage.c:85:42: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 10 [-Wformat-truncation=]
85 | (void) snprintf(text, sizeof(text), "%d", next);
| ^~
upsimage.c:85:41: note: directive argument in the range [-1288490187, 1288490387]
85 | (void) snprintf(text, sizeof(text), "%d", next);
| ^~~~
upsimage.c:85:20: note: 'snprintf' output between 2 and 12 bytes into a destination of size 10
85 | (void) snprintf(text, sizeof(text), "%d", next);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
upsimage.c:89:42: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 10 [-Wformat-truncation=]
89 | (void) snprintf(text, sizeof(text), "%d", next);
| ^~
upsimage.c:89:41: note: directive argument in the range [-1717986916, 1717987116]
89 | (void) snprintf(text, sizeof(text), "%d", next);
| ^~~~
upsimage.c:89:20: note: 'snprintf' output between 2 and 12 bytes into a destination of size 10
89 | (void) snprintf(text, sizeof(text), "%d", next);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
upsimage.c:93:42: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 10 [-Wformat-truncation=]
93 | (void) snprintf(text, sizeof(text), "%d", next);
| ^~
upsimage.c:93:41: note: directive argument in the range [-2147483645, 2147483647]
93 | (void) snprintf(text, sizeof(text), "%d", next);
| ^~~~
upsimage.c:93:20: note: 'snprintf' output between 2 and 12 bytes into a destination of size 10
93 | (void) snprintf(text, sizeof(text), "%d", next);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
upsfetch.c: In function 'int fetch_events(const char*)':
upsfetch.c:158:42: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 170 [-Wformat-truncation=]
158 | "upsfetch: tcp_open failed for %s port %d", lhost, nis_port);
| ^~ ~~~~~
upsfetch.c:157:15: note: 'snprintf' output between 38 and 247 bytes into a destination of size 200
157 | snprintf(errmsg, sizeof(errmsg),
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
158 | "upsfetch: tcp_open failed for %s port %d", lhost, nis_port);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
multimon.c: In function 'void do_status(const char*, const char*)':
multimon.c:195:61: warning: '
' directive output may be truncated writing 6 bytes into a region of size between 0 and 127 [-Wformat-truncation=]
195 | snprintf (temp, sizeof(temp), "%s %s
",
| ^~~~~~
multimon.c:195:34: note: 'snprintf' output 8 or more bytes (assuming 135) into a destination of size 128
195 | snprintf (temp, sizeof(temp), "%s %s
",
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
196 | stattxt, stattab[i].desc);
| ~~~~~~~~~~~~~~~~~~~~~~~~~
LD src/cgi/upsfstats.cgi
LD src/cgi/upsimage.cgi
AR src/drivers/snmplite/libsnmplitedrv.a
LD src/cgi/upsstats.cgi
LD src/cgi/multimon.cgi
AR src/drivers/usb/libusbdrv.a
CXX src/drivers/drivers.c
AR src/drivers/libdrivers.a
CXX src/options.c
CXX src/device.c
CXX src/reports.c
CXX src/action.c
CXX src/apcupsd.c
CXX src/apcnis.c
CXX src/apcaccess.c
CXX src/apctest.c
CXX src/smtp.c
LD src/apcaccess
LD src/smtp
LD src/apcupsd
LD src/apctest
platforms
platforms/etc
platforms/unknown
>>> apcupsd: Entering fakeroot...
src
doc
src/lib
src/drivers
src/libusbhid
MKDIR /home/buildozer/aports/main/apcupsd/pkg/apcupsd/usr/share/man/man8
src/drivers/apcsmart
src/drivers/dumb
src/drivers/net
src/drivers/pcnet
src/drivers/usb
COPY apcupsd.8 => /home/buildozer/aports/main/apcupsd/pkg/apcupsd/usr/share/man/man8/apcupsd.8
src/drivers/snmplite
COPY apcaccess.8 => /home/buildozer/aports/main/apcupsd/pkg/apcupsd/usr/share/man/man8/apcaccess.8
src/drivers/modbus
COPY apctest.8 => /home/buildozer/aports/main/apcupsd/pkg/apcupsd/usr/share/man/man8/apctest.8
COPY apccontrol.8 => /home/buildozer/aports/main/apcupsd/pkg/apcupsd/usr/share/man/man8/apccontrol.8
MKDIR /home/buildozer/aports/main/apcupsd/pkg/apcupsd/usr/share/man/man5
src/drivers/usb/linux
COPY apcupsd.conf.5 => /home/buildozer/aports/main/apcupsd/pkg/apcupsd/usr/share/man/man5/apcupsd.conf.5
src/cgi
MKDIR /home/buildozer/aports/main/apcupsd/pkg/apcupsd/etc/apcupsd
COPY multimon.cgi => /home/buildozer/aports/main/apcupsd/pkg/apcupsd/etc/apcupsd
COPY upsstats.cgi => /home/buildozer/aports/main/apcupsd/pkg/apcupsd/etc/apcupsd
COPY upsfstats.cgi => /home/buildozer/aports/main/apcupsd/pkg/apcupsd/etc/apcupsd
COPY upsimage.cgi => /home/buildozer/aports/main/apcupsd/pkg/apcupsd/etc/apcupsd
MKDIR /home/buildozer/aports/main/apcupsd/pkg/apcupsd/etc/apcupsd
COPY apcupsd.css => /home/buildozer/aports/main/apcupsd/pkg/apcupsd/etc/apcupsd/apcupsd.css
COPY hosts.conf => /home/buildozer/aports/main/apcupsd/pkg/apcupsd/etc/apcupsd/hosts.conf
COPY multimon.conf => /home/buildozer/aports/main/apcupsd/pkg/apcupsd/etc/apcupsd/multimon.conf
MKDIR /home/buildozer/aports/main/apcupsd/pkg/apcupsd/sbin
COPY apcupsd => /home/buildozer/aports/main/apcupsd/pkg/apcupsd/sbin/apcupsd
COPY apctest => /home/buildozer/aports/main/apcupsd/pkg/apcupsd/sbin/apctest
COPY apcaccess => /home/buildozer/aports/main/apcupsd/pkg/apcupsd/sbin/apcaccess
COPY smtp => /home/buildozer/aports/main/apcupsd/pkg/apcupsd/sbin/smtp
platforms
platforms/etc
COPY apcupsd.conf => /home/buildozer/aports/main/apcupsd/pkg/apcupsd/etc/apcupsd/apcupsd.conf
COPY changeme => /home/buildozer/aports/main/apcupsd/pkg/apcupsd/etc/apcupsd/changeme
COPY commfailure => /home/buildozer/aports/main/apcupsd/pkg/apcupsd/etc/apcupsd/commfailure
COPY commok => /home/buildozer/aports/main/apcupsd/pkg/apcupsd/etc/apcupsd/commok
COPY offbattery => /home/buildozer/aports/main/apcupsd/pkg/apcupsd/etc/apcupsd/offbattery
COPY onbattery => /home/buildozer/aports/main/apcupsd/pkg/apcupsd/etc/apcupsd/onbattery
platforms/unknown
------------------------------------------------------------
Unknown distribution installation
------------------------------------------------------------
You have to manually install apcupsd boot script and
halt script for clean emergency shutdown.
Please contribute your distribution install to apcupsd team.
I'm sorry: you are on your own.
COPY apccontrol => /home/buildozer/aports/main/apcupsd/pkg/apcupsd/etc/apcupsd/apccontrol
MKDIR /home/buildozer/aports/main/apcupsd/pkg/apcupsd/usr/share/hal/fdi/policy/20thirdparty
COPY 80-apcupsd-ups-policy.fdi => /home/buildozer/aports/main/apcupsd/pkg/apcupsd/usr/share/hal/fdi/policy/20thirdparty
>>> apcupsd-doc*: Running split function doc...
>>> apcupsd-doc*: Preparing subpackage apcupsd-doc...
>>> apcupsd-doc*: Running postcheck for apcupsd-doc
>>> apcupsd-webif*: Running split function webif...
>>> apcupsd-webif*: Preparing subpackage apcupsd-webif...
>>> apcupsd-webif*: Stripping binaries
>>> apcupsd-webif*: Running postcheck for apcupsd-webif
>>> apcupsd-openrc*: Running split function openrc...
>>> apcupsd-openrc*: Preparing subpackage apcupsd-openrc...
>>> apcupsd-openrc*: Running postcheck for apcupsd-openrc
>>> apcupsd*: Running postcheck for apcupsd
>>> apcupsd*: Preparing package apcupsd...
>>> apcupsd*: Stripping binaries
>>> apcupsd-doc*: Scanning shared objects
>>> apcupsd-openrc*: Scanning shared objects
>>> apcupsd-webif*: Scanning shared objects
>>> apcupsd*: Scanning shared objects
>>> apcupsd-doc*: Tracing dependencies...
>>> apcupsd-doc*: Package size: 48.0 KB
>>> apcupsd-doc*: Compressing data...
>>> apcupsd-doc*: Create checksum...
>>> apcupsd-doc*: Create apcupsd-doc-3.14.14-r6.apk
>>> apcupsd-openrc*: Tracing dependencies...
>>> apcupsd-openrc*: Package size: 20.0 KB
>>> apcupsd-openrc*: Compressing data...
>>> apcupsd-openrc*: Create checksum...
>>> apcupsd-openrc*: Create apcupsd-openrc-3.14.14-r6.apk
>>> apcupsd-webif*: Tracing dependencies...
util-linux
so:libc.musl-ppc64le.so.1
so:libgd.so.3
>>> apcupsd-webif*: Package size: 292.0 KB
>>> apcupsd-webif*: Compressing data...
>>> apcupsd-webif*: Create checksum...
>>> apcupsd-webif*: Create apcupsd-webif-3.14.14-r6.apk
>>> apcupsd*: Tracing dependencies...
util-linux
so:libc.musl-ppc64le.so.1
so:libgcc_s.so.1
so:libusb-0.1.so.4
>>> apcupsd*: Package size: 976.0 KB
>>> apcupsd*: Compressing data...
>>> apcupsd*: Create checksum...
>>> apcupsd*: Create apcupsd-3.14.14-r6.apk
>>> apcupsd: Build complete at Wed, 12 Apr 2023 06:24:54 +0000 elapsed time 0h 0m 12s
>>> apcupsd: Cleaning up srcdir
>>> apcupsd: Cleaning up pkgdir
>>> apcupsd: Uninstalling dependencies...
(1/151) Purging util-linux-misc (2.38.1-r6)
(2/151) Purging setarch (2.38.1-r6)
(3/151) Purging runuser (2.38.1-r6)
(4/151) Purging mount (2.38.1-r6)
(5/151) Purging losetup (2.38.1-r6)
(6/151) Purging hexdump (2.38.1-r6)
(7/151) Purging uuidgen (2.38.1-r6)
(8/151) Purging blkid (2.38.1-r6)
(9/151) Purging sfdisk (2.38.1-r6)
(10/151) Purging mcookie (2.38.1-r6)
(11/151) Purging agetty-openrc (0.46-r3)
(12/151) Purging agetty (2.38.1-r6)
(13/151) Purging wipefs (2.38.1-r6)
(14/151) Purging cfdisk (2.38.1-r6)
(15/151) Purging umount (2.38.1-r6)
(16/151) Purging flock (2.38.1-r6)
(17/151) Purging lsblk (2.38.1-r6)
(18/151) Purging setpriv (2.38.1-r6)
(19/151) Purging logger (2.38.1-r6)
(20/151) Purging partx (2.38.1-r6)
(21/151) Purging fstrim (2.38.1-r6)
(22/151) Purging findmnt (2.38.1-r6)
(23/151) Purging .makedepends-apcupsd (20230412.062443)
(24/151) Purging util-linux-openrc (2.38.1-r6)
(25/151) Purging util-linux (2.38.1-r6)
(26/151) Purging net-snmp-dev (5.9.3-r3)
(27/151) Purging openssl-dev (3.1.0-r3)
(28/151) Purging net-snmp-agent-libs (5.9.3-r3)
(29/151) Purging net-snmp-libs (5.9.3-r3)
(30/151) Purging gd-dev (2.3.3-r7)
(31/151) Purging gd (2.3.3-r7)
(32/151) Purging libgd (2.3.3-r7)
(33/151) Purging libusb-compat-dev (0.1.8-r1)
(34/151) Purging libusb-compat (0.1.8-r1)
(35/151) Purging git-perl (2.40.0-r0)
(36/151) Purging perl-git (2.40.0-r0)
(37/151) Purging perl-error (0.17029-r1)
(38/151) Purging perl (5.36.0-r2)
(39/151) Purging graphite2-dev (1.3.14-r5)
(40/151) Purging fontconfig-dev (2.14.2-r1)
(41/151) Purging freetype-dev (2.13.0-r3)
(42/151) Purging harfbuzz-dev (7.1.0-r1)
(43/151) Purging harfbuzz-cairo (7.1.0-r1)
(44/151) Purging harfbuzz-gobject (7.1.0-r1)
(45/151) Purging harfbuzz-icu (7.1.0-r1)
(46/151) Purging harfbuzz-subset (7.1.0-r1)
(47/151) Purging cairo-dev (1.17.8-r1)
(48/151) Purging cairo-tools (1.17.8-r1)
(49/151) Purging xcb-util-dev (0.4.1-r2)
(50/151) Purging util-macros (1.20.0-r0)
(51/151) Purging xcb-util (0.4.1-r2)
(52/151) Purging cairo-gobject (1.17.8-r1)
(53/151) Purging cairo (1.17.8-r1)
(54/151) Purging glib-dev (2.76.1-r1)
(55/151) Purging bzip2-dev (1.0.8-r5)
(56/151) Purging docbook-xsl (1.79.2-r8)
Executing docbook-xsl-1.79.2-r8.post-deinstall
(57/151) Purging docbook-xml (4.5-r8)
Executing docbook-xml-4.5-r8.post-deinstall
(58/151) Purging gettext-dev (0.21.1-r3)
(59/151) Purging gettext-asprintf (0.21.1-r3)
(60/151) Purging gettext (0.21.1-r3)
(61/151) Purging libxml2-utils (2.10.4-r1)
(62/151) Purging libxslt (1.1.37-r3)
(63/151) Purging python3 (3.11.3-r1)
(64/151) Purging util-linux-dev (2.38.1-r6)
(65/151) Purging libfdisk (2.38.1-r6)
(66/151) Purging libsmartcols (2.38.1-r6)
(67/151) Purging fontconfig (2.14.2-r1)
(68/151) Purging freetype (2.13.0-r3)
(69/151) Purging harfbuzz (7.1.0-r1)
(70/151) Purging glib (2.76.1-r1)
(71/151) Purging libmount (2.38.1-r6)
(72/151) Purging libblkid (2.38.1-r6)
(73/151) Purging libxpm-dev (3.5.15-r2)
(74/151) Purging libxpm (3.5.15-r2)
(75/151) Purging libxt (1.3.0-r1)
(76/151) Purging libsm (1.2.4-r1)
(77/151) Purging libuuid (2.38.1-r6)
(78/151) Purging libeconf (0.5.2-r1)
(79/151) Purging linux-pam (1.5.2-r10)
(80/151) Purging libcap-ng (0.8.3-r3)
(81/151) Purging libffi-dev (3.4.4-r2)
(82/151) Purging libffi (3.4.4-r2)
(83/151) Purging linux-headers (6.2-r0)
(84/151) Purging libxrender-dev (0.9.11-r2)
(85/151) Purging libxrender (0.9.11-r2)
(86/151) Purging libxext-dev (1.3.5-r1)
(87/151) Purging libxext (1.3.5-r1)
(88/151) Purging libx11-dev (1.8.4-r2)
(89/151) Purging xtrans (1.4.0-r2)
(90/151) Purging libx11 (1.8.4-r2)
(91/151) Purging libxcb-dev (1.15-r1)
(92/151) Purging xcb-proto (1.15.2-r1)
(93/151) Purging libxcb (1.15-r1)
(94/151) Purging libxau-dev (1.0.11-r1)
(95/151) Purging libxau (1.0.11-r1)
(96/151) Purging libxdmcp-dev (1.1.4-r1)
(97/151) Purging libxdmcp (1.1.4-r1)
(98/151) Purging libbsd (0.11.7-r1)
(99/151) Purging libmd (1.0.4-r2)
(100/151) Purging libice (1.1.1-r1)
(101/151) Purging libavif-dev (0.11.1-r1)
(102/151) Purging libavif (0.11.1-r1)
(103/151) Purging aom-libs (3.6.0-r2)
(104/151) Purging libdav1d (1.1.0-r1)
(105/151) Purging libbz2 (1.0.8-r5)
(106/151) Purging gettext-libs (0.21.1-r3)
(107/151) Purging libintl (0.21.1-r3)
(108/151) Purging graphite2 (1.3.14-r5)
(109/151) Purging libpng-dev (1.6.39-r3)
(110/151) Purging libpng (1.6.39-r3)
(111/151) Purging tiff-dev (4.5.0-r6)
(112/151) Purging libtiffxx (4.5.0-r6)
(113/151) Purging tiff (4.5.0-r6)
(114/151) Purging libjpeg-turbo-dev (2.1.5.1-r2)
(115/151) Purging libjpeg-turbo (2.1.5.1-r2)
(116/151) Purging libwebp-dev (1.3.0-r1)
(117/151) Purging libwebp (1.3.0-r1)
(118/151) Purging expat-dev (2.5.0-r1)
(119/151) Purging expat (2.5.0-r1)
(120/151) Purging pixman-dev (0.42.2-r1)
(121/151) Purging pixman (0.42.2-r1)
(122/151) Purging icu-dev (72.1-r3)
(123/151) Purging icu (72.1-r3)
(124/151) Purging icu-libs (72.1-r3)
(125/151) Purging icu-data-en (72.1-r3)
(126/151) Purging xorgproto (2022.2-r0)
(127/151) Purging libxml2 (2.10.4-r1)
(128/151) Purging xz-libs (5.4.2-r1)
(129/151) Purging libgcrypt (1.10.2-r1)
(130/151) Purging libgpg-error (1.47-r1)
(131/151) Purging gdbm (1.23-r1)
(132/151) Purging mpdecimal (2.5.1-r2)
(133/151) Purging pcre2-dev (10.42-r1)
(134/151) Purging zlib-dev (1.2.13-r1)
(135/151) Purging libpcre2-16 (10.42-r1)
(136/151) Purging libpcre2-32 (10.42-r1)
(137/151) Purging libedit-dev (20221030.3.1-r1)
(138/151) Purging bsd-compat-headers (0.7.2-r4)
(139/151) Purging ncurses-dev (6.4_p20230401-r3)
(140/151) Purging libncurses++ (6.4_p20230401-r3)
(141/151) Purging libpanelw (6.4_p20230401-r3)
(142/151) Purging readline (8.2.1-r1)
(143/151) Purging sqlite-libs (3.41.2-r2)
(144/151) Purging libformw (6.4_p20230401-r3)
(145/151) Purging libmenuw (6.4_p20230401-r3)
(146/151) Purging brotli-dev (1.0.9-r12)
(147/151) Purging brotli (1.0.9-r12)
(148/151) Purging zstd-dev (1.5.5-r1)
(149/151) Purging zstd (1.5.5-r1)
(150/151) Purging libusb-dev (1.0.26-r2)
(151/151) Purging libusb (1.0.26-r2)
Executing busybox-1.36.0-r6.trigger
OK: 293 MiB in 98 packages
>>> apcupsd: Updating the main/ppc64le repository index...
>>> apcupsd: Signing the index...