Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131938 - net-analyzer/net-snmp-5.2.2-r3 fails to compile due to broken embedded perl
Summary: net-analyzer/net-snmp-5.2.2-r3 fails to compile due to broken embedded perl
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-01 10:58 UTC by Blair Heiserman
Modified: 2006-05-06 12:48 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 Blair Heiserman 2006-05-01 10:58:34 UTC
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
Comment 1 Angelo Leto 2006-05-02 12:21:22 UTC
Did you try to re-emerge perl-tk and then net-snmp-5.2.2-r3?
Comment 2 Blair Heiserman 2006-05-02 12:39:35 UTC
Yes. Just re-emerged perl-tk, which emerge successfully. net-snmp died at the same place, same error.
Comment 3 Markus Ullmann (RETIRED) gentoo-dev 2006-05-06 08:29:42 UTC
would you mind remerging perl and libperl and in case it still fails afterwards, post emerge -pv perl libperl here?
Comment 4 Markus Ullmann (RETIRED) gentoo-dev 2006-05-06 12:48:04 UTC
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...