Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 219127 - net-analyzer/net-snmp-5.4.1-r3 fails to emerge with Python error: TypeError: 'NoneType' object is not iterable
Summary: net-analyzer/net-snmp-5.4.1-r3 fails to emerge with Python error: TypeError: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-24 09:37 UTC by MarisN
Modified: 2008-06-09 06:45 UTC (History)
0 users

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


Attachments
The ebuild environment file (environment,106.24 KB, text/plain)
2008-04-24 09:38 UTC, MarisN
Details
A complete build log (build.log,428.97 KB, text/plain)
2008-04-24 09:40 UTC, MarisN
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MarisN 2008-04-24 09:37:37 UTC
ERROR: net-analyzer/net-snmp-5.4.1-r3 failed.

building 'netsnmp.client_intf' extension
Traceback (most recent call last):
  File "setup.py", line 44, in <module>
    libraries=libs )
  File "/usr/lib/python2.5/distutils/core.py", line 151, in setup
    dist.run_commands()
  File "/usr/lib/python2.5/distutils/dist.py", line 974, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.5/distutils/dist.py", line 994, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.5/distutils/command/build.py", line 112, in run
    self.run_command(cmd_name)
  File "/usr/lib/python2.5/distutils/cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python2.5/distutils/dist.py", line 994, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.5/site-packages/setuptools/command/build_ext.py", line 46, in run
    _build_ext.run(self)
  File "/usr/lib/python2.5/distutils/command/build_ext.py", line 290, in run
    self.build_extensions()
  File "/usr/lib/python2.5/site-packages/Pyrex/Distutils/build_ext.py", line 82, in build_extensions
    self.build_extension(ext)
  File "/usr/lib/python2.5/site-packages/setuptools/command/build_ext.py", line 175, in build_extension
    _build_ext.build_extension(self,ext)
  File "/usr/lib/python2.5/distutils/command/build_ext.py", line 481, in build_extension
    depends=ext.depends)
  File "/usr/lib/python2.5/distutils/ccompiler.py", line 689, in compile
    depends, extra_postargs)
  File "/usr/lib/python2.5/distutils/ccompiler.py", line 371, in _setup_compile
    output_dir=outdir)
  File "/usr/lib/python2.5/distutils/ccompiler.py", line 983, in object_filenames
    for src_name in source_filenames:
TypeError: 'NoneType' object is not iterable
make: *** [pythonmodules] Error 1


Reproducible: Always

Steps to Reproduce:
Comment 1 MarisN 2008-04-24 09:38:43 UTC
Created attachment 150814 [details]
The ebuild environment file
Comment 2 MarisN 2008-04-24 09:40:02 UTC
Created attachment 150816 [details]
A complete build log
Comment 3 MarisN 2008-04-24 09:41:19 UTC
emerge --info
Portage 2.1.5_rc6 (default-linux/x86/2006.1, gcc-4.2.2, glibc-2.7-r2, 2.6.24-gentoo-r4 i686)
=================================================================
System uname: 2.6.24-gentoo-r4 i686 Intel(R) Celeron(R) M processor 1.40GHz
Timestamp of tree: Thu, 24 Apr 2008 07:15:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.5.2-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -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/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.tups.lv/source http://ftp.linux.ee/pub/gentoo/distfiles http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ / ftp://ftp.linux.ee/pub/gentoo/distfiles/ http://trumpetti.atm.tut.fi/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ "
LANG="lv_LV.UTF-8"
LC_ALL="lv_LV.UTF-8"
LDFLAGS=""
LINGUAS="lv"
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/portage/local/layman/dirtyepic /usr/portage/local/layman/gentoo-gis /home/ddd/soft/portage"
SYNC="rsync://gentoo.tups.lv/gentoo-portage"
USE="X aac acpi alsa apache2 berkdb bzip2 cdr cli cracklib crypt cups dbus dell dri dvd encode flac fortran gdal gdbm geos gif gpm hal iconv idn ieee1394 ipv6 isdnlog java jpeg json kde lm_sensors midi mmx mmxext mp3 mudflap ncurses nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pcimcia pcre pdf perl png ppds pppd proj python qt3 qt3support qt4 readline reflection samba session spl sse sse2 ssl svg tcpd theora tiff truetype unicode usb utf-8 vorbis x86 xcomposite xorg xscreensaver xv xvid xvmc zeroconf 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" APACHE2_MODULES="actions alias authz_host autoindex cache deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif so unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="synaptics mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="lv" USERLAND="GNU" VIDEO_CARDS="vesa i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Peter Volkov (RETIRED) gentoo-dev 2008-06-08 12:57:53 UTC
Thank you for report Maris. ATM You should reemerge pyrex to make blocker that was added in bug 218815 active.
Comment 5 Peter Volkov (RETIRED) gentoo-dev 2008-06-09 06:45:45 UTC
Well. Now pyrex update available thus you'll reemerge/update pyrex and net-snmp starts to build magicaly. FIXED.