Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 641144 - sys-power/nut-2.7.4-r1 - configure: error: "libwrap not found"
Summary: sys-power/nut-2.7.4-r1 - configure: error: "libwrap not found"
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
: 644038 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-12-15 16:13 UTC by Ivan Grynko
Modified: 2019-03-21 16:01 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.97 KB, text/plain)
2018-05-23 16:32 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,197.75 KB, text/plain)
2018-05-23 16:33 UTC, Toralf Förster
Details
environment (environment,127.71 KB, text/plain)
2018-05-23 16:33 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,20.39 KB, application/x-bzip)
2018-05-23 16:33 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,11.92 KB, application/x-bzip-compressed-tar)
2018-05-23 16:33 UTC, Toralf Förster
Details
sys-power:nut-2.7.4-r1:20180523-132802.log (sys-power:nut-2.7.4-r1:20180523-132802.log,13.50 KB, text/plain)
2018-05-23 16:33 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,34.03 KB, application/x-bzip)
2018-05-23 16:33 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Grynko 2017-12-15 16:13:58 UTC
checking for tcpd.h... yes
checking for library containing yp_get_default_domain... no
checking for library containing request_init... -lwrap
configure: error: "libwrap not found"

!!! Please attach the following file when seeking support:
!!! /tmp/portage/sys-power/nut-2.7.4-r1/work/nut-2.7.4/config.log
 * ERROR: sys-power/nut-2.7.4-r1::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  124:  Called src_configure
 *             environment, line 3182:  Called econf '--sysconfdir=/etc/nut' '--datarootdir=/usr/share/nut' '--datadir=/usr/share/nut' '--disable-static' '--with-statepath=/var/lib/nut' '--with-drvpath=/lib64/nut' '--with-htmlpath=/usr/share/nut/html' '--with-user=nut' '--with-group=nut' '--with-logfacility=LOG_DAEMON' '--with-dev' '--with-serial' '--without-powerman' '--with-cgi' '--without-ipmi' '--without-freeipmi' '--without-snmp' '--with-ssl' '--with-wrap' '--with-usb' '--with-neon' '--without-avahi' '--with-systemdsystemunitdir=/lib/systemd/system' '--with-drivers=al175,apcsmart,apcsmart-old,apcupsd-ups,bcmxcp,bcmxcp_usb,belkin,belkinunv,bestfcom,bestfortress,bestuferrups,bestups,blazer_ser,blazer_usb,clone,clone-outlet,dummy-ups,etapro,everups,gamatronic,genericups,isbmex,ivtscd,liebert,liebert-esp2,masterguard,metasys,mge-shut,mge-utalk,microdowell,nutdrv_qx,oldmge-shut,oneac,optiups,powercom,powerpanel,rhino,richcomm_usb,riello_ser,riello_usb,safenet,solis,tripplite,tripplite_usb,tripplitesu,upscode2,usbhid-ups,victronups' '--with-cgipath=/usr/share/nut/cgi'
 *        phase-helpers.sh, line  666:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  117:  Called die
 * The specific snippet of code:
 *              die "$@"


Fails at configure stage because can't find libwrap which is a part of tcp-wrappers package, that's weird because libs here
qlist sys-apps/tcp-wrappers
/usr/lib32/libwrap.so
/usr/lib32/libwrap.so.0
/usr/lib32/libwrap.so.0.7.6
/usr/include/tcpd.h
/usr/lib64/libwrap.so
/usr/sbin/tcpdmatch
/usr/sbin/tcpd
/usr/sbin/safe_finger
/usr/sbin/tcpdchk
/usr/sbin/try-from
/usr/share/man/man3/hosts_access.3.bz2
/usr/share/man/man5/hosts_options.5.bz2
/usr/share/man/man5/hosts_access.5.bz2
/usr/share/man/man5/hosts.deny.5.bz2
/usr/share/man/man5/hosts.allow.5.bz2
/usr/share/man/man8/try-from.8.bz2
/usr/share/man/man8/tcpdmatch.8.bz2
/usr/share/man/man8/tcpdchk.8.bz2
/usr/share/man/man8/tcpd.8.bz2
/usr/share/man/man8/safe_finger.8.bz2
/usr/share/doc/tcp-wrappers-7.6.22-r1/README.NIS.bz2
/usr/share/doc/tcp-wrappers-7.6.22-r1/README.IRIX.bz2
/usr/share/doc/tcp-wrappers-7.6.22-r1/README.bz2
/usr/share/doc/tcp-wrappers-7.6.22-r1/DISCLAIMER.bz2
/usr/share/doc/tcp-wrappers-7.6.22-r1/CHANGES.bz2
/usr/share/doc/tcp-wrappers-7.6.22-r1/BLURB.bz2
/lib64/libwrap.so.0
/lib64/libwrap.so.0.7.6
/etc/hosts.allow

