* Package: sys-power/apcupsd-3.14.14-r2 * Repository: gentoo * Maintainer: john.einar@gmail.com base-system@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux modbus usb userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox @@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; This ebuild was merged at the following commit: https://github.com/gentoo/gentoo/commit/241d2080eab5dd204cdcc52a3e05ce95f8cbe647 (Sun Mar 7 11:58:01 UTC 2021) @@@@@ END @@@@@ emerge --info: Portage 3.0.16 (python 3.9.2-final-0, default/linux/amd64/17.1, gcc-10.2.0, glibc-2.32-r8, 5.4.0-1029-aws x86_64) ================================================================= System uname: Linux-5.4.0-1029-aws-x86_64-Intel-R-_Xeon-R-_Platinum_8124M_CPU_@_3.00GHz-with-glibc2.32 KiB Mem: 71926568 total, 56872896 free KiB Swap: 0 total, 0 free sh bash 5.1_p4 ld GNU ld (Gentoo 2.35.2 p1) 2.35.2 app-shells/bash: 5.1_p4::gentoo dev-lang/perl: 5.32.1::gentoo dev-lang/python: 2.7.18_p7::gentoo, 3.7.10::gentoo, 3.8.8::gentoo, 3.9.2::gentoo dev-util/cmake: 3.19.6::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.7-r1::gentoo sys-apps/openrc: 0.42.1-r1::gentoo sys-apps/sandbox: 2.20::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.16.3-r1::gentoo sys-devel/binutils: 2.35.2::gentoo sys-devel/gcc: 10.2.0-r5::gentoo sys-devel/gcc-config: 2.4::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.11::gentoo (virtual/os-headers) sys-libs/glibc: 2.32-r8::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* GPL-2" CBUILD="x86_64-pc-linux-gnu" CC="x86_64-pc-linux-gnu-gcc" CFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXX="x86_64-pc-linux-gnu-g++" CXXFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches" DISTDIR="/var/tmp/portage/sys-power/apcupsd-3.14.14-r2/distdir" EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -k -b" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j36" PKGDIR="/root/.packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 berkdb bzip2 cli crypt dri elogind fortran gdbm iconv ipv6 jumbo-build libglvnd libtirpc modbus multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode usb xattr zlib" ABI_X86="64" ELIBC="glibc" KERNEL="linux" USERLAND="GNU" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS emerge history: 2021-03-07T16:40:54 >>> dev-libs/libusb-1.0.24-r1 2021-03-07T16:40:55 >>> app-admin/metalog-20200113-r1 2021-03-07T16:40:54 >>> sys-apps/tcp-wrappers-7.6.28 2021-03-07T16:40:55 >>> sys-apps/util-linux-2.36.2 2021-03-07T16:41:35 >>> virtual/libusb-1-r2 2021-03-07T16:41:36 >>> virtual/logger-0-r1 2021-03-07T16:41:37 >>> dev-libs/libusb-compat-0.1.5-r3 2021-03-07T16:41:41 >>> mail-mta/nullmailer-2.2-r1 2021-03-07T16:41:42 >>> virtual/libusb-0-r2 2021-03-07T16:41:45 >>> virtual/mta-1-r1 2021-03-07T16:41:49 >>> net-mail/mailutils-3.12 2021-03-07T16:41:52 >>> virtual/mailx-3 2021-03-07T16:41:55 >>> sys-power/apcupsd-3.14.14-r2 2021-03-07T16:42:14 >>> sys-power/apcupsd-3.14.14-r2 2021-03-07T16:42:33 >>> dev-lang/python-exec-2.4.6-r4 2021-03-07T16:42:37 >>> sys-devel/gcc-config-2.4 2021-03-07T16:42:40 >>> sys-devel/binutils-config-5.4 >>> Unpacking source... >>> Unpacking apcupsd-3.14.14.tar.gz to /var/tmp/portage/sys-power/apcupsd-3.14.14-r2/work >>> Source unpacked in /var/tmp/portage/sys-power/apcupsd-3.14.14-r2/work >>> Preparing source in /var/tmp/portage/sys-power/apcupsd-3.14.14-r2/work/apcupsd-3.14.14 ... * Applying apcupsd-3.14.9-aliasing.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-power/apcupsd-3.14.14-r2/work/apcupsd-3.14.14 ... * econf: updating apcupsd-3.14.14/autoconf/config.sub with /usr/share/gnuconfig/config.sub * econf: updating apcupsd-3.14.14/autoconf/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/apcupsd-3.14.14-r2 --htmldir=/usr/share/doc/apcupsd-3.14.14-r2/html --libdir=/usr/lib64 --sbindir=/sbin --sysconfdir=/etc/apcupsd --with-pwrfail-dir=/etc/apcupsd --with-lock-dir=/run/apcupsd --with-pid-dir=/run/apcupsd --with-log-dir=/var/log --with-nis-port=3551 --enable-net --enable-pcnet --with-distname=gentoo --disable-snmp --disable-gapcmon --with-upstype=usb --with-upscable=usb --enable-usb --with-dev= --enable-modbus-usb APCUPSD_MAIL=/usr/bin/mail checking for true... /bin/true checking for false... /bin/false checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for a BSD-compatible install... /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c checking for gawk... gawk checking for library containing strerror... none required checking for shutdown... /sbin/shutdown checking for mail... /usr/bin/mail checking for wall... /usr/bin/wall checking for sh... /bin/sh checking for GNU make... make checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-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-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for mv... /bin/mv checking for x86_64-pc-linux-gnu-windres... no checking for windres... no checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-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... /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 Using Linux USB driver. checking for libusb-config... /usr/bin/libusb-config Using generic libusb USB driver. checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-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 gentoo 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/gentoo/apcupsd config.status: creating platforms/gentoo/halt config.status: creating include/libusb.h config.status: creating include/apcconfig.h Configuration on Sun Mar 7 16:42:54 CET 2021: Host: x86_64-pc-linux-gnu -- gentoo 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: /run/apcupsd LOG dir (events, status) /var/log LOCK dir (for serial port) /run/apcupsd Power Fail dir /etc/apcupsd Compiler: x86_64-pc-linux-gnu-g++ 10.2.0-r5 Preprocessor flags: -I$(topdir)/src/libusbhid Compiler flags: -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-exceptions -fno-rtti -Wall -Wno-unused-result Linker: x86_64-pc-linux-gnu-gcc Linker flags: -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -L/usr/local/lib64 -L/usr/local/lib Host and version: gentoo Shutdown Program: /sbin/shutdown Port/Device: Network Info Port (CGI): 3551 UPSTYPE usb UPSCABLE usb drivers (no-* are disabled): apcsmart dumb net linux-usb no-snmp 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. >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-power/apcupsd-3.14.14-r2/work/apcupsd-3.14.14 ... make -j36 src doc src/lib src/drivers src/libusbhid MAN apcupsd.8 -> apcupsd.man.txt MAN apcaccess.8 -> apcaccess.man.txt MAN apctest.8 -> apctest.man.txt MAN apccontrol.8 -> apccontrol.man.txt MAN apcupsd.conf.5 -> apcupsd.conf.man.txt src/drivers/apcsmart src/drivers/net src/drivers/dumb src/drivers/pcnet src/drivers/usb src/drivers/modbus CXX src/libusbhid/parse.c CXX src/libusbhid/HidUps.cpp CXX src/libusbhid/descr.c CXX src/libusbhid/data.c src/drivers/usb/linux CXX src/drivers/pcnet/pcnet.c CXX src/drivers/net/net.c CXX src/drivers/dumb/dumboper.c CXX src/drivers/dumb/dumbsetup.c CXX src/lib/apcevents.c CXX src/drivers/apcsmart/smart.c CXX src/lib/apcerror.c CXX src/lib/apcexec.c CXX src/drivers/apcsmart/smarteeprom.c CXX src/drivers/apcsmart/smartoper.c CXX src/lib/apcconfig.c CXX src/lib/apcfile.c CXX src/drivers/apcsmart/smartsetup.c CXX src/drivers/apcsmart/smartsetup2.c CXX src/lib/apclibnis.c CXX src/lib/apclock.c CXX src/drivers/modbus/mapping.cpp CXX src/drivers/modbus/modbus.cpp CXX src/lib/apclog.c CXX src/drivers/modbus/ModbusComm.cpp CXX src/drivers/modbus/ModbusRs232Comm.cpp CXX src/drivers/modbus/ModbusUsbComm.cpp CXX src/lib/apcsignal.c CXX src/lib/apcstatus.c CXX src/lib/asys.c CXX src/lib/newups.c CXX src/drivers/usb/linux/linux-usb.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/drivers/dumb/libdumbdrv.a AR src/libusbhid/libusbhid.a AR src/drivers/net/libnetdrv.a AR src/drivers/modbus/libmodbusdrv.a AR src/drivers/apcsmart/libapcsmartdrv.a AR src/drivers/pcnet/libpcnetdrv.a AR src/lib/libapc.a CXX src/drivers/usb/usb.c AR src/drivers/usb/libusbdrv.a CXX src/drivers/drivers.c AR src/drivers/libdrivers.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/apcaccess LD src/smtp LD src/apcupsd LD src/apctest platforms platforms/etc platforms/gentoo >>> Source compiled. >>> Test phase [not enabled]: sys-power/apcupsd-3.14.14-r2 >>> Install sys-power/apcupsd-3.14.14-r2 into /var/tmp/portage/sys-power/apcupsd-3.14.14-r2/image/ make -j36 DESTDIR=/var/tmp/portage/sys-power/apcupsd-3.14.14-r2/image/ install src doc src/lib src/drivers src/libusbhid MKDIR /var/tmp/portage/sys-power/apcupsd-3.14.14-r2/image//usr/share/man/man8 src/drivers/apcsmart src/drivers/dumb src/drivers/net src/drivers/pcnet src/drivers/usb src/drivers/modbus src/drivers/usb/linux COPY apcupsd.8 => /var/tmp/portage/sys-power/apcupsd-3.14.14-r2/image//usr/share/man/man8/apcupsd.8 COPY apcaccess.8 => /var/tmp/portage/sys-power/apcupsd-3.14.14-r2/image//usr/share/man/man8/apcaccess.8 COPY apctest.8 => /var/tmp/portage/sys-power/apcupsd-3.14.14-r2/image//usr/share/man/man8/apctest.8 COPY apccontrol.8 => /var/tmp/portage/sys-power/apcupsd-3.14.14-r2/image//usr/share/man/man8/apccontrol.8 MKDIR /var/tmp/portage/sys-power/apcupsd-3.14.14-r2/image//usr/share/man/man5 COPY apcupsd.conf.5 => /var/tmp/portage/sys-power/apcupsd-3.14.14-r2/image//usr/share/man/man5/apcupsd.conf.5 MKDIR /var/tmp/portage/sys-power/apcupsd-3.14.14-r2/image//sbin COPY apcupsd => /var/tmp/portage/sys-power/apcupsd-3.14.14-r2/image//sbin/apcupsd /usr/bin/install: target '/var/tmp/portage/sys-power/apcupsd-3.14.14-r2/image//sbin/apcupsd' is not a directory install-xattr: failed to stat /var/tmp/portage/sys-power/apcupsd-3.14.14-r2/image//sbin/apcupsd: No such file or directory make[2]: *** [Makefile:49: install-base] Error 1 make[1]: *** [../autoconf/targets.mak:69: install] Error 2 make: *** [autoconf/targets.mak:110: src_DIR] Error 2 * ERROR: sys-power/apcupsd-3.14.14-r2::gentoo failed (install phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-power/apcupsd-3.14.14-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-power/apcupsd-3.14.14-r2::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/sys-power/apcupsd-3.14.14-r2:20210307-154245.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-power/apcupsd-3.14.14-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-power/apcupsd-3.14.14-r2/temp/environment'. * Working directory: '/var/tmp/portage/sys-power/apcupsd-3.14.14-r2/work/apcupsd-3.14.14' * S: '/var/tmp/portage/sys-power/apcupsd-3.14.14-r2/work/apcupsd-3.14.14'