==> Synchronizing chroot copy [/home/leming/armv7/root] -> [leming]...done
==> Making package: apcupsd 3.14.14-8 (Mon Jul 15 04:15:31 2024)
==> Retrieving sources...
  -> Found apcupsd-3.14.14.tar.gz
  -> Found apcupsd-3.14.14.tar.gz.sig
  -> Found apcupsd.service
  -> Found apcupsd-3.14.4-shutdown.patch
  -> Found apcupsd_shutdown
  -> Found apcupsd-tmpfiles.conf
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    apcupsd-3.14.14.tar.gz ... Passed
    apcupsd-3.14.14.tar.gz.sig ... Skipped
    apcupsd.service ... Passed
    apcupsd-3.14.4-shutdown.patch ... Passed
    apcupsd_shutdown ... Passed
    apcupsd-tmpfiles.conf ... Passed
==> Making package: apcupsd 3.14.14-8 (Mon Jul 15 04:15:54 2024)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
:: There are 2 providers available for dbus-units:
:: Repository core
   1) dbus-broker-units  2) dbus-daemon-units

Enter a number (default=1): 
looking for conflicting packages...

Packages (13) argon2-20190702-5  cryptsetup-2.7.3-1  dbus-1.14.10-2
              dbus-broker-36-2  dbus-broker-units-36-2  device-mapper-2.03.24-1
              hwdata-0.384-1  kbd-2.6.4-1  kmod-32-1  libseccomp-2.5.5-3
              systemd-256.2-1  libusb-compat-0.1.8-1
              systemd-sysvcompat-256.2-1

Total Download Size:   11.66 MiB
Total Installed Size:  48.50 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 systemd-256.2-1-armv7h downloading...
 hwdata-0.384-1-any downloading...
 kbd-2.6.4-1-armv7h downloading...
 cryptsetup-2.7.3-1-armv7h downloading...
 dbus-1.14.10-2-armv7h downloading...
 device-mapper-2.03.24-1-armv7h downloading...
 dbus-broker-36-2-armv7h downloading...
 kmod-32-1-armv7h downloading...
 libseccomp-2.5.5-3-armv7h downloading...
 argon2-20190702-5-armv7h downloading...
 libusb-compat-0.1.8-1-armv7h downloading...
 systemd-sysvcompat-256.2-1-armv7h downloading...
 dbus-broker-units-36-2-armv7h downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing device-mapper...
