Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 229891

Summary: dev-python/nevow-0.9.31 failes to emerge
Product: Gentoo Linux Reporter: Abdul-Wahid Paterson <aw>
Component: New packagesAssignee: Python Gentoo Team <python>
Severity: normal CC: maekke
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description Abdul-Wahid Paterson 2008-06-28 12:19:35 UTC
emerge of nevow 0.9.31 below.

Reproducible: Always

Steps to Reproduce:
1. unmask nevow 0.9.31
2. unmask twisted 2.5
3. emerge -uav nevow

Actual Results:  

>>> Compiling source in /var/tmp/portage/dev-python/nevow-0.9.31/work/Nevow-0.9.31 ...
Traceback (most recent call last):
  File "", line 8, in ?
    import setupcommon
  File "/var/tmp/portage/dev-python/nevow-0.9.31/work/Nevow-0.9.31/", line 2, in ?
    from nevow import __version__ as version
  File "/var/tmp/portage/dev-python/nevow-0.9.31/work/Nevow-0.9.31/nevow/", line 143, in ?
  File "/var/tmp/portage/dev-python/nevow-0.9.31/work/Nevow-0.9.31/nevow/", line 29, in load
  File "/var/tmp/portage/dev-python/nevow-0.9.31/work/Nevow-0.9.31/nevow/", line 183, in _namedAnyWithBuiltinTranslation
    return namedAny(name)
  File "/usr/lib/python2.4/site-packages/twisted/python/", line 426, in namedAny
    topLevelPackage = _importAndCheckStack(trialname)
  File "/usr/lib/python2.4/site-packages/twisted/python/", line 377, in _importAndCheckStack
    return __import__(importName)
  File "/var/tmp/portage/dev-python/nevow-0.9.31/work/Nevow-0.9.31/formless/", line 24, in ?
    from nevow.static import File
  File "/var/tmp/portage/dev-python/nevow-0.9.31/work/Nevow-0.9.31/nevow/", line 18, in ?
    from twisted.web import error
  File "/usr/lib/python2.4/site-packages/twisted/web/", line 9, in ?
    import resource
  File "/usr/lib/python2.4/site-packages/twisted/web/", line 15, in ?
    class IResource(components.Interface):
AttributeError: 'module' object has no attribute 'Interface'

Expected Results:  
Emerge should complete successfully :)

My emerge --info

Portage (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r4 i686)
System uname: 2.6.24-gentoo-r4 i686 Intel(R) Core(TM) Duo CPU T2450 @ 2.00GHz
Timestamp of tree: Sat, 28 Jun 2008 10:30:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  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-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
CFLAGS="-O2 -march=pentium4 -pipe"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
LINGUAS="en en_GB ar"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
USE="X a52 aac accessibility acl acpi alsa applet bash-completion beagle berkdb bidi bogofilter bzip2 cairo cdr cgk cjk cli cracklib crypt cups curl dbus devhelp dga discouraged dri dv dvd dvdr ecc evo ffmpeg firefox fortran gdbm gedit gif gimp glade glitz gnome gnome-keyring gphoto2 gpm gs gstreamer gtk gtk2 gzip hal iconv idea imagemagick ipv6 isdnlog java jpeg jpeg2k jpgeg keyring lame libgda libnotify logrotate mad md5sum midi mmx mng mono mozdevelop mp3 mpeg mudflap nautilus ncurses networkmanager nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl plotutils png pnm postscript pppd python quicktime rar readline real reflection rtc samba session smp sound spell spl sse sse2 ssl svg tcpd tga theora threads tiff tk truetype unicode usb vorbis wavpack webdav win32codecs wma wmf x264 x86 xforms xml xorg xprint xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" 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" LINGUAS="en en_GB ar" USERLAND="GNU" VIDEO_CARDS="radeon"
Comment 1 Rob Cakebread (RETIRED) gentoo-dev 2008-06-28 16:36:51 UTC
It seems to not like your version of dev-python/twisted-web
Which do you have emerged?

Unfortunately their doesn't have any version requirements, and I can't find it in their documentation.
Comment 2 Markus Meier gentoo-dev 2008-08-17 14:21:58 UTC
this happens with dev-python/twisted-web-0.6.0 but is fixed with (latest stable) dev-python/twisted-web-8.1.0. maybe the dep should be adjusted to this version?
Comment 3 Patrick Lauer gentoo-dev 2008-12-07 10:29:28 UTC
+  07 Dec 2008; Patrick Lauer <> nevow-0.9.31.ebuild:
+  Correcting deps, fixes #229891

Please try to test again if this really fixes the issue.
Comment 4 Markus Meier gentoo-dev 2008-12-21 18:07:17 UTC
(In reply to comment #3)
> +  07 Dec 2008; Patrick Lauer <> nevow-0.9.31.ebuild:
> +  Correcting deps, fixes #229891
> Please try to test again if this really fixes the issue.

looks good, thanks.