Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 180895 - net-analyzer/net-snmp-5.4 fails to configure when confcache enabled
Summary: net-analyzer/net-snmp-5.4 fails to configure when confcache enabled
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-04 19:54 UTC by Maciej Grela
Modified: 2007-06-04 19:59 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Grela 2007-06-04 19:54:26 UTC
When trying  to emerge net-snmp with confcache enabled the following error occurs:

 * checking ebuild checksums ;-) ...                                                                                                          [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                         [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                        [ ok ]
 * checking net-snmp-5.4.tar.gz ;-) ...                                                                                                       [ ok ]
>>> Unpacking source...
>>> Unpacking net-snmp-5.4.tar.gz to /var/tmp/portage/net-analyzer/net-snmp-5.4/work
 * Applying net-snmp-5.4-makefile.patch ...                                                                                                   [ ok ]
 * Replacing obsolete head/tail with POSIX compliant ones
 *  - fixed acinclude.m4
 *  - fixed configure
 *  - fixed configure.in
 *  - fixed dist/net-snmp-solaris-build/elfdepend.sh
 *  - fixed local/snmp-ucd.sh
 *  - fixed snmplib/snmpusm.c
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-analyzer/net-snmp-5.4/work/net-snmp-5.4 ...
 * econf: updating net-snmp-5.4/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating net-snmp-5.4/config.sub with /usr/share/gnuconfig/config.sub
/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-install-prefix=/var/tmp/portage/net-analyzer/net-snmp-5.4/image/ --with-sys-location=Unknown --with-sys-contact=root@Unknown --with-default-snmp-version=3 --with-mib-modules=host ucd-snmp/dlmod --with-logfile=/var/log/net-snmpd.log --with-persistent-directory=/var/lib/net-snmp --enable-ucd-snmp-compatibility --enable-shared --enable-as-needed --disable-mfd-rewrites --enable-embedded-perl --enable-ipv6 --disable-internal-md5 --with-openssl --with-libwrap --without-rpm --without-bzip2 --without-zlib --without-elf --build=i686-pc-linux-gnu
configure: loading cache config.cache
checking what to build and install...  agent apps man local mibs
using default persistent mask 077
using default AgentX socket /var/agentx/master
using default "enterprise.net-snmp"
using default enterprise sysOID "NET-SNMP-MIB::netSnmpAgentOIDs..."
using default notifications "NET-SNMP-MIB::netSnmpNotifications"
using OS default send buffer size for server sockets
using OS default recv buffer size for server sockets
using OS default send buffer size for client sockets
using OS default recv buffer size for client sockets
checking if I need to feed myself to ksh... no
checking for i686-pc-linux-gnu-gcc... (cached) i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out

(......)

checking for find... find
checking for autoconf... /usr/bin/autoconf
checking for autoheader... /usr/bin/autoheader
checking for uname... /bin/uname
checking for an ANSI C-conforming const... yes
checking for inline... (cached) inline
checking for net-snmp version number... 5.4
checking for developer gcc flags...
checking target system type... config.sub: missing argument
Try `config.sub --help' for more information.
configure: error: /bin/sh ./config.sub  failed

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/net-analyzer/net-snmp-5.4/work/net-snmp-5.4/config.log

!!! ERROR: net-analyzer/net-snmp-5.4 failed.
Call stack:
  ebuild.sh, line 1621:   Called dyn_compile
  ebuild.sh, line 973:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  net-snmp-5.4.ebuild, line 84:   Called econf '--with-install-prefix=/var/tmp/portage/net-analyzer/net-snmp-5.4/image/' '--with-sys-location=Unknown' '--with-sys-contact=root@Unknown' '--with-default-snmp-version=3' '--with-mib-modules=host ucd-snmp/dlmod' '--with-logfile=/var/log/net-snmpd.log' '--with-persistent-directory=/var/lib/net-snmp' '--enable-ucd-snmp-compatibility' '--enable-shared' '--enable-as-needed' '--disable-mfd-rewrites' '--enable-embedded-perl' '--enable-ipv6' '--disable-internal-md5' '--with-openssl' '--with-libwrap' '--without-rpm' '--without-bzip2' '--without-zlib' '--without-elf'
  ebuild.sh, line 578:   Called die


All works fine without confcache

Reproducible: Always




thermal@idaho ~ $ emerge --info
Portage 2.1.2.9 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r3, 2.6.20-gentoo-idaho i686)
=================================================================
System uname: 2.6.20-gentoo-idaho i686 Intel(R) Pentium(R) M processor 1.80GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Fri, 01 Jun 2007 19:29:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="confcache distlocks metadata-transfer nodoc parallel-fetch sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl http://gentoo.zie.pg.gda.pl"
LANG="pl_PL.utf8"
LC_ALL="pl_PL.utf8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/home/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi aiglx alsa automount bash-completion berkdb bitmap-fonts bluetooth bzip2 caps cdr cli cracklib crypt cscope cups dbus dri dts dv dvd dvdr emboss encode esd evo exif flac fortran ftp gdbm gif glibc-compat20 glitz gnokii gnutls hal iconv idn ipv6 irda isdnlog jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility libg++ logrotate lzo mad mailwrapper midi mikmod mmx mmxext mp3 mpeg mudflap ncurses nfs nls nptl nptlonly ogg opengl openmp pam pcmcia pcre pdf perl png pppd python qt3 qt3support qt4 quicktime quotas readline real reflection rtc samba session slp sms speex spl sqlite sse sse2 ssl svg syslog tcpd tga theora threads tiff truetype truetype-fonts tta type1-fonts unicode usb vorbis win32codecs x264 x86 xcomposite xinerama xml xorg xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" CAMERAS="ptp2 panasonic minolta samsung sonydscfl sonydscf55 fuji canon casio ricoh toshiba" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="hd44780 ncurses" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="vesa radeon fglrx"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-06-04 19:59:09 UTC
confcache has been removed from the tree ages ago; unmerge it.