/usr/bin/python3.3 setup.py build /usr/bin/python2.7 setup.py build running build running build_py creating /var/tmp/portage/dev-python/routes-2.0/work/Routes-2.0-python2_7/lib creating /var/tmp/portage/dev-python/routes-2.0/work/Routes-2.0-python2_7/lib/routes copying routes/route.py -> /var/tmp/portage/dev-python/routes-2.0/work/Routes-2.0-python2_7/lib/routes copying routes/middleware.py -> /var/tmp/portage/dev-python/routes-2.0/work/Routes-2.0-python2_7/lib/routes copying routes/util.py -> /var/tmp/portage/dev-python/routes-2.0/work/Routes-2.0-python2_7/lib/routes copying routes/base.py -> /var/tmp/portage/dev-python/routes-2.0/work/Routes-2.0-python2_7/lib/routes copying routes/__init__.py -> /var/tmp/portage/dev-python/routes-2.0/work/Routes-2.0-python2_7/lib/routes copying routes/mapper.py -> /var/tmp/portage/dev-python/routes-2.0/work/Routes-2.0-python2_7/lib/routes running egg_info writing requirements to /var/tmp/portage/dev-python/routes-2.0/work/Routes-2.0-python2_7/Routes.egg-info/requires.txt writing /var/tmp/portage/dev-python/routes-2.0/work/Routes-2.0-python2_7/Routes.egg-info/PKG-INFO writing top-level names to /var/tmp/portage/dev-python/routes-2.0/work/Routes-2.0-python2_7/Routes.egg-info/top_level.txt writing dependency_links to /var/tmp/portage/dev-python/routes-2.0/work/Routes-2.0-python2_7/Routes.egg-info/dependency_links.txt Traceback (most recent call last): File "setup.py", line 9, in <module> CHANGES = open(os.path.join(here, 'CHANGELOG.rst')).read() File "/usr/lib64/python3.3/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 162: ordinal not in range(128) Reproducible: Always # emerge --info \Portage 2.2.7 (default/linux/amd64/13.0/desktop, gcc-4.8.2, glibc-2.17, 3.12.1-gentoo x86_64) ================================================================= System uname: Linux-3.12.1-gentoo-x86_64-Intel-R-_Core-TM-_i5-3340M_CPU_@_2.70GHz-with-gentoo-2.2 KiB Mem: 8109444 total, 426020 free KiB Swap: 7813116 total, 7499596 free Timestamp of tree: Mon, 23 Dec 2013 04:00:01 +0000 ld GNU ld (GNU Binutils) 2.23.2 app-shells/bash: 4.2_p45 dev-java/java-config: 2.2.0 dev-lang/python: 2.7.6, 3.2.5-r3, 3.3.3 dev-util/cmake: 2.8.12.1-r1 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.4 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.10.3, 1.11.6, 1.12.6, 1.13.4, 1.14 sys-devel/binutils: 2.23.2 sys-devel/gcc: 4.6.3, 4.7.3-r1, 4.8.2 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2 sys-devel/make: 4.0-r1 sys-kernel/linux-headers: 3.12 (virtual/os-headers) sys-libs/glibc: 2.17 Repositories: gentoo x-portage ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -mtune=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=native -mtune=native" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-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" USE="X a52 aac account acl acpi ads alsa amd64 apache2 archive bash-completion berkdb bindist bluetooth branding bzip2 cairo caps cdda cdr cinder cleartype cli consolekit container corefonts cracklib cron crypt cups cxx dbus dhcp-tools dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac flash fortran fpm freerdp fuse gallium gbm gcj gd gdbm gif glamor glance gles gles1 gles2 gpm gstreamer gtk gtk3 horizon http iconv inotify iproute2 ipv6 isag iso java javascript jpeg keyring keystone lcms ldap libkms libnotify llvm-shared-libs lm_sensors mad meanwhile mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib mysqli ncurses neutron nls nova nptl nsplugin object ogg opencl opengl openmp pam pango pcre pdf pdo png policykit postgres ppds proxy pulseaudio qt3support readline samba sdl session sockets spell sse sse2 sse3 sse4_1 sse4_2 ssh ssl ssse3 startup-notification svg swift tcpd threads tiff tls truetype type1 udev udisks unicode upcall upower usb uxa vaapi vdpau vim-syntax vorbis vpx webkit webkit2 winbind wxwidgets x264 xa xattr xcb xcomposite xinerama xml xorg xv xvid xvmc zlib zsh-completion" ABI_X86="64 32" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 author" 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 ublox ubx" GRUB_PLATFORMS="pc efi-64 efi-32" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel vesa" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
eselect python list --python2 Available Python 2 interpreters: [1] python2.7 * eselect python list --python3 Available Python 3 interpreters: [1] python3.2 [2] python3.3 *
As a workaround, please set the LANG environment variable to a UTF-8 locale. You can do this in your shell and/or by using eselect locale.
+ 25 Dec 2013; Mike Gilbert <floppym@gentoo.org> + +files/routes-2.0-setup.py.patch, routes-2.0.ebuild: + Fix unicode error in setup.py, bug 495118.