Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#38054 - [grub] latest sources fail to build, incorrect include

Attached to Project: Arch Linux
Opened by Jamin Collins (jamincollins) - Saturday, 07 December 2013, 22:40 GMT
Last edited by Tobias Powalowski (tpowa) - Saturday, 21 December 2013, 20:51 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No


The latest grub sources fail to build due to a missing include "freetype/ftsynth.h". ftsynth.h is provided by freetype2 2.5.1-1, but is install under /usr/include/freetype2 not /usr/include/freetype.

Steps to reproduce:
Grab the grub package sources and attempt a build.
cp -r /var/abs/core/grub /tmp/
cd /tmp/grub

This task depends upon

Closed by  Tobias Powalowski (tpowa)
Saturday, 21 December 2013, 20:51 GMT
Reason for closing:  Fixed
Additional comments about closing:  2.02-beta1
Comment by Thomas Axelsson (thomasa88) - Sunday, 08 December 2013, 09:20 GMT
Found the same problem with Gentoo and saw your post when searching for a fix.

I created this patch (only tested with grub-2.0.0 and freetype-2.5.1):

(Gentoo bug:

Comment by Markus M. May (triplem) - Sunday, 08 December 2013, 15:33 GMT
This is already fixed upstream with commit fd0df6d098b1e6a4f60275c48a3ec88d15ba1fbb.