Summary: | dev-python/docutils-0.7 fails to build with python 3.1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | John Ross Hunt <john.ross.hunt> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | andrew.frink, bugs, ds-gentoo, konrad.karczewski, levertond, nico.schloemer, non7top, pcmoore, s, zima |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | PPC | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
patch for docutils-0.7.ebuild adds --input-encoding=utf-8 to for buildhtml.py |
Description
John Ross Hunt
2010-08-18 22:19:19 UTC
Created attachment 243501 [details]
build.log
(In reply to comment #0) > Getting 'UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position > 171: ordinal not in range(128)' error during the ebuild. almost the same here on amd64: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1546: ordinal not in range(128) s. Same here on ~x86. As the build.log suggests, it is a problem with Python 3.1. Indeed docutils-0.7 install fine after removing python-3.1 and keeping just 2.6. Adding the option --input-encoding=utf-8 to the buildhtml.py command seems to solve the problem with Python 3.1. *** Bug 333625 has been marked as a duplicate of this bug. *** I get: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 5047: ordinal not in range(128) on ~amd64 with python 3.1 installed. python-3.1.2-r4 is stable on amd64 and there is a stable request for docutils. (In reply to comment #4) > Adding the option --input-encoding=utf-8 to the buildhtml.py command seems to > solve the problem with Python 3.1. > this works well. please put it in the ebuild. I'm running a stable amd64 system here and bumped into the same fail. Ouch! Created attachment 244023 [details, diff]
patch for docutils-0.7.ebuild adds --input-encoding=utf-8 to for buildhtml.py
*** Bug 333995 has been marked as a duplicate of this bug. *** Fixed in CVS, thanks for the suggestion. |