Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166114 - dev-python/nevow-0.9.0: compilation failed
Summary: dev-python/nevow-0.9.0: compilation failed
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Marien Zwart (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-09 19:01 UTC by Benjamin Gehrels
Modified: 2008-02-23 00:09 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 Benjamin Gehrels 2007-02-09 19:01:08 UTC
Tying to install pymsn-t there was nevow in the dependencys.

Compiling nevow-0.9.0 produced various errors.

Reproducible: Didn't try

Steps to Reproduce:
1. echo "net-im/pymsn-t ~x86" >> /etc/portage/package.keywords
2. echo "dev-python/nevow ~x86" >> /etc/portage/package.keywords
3. echo "net-im/twisted ~x86" >> /etc/portage/package.keywords
4. emerge pymsn-t

Actual Results:  
the following error:

 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking Nevow-0.9.0.tar.gz ;-) ...                                    [ ok ]
>>> Unpacking source...
>>> Unpacking Nevow-0.9.0.tar.gz to /var/tmp/portage/nevow-0.9.0/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/nevow-0.9.0/work/Nevow-0.9.0 ...
Traceback (most recent call last):
  File "setup.py", line 8, in ?
    import setupcommon
  File "/var/tmp/portage/nevow-0.9.0/work/Nevow-0.9.0/setupcommon.py", line 2, i                                                                                            n ?
    from nevow import __version__ as version
  File "/var/tmp/portage/nevow-0.9.0/work/Nevow-0.9.0/nevow/__init__.py", line 1                                                                                            41, in ?
    load(basic_adapters)
  File "/var/tmp/portage/nevow-0.9.0/work/Nevow-0.9.0/nevow/__init__.py", line 2                                                                                            9, in load
    registerAdapter(_namedAnyWithBuiltinTranslation(a),
  File "/var/tmp/portage/nevow-0.9.0/work/Nevow-0.9.0/nevow/util.py", line 97, i                                                                                            n _namedAnyWithBuiltinTranslation
    return namedAny(name)
  File "/usr/lib/python2.4/site-packages/twisted/python/reflect.py", line 357, i                                                                                            n namedAny
    topLevelPackage = __import__(trialname)
  File "/var/tmp/portage/nevow-0.9.0/work/Nevow-0.9.0/formless/webform.py", line                                                                                             24, in ?
    from nevow.static import File
  File "/var/tmp/portage/nevow-0.9.0/work/Nevow-0.9.0/nevow/static.py", line 18,                                                                                             in ?
    from twisted.web import error
  File "/usr/lib/python2.4/site-packages/twisted/web/error.py", line 9, in ?
    import resource
  File "/usr/lib/python2.4/site-packages/twisted/web/resource.py", line 15, in ?
    class IResource(components.Interface):
AttributeError: 'module' object has no attribute 'Interface'

!!! ERROR: dev-python/nevow-0.9.0 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  nevow-0.9.0.ebuild, line 31:   Called distutils_src_compile
  distutils.eclass, line 38:   Called die

!!! compilation failed
!!! If you need support, post the topmost build error, and the call stack if rel                                                                                            evant.


Expected Results:  
compile and install pymsn-t and it's dependencys

angela agavenwurm # emerge --info
Portage 2.1.1-r2 (default-linux/x86/vserver, gcc-4.1.1, glibc-2.4-r4, 2.6.8-022stab078.14 i686)
=================================================================
System uname: 2.6.8-022stab078.14 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.6.14
Last Sync: Fri, 09 Feb 2007 18:29:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
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
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s -z combreloc"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/root/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1 alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol bash-completion bitmap-fonts cli cracklib dlloader dri elibc_glibc iconv input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text midi ncurses nptl pcre pppd readline reflection session spl ssl truetype-fonts type1-fonts unicode userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS
Comment 1 Marien Zwart (RETIRED) gentoo-dev 2007-02-09 19:04:48 UTC
Could you check what version of twisted and twisted-web you have installed please?
Comment 2 Benjamin Gehrels 2007-02-09 19:33:50 UTC
angela agavenwurm # emerge -pv twisted twisted-web

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-python/twisted-2.5.0  USE="-crypt -gtk -serial" 0 kB
[ebuild     UD] dev-python/twisted-2.2.0 [2.5.0] USE="-crypt -gtk -serial" 260 kB
[ebuild   R   ] dev-python/twisted-web-0.5.0-r1  256 kB

Total size of downloads: 516 kB
Comment 3 Marien Zwart (RETIRED) gentoo-dev 2007-02-09 20:13:52 UTC
You package.keyworded only twisted, not twisted-web. This is unsupported and will lead to an up/down cycle and other brokenness. I'm not sure how to improve this much (I could stick everything full of blockers but that's pretty annoying for those upgrading both twisted and twisted-web at the same time as intended). Keeping the bug open for now to keep it on my list of problems that would be nice to fix, even though I can't think of a way to do it yet.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2008-02-23 00:09:02 UTC
We are @ 0.9.18 now; please reopen if you still have issues.