Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 368247 - net-zope/zope-interface-3.6.2 failed (compile phase): Building failed with CPython 3.2 in distutils_building() function
Summary: net-zope/zope-interface-3.6.2 failed (compile phase): Building failed with ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-21 10:22 UTC by Peter Ruskin
Modified: 2011-06-23 09:59 UTC (History)
3 users (show)

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 Peter Ruskin 2011-05-21 10:22:49 UTC
* Building of net-zope/zope-interface-3.6.2 with CPython 3.2...
python3.2 setup.py build -b build-3.2
Traceback (most recent call last):
  File "/var/tmp/portage/net-zope/zope-interface-3.6.2/work/zope.interface-3.6.2/build_ext_3.py", line 6, in <module>
    from setuptools.command.build_ext import build_ext
ImportError: No module named setuptools.command.build_ext

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "setup.py", line 72, in <module>
    from build_ext_3 import optional_build_ext
  File "/var/tmp/portage/net-zope/zope-interface-3.6.2/work/zope.interface-3.6.2/build_ext_3.py", line 10, in <module>
    raise RuntimeError("zope.interface requires Distribute under Python 3. "
RuntimeError: zope.interface requires Distribute under Python 3. See http://packages.python.org/distribute
 [31;01m*[0m ERROR: net-zope/zope-interface-3.6.2 failed (compile phase):
 [31;01m*[0m   Building failed with CPython 3.2 in distutils_building() function

# emerge --info =net-zope/zope-interface-3.6.2
Portage 2.2.0_alpha28 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.2, libc-0-r0, 2.6.38-gentoo-r2 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.38-gentoo-r2-x86_64-AMD_Phenom-tm-_9950_Quad-Core_Processor-with-gentoo-2.0.2
Timestamp of tree: Fri, 20 May 2011 22:45:01 +0000
app-shells/bash:     4.2_p10
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r1, 2.7.1-r1, 3.2
dev-util/cmake:      2.8.4-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2-r1
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.3.5, 4.5.2
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
sys-kernel/linux-headers: 2.6.38
sys-libs/glibc:      2.13-r2
virtual/os-headers:  0
Repositories: gentoo kde-sunset arcon usr-local-portage
Installed sets: @kernels
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-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 /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --keep-going"
FEATURES="assume-digests binpkg-logs buildsyspkg distlocks fixlafiles fixpackages news nostrip notitles parallel-fetch preserve-libs protect-owned sandbox sfperms unknown-features-warn unmerge-logs unmerge-orphans"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk ftp://mirrors.blueyonder.co.uk/mirrors/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ "
LANG="en_GB"
LC_ALL="en_GB"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages/x86"
PORTAGE_CONFIGROOT="/"
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="/var/lib/layman/kde-sunset /var/lib/layman/arcon /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3ds 64bit X a52 aac acpi alsa amd64 bash-completion berkdb binary-drivers bittorrent branding bzip2 cairo cdda cddb cdparanoia cdr clamav cli consolekit cups cxx dbase dbus dri dts dv dvd dvdnav dvdr emboss encode examples exif fat ffmpeg firefox flac fuse gdbm gdu gif gimp gpm gtk iconv java jpeg kde lcms ldap libnotify lm_sensors mad maildir mbox mmx mng modules moznocompose moznoirc mp3 mp4 mpeg mudflap multilib mysql ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp pango pcre pdf perl png policykit ppds pppd python qt3 qt3support qt4 readline samba scanner sdl semantic-desktop session spell sse sse2 ssl startup-notification svg sysfs tcpd tiff tk transcode truetype udev unicode usb utils vcd vdr videos vim-with-x vorbis wmf x264 xcb xine xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="snd_hda_intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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 cgi cgid 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="fuji konica minolta" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 José Romildo Malaquias 2011-05-22 11:58:11 UTC
I am also seeing this problem on my ~amd64 system.
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-05-22 16:50:15 UTC
You forgot to run python-updater.
Comment 3 demanufacture 2011-05-24 17:59:28 UTC
i have this also on python-updater.

eselect python set python3.1 resolves problem
Comment 4 J.C. Wren 2011-05-27 15:27:01 UTC
(In reply to comment #3)
> i have this also on python-updater.
> 
> eselect python set python3.1 resolves problem

Except this forces an unwanted upgrade to Python-3 which breaks other things.