Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 333625 - dev-python/docutils-0.7 fails to build
Summary: dev-python/docutils-0.7 fails to build
Status: RESOLVED DUPLICATE of bug 333361
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-20 13:47 UTC by Paul Moore
Modified: 2010-08-20 13:58 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 Paul Moore 2010-08-20 13:47:07 UTC
When trying to build dev-python/docutils-0.7 I get the error shown below.  I have run revdep-rebuild and python-updater to no avail, the build always seems to fail.

# eselect python list
Available Python interpreters:
  [1]   python2.6 *
  [2]   python3.1

# emerge --info =dev-python/docutils-0.7
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.4, glibc-2.12.1-r1, 2.6.35-gentoo-r1 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.35-gentoo-r1-x86_64-Intel-R-_Xeon-R-_CPU_W3550_@_3.07GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 20 Aug 2010 12:00:14 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA @FREE @EULA @BINARY-REDISTRIBUTABLE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X X509 a52 aac acl acpi aiglx aim alsa amarok amazon amd64 amr amrnb amrwb animgif async avantgo berkdb bittorrent bl bluetooth branding buttons bzip2 cairo calendar cdb cddb cdparanoia cdr cdrom cli colordiff connectionstatus consolekit cpudetection cracklib crypt cscope css cups cxx dbus dga dhcpcd divx dnd doc dri dts dv dvb dvd dvdnav dvdr embedded emboss encode eolconv examples exif fam fat fbcon fbsplash ffmpeg firefox flac fortran ftp gd gdbm gif gimp glep glut gmedia gphoto2 gpm gtk hal hdri highlight hpijs htmlhandbook http iconv id3 ieee1394 imagemagick imap ipv6 irc jabber java javascript jpeg jpeg2k kde lame laptop lastfm lcms ldap libnotify libwww live logitech-mouse lzo lzw mad matrox mikmod mime mjpeg mmap mmx mmxext mng modules mozilla moznocompose moznoirc moznomail moznoroaming mp3 mp4 mpeg mpeg2 mplayer msn mtp mudflap multilib musicbrainz na_dd na_icons ncurses netmeeting networkmanager nfs nls nokia nptl nptlonly nsplugin ofx ogg openexr opengl openmp pam pango pcre pda pdf perl pmu png pnm policykit posix ppds pppd python qemu qt3support qt4 rdesktop readline realmedia reflection rss rtc ruby samba scanner sdl sdl-image secure-delete semantic-desktop session sftp sharedmem shout slp smbclient smp sms snmp sockets sound spell spl sse sse2 ssl ssse3 startup-notification subversion svg sysfs syslog taglib tagwriting tcpd templates threads thumbnail tiff tivo translator truetype unicode usb uudeview v4l v4l2 vcd vim-with-x visualization vnc vorbis webdav webkit wifi wma wmf wmp x264 xanim xcb xcomposite xext xft xim xine xinerama xml xml2 xorg xpm xulrunner xv xvid xvmc yahoo yv12 zeroconf zip zlib zvbi" 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" 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon radeonhd 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, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Reproducible: Always

Steps to Reproduce:
1. emerge -1v dev-python/docutils

Actual Results:  
PYTHONPATH=../build-3.1/lib python3.1 ../build-3.1/lib/tools/buildhtml.py --stylesheet-path=../html4css1.css --traceback ..
/// Processing directory: ..
    ::: Processing: THANKS.txt
Traceback (most recent call last):
  File "../build-3.1/lib/tools/buildhtml.py", line 244, in <module>
    Builder().run()
  File "../build-3.1/lib/tools/buildhtml.py", line 186, in run
    self.visit(recurse, root, dirs+files)
  File "../build-3.1/lib/tools/buildhtml.py", line 211, in visit
    prune = self.process_txt(directory, name)
  File "../build-3.1/lib/tools/buildhtml.py", line 237, in process_txt
    settings=settings)
  File "/var/tmp/portage/dev-python/docutils-0.7/work/docutils-0.7/build-3.1/lib/docutils/core.py", line 357, in publish_file
    enable_exit_status=enable_exit_status)
  File "/var/tmp/portage/dev-python/docutils-0.7/work/docutils-0.7/build-3.1/lib/docutils/core.py", line 641, in publish_programmatically
    output = pub.publish(enable_exit_status=enable_exit_status)
  File "/var/tmp/portage/dev-python/docutils-0.7/work/docutils-0.7/build-3.1/lib/docutils/core.py", line 203, in publish
    self.settings)
  File "/var/tmp/portage/dev-python/docutils-0.7/work/docutils-0.7/build-3.1/lib/docutils/readers/__init__.py", line 68, in read
    self.input = self.source.read()
  File "/var/tmp/portage/dev-python/docutils-0.7/work/docutils-0.7/build-3.1/lib/docutils/io.py", line 258, in read
    data = self.source.read()
  File "/usr/lib64/python3.1/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 1546: ordinal not in range(128)
 * ERROR: dev-python/docutils-0.7 failed:
 *   buildhtml.py failed
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 4824:  Called die
 * The specific snippet of code:
 *       PYTHONPATH="../build-$(PYTHON -f --ABI)/lib" "$(PYTHON -f)" $([[ -f ../build-$(PYTHON -f --ABI)/lib/tools/buildhtml.py ]] && echo ../build-$(PYTHON -f --ABI)/lib/tools/buildhtml.py || echo ../tools/buildhtml.py) --stylesheet-path=../html4css1.css --traceback .. || die "buildhtml.py failed";
 * 
 * If you need support, post the output of 'emerge --info =dev-python/docutils-0.7',
 * the complete build log and the output of 'emerge -pqv =dev-python/docutils-0.7'.
 * The complete build log is located at '/var/tmp/portage/dev-python/docutils-0.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/docutils-0.7/temp/environment'.
 * S: '/var/tmp/portage/dev-python/docutils-0.7/work/docutils-0.7'

>>> Failed to emerge dev-python/docutils-0.7, Log file:

>>>  '/var/tmp/portage/dev-python/docutils-0.7/temp/build.log'

 * Messages for package dev-python/docutils-0.7:

 * ERROR: dev-python/docutils-0.7 failed:
 *   buildhtml.py failed
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 4824:  Called die
 * The specific snippet of code:
 *       PYTHONPATH="../build-$(PYTHON -f --ABI)/lib" "$(PYTHON -f)" $([[ -f ../build-$(PYTHON -f --ABI)/lib/tools/buildhtml.py ]] && echo ../build-$(PYTHON -f --ABI)/lib/tools/buildhtml.py || echo ../tools/buildhtml.py) --stylesheet-path=../html4css1.css --traceback .. || die "buildhtml.py failed";
 * 
 * If you need support, post the output of 'emerge --info =dev-python/docutils-0.7',
 * the complete build log and the output of 'emerge -pqv =dev-python/docutils-0.7'.
 * The complete build log is located at '/var/tmp/portage/dev-python/docutils-0.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/docutils-0.7/temp/environment'.
 * S: '/var/tmp/portage/dev-python/docutils-0.7/work/docutils-0.7'
Comment 1 Johan Bergström 2010-08-20 13:58:38 UTC

*** This bug has been marked as a duplicate of bug 333361 ***