Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 416483 - dbus-python-1.1.0 failed (setup phase) (CPython 3 is not supported)
Summary: dbus-python-1.1.0 failed (setup phase) (CPython 3 is not supported)
Status: RESOLVED WORKSFORME
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: 2012-05-18 09:33 UTC by Grégoire Favre
Modified: 2012-05-19 08:37 UTC (History)
1 user (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 Grégoire Favre 2012-05-18 09:33:45 UTC
emerge =dev-python/dbus-python-1.1.0 fails with :
ERROR: setup
ERROR: dev-python/dbus-python-1.1.0 failed (setup phase):
  Active version of CPython 3 is not supported by dev-python/dbus-python-1.1.0

Call stack:
      ebuild.sh, line  85:  Called pkg_setup
      ebuild.sh, line 319:  Called python_pkg_setup
  python.eclass, line 431:  Called _python_calculate_PYTHON_ABIS
  python.eclass, line 845:  Called die
The specific snippet of code:
                                                die "Active version of CPython 3 is not supported by ${CATEGORY}/${PF}"

If you need support, post the output of `emerge --info '=dev-python/dbus-python-1.1.0'`,
the complete build log and the output of `emerge -pqv '=dev-python/dbus-python-1.1.0'`.
The complete build log is located at '/var/tmp/portage/dev-python/dbus-python-1.1.0/temp/build.log'.
The ebuild environment file is located at '/var/tmp/portage/dev-python/dbus-python-1.1.0/temp/die.env'.
Working directory: '/var/tmp/portage/dev-python/dbus-python-1.1.0'
S: '/var/tmp/portage/dev-python/dbus-python-1.1.0/work/dbus-python-1.1.0'



Reproducible: Always




Portage 2.2.0_alpha107 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.15-r2, 3.3.5-gentoo x86_64)
=================================================================
System uname: Linux-3.3.5-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.1
Timestamp of tree: Fri, 18 May 2012 08:15:01 +0000
app-shells/bash:          4.2_p28
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.1.4-r4, 3.2.3-r1
dev-util/cmake:           2.8.8-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.9.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.5
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.7.1
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.3 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo local dang-maintainer wirelay sunrise
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* @FSF-APPROVED @OSI-APPROVED PUEL @EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/"
LANG="en_GB.utf8"
LC_ALL="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/maintainer /var/lib/layman/wirelay /var/lib/layman/sunrise"
SYNC="rsync://rsync.ch.gentoo.org/gentoo-portage"
USE="64bit X a52 aac aacs acl acpi additions aim alsa amd64 amr animation-rtl ass audiofile bash-completion bluray bs2b cairo caps cdda cddb cdio cdr chm crypt css ctype cups curl curlwrappers cxx dhcp dhcpcd dirac djbfft djvu dri dts dv dvb dvd dvdnav dvdr dvi dvipdfm emerald enca encode exif extensions extra faac faad fam fame fat fbcon ffmpeg firefox firefox3 flac fltk fontconfig fortran fpx ftp fts3 g15 games gd gdal gdbm geos gif gimp glamor glibc-omitfp glitz glut gnutls gopher gpg gpm grammar graphics graphviz gs gtk gtk2 guile hardcoded-tables hddtemp humanities iconv icq id3 id3tag idn ieee1394 imagemagick imlib irc ithreads jabber java java6 javascript jbig jpeg jpeg2k kig-scripting kpathsea lame laptop latex latex3 lcd lcms libedit libnotify libsamplerate libtommath lm_sensors logrotate lzo mad matroska mbox md5sum midi mime mjpeg mmx mmxext mng mod modplug modules mono mp3 mp4 mpeg mplayer msn mudflap multilib musepack music mysql ncurses neXt netpbm network networking nfs nls nntp nptl nsplugin odk offensive ogdi ogg ole omega openexr opengl openmp openssl otr pcre pdf player plotutils png pnm posix pstricks publishers python3 quicktime rar readline realmedia recode regex reiser4 reiserfs rss rtc rtmp rtsp sasl schroedinger science sdl shout smime sna sndfile soundtouch sox speex spell sqlite srt sse sse2 sse3 ssl ssse3 stream subtitles svg t1lib tcl tcltk tcpd theora thesaurus threads threadsafe tiff tk tomsfastmath tools transcode truetype twolame uk_bleb uk_rt unicode usb userlocales uudeview v4l2 vaapi vamp vcd vde vdpau vdr vim vim-pager vim-syntax vlm vorbis vpx wavpack webkit wma wmf x264 xanim xattr xcb xetex xfs xml xmlrpc xorg xpm xps xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 apache2_modules_proxy apache2_modules_proxy_ajp apache2_modules_proxy_balancer apache2_modules_proxy_connect apache2_modules_proxy_ftp apache2_modules_proxy_http 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="canon" 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="g15" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" SANE_BACKENDS="pixma" USERLAND="GNU" VIDEO_CARDS="intel" 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, USE_PYTHON
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2012-05-18 09:43:14 UTC
> dev-lang/python:          2.7.3-r2, 3.1.4-r4, 3.2.3-r1

3 problems:

1. dbus-python-1.1.0 doesn't have python:3.1 support, you should propably uninstall python:3.1 entirely unless you *really* need it for something like, your own development. python:3.2 will do everything it does just fine. so please cleanup your system. emerge -C python:3.1

2. Make sure to update dev-python/cython to latest, emerge -av cython, I recommend at least 0.14.1-r1, preferably 0.16

3. Make sure to run `python-updater` to rebuild all your modules for Python 3.x too

Please change the bug status from 'test-request' back to 'unconfirmed' if this didn't help you
Comment 2 Grégoire Favre 2012-05-18 11:31:20 UTC
Wouah, tremendous answer : thank you very much !!!

I removed python:3.1 (after changing it to 3.2 in eselect), run python-updater and everything emerged just fine :-)

I don't have dev-python/cython installed in my system, is there a missing dependency about it ?

Another time, thank you very much !!!