Bug 634055 - struct.error: 'l' format requires -2147483648 <= number <= 2147483647
struct.error: 'l' format requires -2147483648 <= number <= 2147483647
Product: Fedora
Classification: Fedora
Component: fonttools (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Roozbeh Pournader
Fedora Extras Quality Assurance
Depends On:
Blocks: 631383
  Show dependency treegraph
Reported: 2010-09-15 00:43 EDT by Akira TAGOH
Modified: 2010-10-19 05:06 EDT (History)
4 users (show)

See Also:
Fixed In Version: fonttools-2.3-2.fc14
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-10-19 05:06:07 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Akira TAGOH 2010-09-15 00:43:00 EDT
Description of problem:
I saw this error on building sazanami-fonts package that uses ttx to patch out. this seems appearing for a while but as deprecation warning. and it seems promoted to the error now on python 2.7.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.rpmbuild --rebuild sazanami-fonts-0.20040629-14.fc14.src.rpm
Actual results:
Parsing 'GSUB' table...
Traceback (most recent call last):
  File "/usr/bin/ttx", line 11, in <module>
  File "/usr/lib64/python2.7/site-packages/FontTools/fontTools/ttx.py", line 288, in main
    process(jobs, options)
  File "/usr/lib64/python2.7/site-packages/FontTools/fontTools/ttx.py", line 273, in process
    action(input, output, options)
  File "/usr/lib64/python2.7/site-packages/FontTools/fontTools/ttx.py", line 181, in ttCompile
  File "/usr/lib64/python2.7/site-packages/FontTools/fontTools/ttLib/__init__.py", line 202, in save
  File "/usr/lib64/python2.7/site-packages/FontTools/fontTools/ttLib/sfnt.py", line 137, in close
    directory = directory + entry.toString()
  File "/usr/lib64/python2.7/site-packages/FontTools/fontTools/ttLib/sfnt.py", line 196, in toString
    return sstruct.pack(sfntDirectoryEntryFormat, self)
  File "/usr/lib64/python2.7/site-packages/FontTools/sstruct.py", line 74, in pack
    data = apply(struct.pack, (formatstring,) + tuple(elements))
struct.error: 'l' format requires -2147483648 <= number <= 2147483647
error: Bad exit status from /var/tmp/rpm-tmp.PA0I6G (%build)
    Bad exit status from /var/tmp/rpm-tmp.PA0I6G (%build)

Expected results:
No errors happens

Additional info:
Comment 1 Fedora Update System 2010-10-19 01:00:16 EDT
fonttools-2.3-1.fc14 has been submitted as an update for Fedora 14.
Comment 2 Fedora Update System 2010-10-19 02:18:19 EDT
fonttools-2.3-2.fc14 has been submitted as an update for Fedora 14.
Comment 3 Fedora Update System 2010-10-19 05:05:58 EDT
fonttools-2.3-2.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.