Summary: | dev-python/sphinx-1.3.1-r1: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xba in position 35: invalid start byte | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Thomas Beutin <tb> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | /tmp/portage/dev-python/sphinx-1.3.1-r1/temp/build.log |
Description
Thomas Beutin
2015-10-28 13:45:03 UTC
Created attachment 415642 [details]
/tmp/portage/dev-python/sphinx-1.3.1-r1/temp/build.log
which version of Babel are you using? what is "/etc/localtime" on your system. (In reply to Justin Lecher from comment #2) > which version of Babel are you using? # eix dev-python/Babel$ [I] dev-python/Babel Available versions: ~2.0 2.1.1 {doc test PYTHON_TARGETS="pypy pypy3 python2_7 python3_3 python3_4 python3_5"} Installed versions: 2.1.1(05:24:53 PM 10/26/2015)(-doc -test PYTHON_TARGETS="python2_7 python3_3 python3_4 -pypy -pypy3 -python3_5") Homepage: http://babel.edgewall.org/ https://pypi.python.org/pypi/Babel Description: A collection of tools for internationalizing Python applications (In reply to Justin Lecher from comment #3) > what is "/etc/localtime" on your system. it's a file, and this is binary identical to /usr/share/zoneinfo/Factory (In reply to Thomas Beutin from comment #5) > (In reply to Justin Lecher from comment #3) > > what is "/etc/localtime" on your system. > > it's a file, and this is binary identical to > /usr/share/zoneinfo/Factory Could you please try to setup your system according to the docs [1] and try again? 1) https://wiki.gentoo.org/wiki/System_time#OpenRC (In reply to Justin Lecher from comment #6) > (In reply to Thomas Beutin from comment #5) > > (In reply to Justin Lecher from comment #3) > > > what is "/etc/localtime" on your system. > > > > it's a file, and this is binary identical to > > /usr/share/zoneinfo/Factory > > Could you please try to setup your system according to the docs [1] and try > again? after changig the time zone like this: # ls -la /etc/localtime lrwxrwxrwx 1 root root 33 Oct 30 10:27 /etc/localtime -> /usr/share/zoneinfo/Europe/Berlin it compiles fine, even on different locales (C, en_US.utf8, en_IE.iso885915@euro) I don't know when or where i messed this up. But on the other hand: why is there a file in /usr/share/zoneinfo/ which must not be used as /etc/localtime? Anyway, sorry for the noise and thanks for digging into it! I hit a similar error on sphinx-1.5.2: struct.error: unpack requires a string argument of length 44 * ERROR: dev-python/sphinx-1.5.2::gentoo failed (compile phase) The cause was a corrupt /etc/localtime (due to an error on my part) The fix was: emerge --config timezone-data |