installing argon2...
installing cryptsetup...
installing dbus...
installing dbus-broker...
installing dbus-broker-units...
installing kbd...
installing kmod...
installing hwdata...
installing libseccomp...
installing systemd...
warning: directory permissions differ on /var/log/journal/
filesystem: 755  package: 2755
Creating group 'sys' with GID 3.
Creating group 'mem' with GID 8.
Creating group 'ftp' with GID 11.
Creating group 'mail' with GID 12.
Creating group 'log' with GID 19.
Creating group 'smmsp' with GID 25.
Creating group 'proc' with GID 26.
Creating group 'games' with GID 50.
Creating group 'lock' with GID 54.
Creating group 'network' with GID 90.
Creating group 'floppy' with GID 94.
Creating group 'scanner' with GID 96.
Creating group 'power' with GID 98.
Creating group 'nobody' with GID 65534.
Creating group 'adm' with GID 999.
Creating group 'wheel' with GID 998.
Creating group 'utmp' with GID 997.
Creating group 'audio' with GID 996.
Creating group 'disk' with GID 995.
Creating group 'input' with GID 994.
Creating group 'kmem' with GID 993.
Creating group 'kvm' with GID 992.
Creating group 'lp' with GID 991.
Creating group 'optical' with GID 990.
Creating group 'render' with GID 989.
Creating group 'sgx' with GID 988.
Creating group 'storage' with GID 987.
Creating group 'tty' with GID 5.
Creating group 'uucp' with GID 986.
Creating group 'video' with GID 985.
Creating group 'users' with GID 984.
Creating group 'distcc' with GID 983.
Creating group 'groups' with GID 982.
Creating group 'systemd-journal' with GID 981.
Creating group 'rfkill' with GID 980.
Creating group 'bin' with GID 1.
Creating user 'bin' (n/a) with UID 1 and GID 1.
Creating group 'daemon' with GID 2.
Creating user 'daemon' (n/a) with UID 2 and GID 2.
Creating user 'mail' (n/a) with UID 8 and GID 12.
Creating user 'ftp' (n/a) with UID 14 and GID 11.
Creating group 'http' with GID 33.
Creating user 'http' (n/a) with UID 33 and GID 33.
Creating user 'nobody' (Kernel Overflow User) with UID 65534 and GID 65534.
Creating group 'dbus' with GID 81.
Creating user 'dbus' (System Message Bus) with UID 81 and GID 81.
Creating user 'distcc' (distcc user) with UID 983 and GID 983.
Creating group 'systemd-coredump' with GID 979.
Creating user 'systemd-coredump' (systemd Core Dumper) with UID 979 and GID 979.
Creating group 'systemd-network' with GID 978.
Creating user 'systemd-network' (systemd Network Management) with UID 978 and GID 978.
Creating group 'systemd-oom' with GID 977.
Creating user 'systemd-oom' (systemd Userspace OOM Killer) with UID 977 and GID 977.
Creating group 'systemd-journal-remote' with GID 976.
Creating user 'systemd-journal-remote' (systemd Journal Remote) with UID 976 and GID 976.
Creating group 'systemd-resolve' with GID 975.
Creating user 'systemd-resolve' (systemd Resolver) with UID 975 and GID 975.
Creating group 'systemd-timesync' with GID 974.
Creating user 'systemd-timesync' (systemd Time Synchronization) with UID 974 and GID 974.
Creating group 'tss' with GID 973.
Creating user 'tss' (tss user for tpm2) with UID 973 and GID 973.
Creating group 'uuidd' with GID 68.
Creating user 'uuidd' (n/a) with UID 68 and GID 68.
Created symlink '/etc/systemd/system/getty.target.wants/getty@tty1.service' → '/usr/lib/systemd/system/getty@.service'.
Created symlink '/etc/systemd/system/multi-user.target.wants/remote-fs.target' → '/usr/lib/systemd/system/remote-fs.target'.
Created symlink '/etc/systemd/system/sockets.target.wants/systemd-userdbd.socket' → '/usr/lib/systemd/system/systemd-userdbd.socket'.
:: Append 'init=/usr/lib/systemd/systemd' to your kernel command line in your
   bootloader to replace sysvinit with systemd, or install systemd-sysvcompat
Optional dependencies for systemd
    libmicrohttpd: systemd-journal-gatewayd and systemd-journal-remote
    [installed]
    quota-tools: kernel-level quota management
    systemd-sysvcompat: symlink package to provide sysvinit binaries [pending]
    systemd-ukify: combine kernel and initrd into a signed Unified Kernel Image
    polkit: allow administration as unprivileged user
    curl: systemd-journal-upload, machinectl pull-tar and pull-raw [installed]
    gnutls: systemd-journal-gatewayd and systemd-journal-remote [installed]
    qrencode: show QR codes
    iptables: firewall features
    libbpf: support BPF programs
    libpwquality: check password quality
    libfido2: unlocking LUKS2 volumes with FIDO2 token
    libp11-kit: support PKCS#11 [installed]
    tpm2-tss: unlocking LUKS2 volumes with TPM2 [installed]
installing systemd-sysvcompat...
installing libusb-compat...
:: Running post-transaction hooks...
( 1/10) Creating system user accounts...
( 2/10) Updating journal message catalog...
( 3/10) Reloading system manager configuration...
  Skipped: Current root is not booted.
( 4/10) Reloading user manager configuration...
  Skipped: Current root is not booted.
( 5/10) Updating udev hardware database...
( 6/10) Applying kernel sysctl settings...
  Skipped: Current root is not booted.
( 7/10) Creating temporary files...
error: command failed to execute correctly
( 8/10) Reloading device manager configuration...
  Skipped: Device manager is not running.
( 9/10) Arming ConditionNeedsUpdate...
(10/10) Reloading system bus configuration...
  Skipped: Current root is not booted.
