Net-SNMP fails to emerge. Rebuilding Perl and LibPerl fail to fix the lock-up Removing perl from the use flags allows the package to compile, but perl support is the needed component. Thanks. ----------------------- x86_64-pc-linux-gnu-gcc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/lib/perl5/5.8.8/x86_64-linux/CORE -DINET6 -march=opteron -pipe -O3 -Dlinux -c snmp_perl.c -fPIC -DPIC -o .libs/snmp_perl.lo snmp_perl.c:88:2: #error embedded perl broken make[1]: *** [snmp_perl.lo] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-snmp-5.2.2-r3/work/net-snmp-5.2.2/agent' make: *** [subdirs] Error 1 !!! ERROR: net-analyzer/net-snmp-5.2.2-r3 failed. Call stack: ebuild.sh, line 1525: Called dyn_compile ebuild.sh, line 928: Called src_compile net-snmp-5.2.2-r3.ebuild, line 107: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. ---------------------------------- Portage 2.1_pre9-r5 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.4-r1, 2.6.15-gentoo-r5 x86_64) ================================================================= System uname: 2.6.15-gentoo-r5 x86_64 AMD Opteron(tm) Processor 244 Gentoo Base System version 1.12.0_pre18 dev-lang/python: 2.3.5-r2, 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-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=opteron -pipe -O3" CHOST="x86_64-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/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d" CXXFLAGS="-march=opteron -pipe -O3" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X alsa avi berkdb bitmap-fonts cdparanoia cdr cli crypt cups dri dvd eds emboss encode foomaticdb fortran gif gpg gpm gstreamer gtk2 imlib ipv6 isdnlog jpeg kde lzw lzw-tiff mp3 mpeg ncurses nls nptl nptlonly opengl pam pcre pdflib perl png pppd python qt quicktime readline reflection sdl session spell spl ssl svg svgz tcpd tiff truetype-fonts type1-fonts usb xorg xpm xv zlib elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTDIR_OVERLAY
Did you try to re-emerge perl-tk and then net-snmp-5.2.2-r3?
Yes. Just re-emerged perl-tk, which emerge successfully. net-snmp died at the same place, same error.
would you mind remerging perl and libperl and in case it still fails afterwards, post emerge -pv perl libperl here?
Well I didn't pay attention... There's one point in your bug report "-I/usr/local/lib/perl5/5.8.8/x86_64-linux/CORE" As we don't install anything in /usr/local, I guess your local perl is the problem here...