Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 546466 - freetype-config uses the crossdev environment variable $SYSROOT
Summary: freetype-config uses the crossdev environment variable $SYSROOT
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-13 16:03 UTC by brandur.simonsen
Modified: 2015-04-20 08:00 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description brandur.simonsen 2015-04-13 16:03:59 UTC
freetype-config uses the crossdev $SYSROOT environment variable for path.
this caused a configuration error of media-libs/ftgl

freetype-config does not provide -I/usr/include/harfbuzz as pkg-config does ?

"
asus bin # freetype-config --cflags
-I/usr/armv5tel-softfloat-linux-gnueabi/usr/include/freetype2
asus ~ # pkg-config --cflags freetype2
-I/usr/include/freetype2 -I/usr/include/harfbuzz 
asus bin # echo $SYSROOT
/usr/armv5tel-softfloat-linux-gnueabi
asus bin # SYSROOT=
asus bin # freetype-config --cflags
-I/usr/include/freetype2
"
Comment 1 Alexis Ballier gentoo-dev 2015-04-20 08:00:28 UTC
(In reply to brandur.simonsen from comment #0)
> freetype-config uses the crossdev $SYSROOT environment variable for path.
> this caused a configuration error of media-libs/ftgl

what is the exact problem ?

> freetype-config does not provide -I/usr/include/harfbuzz as pkg-config does ?
> 
> "
> asus bin # freetype-config --cflags
> -I/usr/armv5tel-softfloat-linux-gnueabi/usr/include/freetype2

this seems like the correct behavior, if you cross-compile and use headers from / you'll have problems.