[?25h==> Checking buildtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: harfbuzz will be installed before its freetype2 dependency

Packages (30) aom-3.9.1-1  dav1d-1.4.3-1  fontconfig-2:2.15.0-2
              freetype2-2.13.2-2  giflib-5.2.2-1  graphite-1:1.3.14-4
              harfbuzz-9.0.0-1  jbigkit-2.1-8  libavif-1.1.0-1
              libde265-1.0.15-2  libheif-1.18.0-1  libice-1.1.1-3
              libjpeg-turbo-3.0.3-1  libpng-1.6.43-1  libsm-1.2.4-2
              libtiff-4.6.0-5  libwebp-1.4.0-1  libx11-1.8.9-1  libxau-1.0.11-3
              libxcb-1.17.0-1  libxdmcp-1.1.5-1.1  libxext-1.3.6-1
              libxpm-3.5.17-2  libxt-1.3.0-2  libyuv-r2426+464c51a0-1
              rav1e-0.7.1-1  x265-3.6-1  xcb-proto-1.17.0-2  xorgproto-2024.1-2
              gd-2.3.3-8

Total Download Size:   11.82 MiB
Total Installed Size:  49.51 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 aom-3.9.1-1-armv7h downloading...
 libx11-1.8.9-1-armv7h downloading...
 rav1e-0.7.1-1-armv7h downloading...
 libxcb-1.17.0-1-armv7h downloading...
 harfbuzz-9.0.0-1-armv7h downloading...
 x265-3.6-1-armv7h downloading...
 libxt-1.3.0-2-armv7h downloading...
 freetype2-2.13.2-2-armv7h downloading...
 libjpeg-turbo-3.0.3-1-armv7h downloading...
 libheif-1.18.0-1-armv7h downloading...
 fontconfig-2:2.15.0-2-armv7h downloading...
 libtiff-4.6.0-5-armv7h downloading...
 dav1d-1.4.3-1-armv7h downloading...
 libwebp-1.4.0-1-armv7h downloading...
 xorgproto-2024.1-2-any downloading...
 libpng-1.6.43-1-armv7h downloading...
 libde265-1.0.15-2-armv7h downloading...
 libyuv-r2426+464c51a0-1-armv7h downloading...
 libavif-1.1.0-1-armv7h downloading...
 gd-2.3.3-8-armv7h downloading...
 xcb-proto-1.17.0-2-any downloading...
 libxext-1.3.6-1-armv7h downloading...
 libice-1.1.1-3-armv7h downloading...
 graphite-1:1.3.14-4-armv7h downloading...
 libxpm-3.5.17-2-armv7h downloading...
 giflib-5.2.2-1-armv7h downloading...
 jbigkit-2.1-8-armv7h downloading...
 libsm-1.2.4-2-armv7h downloading...
 libxdmcp-1.1.5-1.1-armv7h downloading...
 libxau-1.0.11-3-armv7h downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing libpng...
installing graphite...
Optional dependencies for graphite
    graphite-docs: Documentation
installing harfbuzz...
Optional dependencies for harfbuzz
    harfbuzz-utils: utilities
installing freetype2...
installing fontconfig...
Creating fontconfig configuration...
Rebuilding fontconfig cache...
installing xorgproto...
installing libice...
installing libsm...
installing xcb-proto...
installing libxdmcp...
installing libxau...
installing libxcb...
installing libx11...
installing libxt...
installing libxext...
installing libxpm...
installing giflib...
installing libjpeg-turbo...
installing jbigkit...
installing libtiff...
Optional dependencies for libtiff
    freeglut: for using tiffgt
installing libwebp...
installing aom...
installing dav1d...
Optional dependencies for dav1d
    dav1d-doc: HTML documentation
installing rav1e...
installing libyuv...
installing libavif...
installing libde265...
Optional dependencies for libde265
    ffmpeg: for sherlock265
    qt5-base: for sherlock265
    sdl: dec265 YUV overlay output
installing x265...
installing libheif...
Optional dependencies for libheif
    libjpeg: for heif-convert and heif-enc [installed]
    libpng: for heif-convert and heif-enc [installed]
    dav1d: dav1d encoder [installed]
    ffmpeg: hardware decode
    rav1e: rav1e encoder [installed]
installing gd...
Optional dependencies for gd
    perl: bdftogd script [installed]
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating fontconfig configuration...
(3/3) Updating fontconfig cache...
[?25h==> Retrieving sources...
  -> Found apcupsd-3.14.14.tar.gz
  -> Found apcupsd-3.14.14.tar.gz.sig
  -> Found apcupsd.service
  -> Found apcupsd-3.14.4-shutdown.patch
  -> Found apcupsd_shutdown
  -> Found apcupsd-tmpfiles.conf
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting apcupsd-3.14.14.tar.gz with bsdtar
==> Starting prepare()...
patching file platforms/apccontrol.in
Hunk #1 succeeded at 108 (offset 4 lines).
==> Starting build()...
checking for true... /usr/bin/true
checking for false... /usr/bin/false
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking for g++... g++
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 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... gawk
checking for library containing strerror... none required
checking for shutdown... /usr/bin/shutdown
checking for mail... no
configure: WARNING: mail program not found !
checking for wall... /usr/bin/wall
checking for sh... /usr/bin/sh
checking for GNU make... make
checking for ranlib... ranlib
checking for rm... /usr/bin/rm
checking for cp... /usr/bin/cp
checking for echo... /usr/bin/echo
checking for ln... /usr/bin/ln
checking for sed... /usr/bin/sed
checking for ar... ar
checking for mv... /usr/bin/mv
checking for windres... 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... /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 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... yes
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 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 Mon Jul 15 04:16:42 MDT 2024:

  Host:                       armv7l-unknown-linux-gnueabihf -- unknown unknown
  Apcupsd version:            3.14.14 (31 May 2016)
  Source code location:       .
  Install binaries:           /usr/bin
  Install config files:       /etc/apcupsd
  Install man files:          ${prefix}/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++ 14.1.1
  Preprocessor flags:          -I/usr/local/include -I$(topdir)/src/libusbhid
  Compiler flags:             -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -fno-exceptions -fno-rtti -Wall -Wno-unused-result 
  Linker:                     gcc
  Linker flags:               -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -L/usr/local/lib
  Host and version:           unknown unknown
  Shutdown Program:           /usr/bin/shutdown
  Port/Device:                /dev/usb/hid/hiddev[0-9]
  Network Info Port (CGI):    3551
  UPSTYPE                     usb
  UPSCABLE                    usb

  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
  MAN   apcaccess.8 -> apcaccess.man.txt
        src/lib
  MAN   apctest.8 -> apctest.man.txt
  MAN   apccontrol.8 -> apccontrol.man.txt
/bin/sh: line 1: man: command not found
/bin/sh: line 1: man: command not found
/bin/sh: line 1: man: command not found
  MAN   apcupsd.conf.5 -> apcupsd.conf.man.txt
/bin/sh: line 1: man: command not found
/bin/sh: line 1: man: command not found
        src/drivers
        src/libusbhid
        src/drivers/dumb
        src/drivers/apcsmart
        src/drivers/net
  CXX   src/libusbhid/parse.c
  CXX   src/drivers/dumb/dumboper.c
  CXX   src/drivers/net/net.c
  CXX   src/drivers/apcsmart/smart.c
  CXX   src/lib/apcconfig.c
  CXX   src/libusbhid/data.c
  CXX   src/drivers/dumb/dumbsetup.c
  CXX   src/libusbhid/descr.c
  AR    src/drivers/net/libnetdrv.a
  CXX   src/lib/apcerror.c
  CXX   src/lib/apcevents.c
  CXX   src/drivers/apcsmart/smarteeprom.c
  CXX   src/libusbhid/HidUps.cpp
  AR    src/drivers/dumb/libdumbdrv.a
  CXX   src/drivers/apcsmart/smartoper.c
  CXX   src/lib/apcexec.c
  CXX   src/lib/apcfile.c
  CXX   src/lib/apclibnis.c
  CXX   src/drivers/apcsmart/smartsetup.c
  CXX   src/lib/apclock.c
  CXX   src/drivers/apcsmart/smartsetup2.c
  CXX   src/lib/apclog.c
  CXX   src/lib/apcsignal.c
  CXX   src/lib/apcstatus.c
  AR    src/drivers/apcsmart/libapcsmartdrv.a
        src/drivers/pcnet
        src/drivers/usb
  CXX   src/drivers/pcnet/pcnet.c
        src/drivers/usb/linux
  AR    src/libusbhid/libusbhid.a
  CXX   src/drivers/usb/linux/linux-usb.c
  CXX   src/lib/asys.c
  CXX   src/lib/newups.c
        src/drivers/snmplite
  CXX   src/drivers/snmplite/apc-mib.cpp
  AR    src/drivers/pcnet/libpcnetdrv.a
        src/drivers/modbus
  CXX   src/drivers/snmplite/asn.cpp
  CXX   src/drivers/modbus/mapping.cpp
  CXX   src/drivers/usb/usb.c
  CXX   src/drivers/modbus/modbus.cpp
  CXX   src/lib/md5.c
  CXX   src/drivers/snmplite/mge-mib.cpp
  CXX   src/lib/statmgr.cpp
  CXX   src/drivers/modbus/ModbusComm.cpp
  AR    src/drivers/usb/libusbdrv.a
  CXX   src/drivers/snmplite/mibs.cpp
  CXX   src/drivers/snmplite/rfc1628-mib.cpp
  CXX   src/lib/gethostname.c
  CXX   src/lib/amutex.cpp
  CXX   src/drivers/modbus/ModbusRs232Comm.cpp
  CXX   src/drivers/snmplite/snmp.cpp
  CXX   src/drivers/modbus/ModbusUsbComm.cpp
  CXX   src/drivers/snmplite/snmplite.cpp
  CXX   src/lib/astring.cpp
  AR    src/drivers/modbus/libmodbusdrv.a
  CXX   src/lib/autil.cpp
  CXX   src/lib/atimer.cpp
  CXX   src/lib/athread.cpp
  AR    src/drivers/snmplite/libsnmplitedrv.a
  CXX   src/drivers/drivers.c
  CXX   src/lib/usbvidpid.cpp
  CXX   src/lib/cloexec.c
  AR    src/drivers/libdrivers.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
upsfetch.c: In function 'int fetch_data(const char*)':
upsfetch.c:119:10: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 170 [-Wformat-truncation=]
In file included from /usr/include/stdio.h:980,
                 from upsfetch.c:22:
In function 'int snprintf(char*, size_t, const char*, ...)',
    inlined from 'int fetch_data(const char*)' at upsfetch.c:118:22:
/usr/include/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 38 and 247 bytes into a destination of size 200
   54 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   55 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   56 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~~       
upsfetch.c: In function 'int fetch_events(const char*)':
upsfetch.c:158:11: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 170 [-Wformat-truncation=]
In function 'int snprintf(char*, size_t, const char*, ...)',
    inlined from 'int fetch_events(const char*)' at upsfetch.c:157:15:
/usr/include/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 38 and 247 bytes into a destination of size 200
   54 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   55 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   56 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~~       
  CXX   src/cgi/upsimage.c
  LD    src/cgi/upsstats.cgi
  LD    src/cgi/upsfstats.cgi
  LD    src/cgi/multimon.cgi
upsimage.c: In function 'void DrawText(gdImagePtr, int, int)':
upsimage.c:77:41: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=]
In file included from /usr/include/stdio.h:980,
                 from /build/apcupsd/src/apcupsd-3.14.14/include/apc.h:50,
                 from upsimage.c:28:
In function 'int snprintf(char*, size_t, const char*, ...)',
    inlined from 'void DrawText(gdImagePtr, int, int)' at upsimage.c:77:20:
/usr/include/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 2 and 11 bytes into a destination of size 10
   54 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   55 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   56 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~~       
upsimage.c: In function 'void DrawText(gdImagePtr, int, int)':
upsimage.c:81:41: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=]
In function 'int snprintf(char*, size_t, const char*, ...)',
    inlined from 'void DrawText(gdImagePtr, int, int)' at upsimage.c:81:20:
