[Fedora-i18n-bugs] [Bug 634055] New: struct.error: 'l' format requires -2147483648 <= number <= 2147483647

bugzilla at redhat.com bugzilla at redhat.com
Wed Sep 15 04:43:00 UTC 2010


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.

Summary: struct.error: 'l' format requires -2147483648 <= number <= 2147483647

https://bugzilla.redhat.com/show_bug.cgi?id=634055

           Summary: struct.error: 'l' format requires -2147483648 <=
                    number <= 2147483647
           Product: Fedora
           Version: 14
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: medium
          Priority: low
         Component: fonttools
        AssignedTo: roozbeh at gmail.com
        ReportedBy: tagoh at redhat.com
         QAContact: extras-qa at fedoraproject.org
                CC: roozbeh at gmail.com, pnemade at redhat.com,
                    fonts-bugs at lists.fedoraproject.org,
                    i18n-bugs at lists.fedoraproject.org
            Blocks: 631383
    Classification: Fedora
    Target Release: ---


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):
fonttools-2.2-8.fc14

How reproducible:
always

Steps to Reproduce:
1.rpmbuild --rebuild sazanami-fonts-0.20040629-14.fc14.src.rpm
2.
3.

Actual results:
Parsing 'GSUB' table...
Traceback (most recent call last):
  File "/usr/bin/ttx", line 11, in <module>
    ttx.main(sys.argv[1:])
  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
    ttf.save(output)
  File
"/usr/lib64/python2.7/site-packages/FontTools/fontTools/ttLib/__init__.py",
line 202, in save
    writer.close()
  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:

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the i18n-bugs mailing list