Bug 1719132 - grub2: FTBFS in Fedora Rawhide
Summary: grub2: FTBFS in Fedora Rawhide
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: freetype
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Marek Kašík
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-06-11 06:55 UTC by Igor Raits
Modified: 2019-06-11 10:30 UTC (History)
15 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-06-11 08:02:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Igor Raits 2019-06-11 06:55:36 UTC
util/grub-gen-asciih.c has:

```c
glyph_idx = FT_Get_Char_Index (face, char_code);                                                        
if (!glyph_idx)                                                                                         
  return;                                                                                               
```

Apparently it returns 0 now, so the ascii.h is broken.

please fix this ASAP so that we can proceed with RPM 4.15.

Once you fix it, please run `fedpkg build --target=f31-rpm` for a build.

Comment 1 Igor Raits 2019-06-11 07:00:59 UTC
It is probably related to freetype rebase. CCing freetype maintainer.

Comment 2 Igor Raits 2019-06-11 07:06:06 UTC
I think this might be very related.

    - FreeType now uses the `defaultChar' property of PCF fonts to set
      the  glyph for  the undefined  character  at glyph  index 0  (as
      FreeType already does for all other supported font formats).  As
      a consequence,  the order of  glyphs of  a PCF font  if accessed
      with  FreeType  can  be   different  now  compared  to  previous
      versions.

This change doesn't affect PCF font access with cmaps.

Comment 4 Marek Kašík 2019-06-11 10:30:11 UTC
Thank you for resolving this.


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