The same happens with 2.7.4
Comment 1 Ivan Grynko 2017-12-15 16:14:19 UTC
emerge --info
Portage 2.3.18 (python 2.7.14-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-7.2.0, glibc-2.26-r3, 4.14.6-gentoo x86_64)
=================================================================
System uname: Linux-4.14.6-gentoo-x86_64-Intel-R-_Core-TM-_i7-4790K_CPU_@_4.00GHz-with-gentoo-2.4.1
KiB Mem:    16351168 total,  10341416 free
KiB Swap:   10485756 total,  10485756 free
Head commit of repository gentoo: 44be1b30fedac15f597d0ca4aa6007fc908e9d23

sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p2) 2.29.1
ccache version 3.3.4 [enabled]
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.26.1-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.6.3-r1::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.10.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0::gentoo, 7.2.0::gentoo
sys-devel/gcc-config:     1.9.0-r1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: git://anongit.gentoo.org/repo/gentoo.git
    priority: -1000

deter
    location: /var/lib/layman/deter
    sync-type: laymansync
    sync-uri: https://github.com/deterenkelt/deter.git
    masters: gentoo
    priority: 50

kde
    location: /var/lib/layman/kde
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/kde.git
    masters: gentoo
    priority: 50

rion
    location: /var/lib/layman/rion
    sync-type: laymansync
    sync-uri: https://github.com/rion-overlay/rion-overlay.git
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    sync-type: laymansync
    sync-uri: git://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

ivanich_overlay
    location: /var/lib/layman/portage1
    masters: gentoo
    priority: 60

