Emerging trac fails with the following error: >>> Unpacking source... >>> Unpacking trac-0.8.4.tar.gz to /var/tmp/portage/trac-0.8.4/work >>> Source unpacked. Traceback (most recent call last): File "setup.py", line 14, in ? import trac File "/var/tmp/portage/trac-0.8.4/work/trac-0.8.4/trac/__init__.py", line 1 SyntaxError: "no codec search functions registered: can't find encoding" !!! ERROR: www-apps/trac-0.8.4 failed. Reproducible: Always Steps to Reproduce: 1. emerge trac 2. 3. Actual Results: >>> Unpacking source... >>> Unpacking trac-0.8.4.tar.gz to /var/tmp/portage/trac-0.8.4/work >>> Source unpacked. Traceback (most recent call last): File "setup.py", line 14, in ? import trac File "/var/tmp/portage/trac-0.8.4/work/trac-0.8.4/trac/__init__.py", line 1 SyntaxError: "no codec search functions registered: can't find encoding" !!! ERROR: www-apps/trac-0.8.4 failed. Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.5-20050130, glibc-2.3.5-r1, 2.6.12-gentoo-r9 i686) ================================================================= System uname: 2.6.12-gentoo-r9 i686 Intel(R) Celeron(R) CPU 2.40GHz Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-pipe -O2 -march=pentium4" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-pipe -O2 -march=pentium4" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts avi berkdb bitmap-fonts crypt cups eds emboss encode foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline sdl spell sqlite ssl tcpd truetype truetype-fonts type1-fonts vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
reassigning to python herd.
from metadata.xml its web-apps?
I asked kloeri about this, and he told me to reassign to python herd, because it looks like a python-related bug.
It seems python is complaining about the coding of the file. I've never seen anything like this and can't reproduce it. It may be something related to sys.path (try: python -c "import sys ; print sys.path" so we can see the python's include path) perhaps this has something to do with the python installation...
can't reproduce?