Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84686 - gtk+-2.6.4 ebuild fails at compilation step with freetype error
Summary: gtk+-2.6.4 ebuild fails at compilation step with freetype error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-09 16:59 UTC by Gary
Modified: 2005-03-12 14:00 UTC (History)
0 users

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 Gary 2005-03-09 16:59:43 UTC
When upgrading from gtk+-2.6.2 to gtk+-2.6.4 ebuild passes all tests, but fails while compiling-- apparrently due to missing freetype include.  But freetype is installed and current (see below listing)


USE="-doc" emerge gtk+
...
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -march=pentium3 -O2 -pipe -fomit-frame-pointer -Wall -MT gdkasync.lo -MD -MP -MF .deps/gdkasync.Tpo -c gdkasync.c  -fPIC -DPIC -o .libs/gdkasync.o
In file included from /usr/X11R6/include/X11/Xft/Xft.h:35,
                 from ../../gdk/x11/gdkdrawable-x11.h:35,
                 from ../../gdk/x11/gdkwindow-x11.h:30,
                 from ../../gdk/x11/gdkprivate-x11.h:36,
                 from ../../gdk/x11/gdkx.h:80,
                 from ../../gdk/gdkalias.h:32,
                 from gdkasync.c:51:
/usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!"
/usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files."
/usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
/usr/include/freetype2/freetype/freetype.h:23:2: #error "  #include <ft2build.h>"
/usr/include/freetype2/freetype/freetype.h:24:2: #error "  #include FT_FREETYPE_H"
make[4]: *** [gdkasync.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/gtk+-2.6.4/work/gtk+-2.6.4/gdk/x11'make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gtk+-2.6.4/work/gtk+-2.6.4/gdk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/gtk+-2.6.4/work/gtk+-2.6.4/gdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtk+-2.6.4/work/gtk+-2.6.4'
make: *** [all] Error 2

!!! ERROR: x11-libs/gtk+-2.6.4 failed.
!!! Function src_compile, Line 80, Exitcode 2
!!! (no error message)

Note: Freetype is installed and current--
*  media-libs/freetype
      Latest version available: 2.1.9-r1
      Latest version installed: 2.1.9-r1
      Size of downloaded files: 1,183 kB
      Homepage:    http://www.freetype.org/
      Description: A high-quality and portable font engine
      License:     FTL GPL-2



Reproducible: Always
Steps to Reproduce:
1.USE="-doc" emerge gtk+
2.
3.

Actual Results:  
ebuild failed during compilation

Expected Results:  
completed compilation and merged new version

aragorn father # emerge info
Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.4.1, glibc-2.3.4.20040619-r0,
2.6.7-gentoo-r11 i686)
=================================================================
System uname: 2.6.7-gentoo-r11 i686 Pentium III (Coppermine)
Gentoo Base System version 1.5.2
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 19 2005, 09:55:21)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.9.5, 1.8.5-r3, 1.7.9, 1.5, 1.4_p6, 1.6.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r5
virtual/os-headers:  2.4.22
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf
/etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://mirror.datapipe.net/gentoo
ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X alsa apm avi berkdb bitmap-fonts bonobo crypt cups curl dga emboss encode
esd evo f2c f77 fam fbcon flac font-server foomaticdb fortran gb gd gdbm gif
gnome gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib java jpeg lcms
libgda libwww mad maildir mbox mmx motif mozilla mp3 mpeg nas ncurses nls
oggvorbis opengl oss pam pcmcia pdflib perl pic plotutils png pnp python
quicktime readline ruby sasl sdl slang slp snmp speex spell sse ssl svga tcltk
tcpd tetex threads tiff truetype truetype-fonts trusted type1-fonts usb wmf x86
xface xml xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 foser (RETIRED) gentoo-dev 2005-03-10 02:17:16 UTC
your xft header is prolly hosed or not up-to-date. what x11 are you running ?
Comment 2 Gary 2005-03-10 13:20:32 UTC
Yeah, you are probably right.  I've resisted merging Xorg on my older IBM laptop because I don't want to deal with driver issues. Still, I meet all of the portage dependencies, so it should install, right?  Everything else is current with ~x86.

x11-base/xorg-x11
      Latest version available: 6.8.2-r1
      Latest version installed: 4.3.0-r6

Is the only fix to upgrade to Xorg?
Comment 3 Gary 2005-03-12 14:00:20 UTC
RESOLVED.

Upgraded to latest xorg-x11 followed by emerge gtk+

No errors were reported.  Emerge was successful.

Thank you for your help!