Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232754 - net-analyzer/net-snmp-5.4.1.1 + python 2.5 - ImportError: No module named setuptools
Summary: net-analyzer/net-snmp-5.4.1.1 + python 2.5 - ImportError: No module named set...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-23 14:19 UTC by svrmarty
Modified: 2008-07-28 04:13 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 svrmarty 2008-07-23 14:19:03 UTC
make[2]: Entering directory `/var/tmp/portage/net-analyzer/net-snmp-5.4.1.1/work/net-snmp-5.4.1.1/perl/TrapReceiver'
cp TrapReceiver.pm ../blib/lib/NetSNMP/TrapReceiver.pm
AutoSplitting ../blib/lib/NetSNMP/TrapReceiver.pm (../blib/lib/auto/NetSNMP/TrapReceiver)
/usr/bin/perl5.8.8 /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -prototypes -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap  TrapReceiver.xs > TrapReceiver.xsc && mv TrapReceiver.xsc TrapReceiver.c
i686-pc-linux-gnu-gcc -c  -I. -I../../include -march=pentium-m -pipe -O2 -Ulinux -Dlinux=linux -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.8/i686-linux/CORE -I. -I/usr/include -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=pentium-m -O3 -pipe -fomit-frame-pointer -funroll-loops   -DVERSION=\"5.04011\" -DXS_VERSION=\"5.04011\" -fPIC "-I/usr/lib/perl5/5.8.8/i686-linux/CORE"   TrapReceiver.c
In file included from TrapReceiver.xs:6:
ppport.h:227:1: warning: "PERL_UNUSED_DECL" redefined
In file included from TrapReceiver.xs:3:
/usr/lib/perl5/5.8.8/i686-linux/CORE/perl.h:163:1: warning: this is the location of the previous definition
Running Mkbootstrap for NetSNMP::TrapReceiver ()
chmod 644 TrapReceiver.bs
rm -f ../blib/arch/auto/NetSNMP/TrapReceiver/TrapReceiver.so
LD_RUN_PATH="/usr/lib:/usr/lib/perl5/5.8.8/i686-linux/CORE" i686-pc-linux-gnu-gcc  -shared -L/usr/local/lib -Wl,-O1 TrapReceiver.o  -o ../blib/arch/auto/NetSNMP/TrapReceiver/TrapReceiver.so   -L/var/tmp/portage/net-analyzer/net-snmp-5.4.1.1/work/net-snmp-5.4.1.1/perl/TrapReceiver/../../apps/.libs -L/var/tmp/portage/net-analyzer/net-snmp-5.4.1.1/work/net-snmp-5.4.1.1/perl/TrapReceiver/../../apps -L/var/tmp/portage/net-analyzer/net-snmp-5.4.1.1/work/net-snmp-5.4.1.1/perl/TrapReceiver/../../agent/.libs -L/var/tmp/portage/net-analyzer/net-snmp-5.4.1.1/work/net-snmp-5.4.1.1/perl/TrapReceiver/../../agent -L/var/tmp/portage/net-analyzer/net-snmp-5.4.1.1/work/net-snmp-5.4.1.1/perl/TrapReceiver/../../agent/helpers/.libs -L/var/tmp/portage/net-analyzer/net-snmp-5.4.1.1/work/net-snmp-5.4.1.1/perl/TrapReceiver/../../agent/helpers -L/var/tmp/portage/net-analyzer/net-snmp-5.4.1.1/work/net-snmp-5.4.1.1/perl/TrapReceiver/../../snmplib/.libs -L/var/tmp/portage/net-analyzer/net-snmp-5.4.1.1/work/net-snmp-5.4.1.1/perl/TrapReceiver/../../snmplib -lnetsnmptrapd -lnetsnmpagent -lnetsnmp
chmod 755 ../blib/arch/auto/NetSNMP/TrapReceiver/TrapReceiver.so
cp TrapReceiver.bs ../blib/arch/auto/NetSNMP/TrapReceiver/TrapReceiver.bs
chmod 644 ../blib/arch/auto/NetSNMP/TrapReceiver/TrapReceiver.bs
Manifying ../blib/man3/NetSNMP::TrapReceiver.3pm
make[2]: Leaving directory `/var/tmp/portage/net-analyzer/net-snmp-5.4.1.1/work/net-snmp-5.4.1.1/perl/TrapReceiver'
make[1]: Leaving directory `/var/tmp/portage/net-analyzer/net-snmp-5.4.1.1/work/net-snmp-5.4.1.1/perl'
Traceback (most recent call last):
  File "setup.py", line 2, in <module>
    from setuptools import setup, Extension, find_packages
ImportError: No module named setuptools
make: *** [pythonmodules] Error 1
 *
 * ERROR: net-analyzer/net-snmp-5.4.1.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3340:  Called die
 * The specific snippet of code:
 *       emake -j1 || die "emake failed";
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-analyzer/net-snmp-5.4.1.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/net-snmp-5.4.1.1/temp/environment'.
 *


Reproducible: Always

Steps to Reproduce:
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-07-23 14:58:07 UTC
Please attach your emerge --info.

Since net-snmp depends on dev-python/setuptools if the USE=python useflag is set, I would assume that you just upgraded python and didn't run python-updater to remerge setuptools as a python-2.5 module. Is that correct? 
Comment 2 svrmarty 2008-07-23 19:41:33 UTC
i've tried python-updater but it stoped, so i  emerged packages on my own


Portage 2.1.4.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24.3 i686)
=================================================================
System uname: 2.6.24.3 i686 Intel(R) Pentium(R) M processor 1600MHz
Timestamp of tree: Tue, 22 Jul 2008 14:04:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.3
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O3 -pipe -fomit-frame-pointer -funroll-loops"
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/config /var/bind /var/www/localhost/htdocs//mythweb/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=pentium-m -O3 -pipe -fomit-frame-pointer -funroll-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache cvs distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/gentoo-x86"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amr apache2 apm arts asf async audit authdaemond berkdb bzip2 calendar cddb cgi cli cracklib crciprec crypt ctype cups curl dbus de_tvtoday dga directfb diskio divx dri dts dvb dvd eds encode esd exif fam fbdev ffmpeg firefox flac flash font-server fortran ftp gd gdbm gif gmedia gmp gnome gpm graphviz gtk h323 hal hash iconv idn imagemagick imap imlib innodb isdnlog jack java jikes jpeg ldap libcaca live lm_sensors logrotate lzo mad maildir matroska mcal mfd-rewrites mhash midi mikmod milter ming mjpeg mmx mng modplug motif mp3 mpeg mudflap mysql mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh nas ncurses network nls nptl nptlonly nsplugin nvidia ogg opengl openmp oss pam pcre perl php png postgres pppd pwdb python quicktime readline real realmedia reflection rtsp samba sample sasl sdl sendmail session sharedmem simplexml slang smux snmp soap sockets speex spl sqlite sse sse2 ssl stream svg svga tcltk tcpd theora tiff truetype unicode usb v4l v4l2 vcd vidix virus-scan vorbis win32codecs wmp x264 x86 xcomposite xext xinerama xml xml2 xmlreader xmlrpc xmlwriter xorg xrandr xsl xv xvid xvmc yp zip zlib" ALSA_CARDS="emu10k1" 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia fbdev nv v4l vesa vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2008-07-23 22:34:55 UTC
(In reply to comment #2)
> i've tried python-updater but it stoped, so i  emerged packages on my own

Care to present us the error message it throwed, if any? Without getting information why it didn't process setuptools on your box, it's not possible to fix python-updater.