Installed sets: @kde-frameworks
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL NVIDIA-CUDA skype-eula Nero-EULA-US dlj-1.1 googleearth AdobeFlash-10.3 AdobeFlash-10 Oracle-BCLA-JavaSE skype-4.0.0.7-copyright AdobeFlash-11.x Google-TOS TeamViewer google-chrome RAR"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=haswell -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=haswell -pipe -fomit-frame-pointer"
DISTDIR="/mnt/sdb2/gentoo/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_UA.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/var/tmp/binpkgs"
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="/tmp"
USE="7zip X a52 aac acl acpi activities additions addressbook akonadi alsa amd64 apng audiofile autocreate autoipd automount avi bash-completion bashlogger berkdb bitmap-fonts bittorrent bmp branding bzip2 cacert cairo calendar cdaudio cdda cddb cdr cgi chm cli client composite conntrack cover cracklib cron crypt cue cups curl cxx d3d9 daemon dbus declarative device-mapper dga dhcp divx4linux djvu dri dri3 drm dts dvd dvdr egl emboss enca encode evdev exif exo extensions extras fam fb fbcon ffmpeg filter firefox firmware flac flash fontconfig fortran freetype ftp fuse g3dvl gallium gdbm geoip gif git glamor gles glib glx gnuefi gnutls google gphoto2 gpm grub gstreamer gtk hddtemp httpd hwaccel hwdb iconv icu id3 id3tag imagemagick imap imlib importd inotify iproute2 ipv6 jabber java javafx jpeg jpeg2k kde kerberos kipi kmod kms kqemu kwallet ladspa lame lastfm lcms libinput libkms libmpeg2 libnotify live llvm lm_sensors logitech-mouse logrotate lua lyrics lzma lzo mad maildir mailwrapper matroska mbox mc md5sum mdnsresponder-compat minizip mjpeg mms mmxext mng modules mount mozilla mp2 mp3 mp4 mpeg mpeg4 mpg123 mplayer mtp multilib musepack mysql nat ncurses netlink network networkmanager nfs nls notification notifier nptl nsplugin ntfs nvidia ogg online-services opengl openmp openssl opensslcrypt openvg osmesa otr pam pango passwordsave pch pcre pdf phonon pkcs11 plasma plugins png policykit pulseaudio python qml qt3support qt5 rar rdesktop readline rewrite rpc rss rtc rtsp s3tc samba sasl script scrobbler sdl sdl2 seccomp semantic-desktop server session sipe skype slang smbclient smp sound sounds spell spice sqlite srt ssh ssl staging startup-notification stats steamruntime stereo stream streams suexec svg sysfs syslog systemd taglib tcpd theora threads thumbnail tiff tray trayicon truetype tty-helpers twolame type1-fonts udev udisks unicode upower usb usbredir userlocales utf8 vaapi vdpau video vim-pager virgl virt-network virtfs vlc vnc voice vorbis vpx wavpack wayland wayland-compositor web webgl webinterface webkit widgets winbind wma wxwidgets wxwindows x264 xa xattr xcb xcomposite xinerama xml xml2 xorg xpm xv xvid xvid4 xvmc xwayland zip zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2 samsung sonix sony_dscf1 sony_dscf55" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="gnutls" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc multiboot efi-64" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en ru" LIRC_DEVICES="userspace" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby23 ruby24" USERLAND="GNU" VIDEO_CARDS="nvidia v4l nouveau intel i965 virgl" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Jonas Stein gentoo-dev 2017-12-16 20:37:42 UTC
Thank you for the report. Please *attach* the logfiles,
https://wiki.gentoo.org/wiki/Bugzilla/Bug_report_guide#Report_a_build-time_bug_.28emerge_failed.29
and reopen this ticket (Status:unconfirmed).
Comment 3 Ivan Grynko 2017-12-16 20:43:45 UTC
Attachments not working
cat /mnt/sdb2/build.log 
 * Package:    sys-power/nut-2.7.4-r1
 * Repository: gentoo
 * Maintainer: robbat2@gentoo.org prometheanfire@gentoo.org
 * USE:        abi_x86_64 amd64 cgi elibc_glibc kernel_linux ssl tcpd ups_drivers_al175 ups_drivers_apcsmart ups_drivers_apcsmart-old ups_drivers_apcupsd-ups ups_drivers_bcmxcp ups_drivers_bcmxcp_usb ups_drivers_belkin ups_drivers_belkinunv ups_drivers_bestfcom ups_drivers_bestfortress ups_drivers_bestuferrups ups_drivers_bestups ups_drivers_blazer_ser ups_drivers_blazer_usb ups_drivers_clone ups_drivers_clone-outlet ups_drivers_dummy-ups ups_drivers_etapro ups_drivers_everups ups_drivers_gamatronic ups_drivers_genericups ups_drivers_isbmex ups_drivers_ivtscd ups_drivers_liebert ups_drivers_liebert-esp2 ups_drivers_masterguard ups_drivers_metasys ups_drivers_mge-shut ups_drivers_mge-utalk ups_drivers_microdowell ups_drivers_nutdrv_qx ups_drivers_oldmge-shut ups_drivers_oneac ups_drivers_optiups ups_drivers_powercom ups_drivers_powerpanel ups_drivers_rhino ups_drivers_richcomm_usb ups_drivers_riello_ser ups_drivers_riello_usb ups_drivers_safenet ups_drivers_solis ups_drivers_tripplite ups_drivers_tripplite_usb ups_drivers_tripplitesu ups_drivers_upscode2 ups_drivers_usbhid-ups ups_drivers_victronups usb userland_GNU xml
 * FEATURES:   ccache preserve-libs sandbox userpriv usersandbox
