>>> apcupsd 3.14.14 Downloading
--2020-04-19 13:38:40--  http://downloads.sourceforge.net/project/apcupsd/apcupsd%20-%20Stable/3.14.14/apcupsd-3.14.14.tar.gz
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.105.38.13
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.105.38.13|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://vorboss.dl.sourceforge.net/project/apcupsd/apcupsd%20-%20Stable/3.14.14/apcupsd-3.14.14.tar.gz [following]
--2020-04-19 13:38:41--  https://vorboss.dl.sourceforge.net/project/apcupsd/apcupsd%20-%20Stable/3.14.14/apcupsd-3.14.14.tar.gz
Resolving vorboss.dl.sourceforge.net (vorboss.dl.sourceforge.net)... 5.10.152.194
Connecting to vorboss.dl.sourceforge.net (vorboss.dl.sourceforge.net)|5.10.152.194|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1843409 (1.8M) [application/x-gzip]
Saving to: '/home/buildroot/autobuild/run/instance-2/output-1/build/.apcupsd-3.14.14.tar.gz.ucs5uE/output'

     0K .......... .......... .......... .......... ..........  2% 1.51M 1s
    50K .......... .......... .......... .......... ..........  5% 2.99M 1s
   100K .......... .......... .......... .......... ..........  8% 70.9M 1s
   150K .......... .......... .......... .......... .......... 11% 3.07M 1s
   200K .......... .......... .......... .......... .......... 13%  211M 0s
   250K .......... .......... .......... .......... .......... 16%  124M 0s
   300K .......... .......... .......... .......... .......... 19% 73.1M 0s
   350K .......... .......... .......... .......... .......... 22%  277M 0s
   400K .......... .......... .......... .......... .......... 24% 3.27M 0s
   450K .......... .......... .......... .......... .......... 27% 84.9M 0s
   500K .......... .......... .......... .......... .......... 30%  278M 0s
   550K .......... .......... .......... .......... .......... 33% 94.2M 0s
   600K .......... .......... .......... .......... .......... 36% 87.1M 0s
   650K .......... .......... .......... .......... .......... 38%  286M 0s
   700K .......... .......... .......... .......... .......... 41% 80.3M 0s
   750K .......... .......... .......... .......... .......... 44% 91.8M 0s
   800K .......... .......... .......... .......... .......... 47% 1.38M 0s
   850K .......... .......... .......... .......... .......... 49%  251M 0s
   900K .......... .......... .......... .......... .......... 52%  199M 0s
   950K .......... .......... .......... .......... .......... 55%  247M 0s
  1000K .......... .......... .......... .......... .......... 58%  221M 0s
  1050K .......... .......... .......... .......... .......... 61%  291M 0s
  1100K .......... .......... .......... .......... .......... 63%  294M 0s
  1150K .......... .......... .......... .......... .......... 66%  241M 0s
  1200K .......... .......... .......... .......... .......... 69%  211M 0s
  1250K .......... .......... .......... .......... .......... 72%  285M 0s
  1300K .......... .......... .......... .......... .......... 74%  284M 0s
  1350K .......... .......... .......... .......... .......... 77%  287M 0s
  1400K .......... .......... .......... .......... .......... 80% 5.00M 0s
  1450K .......... .......... .......... .......... .......... 83% 73.0M 0s
  1500K .......... .......... .......... .......... .......... 86%  243M 0s
  1550K .......... .......... .......... .......... .......... 88%  293M 0s
  1600K .......... .......... .......... .......... .......... 91%  235M 0s
  1650K .......... .......... .......... .......... .......... 94%  290M 0s
  1700K .......... .......... .......... .......... .......... 97% 15.8M 0s
  1750K .......... .......... .......... .......... .......... 99%  208M 0s
  1800K                                                       100% 8.88M=0.1s

2020-04-19 13:38:41 (12.8 MB/s) - '/home/buildroot/autobuild/run/instance-2/output-1/build/.apcupsd-3.14.14.tar.gz.ucs5uE/output' saved [1843409/1843409]

