Bug 1147421 - fontforge in F22 segfaults building oxygen-fonts
Summary: fontforge in F22 segfaults building oxygen-fonts
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: fontforge
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Parag Nemade
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-29 08:48 UTC by Daniel Vrátil
Modified: 2015-11-02 01:38 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-01-29 12:25:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Daniel Vrátil 2014-09-29 08:48:26 UTC
Description of problem:
fontforge-20140813-3.fc22 segfaults when building oxygen-fonts. The font builds just fine with older fontforge-20120731b-10.fc20 and fontforge-20120731b-13.fc21.

This is 100% reproducible in Koji.


Version-Release number of selected component (if applicable):
fontforge-20120731b-3.fc22


How reproducible:
Always (tested only in Koji)


Steps to Reproduce:
1. fedpkg clone oxygen-fonts
2. cd oxygen-fonts
3. fedpkg srpm
4. koji build --scratch f22 oxygen-fonts-*.src.rpm
5. koji build --scratch f21 oxygen-fonts-*.src.rpm


Actual results:
Build fails on F22, but succeeds on F21.

Expected results:
Build succeeds on both.

Additional info:
Failed F22 Koji build: http://koji.fedoraproject.org/koji/taskinfo?taskID=7717277
Successful F21 Koji build: http://koji.fedoraproject.org/koji/taskinfo?taskID=7717275

Comment 1 Parag Nemade 2014-09-29 09:28:43 UTC
I see that lohit series fonts have no issues rebuilding against rawhide fontforge in rawhide. I need to check further and may report upstream about this. If you are needed this package working then you can install ttf files provided in tarball for now.

Comment 2 Parag Nemade 2014-10-01 06:07:49 UTC
upstream developers are looking into this issue. Right now they feel this can be fontforge issue and not font issue and provided temporary workaround if this package need to build ttf from sfd.

perl -wne 'print unless /^PickledData:/.../.*"$/;' OxygenMono-Regular.sfd >OxygenMono-Regular.cleaned.sfd

This removes just the PickledData: sections that are causing trouble with this bug. 

If anyone wants to track upstream issue also then look at https://github.com/fontforge/fontforge/issues/1756

Comment 3 Parag Nemade 2015-01-29 05:26:55 UTC
Hi Daniel,
   I think this issue is fixed in recent fontforge update in rawhide. That is fontforge-20141230-1.fc22 build. Can you remove the disable fontforge patch and build a new package?
   I did a similar test build which looks a successful build now -> https://copr.fedoraproject.org/coprs/pnemade/ff2-rebuild/build/69689/

Thanks.

Comment 4 Daniel Vrátil 2015-01-29 12:25:25 UTC
Hi,

I can confirm that is builds just fine in rawhide in Koji with the new fontforge. Thanks!


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