Removing user nut from group tty
Adding user nut to group uucp
Adding user nut to group nut
 * Please note that NUT now runs under the 'nut' user.
 * NUT is in the uucp group for access to RS-232 UPS.
 * However if you use a USB UPS you may need to look at the udev or
 * hotplug rules that are installed, and alter them suitably.
 * 
 * You are strongly advised to read the UPGRADING file provided by upstream.
 * 
 * Please note that upsdrv is NOT automatically started by upsd anymore.
 * If you have multiple UPS units, you can use their NUT names to
 * have a service per UPS:
 * ln -s /etc/init.d/upsdrv /etc/init.d/upsdrv.$UPSNAME
 * 
 * If you want apcupsd to power off your UPS when it
 * shuts down your system in a power failure, you must
 * add nut.powerfail to your shutdown runlevel:
 * 
 * rc-update add nut.powerfail shutdown
 * 
>>> Unpacking source...
>>> Unpacking nut-2.7.4.tar.gz to /tmp/portage/sys-power/nut-2.7.4-r1/work
>>> Source unpacked in /tmp/portage/sys-power/nut-2.7.4-r1/work
>>> Preparing source in /tmp/portage/sys-power/nut-2.7.4-r1/work/nut-2.7.4 ...
 * Applying nut-2.7.2-no-libdummy.patch ...                                                                                            [ ok ]
 * Applying nut-2.6.2-lowspeed-buffer-size.patch ...                                                                                   [ ok ]
 * Applying nut-2.7.1-snmpusb-order.patch ...                                                                                          [ ok ]
 * Running eautoreconf in '/tmp/portage/sys-power/nut-2.7.4-r1/work/nut-2.7.4' ...
 * Running libtoolize --install --copy --force --automake ...                                                                          [ ok ]
 * Running aclocal -I m4 ...                                                                                                           [ ok ]
 * Running autoconf --force ...                                                                                                        [ ok ]
 * Running autoheader ...                                                                                                              [ ok ]
 * Running automake --add-missing --copy --force-missing ...                                                                           [ ok ]
 * Running elibtoolize in: nut-2.7.4/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.3 patch ...
>>> Source prepared.
>>> Configuring source in /tmp/portage/sys-power/nut-2.7.4-r1/work/nut-2.7.4 ...
 * econf: updating nut-2.7.4/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating nut-2.7.4/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 --disable-dependency-tracking --disable-silent-rules --libdir=/usr/lib64 --sysconfdir=/etc/nut --datarootdir=/usr/share/nut --datadir=/usr/share/nut --disable-static --with-statepath=/var/lib/nut --with-drvpath=/lib64/nut --with-htmlpath=/usr/share/nut/html --with-user=nut --with-group=nut --with-logfacility=LOG_DAEMON --with-dev --with-serial --without-powerman --with-cgi --without-ipmi --without-freeipmi --without-snmp --with-ssl --with-wrap --with-usb --with-neon --without-avahi --with-systemdsystemunitdir=/lib/systemd/system --with-drivers=al175,apcsmart,apcsmart-old,apcupsd-ups,bcmxcp,bcmxcp_usb,belkin,belkinunv,bestfcom,bestfortress,bestuferrups,bestups,blazer_ser,blazer_usb,clone,clone-outlet,dummy-ups,etapro,everups,gamatronic,genericups,isbmex,ivtscd,liebert,liebert-esp2,masterguard,metasys,mge-shut,mge-utalk,microdowell,nutdrv_qx,oldmge-shut,oneac,optiups,powercom,powerpanel,rhino,richcomm_usb,riello_ser,riello_usb,safenet,solis,tripplite,tripplite_usb,tripplitesu,upscode2,usbhid-ups,victronups --with-cgipath=/usr/share/nut/cgi
