<86>Sep 25 04:24:37 userdel[2570608]: delete user 'rooter' <86>Sep 25 04:24:37 groupadd[2570624]: group added to /etc/group: name=rooter, GID=702 <86>Sep 25 04:24:37 groupadd[2570624]: new group: name=rooter, GID=702 <86>Sep 25 04:24:37 useradd[2570650]: new user: name=rooter, UID=702, GID=702, home=/root, shell=/bin/bash <86>Sep 25 04:24:37 userdel[2570706]: delete user 'builder' <86>Sep 25 04:24:37 groupadd[2570755]: group added to /etc/group: name=builder, GID=703 <86>Sep 25 04:24:37 groupadd[2570755]: new group: name=builder, GID=703 <86>Sep 25 04:24:37 useradd[2570787]: new user: name=builder, UID=703, GID=703, home=/usr/src, shell=/bin/bash warning: Macro %gpl2only not found warning: Macro %fdl not found warning: Macro %gpl2only not found warning: Macro %gpl2only not found warning: Macro %__ not found <13>Sep 25 04:24:42 rpmi: libusb-1.0.24-alt1 sisyphus+279483.100.1.1 1626549441 installed <13>Sep 25 04:24:42 rpmi: libusb-compat-0.1.5-alt1 sisyphus+275409.100.2.2 1624579099 installed <13>Sep 25 04:24:42 rpmi: libncurses-6.2.20210123-alt2 sisyphus+283886.200.2.1 1630022599 installed <13>Sep 25 04:24:42 rpmi: libtinfo-devel-6.2.20210123-alt2 sisyphus+283886.200.2.1 1630022599 installed <13>Sep 25 04:24:42 rpmi: libX11-locales-3:1.7.2-alt1 sisyphus+279629.100.1.1 1626637383 installed <13>Sep 25 04:24:42 rpmi: xorg-proto-devel-2021.5-alt1 sisyphus+285490.100.1.1 1632124129 installed <13>Sep 25 04:24:42 rpmi: libXdmcp-1.1.3-alt1 sisyphus+278816.100.1.1 1626219231 installed <13>Sep 25 04:24:42 rpmi: libXau-1.0.9-alt1 sisyphus+278247.100.1.1 1626080736 installed <13>Sep 25 04:24:42 rpmi: libxcb-1.14-alt1 sisyphus+277968.100.1.3 1625952322 installed <13>Sep 25 04:24:45 rpmi: libxcb-devel-1.14-alt1 sisyphus+277968.100.1.3 1625952322 installed <13>Sep 25 04:24:45 rpmi: libX11-3:1.7.2-alt1 sisyphus+279629.100.1.1 1626637383 installed <13>Sep 25 04:24:45 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Sep 25 04:24:46 rpmi: libstdc++11-devel-11.2.1-alt1 sisyphus+285602.200.1.1 1632233545 installed <13>Sep 25 04:24:47 rpmi: gcc11-c++-11.2.1-alt1 sisyphus+285602.200.1.1 1632233545 installed <13>Sep 25 04:24:47 rpmi: gcc-c++-11-alt1 sisyphus+285602.400.1.1 1632238564 installed <13>Sep 25 04:24:47 rpmi: libX11-devel-3:1.7.2-alt1 sisyphus+279629.100.1.1 1626637383 installed <13>Sep 25 04:24:47 rpmi: libncurses-devel-6.2.20210123-alt2 sisyphus+283886.200.2.1 1630022599 installed <13>Sep 25 04:24:47 rpmi: libusb-compat-devel-0.1.5-alt1 sisyphus+275409.100.2.2 1624579099 installed <13>Sep 25 04:24:47 rpmi: rpm-build-licenses-3.0.0-alt1 sisyphus+241804.100.1.1 1574868053 installed <13>Sep 25 04:24:47 rpmi: makedepend-1.0.6-alt1 sisyphus+278314.100.1.1 1626087045 installed <13>Sep 25 04:24:47 rpmi: imake-1.0.7-alt3 sisyphus+275315.100.2.1 1624906759 installed <13>Sep 25 04:24:47 rpmi: hostinfo-2.2-alt7 sisyphus+278100.2200.1.1 1626058508 installed <13>Sep 25 04:24:47 rpmi: gzip-utils-1.10.0.31.34db-alt1 sisyphus+278099.1700.1.1 1626029145 installed warning: Macro %__ not found Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/apcupsd-3.14.14-alt1.nosrc.rpm (w1.gzdio) warning: Macro %__ not found Installing apcupsd-3.14.14-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.93202 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf apcupsd-3.14.14 + echo 'Source #0 (apcupsd-3.14.14.tar.gz):' Source #0 (apcupsd-3.14.14.tar.gz): + /bin/tar -xf - + /bin/gzip -dc /usr/src/RPM/SOURCES/apcupsd-3.14.14.tar.gz + cd apcupsd-3.14.14 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (apcupsd-3.14.6-alt-specific-configure.in.patch):' Patch #1 (apcupsd-3.14.6-alt-specific-configure.in.patch): + /usr/bin/patch -p0 patching file autoconf/configure.in Hunk #1 succeeded at 963 (offset -30 lines). Hunk #2 succeeded at 1133 (offset -30 lines). + echo 'Patch #3 (apcupsd-3.14.8-apctest.date.patch):' Patch #3 (apcupsd-3.14.8-apctest.date.patch): + /usr/bin/patch -p2 patching file src/apctest.c Hunk #1 succeeded at 1184 (offset -97 lines). + echo 'Patch #10 (apcupsd-3.14.4-hal_policy-Makefile.patch):' Patch #10 (apcupsd-3.14.4-hal_policy-Makefile.patch): + /usr/bin/patch -p0 patching file platforms/Makefile + tar xzf /usr/src/RPM/SOURCES/apcupsd-platforms-altlinux.tgz + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.93202 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd apcupsd-3.14.14 + export ac_cv_path_MAIL=/bin/mail + ac_cv_path_MAIL=/bin/mail + export ac_cv_path_ETAGS=/usr/bin/ctags + ac_cv_path_ETAGS=/usr/bin/ctags + export ac_cv_path_CTAGS=/usr/bin/ctags + ac_cv_path_CTAGS=/usr/bin/ctags + autoconf -I autoconf autoconf/configure.in + export ac_cv_path_SHUTDOWN=/sbin/shutdown + ac_cv_path_SHUTDOWN=/sbin/shutdown + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -DCSS_DIR="\"./\""' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -DCSS_DIR="\"./\""' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -DCSS_DIR="\"./\""' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -DCSS_DIR="\"./\""' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -DCSS_DIR="\"\\\"./\\\"\""' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + sort -u + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -ri dirname -- '{}' + readlink -e -- ./configure + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --sbindir=/sbin --sysconfdir=/etc/apcupsd --with-log-dir=/var/lib/apcupsd --with-lock-dir=/var/lock/serial --disable-cgi --enable-usb --enable-modbus-usb --enable-net --enable-snmp --with-cgi-bin=/var/www/cgi-bin --with-nisip=127.0.0.1 --with-distname=altlinux configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --without-included-gettext checking for true... /bin/true checking for false... /bin/false checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking for x86_64-alt-linux-g++... x86_64-alt-linux-g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether x86_64-alt-linux-g++ accepts -g... yes checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking whether we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for a BSD-compatible install... /bin/install -c checking for gawk... gawk checking for library containing strerror... none required checking for shutdown... (cached) /sbin/shutdown 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 x86_64-alt-linux-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 x86_64-alt-linux-ar... no checking for ar... ar checking for mv... /bin/mv checking for x86_64-alt-linux-windres... no checking for windres... no checking for x86_64-alt-linux-strip... no checking for x86_64-alt-linux-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 Using Linux USB driver. checking for libusb-config... /usr/bin/libusb-config Using generic libusb USB driver. checking for x86_64-alt-linux-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 Disabling cgi support... distname set to altlinux 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/apccontrol config.status: creating platforms/altlinux/Makefile config.status: creating platforms/altlinux/apcupsd config.status: creating platforms/altlinux/awkhaltprog config.status: creating include/libusb.h config.status: creating include/apcconfig.h configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --without-included-gettext Configuration on Sat Sep 25 04:25:05 UTC 2021: Host: x86_64-alt-linux-gnu -- altlinux 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/lib/apcupsd LOCK dir (for serial port) /var/lock/serial Power Fail dir /etc/apcupsd Compiler: x86_64-alt-linux-g++ 11.2.1 Preprocessor flags: -I/usr/local/include -I$(topdir)/src/libusbhid Compiler flags: -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -DCSS_DIR="\"./\"" -fno-exceptions -fno-rtti -Wall -Wno-unused-result Linker: x86_64-alt-linux-gcc Linker flags: -L/usr/local/lib64 -L/usr/local/lib Host and version: altlinux Shutdown Program: /sbin/shutdown 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: 127.0.0.1 enable-cgi: no with-cgi-bin: /var/www/cgi-bin with-libwrap: enable-pthreads: yes enable-dist-install: yes enable-gapcmon: no enable-apcagent: no Configuration complete: Run 'make' to build apcuspd. + make make: Entering directory '/usr/src/RPM/BUILD/apcupsd-3.14.14' src src/lib 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/lib/libapc.a src/drivers src/drivers/apcsmart CXX src/drivers/apcsmart/smart.c CXX src/drivers/apcsmart/smarteeprom.c CXX src/drivers/apcsmart/smartoper.c CXX src/drivers/apcsmart/smartsetup.c CXX src/drivers/apcsmart/smartsetup2.c AR src/drivers/apcsmart/libapcsmartdrv.a src/drivers/dumb CXX src/drivers/dumb/dumboper.c CXX src/drivers/dumb/dumbsetup.c AR src/drivers/dumb/libdumbdrv.a src/drivers/net CXX src/drivers/net/net.c AR src/drivers/net/libnetdrv.a src/drivers/pcnet CXX src/drivers/pcnet/pcnet.c AR src/drivers/pcnet/libpcnetdrv.a src/drivers/usb src/drivers/usb/linux CXX src/drivers/usb/linux/linux-usb.c CXX src/drivers/usb/usb.c AR src/drivers/usb/libusbdrv.a src/drivers/snmplite 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 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/libusbhid CXX src/libusbhid/parse.c CXX src/libusbhid/data.c CXX src/libusbhid/descr.c CXX src/libusbhid/HidUps.cpp AR src/libusbhid/libusbhid.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 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 CXX src/apcaccess.c LD src/apcaccess CXX src/apctest.c 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 CXX src/smtp.c LD src/smtp platforms platforms/etc platforms/altlinux doc MAN apcupsd.8 -> apcupsd.man.txt /bin/sh: man: command not found MAN apcaccess.8 -> apcaccess.man.txt /bin/sh: man: command not found MAN apctest.8 -> apctest.man.txt /bin/sh: man: command not found MAN apccontrol.8 -> apccontrol.man.txt /bin/sh: man: command not found MAN apcupsd.conf.5 -> apcupsd.conf.man.txt /bin/sh: man: command not found make: Leaving directory '/usr/src/RPM/BUILD/apcupsd-3.14.14' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.4296 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/apcupsd-buildroot + : + /bin/rm -rf -- /usr/src/tmp/apcupsd-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd apcupsd-3.14.14 + mkdir -p /usr/src/tmp/apcupsd-buildroot/usr/sbin /usr/src/tmp/apcupsd-buildroot/etc/rc.d/init.d /usr/src/tmp/apcupsd-buildroot/var/www/cgi-bin /usr/src/tmp/apcupsd-buildroot/var/lib/apcupsd + /usr/bin/make 'INSTALL=/usr/libexec/rpm-build/install -p' prefix=/usr/src/tmp/apcupsd-buildroot/usr exec_prefix=/usr/src/tmp/apcupsd-buildroot/usr bindir=/usr/src/tmp/apcupsd-buildroot/usr/bin sbindir=/usr/src/tmp/apcupsd-buildroot/usr/sbin sysconfdir=/usr/src/tmp/apcupsd-buildroot/etc datadir=/usr/src/tmp/apcupsd-buildroot/usr/share includedir=/usr/src/tmp/apcupsd-buildroot/usr/include libdir=/usr/src/tmp/apcupsd-buildroot/usr/lib64 libexecdir=/usr/src/tmp/apcupsd-buildroot/usr/lib localstatedir=/usr/src/tmp/apcupsd-buildroot/var/lib sharedstatedir=/usr/src/tmp/apcupsd-buildroot/var/lib mandir=/usr/src/tmp/apcupsd-buildroot/usr/share/man infodir=/usr/src/tmp/apcupsd-buildroot/usr/share/info install sysconfdir=/usr/src/tmp/apcupsd-buildroot/etc/apcupsd sbindir=/usr/src/tmp/apcupsd-buildroot/sbin mandir=/usr/src/tmp/apcupsd-buildroot/usr/share/man cgibin=/usr/src/tmp/apcupsd-buildroot/var/www/cgi-bin CSS_DIR=/usr/src/tmp/apcupsd-buildroot/var/www/cgi-bin make: Entering directory '/usr/src/RPM/BUILD/apcupsd-3.14.14' 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/libusbhid MKDIR /usr/src/tmp/apcupsd-buildroot/sbin COPY apcupsd => /usr/src/tmp/apcupsd-buildroot/sbin/apcupsd COPY apctest => /usr/src/tmp/apcupsd-buildroot/sbin/apctest COPY apcaccess => /usr/src/tmp/apcupsd-buildroot/sbin/apcaccess COPY smtp => /usr/src/tmp/apcupsd-buildroot/sbin/smtp platforms platforms/etc MKDIR /usr/src/tmp/apcupsd-buildroot/etc/apcupsd COPY apcupsd.conf => /usr/src/tmp/apcupsd-buildroot/etc/apcupsd/apcupsd.conf COPY changeme => /usr/src/tmp/apcupsd-buildroot/etc/apcupsd/changeme COPY commfailure => /usr/src/tmp/apcupsd-buildroot/etc/apcupsd/commfailure COPY commok => /usr/src/tmp/apcupsd-buildroot/etc/apcupsd/commok COPY offbattery => /usr/src/tmp/apcupsd-buildroot/etc/apcupsd/offbattery COPY onbattery => /usr/src/tmp/apcupsd-buildroot/etc/apcupsd/onbattery platforms/altlinux ------------------------------------------------------------ AltLinux distribution installation ------------------------------------------------------------ COPY apcupsd => /usr/src/tmp/apcupsd-buildroot/etc/rc.d/init.d ================================================= apcupsd script installation for AltLinux complete. You should now edit /etc/apcupsd/apcupsd.conf to correspond to your setup then start the apcupsd daemon with: /etc/rc.d/init.d/apcupsd start thereafter when you reboot, it will be stopped and started automatically. ================================================= COPY apccontrol => /usr/src/tmp/apcupsd-buildroot/etc/apcupsd/apccontrol MKDIR /usr/src/tmp/apcupsd-buildroot/usr/share/hal/fdi/policy/20thirdparty COPY 80-apcupsd-ups-policy.fdi => /usr/src/tmp/apcupsd-buildroot/usr/share/hal/fdi/policy/20thirdparty doc MKDIR /usr/src/tmp/apcupsd-buildroot/usr/share/man/man8 COPY apcupsd.8 => /usr/src/tmp/apcupsd-buildroot/usr/share/man/man8/apcupsd.8 COPY apcaccess.8 => /usr/src/tmp/apcupsd-buildroot/usr/share/man/man8/apcaccess.8 COPY apctest.8 => /usr/src/tmp/apcupsd-buildroot/usr/share/man/man8/apctest.8 COPY apccontrol.8 => /usr/src/tmp/apcupsd-buildroot/usr/share/man/man8/apccontrol.8 MKDIR /usr/src/tmp/apcupsd-buildroot/usr/share/man/man5 COPY apcupsd.conf.5 => /usr/src/tmp/apcupsd-buildroot/usr/share/man/man5/apcupsd.conf.5 make: Leaving directory '/usr/src/RPM/BUILD/apcupsd-3.14.14' + pushd /usr/src/tmp/apcupsd-buildroot/sbin ~/tmp/apcupsd-buildroot/sbin ~/RPM/BUILD/apcupsd-3.14.14 + for f in apc* + ln -s ../../sbin/apcaccess ../usr/sbin/ + for f in apc* + ln -s ../../sbin/apctest ../usr/sbin/ + for f in apc* + ln -s ../../sbin/apcupsd ../usr/sbin/ + popd ~/RPM/BUILD/apcupsd-3.14.14 + cp /usr/src/RPM/SOURCES/apcupsd-get_killpower_delay /usr/src/tmp/apcupsd-buildroot//etc/apcupsd/get_killpower_delay + cp /usr/src/RPM/SOURCES/apcupsd-upsdmessages /usr/src/tmp/apcupsd-buildroot//etc/apcupsd/upsdmessages + mkdir /usr/src/tmp/apcupsd-buildroot//etc/sysconfig + cp /usr/src/RPM/SOURCES/apcupsdmessages /usr/src/tmp/apcupsd-buildroot//etc/sysconfig/apcupsdmessages + pushd /usr/src/tmp/apcupsd-buildroot//etc/apcupsd ~/tmp/apcupsd-buildroot/etc/apcupsd ~/RPM/BUILD/apcupsd-3.14.14 + sh /usr/src/RPM/SOURCES/apcupsd-makesymlinks + popd ~/RPM/BUILD/apcupsd-3.14.14 + cp /usr/src/RPM/SOURCES/apcupsd-README.ALT.utf8 README.ALT.utf8 + cp /usr/src/RPM/BUILD/apcupsd-3.14.14/src/apctest /usr/src/tmp/apcupsd-buildroot//usr/sbin/ + touch /usr/src/tmp/apcupsd-buildroot/etc/nologin /usr/src/tmp/apcupsd-buildroot/etc/apcupsd/powerfail + gzip ChangeLog + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/apcupsd-buildroot (auto) Verifying and fixing files in /usr/src/tmp/apcupsd-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/apcupsd-buildroot/ (default) Compressing files in /usr/src/tmp/apcupsd-buildroot (auto) Adjusting library links in /usr/src/tmp/apcupsd-buildroot ./var/lib: (from :0) Verifying ELF objects in /usr/src/tmp/apcupsd-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Processing files: apcupsd-3.14.14-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.37078 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd apcupsd-3.14.14 + DOCDIR=/usr/src/tmp/apcupsd-buildroot/usr/share/doc/apcupsd-3.14.14 + export DOCDIR + rm -rf /usr/src/tmp/apcupsd-buildroot/usr/share/doc/apcupsd-3.14.14 + /bin/mkdir -p /usr/src/tmp/apcupsd-buildroot/usr/share/doc/apcupsd-3.14.14 + cp -prL ChangeLog.gz Developers ReleaseNotes README.ALT.utf8 /usr/src/tmp/apcupsd-buildroot/usr/share/doc/apcupsd-3.14.14 + chmod -R go-w /usr/src/tmp/apcupsd-buildroot/usr/share/doc/apcupsd-3.14.14 + chmod -R a+rX /usr/src/tmp/apcupsd-buildroot/usr/share/doc/apcupsd-3.14.14 + exit 0 warning: File listed twice: /etc/apcupsd/powerfail Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.nK5Qjq find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.rmAfQn find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) find-requires: FINDPACKAGE-COMMANDS: rm sleep Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.UX8Vgm Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.yeyvom Requires: /bin/sh, /etc/rc.d/init.d, /etc/rc.d/init.d(SourceIfNotEmpty), /etc/rc.d/init.d(start_daemon), /etc/rc.d/init.d(status), /etc/rc.d/init.d(stop_daemon), /etc/rc.d/init.d/functions, /lib64/ld-linux-x86-64.so.2, coreutils, ld-linux-x86-64.so.2()(64bit) >= set:ihidc, ld-linux-x86-64.so.2(GLIBC_2.3)(64bit), libc.so.6()(64bit) >= set:poiedc, libc.so.6(ALT_2.24)(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.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libgcc_s.so.1(GCC_3.0)(64bit), libgcc_s.so.1(GCC_3.3)(64bit), libgcc_s.so.1(GCC_4.2.0)(64bit), libpthread.so.0(GLIBC_2.2.5)(64bit), libusb-0.1.so.4()(64bit) >= set:idMNv50ZL7tKuQAA1cGHqqORbSmBB9fzI4It0, rtld(GNU_HASH) Requires(interp): /bin/sh Requires(rpmlib): rpmlib(SetVersions) Requires(post): /bin/sh, /usr/sbin/post_service Requires(preun): /bin/sh, /usr/sbin/preun_service Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.nAclCn Creating apcupsd-debuginfo package Processing files: apcupsd-doc-3.14.14-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.73195 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd apcupsd-3.14.14 + DOCDIR=/usr/src/tmp/apcupsd-buildroot/usr/share/doc/apcupsd-doc-3.14.14 + export DOCDIR + rm -rf /usr/src/tmp/apcupsd-buildroot/usr/share/doc/apcupsd-doc-3.14.14 + /bin/mkdir -p /usr/src/tmp/apcupsd-buildroot/usr/share/doc/apcupsd-doc-3.14.14 + cp -prL INSTALL doc examples /usr/src/tmp/apcupsd-buildroot/usr/share/doc/apcupsd-doc-3.14.14 + chmod -R go-w /usr/src/tmp/apcupsd-buildroot/usr/share/doc/apcupsd-doc-3.14.14 + chmod -R a+rX /usr/src/tmp/apcupsd-buildroot/usr/share/doc/apcupsd-doc-3.14.14 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.0I7N6o find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ptHpLp find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Processing files: apcupsd-debuginfo-3.14.14-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Wox2Xo find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.fQufkn find-requires: running scripts (debuginfo) Requires: apcupsd = 3.14.14-alt1, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(ld-linux-x86-64.so.2), debug64(libc.so.6), debug64(libgcc_s.so.1), debug64(libpthread.so.0), debug64(libusb-0.1.so.4) Adding to apcupsd-debuginfo a strict dependency on apcupsd Wrote: /usr/src/RPM/RPMS/x86_64/apcupsd-3.14.14-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/apcupsd-doc-3.14.14-alt1.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/apcupsd-debuginfo-3.14.14-alt1.x86_64.rpm (w2.lzdio) 23.65user 5.54system 1:04.25elapsed 45%CPU (0avgtext+0avgdata 57188maxresident)k 0inputs+0outputs (0major+2120005minor)pagefaults 0swaps 30.45user 8.31system 1:24.09elapsed 46%CPU (0avgtext+0avgdata 101816maxresident)k 136inputs+0outputs (0major+2436293minor)pagefaults 0swaps --- apcupsd-3.14.14-alt1.x86_64.rpm.repo 2021-06-28 17:25:28.000000000 +0000 +++ apcupsd-3.14.14-alt1.x86_64.rpm.hasher 2021-09-25 04:25:58.299811697 +0000 @@ -81,6 +81,6 @@ File: /etc/sysconfig/apcupsdmessages 100644 root:root 0e78db32181c6d3e5f4e63b3a3133594 -File: /sbin/apcaccess 100755 root:root 06c6b16cf2630a00b7f6bbbccda1c556 -File: /sbin/apctest 100755 root:root d9ccf8f0c8007d3e7f2d574f0ee44658 -File: /sbin/apcupsd 100755 root:root 112db4e70612a17047da296282044a5e -File: /sbin/smtp 100755 root:root 47bd41fdf41030c54e0035b5342379af +File: /sbin/apcaccess 100755 root:root 5e91eac5b66c0ff5de43e323a57d3913 +File: /sbin/apctest 100755 root:root d30a18b638e50f74aafa4b048b85eb25 +File: /sbin/apcupsd 100755 root:root 35c29a8c51be454f5a1d95f930d19993 +File: /sbin/smtp 100755 root:root eabae1c4897cb35aad214faf6be0bd4d File: /usr/sbin/apcaccess 120755 root:root ../../sbin/apcaccess @@ -99,2 +99,2 @@ File: /var/lib/apcupsd 40755 root:root -RPMIdentity: a5accd152b000b8083ff90a7b2fda04fa443e4343892a2021fc414250bfe120b8a6227139ef1116246ee713e73805ceb9c7db4823be15162ff208e7e2c4e3fdd +RPMIdentity: c17e0081a5f3b46bb1261ebc00b0e6d2af06d18108039ed80272f680f68d883c3a438938a3183ccc2e7c17f29406654da8c1ec597268a35510f57e896f1446bc --- apcupsd-debuginfo-3.14.14-alt1.x86_64.rpm.repo 2021-06-28 17:25:28.000000000 +0000 +++ apcupsd-debuginfo-3.14.14-alt1.x86_64.rpm.hasher 2021-09-25 04:25:58.524810185 +0000 @@ -1,13 +1,13 @@ -/usr/lib/debug/.build-id/1d 40755 root:root -/usr/lib/debug/.build-id/1d/ab1c836f97b423b2005987aa7026dbb649b9df 120777 root:root ../../../../../sbin/apcaccess -/usr/lib/debug/.build-id/1d/ab1c836f97b423b2005987aa7026dbb649b9df.debug 120777 root:root ../../sbin/apcaccess.debug -/usr/lib/debug/.build-id/4d 40755 root:root -/usr/lib/debug/.build-id/4d/0df12a9d4b347309c9f13731cab49fd892fa2d 120777 root:root ../../../../../sbin/apctest -/usr/lib/debug/.build-id/4d/0df12a9d4b347309c9f13731cab49fd892fa2d.debug 120777 root:root ../../sbin/apctest.debug -/usr/lib/debug/.build-id/90 40755 root:root -/usr/lib/debug/.build-id/90/9804e266c270f999200ec47190b2541ee7246b 120777 root:root ../../../../../sbin/apcupsd -/usr/lib/debug/.build-id/90/9804e266c270f999200ec47190b2541ee7246b.debug 120777 root:root ../../sbin/apcupsd.debug -/usr/lib/debug/.build-id/a4 40755 root:root -/usr/lib/debug/.build-id/a4/9c2a9f3d7743c0c144b7650d766f04c2e89007 120777 root:root ../../../../../sbin/smtp -/usr/lib/debug/.build-id/a4/9c2a9f3d7743c0c144b7650d766f04c2e89007.debug 120777 root:root ../../sbin/smtp.debug +/usr/lib/debug/.build-id/0c 40755 root:root +/usr/lib/debug/.build-id/0c/12018048db27dba95b2e8ee2594bbc12d22c10 120777 root:root ../../../../../sbin/apctest +/usr/lib/debug/.build-id/0c/12018048db27dba95b2e8ee2594bbc12d22c10.debug 120777 root:root ../../sbin/apctest.debug +/usr/lib/debug/.build-id/10 40755 root:root +/usr/lib/debug/.build-id/10/d6c49ac8dbf423e991f93df63b9e7c667b175a 120777 root:root ../../../../../sbin/apcupsd +/usr/lib/debug/.build-id/10/d6c49ac8dbf423e991f93df63b9e7c667b175a.debug 120777 root:root ../../sbin/apcupsd.debug +/usr/lib/debug/.build-id/18 40755 root:root +/usr/lib/debug/.build-id/18/1ecbaa58bd417a58403259e4e9791ad6d16c05 120777 root:root ../../../../../sbin/apcaccess +/usr/lib/debug/.build-id/18/1ecbaa58bd417a58403259e4e9791ad6d16c05.debug 120777 root:root ../../sbin/apcaccess.debug +/usr/lib/debug/.build-id/bf 40755 root:root +/usr/lib/debug/.build-id/bf/a521117058b28fc88b77df3b327e0110f79d2b 120777 root:root ../../../../../sbin/smtp +/usr/lib/debug/.build-id/bf/a521117058b28fc88b77df3b327e0110f79d2b.debug 120777 root:root ../../sbin/smtp.debug /usr/lib/debug/sbin/apcaccess.debug 100644 root:root @@ -128,18 +128,18 @@ Provides: apcupsd-debuginfo = 3.14.14-alt1:sisyphus+275039.100.2.1 -File: /usr/lib/debug/.build-id/1d 40755 root:root -File: /usr/lib/debug/.build-id/1d/ab1c836f97b423b2005987aa7026dbb649b9df 120777 root:root ../../../../../sbin/apcaccess -File: /usr/lib/debug/.build-id/1d/ab1c836f97b423b2005987aa7026dbb649b9df.debug 120777 root:root ../../sbin/apcaccess.debug -File: /usr/lib/debug/.build-id/4d 40755 root:root -File: /usr/lib/debug/.build-id/4d/0df12a9d4b347309c9f13731cab49fd892fa2d 120777 root:root ../../../../../sbin/apctest -File: /usr/lib/debug/.build-id/4d/0df12a9d4b347309c9f13731cab49fd892fa2d.debug 120777 root:root ../../sbin/apctest.debug -File: /usr/lib/debug/.build-id/90 40755 root:root -File: /usr/lib/debug/.build-id/90/9804e266c270f999200ec47190b2541ee7246b 120777 root:root ../../../../../sbin/apcupsd -File: /usr/lib/debug/.build-id/90/9804e266c270f999200ec47190b2541ee7246b.debug 120777 root:root ../../sbin/apcupsd.debug -File: /usr/lib/debug/.build-id/a4 40755 root:root -File: /usr/lib/debug/.build-id/a4/9c2a9f3d7743c0c144b7650d766f04c2e89007 120777 root:root ../../../../../sbin/smtp -File: /usr/lib/debug/.build-id/a4/9c2a9f3d7743c0c144b7650d766f04c2e89007.debug 120777 root:root ../../sbin/smtp.debug -File: /usr/lib/debug/sbin/apcaccess.debug 100644 root:root 06523241a1b85f6986d41df8704bf287 -File: /usr/lib/debug/sbin/apctest.debug 100644 root:root 62e06c94c271ffb3d655c63c05a2c0a4 -File: /usr/lib/debug/sbin/apcupsd.debug 100644 root:root 4fe00db134964730ad49aeae6c65c1b1 -File: /usr/lib/debug/sbin/smtp.debug 100644 root:root 436cf5d5d447b241674323a3c59f37ad +File: /usr/lib/debug/.build-id/0c 40755 root:root +File: /usr/lib/debug/.build-id/0c/12018048db27dba95b2e8ee2594bbc12d22c10 120777 root:root ../../../../../sbin/apctest +File: /usr/lib/debug/.build-id/0c/12018048db27dba95b2e8ee2594bbc12d22c10.debug 120777 root:root ../../sbin/apctest.debug +File: /usr/lib/debug/.build-id/10 40755 root:root +File: /usr/lib/debug/.build-id/10/d6c49ac8dbf423e991f93df63b9e7c667b175a 120777 root:root ../../../../../sbin/apcupsd +File: /usr/lib/debug/.build-id/10/d6c49ac8dbf423e991f93df63b9e7c667b175a.debug 120777 root:root ../../sbin/apcupsd.debug +File: /usr/lib/debug/.build-id/18 40755 root:root +File: /usr/lib/debug/.build-id/18/1ecbaa58bd417a58403259e4e9791ad6d16c05 120777 root:root ../../../../../sbin/apcaccess +File: /usr/lib/debug/.build-id/18/1ecbaa58bd417a58403259e4e9791ad6d16c05.debug 120777 root:root ../../sbin/apcaccess.debug +File: /usr/lib/debug/.build-id/bf 40755 root:root +File: /usr/lib/debug/.build-id/bf/a521117058b28fc88b77df3b327e0110f79d2b 120777 root:root ../../../../../sbin/smtp +File: /usr/lib/debug/.build-id/bf/a521117058b28fc88b77df3b327e0110f79d2b.debug 120777 root:root ../../sbin/smtp.debug +File: /usr/lib/debug/sbin/apcaccess.debug 100644 root:root ff22f759902189e8740d84b10e1589ac +File: /usr/lib/debug/sbin/apctest.debug 100644 root:root 9c786c6e8217b7f7d9cb40af3fbc9ba0 +File: /usr/lib/debug/sbin/apcupsd.debug 100644 root:root eb5f9b2bb6976d6aab5bf352aa28fb6d +File: /usr/lib/debug/sbin/smtp.debug 100644 root:root 8ef8c5e54f866d42f5f78ca7dcdefc5c File: /usr/lib/debug/usr/sbin/apcaccess.debug 120777 root:root ../../sbin/apcaccess.debug @@ -247,2 +247,2 @@ File: /usr/src/debug/apcupsd-3.14.14/src/smtp.c 100644 root:root 4d9f41a636593e32e94ea6e4403b63f7 -RPMIdentity: 45c6080434a36783dc7e042053735885801c7f4b807d2e5fe13123ba74ee12804cd6b50d5d5d7dcae34e2f828919f4c34802ffcfbea315677794fb03eb29d9b8 +RPMIdentity: 90193cfa0526f8b0f4b5b1c0ffec9c3cdd146ed97f674d6d5c28cd3be86f38ef378c2b34198dbe796a59137172c32f1df03d4443f40416fa4c7702dd77dce99d