Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126275 - net-ftp/pure-ftpd-1.0.21 doesn't compile with FEATURES="confcache"
Summary: net-ftp/pure-ftpd-1.0.21 doesn't compile with FEATURES="confcache"
Status: RESOLVED DUPLICATE of bug 134454
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-15 04:07 UTC by Andreas Mann
Modified: 2006-05-26 14:44 UTC (History)
3 users (show)

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


Attachments
The config.log (config.log,92.06 KB, text/plain)
2006-03-15 04:09 UTC, Andreas Mann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Mann 2006-03-15 04:07:52 UTC
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
Comment 1 Andreas Mann 2006-03-15 04:09:09 UTC
Created attachment 82203 [details]
The config.log

The config.log which describes the failure.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-14 07:42:44 UTC
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)
Comment 3 Brian Harring (RETIRED) gentoo-dev 2006-04-14 08:07:05 UTC
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
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-14 08:18:52 UTC
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.
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-05-26 14:44:56 UTC

*** This bug has been marked as a duplicate of 134454 ***