Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103890 - emerging www-apps/trac-0.8.4 fails
Summary: emerging www-apps/trac-0.8.4 fails
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-27 00:58 UTC by Shoan Motwani
Modified: 2005-11-03 11:54 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 Shoan Motwani 2005-08-27 00:58:06 UTC
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
Comment 1 Julien Allanos (RETIRED) gentoo-dev 2005-09-28 15:21:19 UTC
reassigning to python herd.
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2005-09-29 08:45:47 UTC
from metadata.xml its web-apps?
Comment 3 Julien Allanos (RETIRED) gentoo-dev 2005-09-29 14:50:49 UTC
I asked kloeri about this, and he told me to reassign to python herd, because it
looks like a python-related bug.
Comment 4 Fernando Serboncini (RETIRED) gentoo-dev 2005-10-01 11:27:44 UTC
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...
Comment 5 Alastair Tse (RETIRED) gentoo-dev 2005-11-03 11:54:17 UTC
can't reproduce?