Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107588 - dev-python/docutils traceback when trying to emerge eselect
Summary: dev-python/docutils traceback when trying to emerge eselect
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-29 05:07 UTC by Pinky
Modified: 2005-10-01 06:46 UTC (History)
0 users

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 Pinky 2005-09-29 05:07:08 UTC
build new empty system from stage1, bootsraping withou errors.
but packages which use rst2html.py from docutils (dev-python/docutils-0.3.9)
does not build documentation correctly (eg. docutils does not build
documentation for you self, but it is silentli ignored)

Reproducible: Always
Steps to Reproduce:
1. boostrap from stage1 (x86)
2. emerge -e system


Actual Results:  
WITHOU DETAILS:
make[1]: Leaving directory `/var/tmp/portage/eselect-0.9.6/work/eselect-0.9.6'
rst2html.py < README > README.html
LookupError: no codec search functions registered: can't find encoding
Exiting due to error.  Use "--traceback" to diagnose.
Please report errors to <docutils-users@lists.sf.net>.
Include "--traceback" output, Docutils version (0.3.9),
Python version (2.3.5), your OS type & version, and the
command line used.
make: *** [README.html] Error 1

!!! ERROR: app-admin/eselect-0.9.6 failed.



!!! Function src_compile, Line 24, Exitcode 2
!!! failed to build html
!!! If you need support, post the topmost build error, NOT this status message.


ADDED --traceback in Makefile(s):

cd doc && make html
make[1]: Entering directory `/var/tmp/portage/eselect-0.9.6/work/eselect-0.9.6/doc'
rst2html.py --traceback < developer-guide.txt > developer-guide.html
Traceback (most recent call last):
  File "/usr/bin/rst2html.py", line 25, in ?
    publish_cmdline(writer_name='html', description=description)
  File "/usr/lib/python2.3/site-packages/docutils/core.py", line 312, in
publish_cmdline
    config_section=config_section, enable_exit_status=enable_exit_status)
  File "/usr/lib/python2.3/site-packages/docutils/core.py", line 196, in publish
    output = self.writer.write(document, self.destination)
  File "/usr/lib/python2.3/site-packages/docutils/writers/__init__.py", line 73,
in write
    output = self.destination.write(self.output)
  File "/usr/lib/python2.3/site-packages/docutils/io.py", line 283, in write
    output = self.encode(data)
  File "/usr/lib/python2.3/site-packages/docutils/io.py", line 152, in encode
    return data.encode(self.encoding, self.error_handler)
LookupError: no codec search functions registered: can't find encoding
make[1]: *** [developer-guide.html] Error 1
make[1]: Leaving directory `/var/tmp/portage/eselect-0.9.6/work/eselect-0.9.6/doc'
make: *** [html] Error 2





return data.encode(self.encoding, self.error_handler)
parameter self.encoding has value "utf-8" (withought quotes) 

buildig work with USE=-doc  :]
Comment 1 Pinky 2005-09-29 05:24:16 UTC
Portage 2.0.52-r1 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12.5-K7 i686)
=================================================================
System uname: 2.6.12.5-K7 i686 AMD Duron(tm) processor
Gentoo Base System version 1.12.0_pre8
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon -O2 -pipe -fno-align-labels -fno-align-jumps
-frename-registers"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon -O2 -pipe -fno-align-labels -fno-align-jumps
-frename-registers"
DISTDIR="/home/share/pub/software/linux/gentoo/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo
http://ftp.linux.cz/pub/linux/gentoo "
LANG="cs_CZ.UTF-8"
LC_ALL="cs_CZ.UTF-8"
LINGUAS="cs"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://ftp.sh.cvut.cz/gentoo-portage"
USE="x86 3dnow 3dnowext 7zip X a52 aac aalib acl ada aim alsa apache2 apm
audiofile avi bash-completion berkdb bidi bitmap-fonts bluetooth bmp bzip2 caps
cdda cdparanoia chroot clearcase crypt cups dga disablexmb djbfft doc dts dv dvb
dvd dvdread edicated eds emboss encode examples fbcon fbdev ffmpeg flac
font-server foomaticdb fortran fpx freetype gdbm gg gif gimp glep glut gnokii
gnome gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml hal haskell hdf5
httpd icq id3 ieee1394 imlib imlib2 ipv6 irc irda jabber javascript jbig jpeg
kde lcms libcaca libg++ libwww linguas_la live lm_sensors lzo lzw-tiff mad
matroska mmap mmx mmxext mng motif mozsvg mp3 mp4live mpeg mpeg2 msn nas ncurses
netboot network nls no_wxgtk1 nodrm nsplugin objc ogg oggvorbis openal openexr
opengl pam pascal pda pdflib perforce perl pic plotutils png ppds python qt
quicktime quotas rdesktop readline real rogue rss rtc ruby samba scanner screen
sdl silc skey sms socks5 speex spell sql ssl stream subversion svg tcltk tcpd
theora threads tiff truetype truetype-fonts type1-fonts unichrome unicode usb
utf8 v4l v4l2 vcd vhosts vim-with-x vlm vorbis win32codecs wxwindows xanim xine
xinerama xml2 xosd xprint xscreensaver xv xvid zlib video_cards_via
video_cards_r128 video_cards_mach64 video_cards_savage linguas_cs userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS
Comment 2 Aaron Walker (RETIRED) gentoo-dev 2005-09-29 06:49:31 UTC
reassigning to docutils maintainers
Comment 3 Aaron Walker (RETIRED) gentoo-dev 2005-09-29 08:03:42 UTC
sorry forgot to update w/correct summary
Comment 4 Pinky 2005-09-29 09:44:57 UTC
after emerge -v1 python (still not work) and run python-updater it is working.
Comment 5 Grant Goodyear (RETIRED) gentoo-dev 2005-10-01 06:46:24 UTC
Closing, since python-updater fixed the problem