I tried to update to pure-ftpd-1.0.21 and got this error: >>>BEGIN einstein ~ # emerge -av1 pure-ftpd These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild R ] net-ftp/pure-ftpd-1.0.21 USE="mysql pam ssl vchroot -caps -ldap -postgres" 0 kB [...] >>> Compiling source in /var/tmp/portage/pure-ftpd-1.0.21/work/pure-ftpd-1.0.21 ... /usr/bin/confcache --confcache-ignore /var/tmp/.distcc --confcache-dir /var/tmp/confcache ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-altlog --with-extauth --with-puredb --with-cookie --with-throttling --with-ratios --with-quotas --with-ftpwho --with-uploadscript --with-virtualhosts --with-diraliases --with-peruserlimits --with-largefile --with-privsep --with-pam --with-mysql --with-tls --without-capabilities --with-virtualchroot --build=i686-pc-linux-gnu configure: loading cache config.cache [...] checking for gethostbyname... (cached) yes checking for gethostbyname... (cached) yes checking if we can include libnsl + libsocket... failure configure: error: unable to use gethostbyname() !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/pure-ftpd-1.0.21/work/pure-ftpd-1.0.21/config.log !!! ERROR: net-ftp/pure-ftpd-1.0.21 failed. Call stack: ebuild.sh, line 1557: Called dyn_compile ebuild.sh, line 966: Called src_compile pure-ftpd-1.0.21.ebuild, line 54: Called econf '--with-altlog' '--with-extauth' '--with-puredb' '--with-cookie' '--with-throttling' '--with-ratios' '--with-quotas' '--with-ftpwho' '--with-uploadscript' '--with-virtualhosts' '--with-diraliases' '--with-peruserlimits' '--with-largefile' '--with-privsep' '--with-pam' '--with-mysql' '--with-tls' '--without-capabilities' '--with-virtualchroot' !!! econf failed !!! If you need support, post the topmost build error, and the call stack if relevant. <<<END After disabling confcache using `FEATURES="-confcache" emerge -1 pure-ftpd` everything was fine. >>>BEGIN einstein ~ # emerge --info Portage 2.1_pre6-r2 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.4-r0, 2.6.15-gentoo-r7 i686) ================================================================= System uname: 2.6.15-gentoo-r7 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.12.0_pre16 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla-firefox/searchplugins /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/hal/fdi /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig confcache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://chl.fem.tu-ilmenau.de ftp://ftp.tu-ilmenau.de/Mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="de_DE@euro" LC_ALL="de_DE@euro" LINGUAS="de en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow X a52 aac apache2 apm arts avi bash-completion berkdb bitmap-fonts bzip2 cli crypt ctype cups dba dri dts dv dvd dvdr dvdread eds emboss expat fastbuild fbcon foomaticdb force-cgi-redirect ftp gd gdbm gif gpm gstreamer gtk gtk2 imlib ipv6 java jikes jpeg junit kde kdexdeltas libg++ libwww mad matroska memlimit mikmod mmx mng motif mozilla mozsvg mp3 mpeg mysql ncurses nls nptl nvidia offensive ogg opengl pam pcre pdflib perl php png posix python qt quicktime readline real samba sdl session simplexml slang soap sockets source speex spell spl ssl svg tcpd theora tiff tokenizer truetype truetype-fonts type1-fonts udev usb vcd vorbis win32codecs wmf xine xml xml2 xprint xsl xv xvid zlib elibc_glibc kernel_linux linguas_de linguas_en userland_GNU" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS <<<END
Created attachment 82203 [details] The config.log The config.log which describes the failure.
Brian, I suppose someone should really implement blacklisting :) Who between you and me have more free time? :P (I suppose neither is an answer, too)
Diego: blacklisting of what though? Pkg name (restrict)? Something I never did, but intended was an option for "try once with cache, once without if first failed" which would hide most of these barfs
No, of values to not cache. Like the most common functions that in glibc are in external libraries and in the whole rest of the world are in libc... and that some stupid configure checks for using AC_CHECK_FUNCS after setting LIBS instead of using AC_CHECK_LIB.
*** This bug has been marked as a duplicate of 134454 ***