<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>61694</bug_id>
          
          <creation_ts>2004-08-25 14:17 0000</creation_ts>
          <short_desc>fox-1.2.6-r1 - the flag USE=&quot;freetype&quot; is broken</short_desc>
          <delta_ts>2004-10-04 23:50:15 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Library</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>andre.bouillet@gmx.de</reporter>
          <assigned_to>s4t4n@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>andre.bouillet@gmx.de</who>
            <bug_when>2004-08-25 14:17:52 0000</bug_when>
            <thetext>If you want to compile fox-1.2.6-r1 and have the flag USE=&quot;freetype&quot; set, you get the following error in the file config.log:

configure:7117: checking for X11/Xft/Xft.h
configure:7127: gcc -E  conftest.c &gt;/dev/null 2&gt;conftest.out
In file included from /usr/include/X11/Xft/Xft.h:41,
                 from configure:7123:
/usr/include/ft2build.h:55:38: freetype/config/ftheader.h: No such file or directory
In file included from configure:7123:
/usr/include/X11/Xft/Xft.h:42:10: #include expects &quot;FILENAME&quot; or &lt;FILENAME&gt;
configure: failed program was:
#line 7122 &quot;configure&quot;
#include &quot;confdefs.h&quot;
#include &lt;X11/Xft/Xft.h&gt;

So freetype will be completely disabled, an you&apos;ll get no anti-aliased fonts. It  seems that the path to /usr/include/freetype2/ is missing in the include-path of the compile-statement.

I&apos;m currently using media-libs/freetype-2.1.5-r1.

Reproducible: Always
Steps to Reproduce:
1. USE=&quot;freetype&quot; emerge fox
2.
3.




Portage 2.0.50-r10 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r1,
2.6.8-gentoo-r2)
=================================================================
System uname: 2.6.8-gentoo-r2 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-O3 -march=athlon-xp -fomit-frame-pointer -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;&quot;
CONFIG_PROTECT=&quot;/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O3 -march=athlon-xp -fomit-frame-pointer -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs ccache sandbox&quot;
GENTOO_MIRRORS=&quot;http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://ftp.uni-erlangen.de/pub/mirrors/gentoo&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;3dnow X aalib apm avi berkdb cdr crypt cups dvd encode esd faad foomaticdb
freetype gdbm gif gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod motif
mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png ppds python qt
quicktime readline sdl slang spell ssl tcpd truetype wxwindows x86 xml2 xmms xv
zlib&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>s4t4n@gentoo.org</who>
            <bug_when>2004-08-31 15:14:14 0000</bug_when>
            <thetext>&gt; I&apos;m currently using media-libs/freetype-2.1.5-r1.
Me too...

I can&apos;t reproduce your problem, ebuild works fine here.
I&apos;ll try on another machine and see what happens...
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>s4t4n@gentoo.org</who>
            <bug_when>2004-09-10 13:39:30 0000</bug_when>
            <thetext>Nope, tried this on three different machines, worked on all...

I notice that the configure scripts check for xft2 (not freetype) which is part of the xfree package. Are you by any chance using xorg-x11 instead of xfree?
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>s4t4n@gentoo.org</who>
            <bug_when>2004-09-15 11:54:16 0000</bug_when>
            <thetext>mmm.. I&apos;ll try out xorg-x11 6.8.0 myself when it is marked stable on x86...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>s4t4n@gentoo.org</who>
            <bug_when>2004-09-24 15:48:34 0000</bug_when>
            <thetext>Installed xorg-x11 6.8.0 on my machine, now I can reproduce the problem...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>s4t4n@gentoo.org</who>
            <bug_when>2004-10-04 23:50:15 0000</bug_when>
            <thetext>OK, fixed revision sit in Portage...</thetext>
          </long_desc>
      
    </bug>

</bugzilla>