dbus-python-0.83.0-r1 does NOT build on my ~amd64 instal, with the primary error: PYTHON(): '--active' option cannot be used in ebuilds of packages supporting installation for multiple versions of Python It actually seems to compile fine, but fails during the install phase. I have python3 currently masked out, but otherwise a pretty stock installation: Portage 2.1.7.16 (default/linux/amd64/10.0/no-multilib, gcc-4.4.2, glibc-2.11-r1, 2.6.32.3 x86_64) ================================================================= System uname: Linux-2.6.32.3-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7250_@_2.00GHz-with-gentoo-2.0.1 Timestamp of tree: Sun, 10 Jan 2010 18:30:01 +0000 app-shells/bash: 4.0_p35 dev-lang/python: 2.6.4 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.0 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=core2 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,--as-needed" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--exclude=ChangeLog" 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="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac acl alsa amd64 berkdb bzip2 cairo cdr cli cracklib cxx dbus djvu dri dvd dvdr encode flac fortran gdbm gif gphoto2 gstreamer gtk iconv imagemagick jpeg lame laptop mad mmx mng modules mp3 mp4 mpeg mplayer mudflap nptl nptlonly offensive ogg opengl openmp pam pcre pdf perl png pppd readline reflection session spl sqlite sse sse2 ssl svg sysfs taglib tcpd theora tiff unicode usb vorbis wifi x264 xorg xulrunner 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 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 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="mouse keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa intel" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS Reproducible: Always
Created attachment 216045 [details] build log thinkpad ajb # emerge -pv dbus-python These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] dev-python/dbus-python-0.83.0-r1 USE="-doc -examples -test" 0 kB
Finally, dev-python/dbus-python-0.83.0 builds successfully on the same exact setup.
dev-python/pygobject-2.20.0 is dying in the exact same manner: * ERROR: dev-python/pygobject-2.20.0 failed: * PYTHON(): '--active' option cannot be used in ebuilds of packages supporting installation for multiple versions of Python * * Call stack: * ebuild.sh, line 54: Called pkg_postinst * environment, line 3132: Called python_need_rebuild * environment, line 4000: Called PYTHON '-A' '--ABI' * environment, line 267: Called die * The specific snippet of code: * die "${FUNCNAME}(): '--active' option cannot be used in ebuilds of packages supporting installation for multiple versions of Python"; * * If you need support, post the output of 'emerge --info =dev-python/pygobject-2.20.0', * the complete build log and the output of 'emerge -pqv =dev-python/pygobject-2.20.0'. * The complete build log is located at '/var/tmp/portage/dev-python/pygobject-2.20.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/pygobject-2.20.0/temp/environment'. * S: '/var/tmp/portage/dev-python/pygobject-2.20.0/work/pygobject-2.20.0' * Postinstallation of dev-python/pygobject-2.20.0 with Python 2.6... * Linking /usr/lib64/python2.6/site-packages/pygtk.py-2.0 to /usr/lib64/python2.6/site-packages/pygtk.py (relative) * Linking /usr/lib64/python2.6/site-packages/pygtk.pth-2.0 to /usr/lib64/python2.6/site-packages/pygtk.pth (relative) * Compilation and optimization of Python modules for Python 2.6 [ ok ] !!! FAILED postinst: 1 >>> Failed to install dev-python/pygobject-2.20.0, Log file: >>> '/var/tmp/portage/dev-python/pygobject-2.20.0/temp/build.log' * Messages for package dev-libs/liboil-0.3.16: * You have disabled examples USE flag. Beware that upstream might * want the output of some utilities that are only built with * USE='examples' if you report bugs to them. * Messages for package dev-python/pygobject-2.20.0: * ERROR: dev-python/pygobject-2.20.0 failed: * PYTHON(): '--active' option cannot be used in ebuilds of packages supporting installation for multiple versions of Python * * Call stack: * ebuild.sh, line 54: Called pkg_postinst * environment, line 3132: Called python_need_rebuild * environment, line 4000: Called PYTHON '-A' '--ABI' * environment, line 267: Called die * The specific snippet of code: * die "${FUNCNAME}(): '--active' option cannot be used in ebuilds of packages supporting installation for multiple versions of Python"; * * If you need support, post the output of 'emerge --info =dev-python/pygobject-2.20.0', * the complete build log and the output of 'emerge -pqv =dev-python/pygobject-2.20.0'. * The complete build log is located at '/var/tmp/portage/dev-python/pygobject-2.20.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/pygobject-2.20.0/temp/environment'. * S: '/var/tmp/portage/dev-python/pygobject-2.20.0/work/pygobject-2.20.0'
*** Bug 300528 has been marked as a duplicate of this bug. ***
>>> Install dbus-python-0.83.0-r1 into /var/tmp/portage/dev-python/dbus-python-0.83.0-r1/image/ category dev-python [31;01m*[0m ERROR: dev-python/dbus-python-0.83.0-r1 failed: [31;01m*[0m PYTHON(): '--active' option cannot be used in ebuilds of packages supporting installation for multiple versions of Python @python, please advise.
*** Bug 300587 has been marked as a duplicate of this bug. ***
same problem at my machine * Messages for package dev-python/dbus-python-0.83.0-r1: * * ERROR: dev-python/dbus-python-0.83.0-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 1834: Called python_need_rebuild * environment, line 1741: Called PYTHON '-A' '--ABI' * environment, line 149: Called die * The specific snippet of code: * die "${FUNCNAME}(): '--active' option cannot be used in ebuilds of packages supporting installation for multiple versions of Python"; * The die message: * PYTHON(): '--active' option cannot be used in ebuilds of packages supporting installation for multiple versions of Python --------------------------------brutal ~ # emerge --info Portage 2.1.6.13 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r6 i686) ================================================================= System uname: Linux-2.6.31-gentoo-r6-i686-Intel-R-_Core-TM-2_Duo_CPU_T9600_@_2.80GHz-with-gentoo-1.12.13 Timestamp of tree: Sun, 10 Jan 2010 20:45:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.9-r2 dev-lang/python: 2.6.4 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -mtune=core2 -march=core2 -mmmx -msse2 -msse -pipe -fomit-frame-pointer -msse3" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CPPFLAGS="-O2 -mtune=core2 -march=core2 -mmmx -msse2 -msse -pipe -fomit-frame-pointer -msse3" CXXFLAGS="-O2 -mtune=core2 -march=core2 -mmmx -msse2 -msse -pipe -fomit-frame-pointer -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://eurolinux.grenoble.hp.com/pub/linux/gentoo http://linuxcoe.corp.hp.com/LinuxCOE/Gentoo/ ftp://gentoo.inf.elte.hu/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://ftp.romnet.org/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirrors.tera-byte.com/pub/gentoo http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.mneisen.org/ http://gentoo.mirrors.tera-byte.com/" LANG="hu_HU.UTF-8" LC_ALL="hu_HU.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="hu en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="-z" 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" SYNC="rsync://linuxcoe.corp.hp.com/LinuxCOE/Gentoo/gentoo-x86-portage/" USE="7zip X X509 a52 aac acl acpi aim aio akode alsa amr amrnb amrwb ao apache2 asf audiofile avahi avi bash-completion bdf berkdb bidi bitmap-fonts bluetooth branding bzip2 cairo caps cardbus catalogs cdda cddb cdio cdparanoia cdr chroot cisco cli consolekit cracklib crypt css cups curl custom-optimization cxx dbus desktopglobe dialup dirac disk-partition divx divx4linux djvu dlloader dmi dmx dri dts dv dvd dvdcss dvdnav dvdr dvdread eap-sim eap-tls ebook emboss encode erandom evo exchange exif expat fam fastcgi fbcon fbsplash ffmpeg firefox firefox3 flac font-server fontconfig foomaticdb fortran ftp fuse galago gd gdbm geoip gif gimp gimpprint gmedia gmp gnutls gphoto2 gpm gps gsm gstreamer gtk gtk2 hal handbook hddtemp hybrid-auth iconv icotools icq id3 id3tag idn ieee1394 imagemagick imap imlib ipod irda irmc jabber java jbig jpeg jpeg2k kde kdepim kerberos lame laptop ldap libdvdcss libdvdread libg++ libgcrypt libnotify libsysfs libv4l2 libwww linuxthreads-tls live logitech-mouse lzma lzo mad maildir matroska mbox md5sum mjpeg mmap mmx mmx2 mmxext mng modules mozcalendar mozilla moznoirc moznoroaming mozsvg mp2 mp3 mp4 mpeg mplayer msn mtp mudflap musepack musicbrainz mysql nat ncur ncurses ndiswrapper network networkmanager nls no-old-linux nptl nptlonly nsplugin ntp ogg oggvorbis old-crypt openal openct openexr opengl openldap openmp opensc openvpn oss pam pango pch pcmcia pcre pcsc-lite pdf pdflib pentium4 perl phonon php pkcs11 pkcs11-helper plasma png policykit portaudio ppds ppp pppd pptp python qt qt3 qt3support qt4 quicktime rdesktop rdp readline realmedia reflection resolvconf restrict-javascript rtc rtsp samba sane scanner schroedinger sdl sdl-image semantic-desktop server ses session shout sip skype slang smartcard smatcard smp snmp sound spell spl splugin sse sse2 sse3 ssl ssse3 startup-notification stream svg sysfs syslog tcl tcltk tcpd theora threads thunar thunderbird tiff tk truetype truetype-fonts twolame type1-fonts ucs2 udev unicode upnp urandom usb userlocales v4l v4l2 vcd vcdx vcfinfo vidix vim-pager vim-syntax vim-with-x vnc vorbis vpnc wav wavpack webkit wifi win32codecs winbind winetools wmf wmp wpa x264 x86 xattr xcomposite xext xface xine xinerama xinetd xml xml2 xorg xosd xpm xprint xscreensaver xulrunner xv xvid xvmc yahoo zip zlib zrtp" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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 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="hu en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" Unset: CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTDIR_OVERLAY
Fixed.
(In reply to comment #8) > Fixed. > how and where? can you be please a little bit more specific? Thanks Laszlo
(In reply to comment #9) > (In reply to comment #8) > > Fixed. > > > > how and where? Call to python_need_rebuild() has been removed in dev-python/dbus-python-0.83.0-r1 ebuild.
same bug affects pygtk
(In reply to comment #11) All ebuilds in the main tree have been fixed over 15 hours ago.