apcupsd-3.14.14.tar.gz: OK (md5: cc8f5ced77f38906a274787acb9bc980)
apcupsd-3.14.14.tar.gz: OK (sha1: f027fa141c929371fe860443b6d911ef3a3606fb)
apcupsd-3.14.14.tar.gz: OK (sha256: db7748559b6b4c3784f9856561ef6ac6199ef7bd019b3edcd7e0a647bf8f9867)
>>> apcupsd 3.14.14 Extracting
gzip -d -c /home/buildroot/autobuild/run/instance-2/dl/apcupsd/apcupsd-3.14.14.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/run/instance-2/output-1/build/apcupsd-3.14.14   -xf -
>>> apcupsd 3.14.14 Patching
>>> apcupsd 3.14.14 Updating config.sub and config.guess
for file in config.guess config.sub; do for i in $(find /home/buildroot/autobuild/run/instance-2/output-1/build/apcupsd-3.14.14 -name $file); do cp support/gnuconfig/$file $i; done; done
>>> apcupsd 3.14.14 Patching libtool
>>> apcupsd 3.14.14 Configuring
(cd /home/buildroot/autobuild/run/instance-2/output-1/build/apcupsd-3.14.14/ && rm -rf config.cache && PATH="/home/buildroot/autobuild/run/instance-2/output-1/host/bin:/home/buildroot/autobuild/run/instance-2/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" AR="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv32-linux-ar" AS="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv32-linux-as" LD="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv32-linux-ld" NM="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv32-linux-nm" CC="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv32-linux-gcc" GCC="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv32-linux-gcc" CPP="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv32-linux-cpp" CXX="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv32-linux-g++" FC="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv32-linux-gfortran" F77="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv32-linux-gfortran" RANLIB="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv32-linux-ranlib" READELF="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv32-linux-readelf" STRIP="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv32-linux-strip" OBJCOPY="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv32-linux-objcopy" OBJDUMP="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv32-linux-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/buildroot/autobuild/run/instance-2/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/run/instance-2/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/run/instance-2/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/autobuild/run/instance-2/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/run/instance-2/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv32-linux-as" DEFAULT_LINKER="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv32-linux-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Os  " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Os  " LDFLAGS="" FCFLAGS=" -Os " FFLAGS=" -Os " PKG_CONFIG="/home/buildroot/autobuild/run/instance-2/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/autobuild/run/instance-2/output-1/host/riscv32-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl ac_cv_lbl_unaligned_fail=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no  ac_cv_path_usbcfg=/home/buildroot/autobuild/run/instance-2/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/bin/libusb-config CONFIG_SITE=/dev/null ./configure --target=riscv32-buildroot-linux-gnu --host=riscv32-buildroot-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared  --disable-test --disable-apcsmart --disable-dumb --enable-modbus-usb --enable-modbus --enable-net --disable-pcnet --disable-snmp --disable-usb )
configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --disable-dependency-tracking, --enable-ipv6, --disable-nls, --disable-static, --enable-shared
configure: loading site script /dev/null
checking for true... /bin/true
checking for false... /bin/false
checking build system type... x86_64-pc-linux-gnu
checking host system type... riscv32-buildroot-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... yes
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv32-linux-g++ accepts -g... yes
checking for riscv32-buildroot-linux-gnu-gcc... /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv32-linux-gcc
checking whether we are using the GNU C compiler... yes
checking whether /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv32-linux-gcc accepts -g... yes
checking for /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv32-linux-gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv32-linux-cpp
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... no
checking for mawk... mawk
checking for library containing strerror... none required
checking for shutdown... /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 riscv32-buildroot-linux-gnu-ranlib... /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv32-linux-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 riscv32-buildroot-linux-gnu-ar... /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv32-linux-ar
checking for mv... /bin/mv
checking for riscv32-buildroot-linux-gnu-windres... no
checking for windres... no
checking for riscv32-buildroot-linux-gnu-strip... no
checking for riscv32-buildroot-linux-gnu-true... no
checking for strip... strip
configure: WARNING: using cross tools not prefixed with host triplet
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... /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... no
checking whether #! works in shell scripts... yes
Using halpolicydir=/usr/share/hal/fdi/policy/20thirdparty
checking for libusb-config... (cached) /home/buildroot/autobuild/run/instance-2/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/bin/libusb-config
Using generic libusb USB driver.
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...
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/debian/apcupsd
config.status: creating platforms/debian/ups-monitor
config.status: creating include/libusb.h
config.status: creating include/apcconfig.h
configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --disable-dependency-tracking, --enable-ipv6, --disable-nls, --disable-static, --enable-shared
make[1]: Entering directory `/home/buildroot/autobuild/run/instance-2/output-1/build/apcupsd-3.14.14'
make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-2/output-1/build/apcupsd-3.14.14'


Configuration on Sun Apr 19 13:38:45 UTC 2020:

  Host:                       riscv32-buildroot-linux-gnu -- debian jessie/sid
  Apcupsd version:            3.14.14 (31 May 2016)
  Source code location:       .
  Install binaries:           /sbin
  Install config files:       /etc
  Install man files:          ${prefix}/share/man
  Nologin file in:            /etc
  PID directory:              /var/run
  LOG dir (events, status)    /var/log
  LOCK dir (for serial port)  /var/lock
  Power Fail dir              /etc
  Compiler:                   /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv32-linux-g++ 2020.02)
  Preprocessor flags:         -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I$(topdir)/src/libusbhid
  Compiler flags:             -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Os   -fno-exceptions -fno-rtti -Wall -Wno-unused-result 
  Linker:                     /home/buildroot/autobuild/run/instance-2/output-1/host/bin/riscv32-linux-gcc
  Linker flags:               
  Host and version:           debian jessie/sid
  Shutdown Program:           /sbin/shutdown
  Port/Device:                /dev/ttyS0
  Network Info Port (CGI):    3551
  UPSTYPE                     apcsmart
  UPSCABLE                    smart

  drivers (no-* are disabled): no-apcsmart no-dumb net no-usb no-snmp no-pcnet modbus modbus-usb no-test

  enable-nis:                 yes
  with-nisip:                 0.0.0.0
  enable-cgi:                 no
  with-cgi-bin:               /etc/apcupsd
  with-libwrap:               
  enable-pthreads:            yes
  enable-dist-install:        yes
  enable-gapcmon:             no
  enable-apcagent:            no
  
Configuration complete: Run 'make' to build apcuspd.

>>> apcupsd 3.14.14 Building
PATH="/home/buildroot/autobuild/run/instance-2/output-1/host/bin:/home/buildroot/autobuild/run/instance-2/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"  /usr/bin/make -j4  -C /home/buildroot/autobuild/run/instance-2/output-1/build/apcupsd-3.14.14/
make[1]: Entering directory `/home/buildroot/autobuild/run/instance-2/output-1/build/apcupsd-3.14.14'
        src
        doc
        src/lib
  MAN   apcupsd.8 -> apcupsd.man.txt
        src/drivers
  MAN   apcaccess.8 -> apcaccess.man.txt
