Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60397 - The Python docutils ebuilds fail with an exception.
Summary: The Python docutils ebuilds fail with an exception.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL: http://rafb.net/paste/results/lm771P2...
Whiteboard:
Keywords:
Depends on:
Blocks: 59140
  Show dependency tree
 
Reported: 2004-08-15 01:51 UTC by Marti Raudsepp
Modified: 2004-08-30 09:22 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 Marti Raudsepp 2004-08-15 01:51:07 UTC
The dev-python/docutils-0.3-r1 (x86 keyword) and dev-python/docutils-0.3-r1 (~x86 keyword) ebuilds fail. I tried to emerge the x86 ebuild for docutils twice, and ~x86 once. All the attempts failed.

The ebuild for the x86 keyword copied over all the files that were already built.
The ebuild for the ~x86 keyword terminated with the error:
  !!! ERROR: dev-python/docutils-0.3.3-r1 failed.
  !!! Function src_install, Line 62, Exitcode 127
  !!! newbin failed

However, the emerge of docutils (x86 keyword) succeeded on my other Gentoo installations. (?)

For the x86 ebuild, the exception happens right after "::: Processing .txt: include9.txt"

The exception reads:
  OverflowError: long int too large to convert to int

Three last lines of traceback:
  File "/var/tmp/portage/docutils-0.3-r1/work/docutils-0.3/build/lib/docutils/parsers/rst/states.py", line 1987, in directive
    return self.parse_directive(
  File "/var/tmp/portage/docutils-0.3-r1/work/docutils-0.3/build/lib/docutils/parsers/rst/states.py", line 2065, in parse_directive
    block_text, self, self.state_machine)
  File "/var/tmp/portage/docutils-0.3-r1/work/docutils-0.3/build/lib/docutils/parsers/rst/directives/misc.py", line 181, in unicode_directive
    element += nodes.Text(unichr(int(value, 16)))

You can find the full emerge output for the x86 ebuild, including the traceback, from the URL included with this report.
You can also find a scrollback of the ~x86 ebuild at http://rafb.net/paste/results/3Mopsl75.html

As bug #59140 states, a new version of docutils (0.3.5) is already available. (at http://docutils.sourceforge.net/)


Reproducible: Always
Steps to Reproduce:
1. # emerge =dev-python/docutils-0.3-r1
or # emerge =dev-python/docutils-0.3.3-r1
Actual Results:  
With the x86 ebuild, all I noticed was the missing /usr/bin/docutils-*.py files, 
which are there in my other Gentoo installations. There's probably more.
With the ~x86 ebuild, the emerge process failed with an error.


The ebuild 'dev-python/docutils' is not mentioned in any of the 
'/usr/portage/package.*' files.

emerge info:

Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r1, 2.6.
7-gentoo-r12)
=================================================================
System uname: 2.6.7-gentoo-r12 i686 Pentium II (Deschutes)
Gentoo Base System version 1.4.16
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-pipe -O2 -mcpu=pentium2 -march=pentium2 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
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/env.d"
CXXFLAGS="-pipe -O2 -mcpu=pentium2 -march=pentium2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS="http://ftp.linux.ee/pub/gentoo/distfiles/ http://trumpetti.atm.
tut.fi/gentoo/"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="apache2 apm arts avi berkdb crypt encode foomaticdb gdbm gtk2 imlib ipv6 
kde libg++ libwww mad mikmod motif mpeg ncurses nptl oggvorbis opengl oss pam 
pdflib png python quicktime readline samba sdl slang spell ssl svga tcpd tetex 
x86 xml xml2 xmms xv zlib"
Comment 1 Marti Raudsepp 2004-08-15 01:56:10 UTC
Reassigned bug to the Python Gentoo Team <python@gentoo.org>
Made to depend on bug #59140.

I'm not 100% sure in what I'm doing, please correct me if I'm wrong. :)
Comment 2 Rob Cakebread (RETIRED) gentoo-dev 2004-08-20 09:10:45 UTC
The errors in your log show that your portage installation broken and missing files from /usr/lib/portage/bin/

Please re-emerge portage then try to emerge docutils.
Comment 3 Marti Raudsepp 2004-08-21 14:42:20 UTC
No, re-emergeing Portage didn't help.

Here's what I have in /usr/lib/portage/bin/:
http://www.rafb.net/paste/results/6eqyrK55.html

Yes, '/usr/lib/portage/bin/dobin' is there, although the error says it's not.
Comment 4 Marti Raudsepp 2004-08-30 09:22:07 UTC
Ok, I fixed the issue, it was my problem. I had 'source /etc/profile' in /etc/portage/bashrc and it overwrote something important in the environment.