Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
The freetype headers can not be found during compilation causing the complation to error out and fail. Reproducible: Always Steps to Reproduce: 1. emerge gnu-classpath Actual Results: errors out with with In file included from /usr/include/pango-1.0/pango/pangofc-font.h:25, from /usr/include/pango-1.0/pango/pangoft2.h:29, from gdkfont.h:46, from gnu_java_awt_peer_gtk_GdkFontPeer.c:38: /usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory Expected Results: Install successfully For some reason ft2build.h shows the freetype headers installed to /usr/bin/freetype when they are actually installed to /usr/bin/freetype2/freetype This problem can be solved by linking /usr/include/freetype2/freetype to /usr/include or by editing /usr/include/ft2build.h and changing 56 #include <freetype/config/ftheader.h> to 56 #include <freetype2/freetype/config/ftheader.h> I'm not sure why I get this problem but it seems like it's something that should be fixed, however I'm not sure how exactly what to do (fix an ebuild?) for a general fix.
Please always post emerge info so that we see what kind of a system you are running.
Here you go I tried the non ~x86 packages and it gave me the same problem Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.5-r1, 2.6.13 i686) ================================================================= System uname: 2.6.13 i686 Intel(R) Pentium(R) M processor 2.00GHz Gentoo Base System version 1.12.0_pre6 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=pentium-m -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks keepwork sandbox sfperms strict" GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--relax" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://137.112.139.123/gentoo-portage" USE="x86 X acpi afs alsa apache2 avi berkdb bitmap-fonts bluetooth bzip2 cdr crypt cups curl dvd dvdr eds emboss encode fam flac foomaticdb fortran gcj gd gdbm gif gpm gstreamer gtk gtk2 guile imlib ipv6 java jpeg junit kerberos krb4 libg++ libwww lirc lm_sensors mad mikmod mmx mp3 mpeg mysql nas ncurses netboot nls nvidia offensive ogg oggvorbis opengl pam pcmcia pda pdflib perl png pnp python qt quicktime readline ruby samba sdl slang spell sqlite sse ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb vorbis wifi xine xinerama xml xml2 xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS, PORTDIR_OVERLAY
fixed upstream by this patch: 2005-10-21 Christian Thalinger <twisti@complang.tuwien.ac.at> * configure.ac: Also check for pangoft2 without cairo and additionally check for freetype2. * native/jni/gtk-peer/Makefile.am: Added X, pangoft2 and freetype2 CFLAGS and LDFLAGS. http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/configure.ac.diff?r1=1.111&r2=1.112 http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/native/jni/gtk-peer/Makefile.am.diff? r1=1.29&r2=1.30 cheers, dalibor topic
axxo committed the patches so this bug should be fixed. Thanks for reporting.