Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

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!
Tasklist

FS#50078 - [freetype2] header files include path is broken

Attached to Project: Arch Linux
Opened by Michael Pineman (Pineman13) - Sunday, 17 July 2016, 12:41 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 17 July 2016, 13:46 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Xft.h (located at /usr/include/X11/Xft/) references header files, installed by freetype2(extra) omitting freetype2 directory in the /usr/include , so that instead of:
#include <freetype2/ft2build.h>
it tries to locate the ft2build.h in the include dir:
#include <ft2build.h>

However, merely appending "freetype2/" doesn't fix the issue.
Instead ft2build.h fails to find ftheader.h at /usr/include/freetype/config, because now it is located at /usr/include/freetype2/freetype/config

With all of this it seems as the package freetype2 unnecessarily creates freetype2 at /usr/include, and stores it's header files in it, rather than simply storing them in the /usr/include


The bug was encountered on a stock releng build of Arch as of 07/01/2016 (https://www.archlinux.org/releng/releases/2016.07.01/)
Package versions are as follows:
freetype2 - 2.6.5-2
libxft - 2.3.2-1

Steps to reproduce:
The bug had occurred during the making(building) of st(suckless simple terminal), version 0.6 from source(with a modified source code base). In case of the sources becoming relevant, I'll gladly upload them, considering that I'll be notified of such a need.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Sunday, 17 July 2016, 13:46 GMT
Reason for closing:  Not a bug
Comment by Doug Newgard (Scimmia) - Sunday, 17 July 2016, 13:45 GMT
This is what pkg-config is for.

Loading...