Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 288507 - urwid-0.9.8.4 fails to compile
Summary: urwid-0.9.8.4 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-11 04:31 UTC by Robert Cabrera
Modified: 2009-10-11 16:04 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 Robert Cabrera 2009-10-11 04:31:20 UTC
urwid-0.9.8.4 fails to compile. Once every couple of months I do "emerge -e world --keep-going" to make sure all installed packages are up to date. I started this on Thurs evening in conjunction with uograde to KDE-4.3.2 but build failed. Repeatedly tried to emerge but failed at same point every time.

Build log is as follows:

>>> Unpacking source...
>>> Unpacking urwid-0.9.8.4.tar.gz to /var/tmp/portage/dev-python/urwid-0.9.8.4/work
>>> Source unpacked in /var/tmp/portage/dev-python/urwid-0.9.8.4/work
>>> Preparing source in /var/tmp/portage/dev-python/urwid-0.9.8.4/work/urwid-0.9.8.4 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/urwid-0.9.8.4/work/urwid-0.9.8.4 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/urwid-0.9.8.4/work/urwid-0.9.8.4 ...
 [1;32m*[0m [1;34mBuilding of dev-python/urwid-0.9.8.4 with Python 2.6...[0m
python2.6 setup.py build -b build-2.6
running build
running build_py
creating build-2.6
creating build-2.6/lib.linux-i686-2.6
creating build-2.6/lib.linux-i686-2.6/urwid
copying urwid/old_str_util.py -> build-2.6/lib.linux-i686-2.6/urwid
copying urwid/graphics.py -> build-2.6/lib.linux-i686-2.6/urwid
copying urwid/widget.py -> build-2.6/lib.linux-i686-2.6/urwid
copying urwid/listbox.py -> build-2.6/lib.linux-i686-2.6/urwid
copying urwid/font.py -> build-2.6/lib.linux-i686-2.6/urwid
copying urwid/web_display.py -> build-2.6/lib.linux-i686-2.6/urwid
copying urwid/util.py -> build-2.6/lib.linux-i686-2.6/urwid
copying urwid/html_fragment.py -> build-2.6/lib.linux-i686-2.6/urwid
copying urwid/canvas.py -> build-2.6/lib.linux-i686-2.6/urwid
copying urwid/escape.py -> build-2.6/lib.linux-i686-2.6/urwid
copying urwid/__init__.py -> build-2.6/lib.linux-i686-2.6/urwid
copying urwid/curses_display.py -> build-2.6/lib.linux-i686-2.6/urwid
copying urwid/raw_display.py -> build-2.6/lib.linux-i686-2.6/urwid
running build_ext
Traceback (most recent call last):
  File "setup.py", line 100, in <module>
    setup( ** setup_d )
  File "/usr/lib/python2.6/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib/python2.6/distutils/dist.py", line 975, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.6/distutils/command/build.py", line 134, in run
    self.run_command(cmd_name)
  File "/usr/lib/python2.6/distutils/cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.6/site-packages/setuptools/command/build_ext.py", line 46, in run
    _build_ext.run(self)
  File "/usr/lib/python2.6/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/usr/lib/python2.6/site-packages/Pyrex/Distutils/build_ext.py", line 82, in build_extensions
    self.build_extension(ext)
  File "/usr/lib/python2.6/site-packages/setuptools/command/build_ext.py", line 175, in build_extension
    _build_ext.build_extension(self,ext)
  File "/usr/lib/python2.6/distutils/command/build_ext.py", line 460, in build_extension
    ext_path = self.get_ext_fullpath(ext.name)
  File "/usr/lib/python2.6/distutils/command/build_ext.py", line 633, in get_ext_fullpath
    filename = self.get_ext_filename(modpath[-1])
  File "/usr/lib/python2.6/site-packages/setuptools/command/build_ext.py", line 85, in get_ext_filename
    ext = self.ext_map[fullname]
KeyError: 'str_util'
 [31;01m*[0m ERROR: dev-python/urwid-0.9.8.4 failed:
 [31;01m*[0m   Building failed with Python 2.6 in building() function
 [31;01m*[0m 
 [31;01m*[0m Call stack:
 [31;01m*[0m     ebuild.sh, line   49:  Called src_compile
 [31;01m*[0m   environment, line 3033:  Called distutils_src_compile
 [31;01m*[0m   environment, line  738:  Called python_execute_function 'building'
 [31;01m*[0m   environment, line 2701:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m                       die "${failure_message}";
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant.
 [31;01m*[0m A complete build log is located at '/var/lib/entropy/logs/dev-python:urwid-0.9.8.4:20091010-172107.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-python/urwid-0.9.8.4/temp/environment'.
 [31;01m*[0m S: '/var/tmp/portage/dev-python/urwid-0.9.8.4/work/urwid-0.9.8.4'

My make.conf:

USE="7Zip 7zip X a52 aac aalib accessibility acl acpi aiglx aim alsa \
     artswrappersuid audiofile avahi bash-completion bluetooth bzip2 cairo \
     cdda cddb cdr chm cjk config_wizard cpudetection css cups dbox2 dbus \
     dga dri dts dv dvb dvd dvdr dvdread extramodules fame fat ffmpeg fftw \
     firefox flac flash foomatic-db freetype gcj gif gimpprint gmp gnutls \
     gphoto2 gs gsm gtk hal hfs icq ieee1394 imap inotify ipod irc jabber \
     jack java java6 javascript jce jfs jingle joystick kde kdeenablefinal \
     kdehiddenvisibility kerberos kipi lame lcd libnotify live lj lm_sensors \
     logitech-mouse lzo mail matroska mjpeg mmx mng mozdevelop mp3 mp3rtp \
     msn musepack musicbrainz network new-login nptlonly nsplugin ntfs ogg \
     openal openexr opengl pcmcia pda policykit povray ppds pulseaudio \
     qt3support qt4 quotas rar rdesktop real reiserfs rss scanner sdl slp \
     sms speex startup-notification stream svg sysfs theora tiff tk tracker \
     udev unicode usb v4l v4l2 visualization voice weather wifi win32codecs \
     wmf x264 xcb xfs xine xinerama xpm xprint xulrunner xvid xvmc yahoo \
     zeroconf -apm -arts -beagle -branding -eds -esd -evo -gnome -mono -oss \
     -qt3"

CHOST="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,-O1,--as-needed"
ACCEPT_KEYWORDS="~x86"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en_US.UTF-8 en_US"
MAKEOPTS="-j2 -s"
PORTAGE_NICENESS="8"
FEATURES="parallel-fetch sandbox collision-protect"
CONFIG_PROTECT="/usr/share/config/kdm /etc"
CONFIG_PROTECT_MASK="/etc/skel"
APACHE2_MPMS="prefork"
ALSA_CARDS="intel8x0 intel8x0m"
INPUT_DEVICES="evdev keyboard mouse synaptics joystick"
VIDEO_CARDS="fbdev vesa nv nvidia"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo http://gentoo.osuosl.org /http://213.186.33.38/gentoo-distfiles/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://213.186.33.38/gentoo-distfiles/ http://212.219.56.138/sites/www.ibiblio.org/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"


Reproducible: Always

Steps to Reproduce:
1.emerge -e world --keep-going, this was only package which failed to emerge.
2.emerge --oneshot urwid failed at same point in build.
3.Tried two other times to compile with same results.

Actual Results:  
Build fails every time.

Expected Results:  
Successful build and installation.

I don't know if this helps but my system is compiled natively for a notebook running a pentium-m centrino processor. Looked in forums and bugzilla could find no recent issues. So I'm posting this bug report.
Comment 1 Tomás Touceda (RETIRED) gentoo-dev 2009-10-11 04:48:08 UTC
Please try updating setuptools to 0.6.3-r3.

I've downgraded my setuptools to 0.6-r1 and this error comes up, but with 0.6.3-r3 it doesn't.
Comment 2 Robert Cabrera 2009-10-11 16:04:55 UTC
(In reply to comment #1)
> Please try updating setuptools to 0.6.3-r3.
> 
> I've downgraded my setuptools to 0.6-r1 and this error comes up, but with
> 0.6.3-r3 it doesn't.
> 
Thanks this solved the problem. I had previously masked setuptools-0.6.3-r3 due to dependancy issues that were forcing me to downgrade several other apps. I just reemerged both with no issues and no subsequent downgrades. So please mark this as solved/fixed. Thanks for the help!

Robert