ERROR: postinst Syntax errors / warnings in Python modules for CPython 3.2: *** Error compiling '/usr/lib64/python3.2/site-packages/xpra/client.py'... File "/usr/lib64/python3.2/site-packages/xpra/client.py", line 530 except Exception, e: ^ SyntaxError: invalid syntax *** Error compiling '/usr/lib64/python3.2/site-packages/xpra/client_base.py'... File "/usr/lib64/python3.2/site-packages/xpra/client_base.py", line 150 except IOError, e: ^ SyntaxError: invalid syntax *** Error compiling '/usr/lib64/python3.2/site-packages/xpra/darwin/gui.py'... File "/usr/lib64/python3.2/site-packages/xpra/darwin/gui.py", line 36 except Exception, e: ^ SyntaxError: invalid syntax *** Error compiling '/usr/lib64/python3.2/site-packages/xpra/dotxpra.py'... File "/usr/lib64/python3.2/site-packages/xpra/dotxpra.py", line 61 except socket.error, e: ^ SyntaxError: invalid syntax *** Error compiling '/usr/lib64/python3.2/site-packages/xpra/platform/client_extras_base.py'... File "/usr/lib64/python3.2/site-packages/xpra/platform/client_extras_base.py", line 120 except Exception, e: ^ SyntaxError: invalid syntax *** Error compiling '/usr/lib64/python3.2/site-packages/xpra/protocol.py'... File "/usr/lib64/python3.2/site-packages/xpra/protocol.py", line 92 except (IOError, OSError), e: ^ SyntaxError: invalid syntax *** Error compiling '/usr/lib64/python3.2/site-packages/xpra/scripts/client_launcher.py'... File "/usr/lib64/python3.2/site-packages/xpra/scripts/client_launcher.py", line 185 except Exception, e: ^ SyntaxError: invalid syntax *** Error compiling '/usr/lib64/python3.2/site-packages/xpra/scripts/main.py'... File "/usr/lib64/python3.2/site-packages/xpra/scripts/main.py", line 55 except Exception, e: ^ SyntaxError: invalid syntax *** Error compiling '/usr/lib64/python3.2/site-packages/xpra/scripts/server.py'... File "/usr/lib64/python3.2/site-packages/xpra/scripts/server.py", line 290 except OSError, e: ^ SyntaxError: invalid syntax *** Error compiling '/usr/lib64/python3.2/site-packages/xpra/server.py'... File "/usr/lib64/python3.2/site-packages/xpra/server.py", line 512 except KeyError, e: ^ SyntaxError: invalid syntax *** Error compiling '/usr/lib64/python3.2/site-packages/xpra/test_measure_perf.py'... File "/usr/lib64/python3.2/site-packages/xpra/test_measure_perf.py", line 126 except Exception, e: ^ SyntaxError: invalid syntax *** Error compiling '/usr/lib64/python3.2/site-packages/xpra/win32/gui.py'... File "/usr/lib64/python3.2/site-packages/xpra/win32/gui.py", line 60 except Exception, e: ^ SyntaxError: invalid syntax *** Error compiling '/usr/lib64/python3.2/site-packages/xpra/win32/win32_NotifyIcon.py'... File "/usr/lib64/python3.2/site-packages/xpra/win32/win32_NotifyIcon.py", line 64 except Exception, e: ^ SyntaxError: invalid syntax *** Error compiling '/usr/lib64/python3.2/site-packages/xpra/win32/win32_tray.py'... File "/usr/lib64/python3.2/site-packages/xpra/win32/win32_tray.py", line 81 except Exception, e: ^ SyntaxError: invalid syntax *** Error compiling '/usr/lib64/python3.2/site-packages/xpra/xkbhelper.py'... File "/usr/lib64/python3.2/site-packages/xpra/xkbhelper.py", line 49 except Exception, e: ^ SyntaxError: invalid syntax *** Error compiling '/usr/lib64/python3.2/site-packages/xpra/xposix/gui.py'... File "/usr/lib64/python3.2/site-packages/xpra/xposix/gui.py", line 100 except Exception, e: ^ SyntaxError: invalid syntax Reproducible: Always
Please post your 'emerge --info' output to help debug this error
Portage 2.1.10.63 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.14.1-r3, 3.2.1-gentoo-r2 x86_64) ================================================================= System uname: Linux-3.2.1-gentoo-r2-x86_64-Celeron-R-_Dual-Core_CPU_T3000_@_1.80GHz-with-gentoo-2.1 Timestamp of tree: Thu, 31 May 2012 00:45:01 +0000 ccache version 3.1.7 [enabled] app-shells/bash: 4.2_p29 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.3-r2, 3.2.3-r1 dev-util/ccache: 3.1.7 dev-util/cmake: 2.8.8-r2 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1-r1 sys-apps/openrc: 0.10.2 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.5 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.5.3-r2 sys-devel/gcc-config: 1.5-r2 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.1 (virtual/os-headers) sys-libs/glibc: 2.14.1-r3 Repositories: gentoo my_local_overlay seden ibormuth nektoo ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -mmmx -msse -msse2 -mssse3 -mcx16 -mfpmath=sse,387 -O2 -fomit-frame-pointer -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa" 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="-march=native -mmmx -msse -msse2 -mssse3 -mcx16 -mfpmath=sse,387 -O2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS=" --quiet-build=n" FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles metadata-transfer news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="" GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/ http://mirror2.corbina.ru/gentoo-distfiles/ http://gentoo.bloodhost.ru/" LANG="ru_RU.UTF-8" LC_ALL="" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en ru" MAKEOPTS="-j3" 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 /var/lib/layman/seden /var/lib/layman/ibormuth /var/lib/layman/nektoo" SYNC="rsync://rsync.ru.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl acpi alsa amd64 bash-completion berkdb branding bzip2 cairo caps cdda cdr cli consolekit cracklib crypt cups curl cxx dbus dga directfb djvu dri dts dvd dvdr emboss encode exif expat fam fbcon ffmpeg fftw firefox flac fontconfig gcrypt gdbm gif gimp git gmp gnutls gphoto2 gpm graphite graphviz gs gstreamer gtk gtk3 gzip iconv icu idn ipv6 jabber jack jpeg jpeg2k lame lcms libcaca libnotify llvm lm_sensors lzma lzo mad madwifi matroska midi mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib musepack nas ncurses nls nptl nss ogg openal opengl openmp oscar pam pango pch pcre pdf png policykit portaudio ppds pppd raw readline samba scanner sdl session smp sndfile sockets socks5 sound spell sqlite sse sse2 ssl ssse3 startup-notification svg syslog tcpd theora threads tiff timidity truetype udev udisks unicode upower usb v4l vorbis vpx wavpack wget wifi x264 xattr xcb xcomposite xml xorg xscreensaver xv xvid xvmc 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 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="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" 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="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en ru" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel vesa" XFCE_PLUGINS="brightness clock" 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
Hi, i've re-added the 3.* python restriction 2 days ago [1]. Please resync an retry, Michael [1] http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-wm/xpra/xpra-0.3.1.ebuild?r1=1.1&r2=1.2
Just checked, now ebuild works correctly. Thanks!