Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 299958 - After "eselect python set python3.1" broken instalation java-config:2 and other depended from it packages
Summary: After "eselect python set python3.1" broken instalation java-config:2 and oth...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-06 21:22 UTC by Alexander Polozov
Modified: 2010-01-07 14:57 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 Alexander Polozov 2010-01-06 21:22:25 UTC
>>> Installing (1 of 1) dev-java/java-config-2.1.9-r2
 * Updating desktop mime database ...
 * Compilation and optimization of Python modules for Python 3.1 ...
*** Error compiling //usr/lib64/python3.1/site-packages/java_config_2/EnvironmentManager.py ...
  File "//usr/lib64/python3.1/site-packages/java_config_2/EnvironmentManager.py", line 58
    except InvalidVMError, ex:
                         ^
SyntaxError: invalid syntax

*** Error compiling //usr/lib64/python3.1/site-packages/java_config_2/OutputFormatter.py ...
  File "//usr/lib64/python3.1/site-packages/java_config_2/OutputFormatter.py", line 102
    print self.__parseColor(message.strip())
             ^
SyntaxError: invalid syntax
                                                                                                   [ !! ]
 * Updating desktop mime database ...


Reproducible: Always

Steps to Reproduce:
1.sudo eselect python set python3.1
2.sudo python-updater
3.sudo emerge -1 java-config:2
Comment 1 Alexander Polozov 2010-01-06 21:26:38 UTC
For example broken instalation depended package:
sudo emerge -1 xulrunner
----------------------------------------------------
 * USE:  alsa amd64 dbus elibc_glibc java kernel_linux multilib startup-notification userland_GNU
  File "/usr/bin/java-config-2", line 89                                                         
    except UnexistingPackageError, e:                                                            
                                 ^                                                               
SyntaxError: invalid syntax                                                                      
 *                                                                                               
 * Can't run java-config --help                                                                  
 * Have you upgraded python recently but haven't                                                 
 * run python-updater yet?                                                                       
 * ERROR: net-libs/xulrunner-1.9.1.6 failed:                                                     
 *   Can't run java-config --help                             
Comment 2 Johan Bergström 2010-01-06 22:49:36 UTC
Please add emerge --info output to this ticket, thanks.
Comment 3 Alexander Polozov 2010-01-07 06:41:31 UTC
Portage 2.1.7.16 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.11-r1, 2.6.31-gentoo-r6 x86_64)
=================================================================                                     
System uname: Linux-2.6.31-gentoo-r6-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6550_@_2.33GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 06 Jan 2010 07:00:01 +0000                                                      
app-shells/bash:     4.0_p35                                                                            
dev-java/java-config: 2.1.9-r2                                                                          
dev-lang/python:     2.6.4, 3.1.1-r1                                                                    
dev-util/cmake:      2.8.0                                                                              
sys-apps/baselayout: 2.0.1                                                                              
sys-apps/openrc:     0.6.0                                                                              
sys-apps/sandbox:    2.2                                                                                
sys-devel/autoconf:  2.13, 2.63-r1                                                                      
sys-devel/automake:  1.9.6-r2, 1.10.3                                                                   
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"                                                                                 
ACCEPT_LICENSE="* -@EULA Nero-EULA-US dlj-1.1"                                                          
CBUILD="x86_64-pc-linux-gnu"                                                                            
CFLAGS="-Os -march=core2 -pipe"                                                                         
CHOST="x86_64-pc-linux-gnu"                                                                             
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"                                              
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="-Os -march=core2 -pipe"                                                                        
DISTDIR="/usr/portage/distfiles"                                                                         
FEATURES="assume-digests distlocks fixpackages metadata-transfer news protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch userpriv"                                                               
GENTOO_MIRRORS="ftp://mirror.yandex.ru/gentoo-distfiles ftp://de-mirror.org/distro/gentoo http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo ftp://ftp.free.fr/mirrors/ftp.gentoo.org "
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="ru"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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="/usr/local/portage/layman/rusxmms /usr/local/portage/layman/wirelay /usr/local/portage/layman/panic"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac accessibility acpi akode alsa amd64 ao ape archive aspell bash-completion bluetooth bzip2 cairo cdr chardet chm cleartype cli consolekit cracklib crypt css cups cxx dbus dhclient dhcp djvu dri dts dvb dvd dvdr dvdread embedded emboss enca encode evo exif external-ffmpeg extrafilters fam fbcon ffmpeg firefox flac fontconfig fortran geolocation gif glib glibc-omitfp glitz gnutls gphoto2 hal iconv java java6 jpeg jpeg2k kde lastfm lcms lensfun libnotify lm_sensors lzma lzo matroska mikmod mmap mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib musepack mysql ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp optimisememory oscar pam pch pcre pda pdf pmu png ppds pppd python3 qt3support qt4 quicktime rar rcc readline reflection serial session slang spell spl srt sse sse2 ssl ssse3 startup-notification subversion svg sysfs taglib tcpd theora threads thunar timidity truetype unicode usb vdpau vorbis wavpack webkit x264 xcb xcomposite xine xml xorg xulrunner xv xvid zlib" ALSA_CARDS="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 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" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-01-07 14:57:45 UTC
Setting Python 3 as main active Python version is not yet supported.