Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 618306 - dev-python/sphinx-1.5.2: struct.error: unpack requires a string argument of length 44
Summary: dev-python/sphinx-1.5.2: struct.error: unpack requires a string argument of l...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-12 16:56 UTC by lekto
Modified: 2017-05-12 17:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (file_618306.txt,4.43 KB, text/plain)
2017-05-12 16:56 UTC, lekto
Details
build.log (file_618306.txt,4.01 KB, text/plain)
2017-05-12 16:57 UTC, lekto
Details
uild-python2_7.log (file_618306.txt,3.11 KB, text/plain)
2017-05-12 16:58 UTC, lekto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lekto 2017-05-12 16:56:37 UTC
Created attachment 472436 [details]
emerge --info

>>> Compiling source in /var/tmp/portage/dev-python/sphinx-1.5.2/work/Sphinx-1.5.2 ...
 * python2_7: running distutils-r1_run_phase python_compile
/usr/bin/python2.7 setup.py build
Traceback (most recent call last):
  File "setup.py", line 82, in <module>
    from babel.messages.pofile import read_po
  File "/usr/lib64/python2.7/site-packages/babel/messages/__init__.py", line 12, in <module>
    from babel.messages.catalog import *
  File "/usr/lib64/python2.7/site-packages/babel/messages/catalog.py", line 23, in <module>
    from babel.dates import format_datetime
  File "/usr/lib64/python2.7/site-packages/babel/dates.py", line 29, in <module>
    from babel.util import UTC, LOCALTZ
  File "/usr/lib64/python2.7/site-packages/babel/util.py", line 19, in <module>
    from babel import localtime
  File "/usr/lib64/python2.7/site-packages/babel/localtime/__init__.py", line 74, in <module>
    LOCALTZ = get_localzone()
  File "/usr/lib64/python2.7/site-packages/babel/localtime/__init__.py", line 70, in get_localzone
    return _get_localzone()
  File "/usr/lib64/python2.7/site-packages/babel/localtime/_unix.py", line 97, in _get_localzone
    return pytz.timezone(etctz.replace(' ', '_'))
  File "/usr/lib64/python2.7/site-packages/pytz/__init__.py", line 176, in timezone
    _tzinfo_cache[zone] = build_tzinfo(zone, fp)
  File "/usr/lib64/python2.7/site-packages/pytz/tzfile.py", line 30, in build_tzinfo
    typecnt, charcnt) =  unpack(head_fmt, fp.read(head_size))
struct.error: unpack requires a string argument of length 44
Comment 1 lekto 2017-05-12 16:57:50 UTC
Created attachment 472438 [details]
build.log
Comment 2 lekto 2017-05-12 16:58:58 UTC
Created attachment 472440 [details]
uild-python2_7.log
Comment 3 lekto 2017-05-12 17:00:03 UTC
Comment on attachment 472440 [details]
uild-python2_7.log

*build-python2_7.log
Comment 4 lekto 2017-05-12 17:04:18 UTC
Resolved, I had something wrong with /etc/localtime.