Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 495128 - x11-misc/dmenu-4.5-r3 with dev-util/pkgconf - /usr/include/ft2build.h:56:38: fatal error: freetype/config/ftheader.h: No such file or directory
Summary: x11-misc/dmenu-4.5-r3 with dev-util/pkgconf - /usr/include/ft2build.h:56:38: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-23 15:25 UTC by Oleh
Modified: 2013-12-23 23:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,2.80 KB, text/plain)
2013-12-23 15:25 UTC, Oleh
Details
emerge --info (info,4.13 KB, text/plain)
2013-12-23 15:26 UTC, Oleh
Details
patch to fix build issue (dmenu-4.5-r3.ebuild.patch,693 bytes, patch)
2013-12-23 15:27 UTC, Oleh
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oleh 2013-12-23 15:25:23 UTC
x11-misc/dmenu failing to build with xft USE flag with alternative pkgconf. This caused by missing quotes in compile flags . Steps to reproduce:


Reproducible: Always

Steps to Reproduce:
1. replace dev-util/pkgconfig with dev-util/pkgconf
2. USE=xft emerge dmenu
3. notice a build failure
4. switch back to dev-util/pkgconfig
5. dmenu with xft flag building fine.

Actual Results:  
In file included from /usr/include/X11/Xft/Xft.h:39:0,
                 from draw.h:3,
                 from draw.c:8:
/usr/include/ft2build.h:56:38: fatal error: freetype/config/ftheader.h: No such file or directory
compilation terminated.
In file included from /usr/include/X11/Xft/Xft.h:39:0,
                 from draw.h:3,
                 from dmenu.c:14:
/usr/include/ft2build.h:56:38: fatal error: freetype/config/ftheader.h: No such file or directory
compilation terminated.
Makefile:14: recipe for target 'draw.o' failed
make: *** [draw.o] Error 1
make: *** Waiting for unfinished jobs....
Makefile:14: recipe for target 'dmenu.o' failed
make: *** [dmenu.o] Error 1

Expected Results:  
dmenu emerged with either pkgconf or pkgconfig used.
Comment 1 Oleh 2013-12-23 15:25:55 UTC
Created attachment 365992 [details]
build.log
Comment 2 Oleh 2013-12-23 15:26:20 UTC
Created attachment 365994 [details]
emerge --info
Comment 3 Oleh 2013-12-23 15:27:52 UTC
Created attachment 365996 [details, diff]
patch to fix build issue
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2013-12-23 17:49:52 UTC
What does your xft.pc look like?
Comment 5 Oleh 2013-12-23 17:52:27 UTC
There are clear steps to reproduce issue.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2013-12-23 17:55:08 UTC
I politely asked you a question. If I had been able to reproduce the issue, I wouldn't be asking the question.
Comment 7 Oleh 2013-12-23 18:15:18 UTC
prefix=/usr
exec_prefix=${prefix}
libdir=/usr/lib64
includedir=${prefix}/include

Name: Xft
Description: X FreeType library
Version: 2.3.1
Requires: xproto
Requires.private: xrender, fontconfig, freetype2
Cflags: -I${includedir}
Libs: -L${libdir} -lXft