Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/apcupsd.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1658350321.710723/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vya3c80q:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vya3c80q:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f8e6dc5263804624828b49e260b822ac', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1658350321.710723/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vya3c80q:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/apcupsd.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658275200 Wrote: /builddir/build/SRPMS/apcupsd-3.14.14-26.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/apcupsd.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1658350321.710723/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vya3c80q:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vya3c80q:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '07f84e2ecc5c4cab9872ed9aaef07c52', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1658350321.710723/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vya3c80q:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/apcupsd.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658275200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.npMqfc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf apcupsd-3.14.14 + /usr/bin/gzip -dc /builddir/build/SOURCES/apcupsd-3.14.14.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd apcupsd-3.14.14 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/apcupsd-3.14.9-fixgui.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/patch-format-security + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + printf 'install:\n\techo skipped\n' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.lxTHli + umask 022 + cd /builddir/build/BUILD + cd apcupsd-3.14.14 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./autoconf/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./autoconf/config.sub ++ basename ./autoconf/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./autoconf/config.sub '/usr/lib/rpm/redhat/config.sub' -> './autoconf/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./autoconf/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./autoconf/config.guess ++ basename ./autoconf/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./autoconf/config.guess '/usr/lib/rpm/redhat/config.guess' -> './autoconf/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --sysconfdir=/etc/apcupsd --with-cgi-bin=/var/www/apcupsd --sbindir=/sbin --enable-cgi --enable-pthreads --enable-net --enable-apcsmart --enable-dumb --enable-net-snmp --enable-snmp --enable-usb --enable-modbus-usb --enable-gapcmon --enable-pcnet --with-serial-dev= --with-upstype=usb --with-upscable=usb --with-lock-dir=/var/lock APCUPSD_MAIL=/bin/mail configure: WARNING: unrecognized options: --disable-dependency-tracking, --enable-pthreads, --enable-net-snmp checking for true... /usr/bin/true checking for false... /usr/bin/false checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu 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 x86_64-redhat-linux-gnu-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/sbin/shutdown checking for mail... /bin/mail checking for wall... /usr/bin/wall checking for sh... /usr/bin/sh checking for GNU make... make checking for x86_64-redhat-linux-gnu-ranlib... no 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 x86_64-redhat-linux-gnu-ar... no checking for ar... ar checking for mv... /usr/bin/mv checking for x86_64-redhat-linux-gnu-windres... no checking for windres... no checking for x86_64-redhat-linux-gnu-strip... no checking for x86_64-redhat-linux-gnu-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... no checking for strlcat... no 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... 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 x86_64-redhat-linux-gnu-pkg-config... /usr/bin/x86_64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for GAPCMON... yes checking how many arguments gethostbyname_r() takes... six checking if libsupc++ is required... no 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/redhat/apcupsd config.status: creating platforms/redhat/apcupsd.spec config.status: creating platforms/redhat/awkhaltprog config.status: creating include/libusb.h config.status: creating src/cgi/cgiconfig.h config.status: creating include/apcconfig.h configure: WARNING: unrecognized options: --disable-dependency-tracking, --enable-pthreads, --enable-net-snmp Configuration on Wed Jul 20 20:54:17 UTC 2022: Host: x86_64-redhat-linux-gnu -- redhat Enterprise 9.0 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++ 11.2.1 Preprocessor flags: -I/usr/local/include -I$(topdir)/src/libusbhid Compiler flags: -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-exceptions -fno-rtti -Wall -Wno-unused-result Linker: g++ Linker flags: -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -L/usr/local/lib64 -L/usr/local/lib Host and version: redhat Enterprise 9.0 Shutdown Program: /usr/sbin/shutdown Port/Device: 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: /var/www/apcupsd with-libwrap: enable-pthreads: yes enable-dist-install: yes enable-gapcmon: yes enable-apcagent: no Configuration complete: Run 'make' to build apcuspd. + /usr/bin/make -O -j2 src doc src/lib MAN apcupsd.8 -> apcupsd.man.txt /bin/sh: line 1: man: command not found MAN apcaccess.8 -> apcaccess.man.txt /bin/sh: line 1: man: command not found MAN apctest.8 -> apctest.man.txt /bin/sh: line 1: man: command not found MAN apccontrol.8 -> apccontrol.man.txt /bin/sh: line 1: man: command not found MAN apcupsd.conf.5 -> apcupsd.conf.man.txt /bin/sh: line 1: man: command not found CXX src/lib/apcerror.c CXX src/lib/apcconfig.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 src/drivers src/drivers/apcsmart CXX src/lib/apclog.c CXX src/lib/apcsignal.c CXX src/drivers/apcsmart/smart.c CXX src/lib/apcstatus.c CXX src/drivers/apcsmart/smarteeprom.c CXX src/lib/asys.c CXX src/drivers/apcsmart/smartoper.c CXX src/lib/newups.c CXX src/drivers/apcsmart/smartsetup.c CXX src/lib/md5.c CXX src/drivers/apcsmart/smartsetup2.c AR src/drivers/apcsmart/libapcsmartdrv.a src/drivers/dumb CXX src/drivers/dumb/dumboper.c CXX src/lib/statmgr.cpp CXX src/lib/gethostname.c CXX src/drivers/dumb/dumbsetup.c AR src/drivers/dumb/libdumbdrv.a src/drivers/net CXX src/lib/amutex.cpp CXX src/lib/astring.cpp CXX src/lib/autil.cpp CXX src/drivers/net/net.c AR src/drivers/net/libnetdrv.a src/drivers/pcnet CXX src/lib/atimer.cpp CXX src/lib/athread.cpp CXX src/lib/usbvidpid.cpp CXX src/lib/cloexec.c AR src/lib/libapc.a src/libusbhid CXX src/drivers/pcnet/pcnet.c AR src/drivers/pcnet/libpcnetdrv.a src/drivers/usb src/drivers/usb/linux CXX src/libusbhid/parse.c CXX src/libusbhid/data.c CXX src/drivers/usb/linux/linux-usb.c CXX src/libusbhid/descr.c CXX src/libusbhid/HidUps.cpp AR src/libusbhid/libusbhid.a src/gapcmon CXX src/drivers/usb/usb.c AR src/drivers/usb/libusbdrv.a src/drivers/snmplite CXX src/gapcmon/eggtrayicon.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtksocket.h:33, from /usr/include/gtk-2.0/gtk/gtkplug.h:34, from eggtrayicon.h:27, from eggtrayicon.c:36: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gdk/gdkprivate.h:30, from /usr/include/gtk-2.0/gdk/gdkx.h:30, from eggtrayicon.c:29: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ 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/gapcmon/gapcmon.c In file included from /usr/include/gconf/2/gconf/gconf-schema.h:26, from /usr/include/gconf/2/gconf/gconf.h:27, from /usr/include/gconf/2/gconf/gconf-client.h:25, from gapcmon.c:86: /usr/include/gconf/2/gconf/gconf-value.h:139:3: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 139 | GTime mod_time; /* time of the modification */ | ^~~~~ /usr/include/gconf/2/gconf/gconf-value.h:144:1: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 144 | GTime gconf_meta_info_mod_time (GConfMetaInfo *gcmi); | ^~~~~ /usr/include/gconf/2/gconf/gconf-value.h:153:46: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 153 | GTime mod_time); | ^~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from gapcmon.c:87: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/gconf/2/gconf/gconf-client.h:24, from gapcmon.c:86: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from gapcmon.c:87: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/gconf/2/gconf/gconf-client.h:24, from gapcmon.c:86: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ gapcmon.c: In function 'lg_graph_draw_grid_lines': gapcmon.c:770:17: warning: variable 'drawing_area' set but not used [-Wunused-but-set-variable] 770 | GtkWidget *drawing_area = NULL; | ^~~~~~~~~~~~ gapcmon.c: In function 'lg_graph_configure_event_cb': gapcmon.c:1362:18: warning: variable 'clip_area' set but not used [-Wunused-but-set-variable] 1362 | GdkRectangle clip_area; | ^~~~~~~~~ gapcmon.c: In function 'gapc_util_change_icons': gapcmon.c:1631:10: warning: 'gdk_pixbuf_unref' is deprecated: Use 'g_object_unref' instead [-Wdeprecated-declarations] 1631 | gdk_pixbuf_unref(scaled); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:34, from /usr/include/gtk-2.0/gdk/gdkpixbuf.h:37, from /usr/include/gtk-2.0/gdk/gdkcairo.h:28, from /usr/include/gtk-2.0/gdk/gdk.h:33, from /usr/include/gtk-2.0/gtk/gtk.h:32, from gapcmon.c:87: /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:168:12: note: declared here 168 | void gdk_pixbuf_unref (GdkPixbuf *pixbuf); | ^~~~~~~~~~~~~~~~ gapcmon.c: In function 'gapc_monitor_update': gapcmon.c:2120:53: warning: variable 'dCharge' set but not used [-Wunused-but-set-variable] 2120 | gdouble dValue = 0.00, dScale = 0.0, dtmp = 0.0, dCharge = 0.0, d_loadpct = 0.0, d_watt = 0.0; | ^~~~~~~ gapcmon.c: In function 'gapc_panel_about_page': gapcmon.c:4526:4: warning: 'gdk_pixbuf_unref' is deprecated: Use 'g_object_unref' instead [-Wdeprecated-declarations] 4526 | gdk_pixbuf_unref(scaled); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:34, from /usr/include/gtk-2.0/gdk/gdkpixbuf.h:37, from /usr/include/gtk-2.0/gdk/gdkcairo.h:28, from /usr/include/gtk-2.0/gdk/gdk.h:33, from /usr/include/gtk-2.0/gtk/gtk.h:32, from gapcmon.c:87: /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:168:12: note: declared here 168 | void gdk_pixbuf_unref (GdkPixbuf *pixbuf); | ^~~~~~~~~~~~~~~~ gapcmon.c: In function 'cb_panel_preferences_gconf_changed': gapcmon.c:4822:34: warning: variable 'b_add' set but not used [-Wunused-but-set-variable] 4822 | gboolean b_m_enabled = FALSE, b_add = TRUE, b_active_valid = FALSE; | ^~~~~ gapcmon.c:4821:13: warning: variable 'b_m_valid' set but not used [-Wunused-but-set-variable] 4821 | gboolean b_m_valid = FALSE; | ^~~~~~~~~ gapcmon.c:4820:13: warning: variable 'b_k_is_dir' set but not used [-Wunused-but-set-variable] 4820 | gboolean b_k_is_dir = FALSE; | ^~~~~~~~~~ gapcmon.c: In function 'cb_monitor_interface_destroy': gapcmon.c:5235:4: warning: 'g_mutex_free' is deprecated [-Wdeprecated-declarations] 5235 | g_mutex_free(pm->gm_update); | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/gconf/2/gconf/gconf-client.h:24, from gapcmon.c:86: /usr/include/glib-2.0/glib/deprecated/gthread.h:275:17: note: declared here 275 | void g_mutex_free (GMutex *mutex); | ^~~~~~~~~~~~ gapcmon.c:5241:10: warning: 'g_mutex_free' is deprecated [-Wdeprecated-declarations] 5241 | g_mutex_free(pm->phs.sq[h_index].gm_graph); | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/gconf/2/gconf/gconf-client.h:24, from gapcmon.c:86: /usr/include/glib-2.0/glib/deprecated/gthread.h:275:17: note: declared here 275 | void g_mutex_free (GMutex *mutex); | ^~~~~~~~~~~~ gapcmon.c: In function 'gapc_monitor_history_page': gapcmon.c:5546:10: warning: 'g_mutex_free' is deprecated [-Wdeprecated-declarations] 5546 | g_mutex_free(pm->phs.sq[h_index].gm_graph); | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/gconf/2/gconf/gconf-client.h:24, from gapcmon.c:86: /usr/include/glib-2.0/glib/deprecated/gthread.h:275:17: note: declared here 275 | void g_mutex_free (GMutex *mutex); | ^~~~~~~~~~~~ gapcmon.c:5548:7: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations] 5548 | pm->phs.sq[h_index].gm_graph = g_mutex_new(); | ^~ In file included from /usr/include/glib-2.0/glib.h:112, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/gconf/2/gconf/gconf-client.h:24, from gapcmon.c:86: /usr/include/glib-2.0/glib/deprecated/gthread.h:273:17: note: declared here 273 | GMutex * g_mutex_new (void); | ^~~~~~~~~~~ gapcmon.c: In function 'gapc_monitor_interface_create': gapcmon.c:6243:4: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations] 6243 | pm->gm_update = g_mutex_new(); | ^~ In file included from /usr/include/glib-2.0/glib.h:112, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/gconf/2/gconf/gconf-client.h:24, from gapcmon.c:86: /usr/include/glib-2.0/glib/deprecated/gthread.h:273:17: note: declared here 273 | GMutex * g_mutex_new (void); | ^~~~~~~~~~~ gapcmon.c:6264:7: warning: 'g_thread_create' is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations] 6264 | g_thread_create((GThreadFunc) gapc_net_thread_qwork, pm, TRUE, NULL); | ^~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/gconf/2/gconf/gconf-client.h:24, from gapcmon.c:86: /usr/include/glib-2.0/glib/deprecated/gthread.h:100:10: note: declared here 100 | GThread *g_thread_create (GThreadFunc func, | ^~~~~~~~~~~~~~~ gapcmon.c: In function 'main': gapcmon.c:6452:4: warning: 'g_type_init' is deprecated [-Wdeprecated-declarations] 6452 | g_type_init(); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/gconf/2/gconf/gconf-client.h:24, from gapcmon.c:86: /usr/include/glib-2.0/gobject/gtype.h:691:23: note: declared here 691 | void g_type_init (void); | ^~~~~~~~~~~ gapcmon.c:6453:4: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] 6453 | g_thread_init(NULL); | ^~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/gconf/2/gconf/gconf-client.h:24, from gapcmon.c:86: /usr/include/glib-2.0/glib/deprecated/gthread.h:261:10: note: declared here 261 | void g_thread_init (gpointer vtable); | ^~~~~~~~~~~~~ gapcmon.c:6446:15: warning: variable 'window' set but not used [-Wunused-but-set-variable] 6446 | GtkWidget *window = NULL; | ^~~~~~ CXX src/gapcmon/gethostname.c CXX src/drivers/snmplite/snmplite.cpp AR src/drivers/snmplite/libsnmplitedrv.a src/drivers/modbus CXX src/drivers/modbus/mapping.cpp CXX src/drivers/modbus/modbus.cpp CXX src/drivers/modbus/ModbusComm.cpp CXX src/drivers/modbus/ModbusRs232Comm.cpp CXX src/drivers/modbus/ModbusUsbComm.cpp AR src/drivers/modbus/libmodbusdrv.a CXX src/drivers/drivers.c AR src/drivers/libdrivers.a src/cgi CXX src/cgi/upsfetch.c upsfetch.c: In function 'fetch_data(char const*)': 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); | ^~ ~~~~~ In file included from /usr/include/stdio.h:888, from upsfetch.c:22: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 38 and 247 bytes into a destination of size 200 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ upsfetch.c: In function 'fetch_events(char const*)': 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); | ^~ ~~~~~ In file included from /usr/include/stdio.h:888, from upsfetch.c:22: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 38 and 247 bytes into a destination of size 200 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ LD src/gapcmon/gapcmon 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 upsimage.c: In function 'DrawText(gdImageStruct*, int, int)': upsimage.c:77:44: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 77 | (void) snprintf(text, sizeof(text), "%d", next); | ^ In file included from /usr/include/stdio.h:888, from /builddir/build/BUILD/apcupsd-3.14.14/include/apc.h:50, from upsimage.c:28: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 2 and 11 bytes into a destination of size 10 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ upsimage.c:81:44: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 81 | (void) snprintf(text, sizeof(text), "%d", next); | ^ In file included from /usr/include/stdio.h:888, from /builddir/build/BUILD/apcupsd-3.14.14/include/apc.h:50, from upsimage.c:28: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 2 and 11 bytes into a destination of size 10 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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); | ^~~~ In file included from /usr/include/stdio.h:888, from /builddir/build/BUILD/apcupsd-3.14.14/include/apc.h:50, from upsimage.c:28: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 2 and 12 bytes into a destination of size 10 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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); | ^~~~ In file included from /usr/include/stdio.h:888, from /builddir/build/BUILD/apcupsd-3.14.14/include/apc.h:50, from upsimage.c:28: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 2 and 12 bytes into a destination of size 10 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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); | ^~~~ In file included from /usr/include/stdio.h:888, from /builddir/build/BUILD/apcupsd-3.14.14/include/apc.h:50, from upsimage.c:28: /usr/include/bits/stdio2.h:71:35: note: '__snprintf_chk' output between 2 and 12 bytes into a destination of size 10 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ LD src/cgi/multimon.cgi LD src/cgi/upsstats.cgi LD src/cgi/upsfstats.cgi 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/smtp.c CXX src/apctest.c LD src/apcaccess LD src/apcupsd options.c:65:14: warning: 'pidfile' violates the C++ One Definition Rule [-Wodr] 65 | extern char *pidfile; | ^ lib/apcfile.c:54:13: note: type 'const char' should match type 'char' 54 | const char *pidfile = APCPID; | ^ lib/apcfile.c:54:13: note: 'pidfile' was previously declared here LD src/smtp LD src/apctest options.c:65:14: warning: 'pidfile' violates the C++ One Definition Rule [-Wodr] 65 | extern char *pidfile; | ^ lib/apcfile.c:54:13: note: type 'const char' should match type 'char' 54 | const char *pidfile = APCPID; | ^ lib/apcfile.c:54:13: note: 'pidfile' was previously declared here platforms platforms/etc platforms/redhat echo skipped skipped + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.lPbWq8 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64 + cd apcupsd-3.14.14 + mkdir -p /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/var/www/apcupsd + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64 'INSTALL=/usr/bin/install -p' src src/lib src/drivers src/drivers/apcsmart src/drivers/dumb src/drivers/net src/drivers/pcnet src/drivers/usb src/drivers/usb/linux src/drivers/snmplite src/drivers/modbus src/cgi COPY multimon.cgi => /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/var/www/apcupsd COPY upsstats.cgi => /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/var/www/apcupsd COPY upsfstats.cgi => /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/var/www/apcupsd COPY upsimage.cgi => /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/var/www/apcupsd MKDIR /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/etc/apcupsd COPY apcupsd.css => /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/etc/apcupsd/apcupsd.css COPY hosts.conf => /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/etc/apcupsd/hosts.conf COPY multimon.conf => /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/etc/apcupsd/multimon.conf src/libusbhid src/gapcmon MKDIR /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/usr/bin MKDIR /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/usr/share/pixmaps MKDIR /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/usr/share/applications COPY gapcmon => /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/usr/bin/gapcmon COPY gapcmon.desktop => /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/usr/share/applications/gapcmon.desktop COPY apcupsd.png => /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/usr/share/pixmaps/apcupsd.png COPY online.png => /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/usr/share/pixmaps/online.png COPY onbatt.png => /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/usr/share/pixmaps/onbatt.png COPY charging.png => /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/usr/share/pixmaps/charging.png COPY unplugged.png => /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/usr/share/pixmaps/unplugged.png COPY gapc_prefs.png => /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/usr/share/pixmaps/gapc_prefs.png MKDIR /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/sbin COPY apcupsd => /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/sbin/apcupsd COPY apctest => /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/sbin/apctest COPY apcaccess => /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/sbin/apcaccess COPY smtp => /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/sbin/smtp platforms platforms/etc COPY apcupsd.conf => /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/etc/apcupsd/apcupsd.conf COPY changeme => /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/etc/apcupsd/changeme COPY commfailure => /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/etc/apcupsd/commfailure COPY commok => /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/etc/apcupsd/commok COPY offbattery => /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/etc/apcupsd/offbattery COPY onbattery => /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/etc/apcupsd/onbattery platforms/redhat echo skipped skipped COPY apccontrol => /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/etc/apcupsd/apccontrol MKDIR /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/usr/share/hal/fdi/policy/20thirdparty COPY 80-apcupsd-ups-policy.fdi => /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/usr/share/hal/fdi/policy/20thirdparty doc MKDIR /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/usr/share/man/man8 COPY apcupsd.8 => /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/usr/share/man/man8/apcupsd.8 COPY apcaccess.8 => /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/usr/share/man/man8/apcaccess.8 COPY apctest.8 => /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/usr/share/man/man8/apctest.8 COPY apccontrol.8 => /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/usr/share/man/man8/apccontrol.8 MKDIR /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/usr/share/man/man5 COPY apcupsd.conf.5 => /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/usr/share/man/man5/apcupsd.conf.5 + install -m744 platforms/apccontrol /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/etc/apcupsd/apccontrol + install -p -D -m0644 /builddir/build/SOURCES/apcupsd.service /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/lib/systemd/system/apcupsd.service + install -p -D -m0755 /builddir/build/SOURCES/apcupsd_shutdown /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/lib/systemd/system-shutdown/apcupsd_shutdown + install -p -D -m0644 /builddir/build/SOURCES/apcupsd-httpd.conf /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/etc/httpd/conf.d/apcupsd.conf + install -p -D -m0644 /builddir/build/SOURCES/apcupsd.logrotate /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/etc/logrotate.d/apcupsd + install -p -D -m0644 /builddir/build/SOURCES/apcupsd64x64.png /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/usr/share/pixmaps/apcupsd64x64.png + desktop-file-install --vendor=fedora --dir=/builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/usr/share/applications --set-icon=apcupsd64x64 --delete-original /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/usr/share/applications/gapcmon.desktop + chmod -x examples/client.c examples/hid-set.c examples/hid-ups.c examples/megaclient.c examples/nagios_plugin_check_apcupsd.c examples/newslave.c examples/smartsim.c examples/snoopdecode.c examples/upsapm.c + rm examples/safe.apccontrol.in + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 3.14.14-26.el9 --unique-debug-suffix -3.14.14-26.el9.x86_64 --unique-debug-src-base apcupsd-3.14.14-26.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/apcupsd-3.14.14 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/sbin/apctest explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/sbin/apcaccess extracting debug info from /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/sbin/apcaccess extracting debug info from /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/sbin/apctest explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/sbin/apcupsd extracting debug info from /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/sbin/apcupsd explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/sbin/smtp extracting debug info from /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/sbin/smtp explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/usr/bin/gapcmon explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/var/www/apcupsd/multimon.cgi extracting debug info from /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/usr/bin/gapcmon extracting debug info from /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/var/www/apcupsd/multimon.cgi explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/var/www/apcupsd/upsfstats.cgi explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/var/www/apcupsd/upsimage.cgi extracting debug info from /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/var/www/apcupsd/upsfstats.cgi extracting debug info from /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/var/www/apcupsd/upsimage.cgi explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/var/www/apcupsd/upsstats.cgi extracting debug info from /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/var/www/apcupsd/upsstats.cgi original debug info size: 4076kB, size after compression: 2764kB /usr/lib/rpm/sepdebugcrcfix: Updated 9 CRC32s, 0 CRC32s did match. 2215 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /lib/systemd/system-shutdown/apcupsd_shutdown from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/apcupsd/onbattery from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/apcupsd/offbattery from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/apcupsd/commok from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/apcupsd/commfailure from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/apcupsd/changeme from /bin/sh to #!/usr/bin/sh Processing files: apcupsd-3.14.14-26.el9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.qC9HLw + umask 022 + cd /builddir/build/BUILD + cd apcupsd-3.14.14 + DOCDIR=/builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/usr/share/doc/apcupsd + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/usr/share/doc/apcupsd + cp -pr ChangeLog /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/usr/share/doc/apcupsd + cp -pr examples /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/usr/share/doc/apcupsd + cp -pr ReleaseNotes /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/usr/share/doc/apcupsd + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.d1T05g + umask 022 + cd /builddir/build/BUILD + cd apcupsd-3.14.14 + LICENSEDIR=/builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/usr/share/licenses/apcupsd + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/usr/share/licenses/apcupsd + cp -pr COPYING /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64/usr/share/licenses/apcupsd + RPM_EC=0 ++ jobs -p + exit 0 Provides: apcupsd = 3.14.14-26.el9 apcupsd(x86-64) = 3.14.14-26.el9 config(apcupsd) = 3.14.14-26.el9 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: /usr/bin/sh libc.so.6()(64bit) libc.so.6(GLIBC_2.10)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libusb-0.1.so.4()(64bit) rtld(GNU_HASH) Processing files: apcupsd-cgi-3.14.14-26.el9.x86_64 Provides: apcupsd-cgi = 3.14.14-26.el9 apcupsd-cgi(x86-64) = 3.14.14-26.el9 config(apcupsd-cgi) = 3.14.14-26.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libgd.so.3()(64bit) rtld(GNU_HASH) Processing files: apcupsd-gui-3.14.14-26.el9.x86_64 Provides: apcupsd-gui = 3.14.14-26.el9 apcupsd-gui(x86-64) = 3.14.14-26.el9 application() application(fedora-gapcmon.desktop) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libX11.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgconf-2.so.4()(64bit) libgdk-x11-2.0.so.0()(64bit) libgdk_pixbuf-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgthread-2.0.so.0()(64bit) libgtk-x11-2.0.so.0()(64bit) libpango-1.0.so.0()(64bit) rtld(GNU_HASH) Processing files: apcupsd-debugsource-3.14.14-26.el9.x86_64 Provides: apcupsd-debugsource = 3.14.14-26.el9 apcupsd-debugsource(x86-64) = 3.14.14-26.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: apcupsd-debuginfo-3.14.14-26.el9.x86_64 Provides: apcupsd-debuginfo = 3.14.14-26.el9 apcupsd-debuginfo(x86-64) = 3.14.14-26.el9 debuginfo(build-id) = 30ea39048b7f82c738726cd3634f7ec912fb6cd9 debuginfo(build-id) = 33769ec950b3868b4e02f427761a2d04be7931b6 debuginfo(build-id) = 854e49d3063d1870554c436ebee586a629987344 debuginfo(build-id) = d2d7cb26610cd5c7e18221ecacb807203ca3dabe Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: apcupsd-debugsource(x86-64) = 3.14.14-26.el9 Processing files: apcupsd-cgi-debuginfo-3.14.14-26.el9.x86_64 Provides: apcupsd-cgi-debuginfo = 3.14.14-26.el9 apcupsd-cgi-debuginfo(x86-64) = 3.14.14-26.el9 debuginfo(build-id) = 21374a2297bc055e4165a8c46521ee681de979be debuginfo(build-id) = 54af7b0447220d108bf81ef60c92599f99591da3 debuginfo(build-id) = 8c1e5138e4024256aa9f7beab28eec1c0ebe4fea debuginfo(build-id) = 91def4fc292f8d126182a138894744380bf1dc95 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: apcupsd-debugsource(x86-64) = 3.14.14-26.el9 Processing files: apcupsd-gui-debuginfo-3.14.14-26.el9.x86_64 Provides: apcupsd-gui-debuginfo = 3.14.14-26.el9 apcupsd-gui-debuginfo(x86-64) = 3.14.14-26.el9 debuginfo(build-id) = 8474b2985ab40afb58685970f2324d9bd54bb185 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: apcupsd-debugsource(x86-64) = 3.14.14-26.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64 Wrote: /builddir/build/RPMS/apcupsd-3.14.14-26.el9.x86_64.rpm Wrote: /builddir/build/RPMS/apcupsd-debuginfo-3.14.14-26.el9.x86_64.rpm Wrote: /builddir/build/RPMS/apcupsd-gui-debuginfo-3.14.14-26.el9.x86_64.rpm Wrote: /builddir/build/RPMS/apcupsd-debugsource-3.14.14-26.el9.x86_64.rpm Wrote: /builddir/build/RPMS/apcupsd-cgi-debuginfo-3.14.14-26.el9.x86_64.rpm Wrote: /builddir/build/RPMS/apcupsd-gui-3.14.14-26.el9.x86_64.rpm Wrote: /builddir/build/RPMS/apcupsd-cgi-3.14.14-26.el9.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.64QKFi + umask 022 + cd /builddir/build/BUILD + cd apcupsd-3.14.14 + /usr/bin/rm -rf /builddir/build/BUILDROOT/apcupsd-3.14.14-26.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0