Network UPS Tools version 2.7.4
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for host system name... gentoo
checking for a BSD-compatible install... /usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for autoconf macro to enable system extensions... yes
checking for style of include used by make... GNU
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
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-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed
checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... (cached) yes
checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of x86_64-pc-linux-gnu-g++... none
checking for egrep... (cached) /bin/grep -E
checking for ar... /usr/bin/ar
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking whether byte ordering is bigendian... no
checking for inline... inline
checking for flexible array members... yes
checking for variable-length arrays... yes
checking for flock... yes
checking for lockf... yes
checking for fcvt... yes
checking for fcvtl... no
checking for cfsetispeed... yes
checking for tcsendbreak... yes
checking for seteuid... yes
checking for setsid... yes
checking for getpassphrase... no
checking for on_exit... yes
checking for strptime... yes
checking for setlogmask... yes
checking whether LOG_UPTO is declared... yes
checking for unsigned long long int... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking for setenv... yes
checking for strerror... yes
checking for atexit... yes
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 for cppunit... yes
checking whether optind is declared... yes
checking for getopt.h... yes
checking for getopt_long... yes
checking whether uu_lock is declared... no
checking whether __func__ is declared... yes
checking for library containing gethostbyname... none required
checking for library containing connect... none required
checking whether time.h and sys/time.h may both be included... yes
checking for sys/modem.h... no
checking for stdarg.h... yes
checking for varargs.h... no
checking for sys/termios.h... yes
checking for sys/time.h... yes
checking for library containing pthread_create... -lpthread
checking for socklen_t... yes
checking for --with-all... not given
checking for Net-SNMP version via net-snmp-config... none found
checking for Net-SNMP cflags... 
checking for Net-SNMP libs... 
checking for net-snmp/net-snmp-config.h... no
checking for init_snmp... no
checking for libusb version via pkg-config... 0.1.12 found
checking for libusb cflags... -I/usr/include/libusb-1.0
checking for libusb ldflags... -lusb
checking for usb.h... yes
checking for usb_init... yes
checking for usb_detach_kernel_driver_np... yes
checking for libneon version via pkg-config (0.25.0 minimum required)... 0.30.2 found
checking for libneon cflags... -I/usr/include/neon
checking for libneon ldflags... -lneon
checking for ne_xmlreq.h... yes
checking for ne_xml_dispatch_request... yes
checking for ne_set_connect_timeout... yes
checking for ne_sock_connect_timeout... yes
checking for libpowerman cflags... 
checking for libpowerman libs... 
checking for libpowerman.h... no
checking for pm_connect... no
checking for avahi-core version via pkg-config (0.6.30 minimum required)... none found
checking for avahi-client version via pkg-config (0.6.30 minimum required)... none found
checking for avahi cflags... 
checking for avahi ldflags... 
checking for avahi-common/malloc.h... no
checking for avahi_free... no
checking whether to build serial drivers... yes 
checking whether to build USB drivers... yes 
checking whether to build SNMP drivers... no 
checking whether to build neon based XML driver... yes 
checking whether to enable Avahi support... no 
checking whether to build Powerman PDU client driver... no 
checking whether to build IPMI driver... no 
checking whether to build Mac OS X meta-driver... no 
checking whether i2c_smbus_read_word_data is declared... no
checking whether i2c_smbus_write_word_data is declared... no
checking whether i2c_smbus_read_block_data is declared... no
checking whether to build i2c based drivers... no 
checking for OpenSSL version via pkg-config... 1.0.2n found
checking for OpenSSL cflags... -I/usr/kerberos/include
checking for OpenSSL ldflags... -lssl -lcrypto
checking for openssl/ssl.h... yes
checking for SSL_library_init... yes
checking whether to enable SSL support... yes (OpenSSL)
checking for tcpd.h... yes
checking for library containing yp_get_default_domain... no
checking for library containing request_init... -lwrap
configure: error: "libwrap not found"