/bin/sh: man: command not found
/bin/sh: col: command not found
/bin/sh: man: command not found
/bin/sh: col: command not found
make[3]: *** [apcupsd.man.txt] Error 127
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [apcaccess.man.txt] Error 127
make[2]: *** [all] Error 2
make[1]: *** [doc_DIR] Error 2
make[1]: *** Waiting for unfinished jobs....
        src/libusbhid
        src/drivers/net
        src/drivers/modbus
  CXX   src/libusbhid/parse.c
  CXX   src/drivers/net/net.c
  CXX   src/drivers/modbus/mapping.cpp
  CXX   src/lib/apcconfig.c
  CXX   src/drivers/modbus/modbus.cpp
  CXX   src/libusbhid/data.c
  CXX   src/libusbhid/descr.c
  CXX   src/libusbhid/HidUps.cpp
  CXX   src/lib/apcerror.c
  AR    src/drivers/net/libnetdrv.a
  CXX   src/lib/apcevents.c
  CXX   src/drivers/modbus/ModbusComm.cpp
  CXX   src/drivers/modbus/ModbusRs232Comm.cpp
  CXX   src/lib/apcexec.c
  AR    src/libusbhid/libusbhid.a
  CXX   src/lib/apcfile.c
  CXX   src/lib/apclibnis.c
  CXX   src/drivers/modbus/ModbusUsbComm.cpp
  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
  AR    src/drivers/modbus/libmodbusdrv.a
  CXX   src/drivers/drivers.c
  CXX   src/lib/newups.c
  CXX   src/lib/md5.c
  AR    src/drivers/libdrivers.a
  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
  CXX   src/options.c
  CXX   src/device.c
  CXX   src/reports.c
  CXX   src/action.c
  CXX   src/apcupsd.c
  CXX   src/apcnis.c
  CXX   src/apcaccess.c
  CXX   src/apctest.c
  CXX   src/smtp.c
  LD    src/apcupsd
  LD    src/apcaccess
  LD    src/smtp
  LD    src/apctest
make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-2/output-1/build/apcupsd-3.14.14'
make: *** [/home/buildroot/autobuild/run/instance-2/output-1/build/apcupsd-3.14.14/.stamp_built] Error 2
make: Leaving directory `/home/buildroot/autobuild/run/instance-2/buildroot'