>>> apcupsd: Building main/apcupsd 3.14.14-r6 (using abuild 3.11.0_rc12-r0) started Thu, 20 Apr 2023 05:34:13 +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/102) Installing util-linux (2.38.1-r7)
(2/102) Installing setarch (2.38.1-r7)
(3/102) Installing libblkid (2.38.1-r7)
(4/102) Installing libuuid (2.38.1-r7)
(5/102) Installing libfdisk (2.38.1-r7)
(6/102) Installing libmount (2.38.1-r7)
(7/102) Installing libsmartcols (2.38.1-r7)
(8/102) Installing util-linux-misc (2.38.1-r7)
(9/102) Installing libeconf (0.5.2-r1)
(10/102) Installing linux-pam (1.5.2-r10)
(11/102) Installing runuser (2.38.1-r7)
(12/102) Installing mount (2.38.1-r7)
(13/102) Installing losetup (2.38.1-r7)
(14/102) Installing hexdump (2.38.1-r7)
(15/102) Installing uuidgen (2.38.1-r7)
(16/102) Installing blkid (2.38.1-r7)
(17/102) Installing sfdisk (2.38.1-r7)
(18/102) Installing mcookie (2.38.1-r7)
(19/102) Installing agetty (2.38.1-r7)
(20/102) Installing wipefs (2.38.1-r7)
(21/102) Installing cfdisk (2.38.1-r7)
(22/102) Installing umount (2.38.1-r7)
(23/102) Installing flock (2.38.1-r7)
(24/102) Installing lsblk (2.38.1-r7)
(25/102) Installing libcap-ng (0.8.3-r3)
(26/102) Installing setpriv (2.38.1-r7)
(27/102) Installing logger (2.38.1-r7)
(28/102) Installing partx (2.38.1-r7)
(29/102) Installing fstrim (2.38.1-r7)
(30/102) Installing findmnt (2.38.1-r7)
(31/102) Installing openssl-dev (3.1.0-r3)
(32/102) Installing net-snmp-libs (5.9.3-r3)
(33/102) Installing net-snmp-agent-libs (5.9.3-r3)
(34/102) Installing net-snmp-dev (5.9.3-r3)
(35/102) Installing linux-headers (6.2-r0)
(36/102) Installing libxau (1.0.11-r1)
(37/102) Installing libmd (1.0.4-r2)
(38/102) Installing libbsd (0.11.7-r1)
(39/102) Installing libxdmcp (1.1.4-r1)
(40/102) Installing libxcb (1.15-r1)
(41/102) Installing libx11 (1.8.4-r2)
(42/102) Installing libxext (1.3.5-r1)
(43/102) Installing libice (1.1.1-r1)
(44/102) Installing libsm (1.2.4-r1)
(45/102) Installing libxt (1.3.0-r1)
(46/102) Installing libxpm (3.5.16-r0)
(47/102) Installing aom-libs (3.6.0-r2)
(48/102) Installing libdav1d (1.1.0-r1)
(49/102) Installing libavif (0.11.1-r1)
(50/102) Installing libbz2 (1.0.8-r5)
(51/102) Installing libpng (1.6.39-r3)
(52/102) Installing freetype (2.13.0-r4)
(53/102) Installing fontconfig (2.14.2-r3)
(54/102) Installing libjpeg-turbo (2.1.5.1-r2)
(55/102) Installing libwebp (1.3.0-r1)
(56/102) Installing tiff (4.5.0-r6)
(57/102) Installing libgd (2.3.3-r7)
(58/102) Installing gd (2.3.3-r7)
(59/102) Installing perl (5.36.0-r3)
(60/102) Installing expat (2.5.0-r1)
(61/102) Installing expat-dev (2.5.0-r1)
(62/102) Installing bzip2-dev (1.0.8-r5)
(63/102) Installing brotli (1.0.9-r14)
(64/102) Installing brotli-dev (1.0.9-r14)
(65/102) Installing zlib-dev (1.2.13-r1)
(66/102) Installing libpng-dev (1.6.39-r3)
(67/102) Installing freetype-dev (2.13.0-r4)
(68/102) Installing fontconfig-dev (2.14.2-r3)
(69/102) Installing libavif-dev (0.11.1-r1)
(70/102) Installing libjpeg-turbo-dev (2.1.5.1-r2)
(71/102) Installing zstd (1.5.5-r3)
(72/102) Installing zstd-dev (1.5.5-r3)
(73/102) Installing libtiffxx (4.5.0-r6)
(74/102) Installing libwebp-dev (1.3.0-r1)
(75/102) Installing tiff-dev (4.5.0-r6)
(76/102) Installing xorgproto (2022.2-r0)
(77/102) Installing libxau-dev (1.0.11-r1)
(78/102) Installing libffi (3.4.4-r2)
(79/102) Installing gdbm (1.23-r1)
(80/102) Installing xz-libs (5.4.2-r1)
(81/102) Installing mpdecimal (2.5.1-r2)
(82/102) Installing libpanelw (6.4_p20230401-r4)
(83/102) Installing readline (8.2.1-r1)
(84/102) Installing sqlite-libs (3.41.2-r2)
(85/102) Installing python3 (3.11.3-r10)
(86/102) Installing xcb-proto (1.15.2-r2)
(87/102) Installing libxdmcp-dev (1.1.4-r1)
(88/102) Installing libxcb-dev (1.15-r1)
(89/102) Installing xtrans (1.4.0-r2)
(90/102) Installing libx11-dev (1.8.4-r2)
(91/102) Installing libxpm-dev (3.5.16-r0)
(92/102) Installing gd-dev (2.3.3-r7)
(93/102) Installing libusb (1.0.26-r2)
(94/102) Installing libusb-compat (0.1.8-r1)
(95/102) Installing libusb-dev (1.0.26-r2)
(96/102) Installing libusb-compat-dev (0.1.8-r1)
(97/102) Installing .makedepends-apcupsd (20230420.053413)
(98/102) Installing util-linux-openrc (2.38.1-r7)
(99/102) Installing agetty-openrc (0.46-r5)
(100/102) Installing perl-error (0.17029-r1)
(101/102) Installing perl-git (2.40.0-r1)
(102/102) Installing git-perl (2.40.0-r1)
Executing busybox-1.36.0-r7.trigger
OK: 587 MiB in 199 packages
>>> apcupsd: Cleaning up srcdir
>>> apcupsd: Cleaning up pkgdir
>>> apcupsd: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/apcupsd-3.14.14.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404
>>> apcupsd: Fetching https://sourceforge.net/projects/apcupsd/files/apcupsd%20-%20Stable/3.14.14/apcupsd-3.14.14.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 784 0 784 0 0 1912 0 --:--:-- --:--:-- --:--:-- 1912
100 800 0 800 0 0 1595 0 --:--:-- --:--:-- --:--:-- 1595
100 1037 0 1037 0 0 1818 0 --:--:-- --:--:-- --:--:-- 1818
100 389 100 389 0 0 450 0 --:--:-- --:--:-- --:--:-- 450
37 1800k 37 671k 0 0 486k 0 0:00:03 0:00:01 0:00:02 486k
100 1800k 100 1800k 0 0 1221k 0 0:00:01 0:00:01 --:--:-- 11.8M
>>> apcupsd: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/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/v3.18/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 Thu Apr 20 05:34:22 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-r10)
Preprocessor flags: -Os -Wformat -Werror=format-security -I$(topdir)/src/libusbhid
Compiler flags: -Os -Wformat -Werror=format-security -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/modbus/mapping.cpp
CXX src/drivers/modbus/modbus.cpp
CXX src/drivers/apcsmart/smartsetup2.c
CXX src/drivers/modbus/ModbusComm.cpp
CXX src/drivers/modbus/ModbusRs232Comm.cpp
CXX src/drivers/modbus/ModbusUsbComm.cpp
CXX src/drivers/snmplite/apc-mib.cpp
CXX src/drivers/snmplite/asn.cpp
CXX src/drivers/snmplite/mge-mib.cpp
CXX src/drivers/snmplite/mibs.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
AR src/drivers/net/libnetdrv.a
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/apcsmart/libapcsmartdrv.a
CXX src/drivers/usb/usb.c
AR src/drivers/pcnet/libpcnetdrv.a
AR src/drivers/modbus/libmodbusdrv.a
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
AR src/drivers/snmplite/libsnmplitedrv.a
LD src/cgi/upsimage.cgi
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 Thu, 20 Apr 2023 05:34:26 +0000 elapsed time 0h 0m 13s
>>> apcupsd: Cleaning up srcdir
>>> apcupsd: Cleaning up pkgdir
>>> apcupsd: Uninstalling dependencies...
(1/102) Purging .makedepends-apcupsd (20230420.053413)
(2/102) Purging runuser (2.38.1-r7)
(3/102) Purging uuidgen (2.38.1-r7)
(4/102) Purging blkid (2.38.1-r7)
(5/102) Purging mcookie (2.38.1-r7)
(6/102) Purging hexdump (2.38.1-r7)
(7/102) Purging sfdisk (2.38.1-r7)
(8/102) Purging mount (2.38.1-r7)
(9/102) Purging cfdisk (2.38.1-r7)
(10/102) Purging losetup (2.38.1-r7)
(11/102) Purging util-linux-openrc (2.38.1-r7)
(12/102) Purging flock (2.38.1-r7)
(13/102) Purging setpriv (2.38.1-r7)
(14/102) Purging logger (2.38.1-r7)
(15/102) Purging partx (2.38.1-r7)
(16/102) Purging fstrim (2.38.1-r7)
(17/102) Purging lsblk (2.38.1-r7)
(18/102) Purging umount (2.38.1-r7)
(19/102) Purging agetty-openrc (0.46-r5)
(20/102) Purging agetty (2.38.1-r7)
(21/102) Purging findmnt (2.38.1-r7)
(22/102) Purging util-linux-misc (2.38.1-r7)
(23/102) Purging setarch (2.38.1-r7)
(24/102) Purging wipefs (2.38.1-r7)
(25/102) Purging util-linux (2.38.1-r7)
(26/102) Purging net-snmp-dev (5.9.3-r3)
(27/102) Purging openssl-dev (3.1.0-r3)
(28/102) Purging net-snmp-agent-libs (5.9.3-r3)
(29/102) Purging net-snmp-libs (5.9.3-r3)
(30/102) Purging linux-headers (6.2-r0)
(31/102) Purging gd-dev (2.3.3-r7)
(32/102) Purging gd (2.3.3-r7)
(33/102) Purging libgd (2.3.3-r7)
(34/102) Purging libusb-compat-dev (0.1.8-r1)
(35/102) Purging libusb-compat (0.1.8-r1)
(36/102) Purging fontconfig-dev (2.14.2-r3)
(37/102) Purging fontconfig (2.14.2-r3)
(38/102) Purging freetype-dev (2.13.0-r4)
(39/102) Purging freetype (2.13.0-r4)
(40/102) Purging git-perl (2.40.0-r1)
(41/102) Purging perl-git (2.40.0-r1)
(42/102) Purging perl-error (0.17029-r1)
(43/102) Purging perl (5.36.0-r3)
(44/102) Purging libavif-dev (0.11.1-r1)
(45/102) Purging libavif (0.11.1-r1)
(46/102) Purging libcap-ng (0.8.3-r3)
(47/102) Purging libdav1d (1.1.0-r1)
(48/102) Purging libeconf (0.5.2-r1)
(49/102) Purging libfdisk (2.38.1-r7)
(50/102) Purging libmount (2.38.1-r7)
(51/102) Purging libpng-dev (1.6.39-r3)
(52/102) Purging libpng (1.6.39-r3)
(53/102) Purging libsmartcols (2.38.1-r7)
(54/102) Purging libusb-dev (1.0.26-r2)
(55/102) Purging libusb (1.0.26-r2)
(56/102) Purging libxpm-dev (3.5.16-r0)
(57/102) Purging libxpm (3.5.16-r0)
(58/102) Purging libxt (1.3.0-r1)
(59/102) Purging linux-pam (1.5.2-r10)
(60/102) Purging tiff-dev (4.5.0-r6)
(61/102) Purging libtiffxx (4.5.0-r6)
(62/102) Purging tiff (4.5.0-r6)
(63/102) Purging zlib-dev (1.2.13-r1)
(64/102) Purging zstd-dev (1.5.5-r3)
(65/102) Purging zstd (1.5.5-r3)
(66/102) Purging aom-libs (3.6.0-r2)
(67/102) Purging brotli-dev (1.0.9-r14)
(68/102) Purging brotli (1.0.9-r14)
(69/102) Purging bzip2-dev (1.0.8-r5)
(70/102) Purging expat-dev (2.5.0-r1)
(71/102) Purging expat (2.5.0-r1)
(72/102) Purging libx11-dev (1.8.4-r2)
(73/102) Purging xtrans (1.4.0-r2)
(74/102) Purging libxcb-dev (1.15-r1)
(75/102) Purging xcb-proto (1.15.2-r2)
(76/102) Purging python3 (3.11.3-r10)
(77/102) Purging gdbm (1.23-r1)
(78/102) Purging libblkid (2.38.1-r7)
(79/102) Purging libxdmcp-dev (1.1.4-r1)
(80/102) Purging libxext (1.3.5-r1)
(81/102) Purging libx11 (1.8.4-r2)
(82/102) Purging libxcb (1.15-r1)
(83/102) Purging libxdmcp (1.1.4-r1)
(84/102) Purging libbsd (0.11.7-r1)
(85/102) Purging libbz2 (1.0.8-r5)
(86/102) Purging libffi (3.4.4-r2)
(87/102) Purging libsm (1.2.4-r1)
(88/102) Purging libice (1.1.1-r1)
(89/102) Purging libjpeg-turbo-dev (2.1.5.1-r2)
(90/102) Purging libjpeg-turbo (2.1.5.1-r2)
(91/102) Purging libmd (1.0.4-r2)
(92/102) Purging libpanelw (6.4_p20230401-r4)
(93/102) Purging libuuid (2.38.1-r7)
(94/102) Purging libwebp-dev (1.3.0-r1)
(95/102) Purging libwebp (1.3.0-r1)
(96/102) Purging libxau-dev (1.0.11-r1)
(97/102) Purging libxau (1.0.11-r1)
(98/102) Purging mpdecimal (2.5.1-r2)
(99/102) Purging readline (8.2.1-r1)
(100/102) Purging sqlite-libs (3.41.2-r2)
(101/102) Purging xorgproto (2022.2-r0)
(102/102) Purging xz-libs (5.4.2-r1)
Executing busybox-1.36.0-r7.trigger
OK: 440 MiB in 97 packages
>>> apcupsd: Updating the main/ppc64le repository index...
>>> apcupsd: Signing the index...