!!! Please attach the following file when seeking support:
!!! /tmp/portage/sys-power/nut-2.7.4-r1/work/nut-2.7.4/config.log
 * ERROR: sys-power/nut-2.7.4-r1::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  124:  Called src_configure
 *             environment, line 3182:  Called econf '--sysconfdir=/etc/nut' '--datarootdir=/usr/share/nut' '--datadir=/usr/share/nut' '--disable-static' '--with-statepath=/var/lib/nut' '--with-drvpath=/lib64/nut' '--with-htmlpath=/usr/share/nut/html' '--with-user=nut' '--with-group=nut' '--with-logfacility=LOG_DAEMON' '--with-dev' '--with-serial' '--without-powerman' '--with-cgi' '--without-ipmi' '--without-freeipmi' '--without-snmp' '--with-ssl' '--with-wrap' '--with-usb' '--with-neon' '--without-avahi' '--with-systemdsystemunitdir=/lib/systemd/system' '--with-drivers=al175,apcsmart,apcsmart-old,apcupsd-ups,bcmxcp,bcmxcp_usb,belkin,belkinunv,bestfcom,bestfortress,bestuferrups,bestups,blazer_ser,blazer_usb,clone,clone-outlet,dummy-ups,etapro,everups,gamatronic,genericups,isbmex,ivtscd,liebert,liebert-esp2,masterguard,metasys,mge-shut,mge-utalk,microdowell,nutdrv_qx,oldmge-shut,oneac,optiups,powercom,powerpanel,rhino,richcomm_usb,riello_ser,riello_usb,safenet,solis,tripplite,tripplite_usb,tripplitesu,upscode2,usbhid-ups,victronups' '--with-cgipath=/usr/share/nut/cgi'
 *        phase-helpers.sh, line  666:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  117:  Called die
 * The specific snippet of code:
 *              die "$@"
 * 
 * If you need support, post the output of `emerge --info '=sys-power/nut-2.7.4-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-power/nut-2.7.4-r1::gentoo'`.
 * The complete build log is located at '/tmp/portage/sys-power/nut-2.7.4-r1/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/sys-power/nut-2.7.4-r1/temp/environment'.
 * Working directory: '/tmp/portage/sys-power/nut-2.7.4-r1/work/nut-2.7.4'
 * S: '/tmp/portage/sys-power/nut-2.7.4-r1/work/nut-2.7.4'
Comment 4 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2018-01-08 17:07:04 UTC
I've not been able to confirm this :|

./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 --disable-dependency-tracking --disable-silent-rules --libdir=/usr/lib64 --sysconfdir=/etc/nut --datarootdir=/usr/share/nut --datadir=/usr/share/nut --disable-static --with-statepath=/var/lib/nut --with-drvpath=/lib64/nut --with-htmlpath=/usr/share/nut/html --with-user=nut --with-group=nut --with-logfacility=LOG_DAEMON --with-dev --with-serial --without-powerman --without-cgi --without-ipmi --without-freeipmi --without-snmp --with-ssl --with-wrap --with-usb --without-neon --without-avahi --with-systemdsystemunitdir=/usr/lib/systemd/system --with-drivers=al175,apcsmart,apcsmart-old,apcupsd-ups,bcmxcp,bcmxcp_usb,belkin,belkinunv,bestfcom,bestfortress,bestuferrups,bestups,blazer_ser,blazer_usb,clone,clone-outlet,dummy-ups,etapro,everups,gamatronic,genericups,isbmex,ivtscd,liebert,liebert-esp2,masterguard,metasys,mge-shut,mge-utalk,microdowell,nutdrv_qx,oldmge-shut,oneac,optiups,powercom,powerpanel,rhino,richcomm_usb,riello_ser,riello_usb,safenet,solis,tripplite,tripplite_usb,tripplitesu,upscode2,usbhid-ups,victronups
checking for library containing request_init... -lwrap
checking whether to enable libwrap (tcp-wrappers) support... yes
enable libwrap (tcp-wrappers) support: yes
Comment 5 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2018-01-09 18:35:10 UTC
*** Bug 644038 has been marked as a duplicate of this bug. ***
Comment 6 Robert Marmorstein 2018-01-16 03:33:30 UTC
I'm also encountering this bug:

Portage 2.3.19 (python 2.7.14-final-0, default/linux/amd64/17.0, gcc-7.2.0, glibc-2.26-r5, 4.9.5-gentoo x86_64)
=================================================================
System uname: Linux-4.9.5-gentoo-x86_64-Intel-R-_Pentium-R-_D_CPU_3.20GHz-with-gentoo-2.4.1
KiB Mem:     3335396 total,   1175240 free
KiB Swap:    4674896 total,   4533104 free
Timestamp of repository gentoo: Mon, 15 Jan 2018 02:30:01 +0000
Head commit of repository gentoo: e05cbf97c6f47ed2320818aedc0c23bc1387fbc8
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.26.1-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.6-r1::gentoo, 3.5.4-r1::gentoo, 3.6.4::gentoo
dev-util/cmake:           3.10.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.28-r2::gentoo, 2.29.1-r1::gentoo
sys-devel/gcc:            6.3.0::gentoo, 6.4.0::gentoo, 7.1.0-r1::gentoo, 7.2.0-r1::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.14::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r5::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

robert
    location: /usr/portage/local
    masters: gentoo
    priority: 1

Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -Os -pipe -fno-pie -fPIC"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/apache2-php7.1/ext-active/ /etc/php/apache2-php7.2/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -Os -pipe -fno-pie -fPIC"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=3 --load-average=2.0 --autounmask=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs clean-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.lug.udel.edu/pub/gentoo/ http://mirror.datapipe.net/gentoo http://mirrors.rit.edu/gentoo/ ftp://ftp.lug.udel.edu/pub/gentoo/"
LANG="en_US.UTF8"
LC_ALL="en_US.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/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="/dev/shm"
USE="X acl acpi alsa amd64 apache2 bash-completion berkdb bzip2 cgi clang cli consolekit crypt cupsddk curl cxx dahdi dbus dri dv dvd encode faac ffmpeg fortran freetds gdbm hal iconv icu ipv6 jpeg kdenlive kolab kpathsea lame latex latex3 lzma mng modules mp3 mpeg mysql mysqli ncurses nptl ogg opengl openmp pam pcre pgsql plasma png postproc pulseaudio python readline seccomp semantic-desktop ssl svg taglib tcpd theora threads truetype unicode usb vhosts vim-syntax xattr xv zeroconf zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias auth_basic auth_digest authn_alias authn_core authn_anon authn_dbm authn_default authn_file authz_dbm authz_core authz_default cgi cgid authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias proxy_http proxy_connect proxy version dbd unixd socache_shmcb" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22 ruby23 ruby24 ruby25" SANE_BACKENDS="pixma net epson epson2 snapscan" USERLAND="GNU" VIDEO_CARDS="intel vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 7 Toralf Förster gentoo-dev 2018-05-23 16:32:55 UTC
got at the unstable amd64 chroot image 17.0_20180519-112102 this : configure: error: libwrap not found
Comment 8 Toralf Förster gentoo-dev 2018-05-23 16:32:58 UTC
Created attachment 532774 [details]
emerge-info.txt
Comment 9 Toralf Förster gentoo-dev 2018-05-23 16:33:01 UTC
Created attachment 532776 [details]
emerge-history.txt
Comment 10 Toralf Förster gentoo-dev 2018-05-23 16:33:04 UTC
Created attachment 532778 [details]
environment
Comment 11 Toralf Förster gentoo-dev 2018-05-23 16:33:08 UTC
Created attachment 532780 [details]
etc.portage.tbz2
Comment 12 Toralf Förster gentoo-dev 2018-05-23 16:33:12 UTC
Created attachment 532782 [details]
logs.tbz2
Comment 13 Toralf Förster gentoo-dev 2018-05-23 16:33:15 UTC
Created attachment 532784 [details]
sys-power:nut-2.7.4-r1:20180523-132802.log
Comment 14 Toralf Förster gentoo-dev 2018-05-23 16:33:18 UTC
Created attachment 532786 [details]
temp.tbz2