Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/apcupsd.spec'], chrootPath='/var/lib/mock/f31-build-53072-27800/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=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1548892800 Wrote: /builddir/build/SRPMS/apcupsd-3.14.14-14.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/apcupsd.spec'], chrootPath='/var/lib/mock/f31-build-53072-27800/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=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1548892800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fkzNkk + 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/apcupsd-3.14.4-shutdown.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + printf 'install:\n\techo skipped\n' + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.w5o4Bl + umask 022 + cd /builddir/build/BUILD + cd apcupsd-3.14.14 + cp -p /usr/lib/rpm/config.guess /usr/lib/rpm/config.sub autoconf/ + export 'CPPFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNETSNMP_NO_LEGACY_DEFINITIONS -Wno-format-security -Wno-error=format-security' + CPPFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNETSNMP_NO_LEGACY_DEFINITIONS -Wno-format-security -Wno-error=format-security' + export 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNETSNMP_NO_LEGACY_DEFINITIONS -Wno-format-security -Wno-error=format-security' + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNETSNMP_NO_LEGACY_DEFINITIONS -Wno-format-security -Wno-error=format-security' + export 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNETSNMP_NO_LEGACY_DEFINITIONS -Wno-format-security -Wno-error=format-security' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNETSNMP_NO_LEGACY_DEFINITIONS -Wno-format-security -Wno-error=format-security' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNETSNMP_NO_LEGACY_DEFINITIONS -Wno-format-security -Wno-error=format-security' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNETSNMP_NO_LEGACY_DEFINITIONS -Wno-format-security -Wno-error=format-security' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./autoconf/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./autoconf/config.sub BUILDSTDERR: ++ basename ./autoconf/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./autoconf/config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./autoconf/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./autoconf/config.guess BUILDSTDERR: ++ basename ./autoconf/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./autoconf/config.guess + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-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 BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking, --enable-pthreads, --enable-net-snmp '/usr/lib/rpm/redhat/config.sub' -> './autoconf/config.sub' '/usr/lib/rpm/redhat/config.guess' -> './autoconf/config.guess' checking for true... /usr/bin/true checking for false... /usr/bin/false checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl.exe... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-linux-gnu-xlC... no checking for g++... g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking for gawk... gawk checking for library containing strerror... none required checking for shutdown... /usr/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 riscv64-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 riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for mv... /usr/bin/mv checking for riscv64-redhat-linux-gnu-windres... no checking for windres... no checking for riscv64-redhat-linux-gnu-strip... no checking for riscv64-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 BUILDSTDERR: checkconfig.status: WARNING: 'autoconf/variables.mak.in' seems to ignore the --datarootdir setting ing 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 riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-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: 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 BUILDSTDERR: config.status: creating placonfigure: WARNING: unrecognized options: --disable-dependency-tracking, --enable-pthreads, --enable-net-snmp + /usr/bin/make -O -j4 V=1 VERBOSE=1 BUILDSTDERR: /bin/sh: 1man: command not found BUILDSTDERR: /bin/sh: 1man: command not found BUILDSTDERR: /bin/sh: 1man: command not found tforms/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 Configuration on Thu Jul 25 14:25:20 UTC 2019: Host: riscv64-redhat-linux-gnu -- redhat 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++ 9.1.1 Preprocessor flags: -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNETSNMP_NO_LEGACY_DEFINITIONS -Wno-format-security -Wno-error=format-security -I/usr/local/include -I$(topdir)/src/libusbhid Compiler flags: -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNETSNMP_NO_LEGACY_DEFINITIONS -Wno-format-security -Wno-error=format-security -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 -L/usr/local/lib64 -L/usr/local/lib Host and version: redhat 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. src doc make[1]: Entering directory '/builddir/build/BUILD/apcupsd-3.14.14/src' src/lib make[1]: Leaving directory '/builddir/build/BUILD/apcupsd-3.14.14/src' make[1]: Entering directory '/builddir/build/BUILD/apcupsd-3.14.14/src' src/drivers make[1]: Leaving directory '/builddir/build/BUILD/apcupsd-3.14.14/src' make[2]: Entering directory '/builddir/build/BUILD/apcupsd-3.14.14/doc' MAN apcaccess.8 -> apcaccess.man.txt 1man ./apcaccess.8 | col -b > apcaccess.man.txt make[2]: Leaving directory '/builddir/build/BUILD/apcupsd-3.14.14/doc' make[2]: Entering directory '/builddir/build/BUILD/apcupsd-3.14.14/doc' MAN apcupsd.8 -> apcupsd.man.txt 1man ./apcupsd.8 | col -b > apcupsd.man.txt make[2]: Leaving directory '/builddir/build/BUILD/apcupsd-3.14.14/doc' make[1]: Entering directory '/builddir/build/BUILD/apcupsd-3.14.14/src' src/libusbhid make[1]: Leaving directory '/builddir/build/BUILD/apcupsd-3.14.14/src' make[2]: Entering directory '/builddir/build/BUILD/apcupsd-3.14.14/doc' MAN apctest.8 -> apctest.man.txt 1man ./apctest.8 | col -b > apctest.man.txt make[2]: Leaving directory '/builddir/build/BUILD/apcupsd-3.14.14/doc' make[2]: Entering directory '/builddir/build/BUILD/apcupsd-3.14.14/src/drivers' src/drivers/apcsmart make[2]: Leaving directory '/builddir/build/BUILD/apcupsd-3.14.14/src/drivers' make[2]: Entering directory '/builddir/build/BUILD/apcupsd-3.14.14/doc' BUILDSTDERR: MAN apccontrol.8 -> ap/bin/sh: 1man: command not found BUILDSTDERR: /bin/sh: 1man: command not found BUILDSTDERR: make[3]: 1g++: Command not found BUILDSTDERR: make[3]: *** [../../autoconf/targets.mak:148: .obj/parse.o] Error 127 BUILDSTDERR: make[3]: *** Waiting for unfinished jobs.... BUILDSTDERR: make[3]: 1g++: Command not found BUILDSTDERR: make[3]: *** [../../autoconf/targets.mak:148: .obj/data.o] Error 127 BUILDSTDERR: make[2]: *** [../../autoconf/targets.mak:55: all] Error 2 BUILDSTDERR: make[1]: *** [../autoconf/targets.mak:111: libusbhid_DIR] Error 2 BUILDSTDERR: make[1]: *** Waiting for unfinished jobs.... ccontrol.man.txt 1man ./apccontrol.8 | col -b > apccontrol.man.txt make[2]: Leaving directory '/builddir/build/BUILD/apcupsd-3.14.14/doc' make[2]: Entering directory '/builddir/build/BUILD/apcupsd-3.14.14/doc' MAN apcupsd.conf.5 -> apcupsd.conf.man.txt 1man ./apcupsd.conf.5 | col -b > apcupsd.conf.man.txt make[2]: Leaving directory '/builddir/build/BUILD/apcupsd-3.14.14/doc' make[3]: Entering directory '/builddir/build/BUILD/apcupsd-3.14.14/src/libusbhid' CXX src/libusbhid/parse.c 1g++ -x c++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNETSNMP_NO_LEGACY_DEFINITIONS -Wno-format-security -Wno-error=format-security -I/usr/local/include -I/builddir/build/BUILD/apcupsd-3.14.14/src/libusbhid -I/builddir/build/BUILD/apcupsd-3.14.14/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNETSNMP_NO_LEGACY_DEFINITIONS -Wno-format-security -Wno-error=format-security -fno-exceptions -fno-rtti -Wall -Wno-unused-result -c -o .obj/parse.o parse.c make[3]: Leaving directory '/builddir/build/BUILD/apcupsd-3.14.14/src/libusbhid' make[3]: Entering directory '/builddir/build/BUILD/apcupsd-3.14.14/src/libusbhid' CXX src/libusbhid/data.c 1g++ -x c++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNETSNMP_NO_LEGACY_DEFINITIONS -Wno-format-security -Wno-error=format-security -I/usr/local/include -I/builddir/build/BUILD/apcupsd-3.14.14/src/libusbhid -I/builddir/build/BUILD/apcupsd-3.14.14/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNETSNMP_NO_LEGACY_DEFINITIONS -Wno-format-security -Wno-error=format-security -fno-exceptions -fno-rtti -Wall -Wno-unused-result -c -o .obj/data.o data.c make[3]: Leaving directory '/builddir/build/BUILD/apcupsd-3.14.14/src/libusbhid' make[1]: Entering directory '/builddir/build/BUILD/apcupsd-3.14.14/src' src/gapcmon make[1]: Leaving directory '/builddir/build/BUILD/apcupsd-3.14.14/src' make[2]: Entering directory '/builddir/build/BUILD/apcupsd-3.14.14/src/drivers' src/drivers/dumb make[2]: Leaving directory '/builddir/build/BUILD/apcupsd-3.14.14/src/drivers' make[4]: Entering directory '/builddir/build/BUILD/apcupsd-3.14.14/src/drivers/apcsmart' CXX src/drivers/apcsmart/smartsetup2.c BUILDSTDERR: 1g++ -x c++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNETSNMP_NO_LEGACY_DEFINITIONS -Wno-format-security -Wno-error=format-security -I/usr/local/include -I/builddir/build/BUILD/apcupsd-3.14.14/src/libusbhid -I/builddir/build/BUILD/apcupsd-3.14.14/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNETSNMP_NO_LEGACY_DEFINITIONS -Wno-format-security -Wno-error=format-security -fno-emake[4]: 1g++: Command not found BUILDSTDERR: make[4]: *** [../../../autoconf/targets.mak:148: .obj/smartsetup2.o] Error 127 BUILDSTDERR: make[3]: *** [../../../autoconf/targets.mak:55: all] Error 2 BUILDSTDERR: make[2]: *** [../../autoconf/targets.mak:111: apcsmart_DIR] Error 2 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... BUILDSTDERR: make[3]: 1g++: Command not found BUILDSTDERR: make[3]: *** [../../autoconf/targets.mak:148: .obj/apcconfig.o] Error 127 BUILDSTDERR: make[3]: *** Waiting for unfinished jobs.... BUILDSTDERR: make[3]: 1g++: Command not found BUILDSTDERR: make[3]: *** [../../autoconf/targets.mak:148: .obj/apcerror.o] Error 127 BUILDSTDERR: make[2]: *** [../../autoconf/targets.mak:55: all] Error 2 BUILDSTDERR: make[1]: *** [../autoconf/targets.mak:111: lib_DIR] Error 2 xceptions -fno-rtti -Wall -Wno-unused-result -c -o .obj/smartsetup2.o smartsetup2.c make[4]: Leaving directory '/builddir/build/BUILD/apcupsd-3.14.14/src/drivers/apcsmart' make[3]: Entering directory '/builddir/build/BUILD/apcupsd-3.14.14/src/lib' CXX src/lib/apcconfig.c 1g++ -x c++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNETSNMP_NO_LEGACY_DEFINITIONS -Wno-format-security -Wno-error=format-security -I/usr/local/include -I/builddir/build/BUILD/apcupsd-3.14.14/src/libusbhid -I/builddir/build/BUILD/apcupsd-3.14.14/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNETSNMP_NO_LEGACY_DEFINITIONS -Wno-format-security -Wno-error=format-security -fno-exceptions -fno-rtti -Wall -Wno-unused-result -c -o .obj/apcconfig.o apcconfig.c make[3]: Leaving directory '/builddir/build/BUILD/apcupsd-3.14.14/src/lib' make[3]: Entering directory '/builddir/build/BUILD/apcupsd-3.14.14/src/lib' CXX src/lib/apcerror.c 1g++ -x c++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNETSNMP_NO_LEGACY_DEFINITIONS -Wno-format-security -Wno-error=format-security -I/usr/local/include -I/builddir/build/BUILD/apcupsd-3.14.14/src/libusbhid -I/builddir/build/BUILD/apcupsd-3.14.14/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNETSNMP_NO_LEGACY_DEFINITIONS -Wno-format-security -Wno-error=format-security -fno-exceptions -fno-rtti -Wall -Wno-unused-result -c -o .obj/apcerror.o apcerror.c make[3]: Leaving directory '/builddir/build/BUILD/apcupsd-3.14.14/src/lib' make[3]: Entering directory '/builddir/build/BUILD/apcupsd-3.14.14/src/gapcmon' CXX src/gapcmon/eggtrayicon.c 1gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNETSNMP_NO_LEGACY_DEFINITIONS -Wno-format-security -Wno-error=format-security -I/usr/local/include -I/builddir/build/BUILD/apcupsd-3.14.14/src/libusbhid -I/builddir/build/BUILD/apcupsd-3.14.14/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/atk-1.0 -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DVERSION=\"3.14.14\" -DHAVE_FUNC_GETHOSTBYNAME_R_6 -DICON_DIR=\"/usr/share\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNETSNMP_NO_LEGACY_DEFINITIONS -Wno-format-security -Wno-error=format-security -c -o .obj/eggtrayicon.o eggtrayicon.c BUILDSTDERR: make[3]: Leavmake[3]: 1gcc: Command not found BUILDSTDERR: make[3]: *** [../../autoconf/targets.mak:146: .obj/eggtrayicon.o] Error 127 BUILDSTDERR: make[3]: *** Waiting for unfinished jobs.... BUILDSTDERR: make[4]: 1g++: Command not found BUILDSTDERR: make[4]: *** [../../../autoconf/targets.mak:148: .obj/dumbsetup.o] Error 127 BUILDSTDERR: make[4]: *** Waiting for unfinished jobs.... BUILDSTDERR: make[4]: 1g++: Command not found BUILDSTDERR: make[4]: *** [../../../autoconf/targets.mak:148: .obj/dumboper.o] Error 127 BUILDSTDERR: make[3]: *** [../../../autoconf/targets.mak:55: all] Error 2 ing directory '/builddir/build/BUILD/apcupsd-3.14.14/src/gapcmon' make[4]: Entering directory '/builddir/build/BUILD/apcupsd-3.14.14/src/drivers/dumb' CXX src/drivers/dumb/dumbsetup.c 1g++ -x c++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNETSNMP_NO_LEGACY_DEFINITIONS -Wno-format-security -Wno-error=format-security -I/usr/local/include -I/builddir/build/BUILD/apcupsd-3.14.14/src/libusbhid -I/builddir/build/BUILD/apcupsd-3.14.14/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNETSNMP_NO_LEGACY_DEFINITIONS -Wno-format-security -Wno-error=format-security -fno-exceptions -fno-rtti -Wall -Wno-unused-result -c -o .obj/dumbsetup.o dumbsetup.c make[4]: Leaving directory '/builddir/build/BUILD/apcupsd-3.14.14/src/drivers/dumb' make[4]: Entering directory '/builddir/build/BUILD/apcupsd-3.14.14/src/drivers/dumb' CXX src/drivers/dumb/dumboper.c 1g++ -x c++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNETSNMP_NO_LEGACY_DEFINITIONS -Wno-format-security -Wno-error=format-security -I/usr/local/include -I/builddir/build/BUILD/apcupsd-3.14.14/src/libusbhid -I/builddir/build/BUILD/apcupsd-3.14.14/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNETSNMP_NO_LEGACY_DEFINITIONS -Wno-format-security -Wno-error=format-security -fno-exceptions -fno-rtti -Wall -Wno-unused-result -c -o .obj/dumboper.o dumboper.c make[4]: Leaving directory '/builddir/build/BUILD/apcupsd-3.14.14/src/drivers/dumb' make[3]: Entering directory '/builddir/build/BUILD/apcupsd-3.14.14/src/gapcmon' CXX src/gapcmon/gethostname.c 1gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNETSNMP_NO_LEGACY_DEFINITIONS -Wno-format-security -Wno-error=format-security -I/usr/local/include -I/builddir/build/BUILD/apcupsd-3.14.14/src/libusbhid -I/builddir/build/BUILD/apcupsd-3.14.14/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/atk-1.0 -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DVERSION=\"3.14.14\" -DHAVE_FUNC_GETHOSTBYNAME_R_6 -DICON_DIR=\"/usr/share\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DNETSNMP_NO_LEGACY_DEFINITIONS -Wno-format-security -Wno-error=format-security -c -o .obj/gethostname.o gethostname.c BUILDSTDERR: make[3]: Leaving directory '/builddir/build/BUILD/apcupsd-3.14.14/make[2]: *** [../../autoconf/targets.mak:111: dumb_DIR] Error 2 BUILDSTDERR: make[1]: *** [../autoconf/targets.mak:111: drivers_DIR] Error 2 BUILDSTDERR: make[3]: 1gcc: Command not found BUILDSTDERR: make[3]: *** [../../autoconf/targets.mak:148: .obj/gethostname.o] Error 127 BUILDSTDERR: make[2]: *** [../../autoconf/targets.mak:55: all] Error 2 BUILDSTDERR: make[1]: *** [../autoconf/targets.mak:111: gapcmon_DIR] Error 2 BUILDSTDERR: make: *** [autoconf/targets.mak:110: src_DIR] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.w5o4Bl (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.w5o4Bl (%build) src/gapcmon' RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/apcupsd.spec