/usr/include/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 2 and 11 bytes into a destination of size 10
   54 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   55 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   56 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~~       
upsimage.c: In function 'void DrawText(gdImagePtr, int, int)':
upsimage.c:85:41: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 10 [-Wformat-truncation=]
upsimage.c:85:41: note: directive argument in the range [-1288490187, 1288490387]
In function 'int snprintf(char*, size_t, const char*, ...)',
    inlined from 'void DrawText(gdImagePtr, int, int)' at upsimage.c:85:20:
/usr/include/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 2 and 12 bytes into a destination of size 10
   54 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   55 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   56 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~~       
upsimage.c: In function 'void DrawText(gdImagePtr, int, int)':
upsimage.c:89:41: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 10 [-Wformat-truncation=]
upsimage.c:89:41: note: directive argument in the range [-1717986916, 1717987116]
In function 'int snprintf(char*, size_t, const char*, ...)',
    inlined from 'void DrawText(gdImagePtr, int, int)' at upsimage.c:89:20:
/usr/include/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 2 and 12 bytes into a destination of size 10
   54 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   55 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   56 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~~       
upsimage.c: In function 'void DrawText(gdImagePtr, int, int)':
upsimage.c:93:41: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 10 [-Wformat-truncation=]
upsimage.c:93:41: note: directive argument in the range [-2147483645, 2147483647]
In function 'int snprintf(char*, size_t, const char*, ...)',
    inlined from 'void DrawText(gdImagePtr, int, int)' at upsimage.c:93:20:
/usr/include/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 2 and 12 bytes into a destination of size 10
   54 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   55 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   56 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~~       
  LD    src/cgi/upsimage.cgi
  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/apcupsd
  LD    src/apcaccess
  LD    src/smtp
  LD    src/apctest
        platforms
        platforms/etc
        platforms/unknown
==> Entering fakeroot environment...
==> Starting package()...
        doc
        src
        src/drivers
        src/lib
        src/libusbhid
  MKDIR /build/apcupsd/pkg/apcupsd/usr/share/man/man8
        src/drivers/apcsmart
        src/drivers/dumb
  COPY  apcupsd.8 => /build/apcupsd/pkg/apcupsd/usr/share/man/man8/apcupsd.8
  COPY  apcaccess.8 => /build/apcupsd/pkg/apcupsd/usr/share/man/man8/apcaccess.8
  COPY  apctest.8 => /build/apcupsd/pkg/apcupsd/usr/share/man/man8/apctest.8
  COPY  apccontrol.8 => /build/apcupsd/pkg/apcupsd/usr/share/man/man8/apccontrol.8
  MKDIR /build/apcupsd/pkg/apcupsd/usr/share/man/man5
        src/drivers/net
        src/drivers/pcnet
  COPY  apcupsd.conf.5 => /build/apcupsd/pkg/apcupsd/usr/share/man/man5/apcupsd.conf.5
        src/drivers/usb
        src/drivers/snmplite
        src/drivers/usb/linux
        src/drivers/modbus
        src/cgi
  MKDIR /build/apcupsd/pkg/apcupsd/etc/apcupsd
  COPY  multimon.cgi => /build/apcupsd/pkg/apcupsd/etc/apcupsd
  COPY  upsstats.cgi => /build/apcupsd/pkg/apcupsd/etc/apcupsd
  COPY  upsfstats.cgi => /build/apcupsd/pkg/apcupsd/etc/apcupsd
  COPY  upsimage.cgi => /build/apcupsd/pkg/apcupsd/etc/apcupsd
  MKDIR /build/apcupsd/pkg/apcupsd/etc/apcupsd
  COPY  apcupsd.css => /build/apcupsd/pkg/apcupsd/etc/apcupsd/apcupsd.css
  COPY  hosts.conf => /build/apcupsd/pkg/apcupsd/etc/apcupsd/hosts.conf
  COPY  multimon.conf => /build/apcupsd/pkg/apcupsd/etc/apcupsd/multimon.conf
  MKDIR /build/apcupsd/pkg/apcupsd/usr/bin
  COPY  apcupsd => /build/apcupsd/pkg/apcupsd/usr/bin/apcupsd
  COPY  apctest => /build/apcupsd/pkg/apcupsd/usr/bin/apctest
  COPY  apcaccess => /build/apcupsd/pkg/apcupsd/usr/bin/apcaccess
  COPY  smtp => /build/apcupsd/pkg/apcupsd/usr/bin/smtp
        platforms
        platforms/etc
  COPY  apcupsd.conf => /build/apcupsd/pkg/apcupsd/etc/apcupsd/apcupsd.conf
  COPY  changeme => /build/apcupsd/pkg/apcupsd/etc/apcupsd/changeme
  COPY  commfailure => /build/apcupsd/pkg/apcupsd/etc/apcupsd/commfailure
  COPY  commok => /build/apcupsd/pkg/apcupsd/etc/apcupsd/commok
  COPY  offbattery => /build/apcupsd/pkg/apcupsd/etc/apcupsd/offbattery
  COPY  onbattery => /build/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 => /build/apcupsd/pkg/apcupsd/etc/apcupsd/apccontrol
  MKDIR /build/apcupsd/pkg/apcupsd/usr/share/hal/fdi/policy/20thirdparty
  COPY  80-apcupsd-ups-policy.fdi => /build/apcupsd/pkg/apcupsd/usr/share/hal/fdi/policy/20thirdparty
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "apcupsd"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: apcupsd 3.14.14-8 (Mon Jul 15 04:17:02 2024)
==> Cleaning up...