After the upgrade to GNOME 2.12, which brought in a whole raft of underlying upgrades, the compilation of gnu-classpath now fails, as follows: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -I../../../native/jni/classpath -I../../../native/target/Linux -I../../../native/target/generic -pedantic -W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libart-2.0 -march=athlon-mp -mmmx -m3dnow -msse -mfpmath=sse,387 -O3 -pipe -fomit-frame-pointer -MT gnu_java_awt_peer_gtk_GdkPixbufDecoder.lo -MD -MP -MF .deps/gnu_java_awt_peer_gtk_GdkPixbufDecoder.Tpo -c gnu_java_awt_peer_gtk_GdkPixbufDecoder.c -fPIC -DPIC -o .libs/gnu_java_awt_peer_gtk_GdkPixbufDecoder.o 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: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_GdkGraphicsEnvironment.c:38: /usr/include/ft2build.h:56:38: freetype/config/ftheader.h: No such file or directory In file included from /usr/include/pango-1.0/pango/pangoft2.h:29, from gdkfont.h:46, from gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:38: /usr/include/pango-1.0/pango/pangofc-font.h:26:10: #include expects "FILENAME" or <FILENAME> In file included from /usr/include/pango-1.0/pango/pangoft2.h:29, from gdkfont.h:46, from gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:38: /usr/include/pango-1.0/pango/pangofc-font.h:144: error: parse error before "pango_fc_font_lock_face" /usr/include/pango-1.0/pango/pangofc-font.h:144: warning: type defaults to `int' in declaration of `pango_fc_font_lock_face' /usr/include/pango-1.0/pango/pangofc-font.h:144: error: ISO C forbids data definition with no type or storage class In file included from gdkfont.h:46, from gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:38: /usr/include/pango-1.0/pango/pangoft2.h:48: error: parse error before '*' token /usr/include/pango-1.0/pango/pangoft2.h:53: error: parse error before '*' token /usr/include/pango-1.0/pango/pangoft2.h:60: error: parse error before '*' token /usr/include/pango-1.0/pango/pangoft2.h:64: error: parse error before '*' token /usr/include/pango-1.0/pango/pangoft2.h:68: error: parse error before '*' token /usr/include/pango-1.0/pango/pangoft2.h:72: error: parse error before '*' token /usr/include/pango-1.0/pango/pangoft2.h:103: error: parse error before "pango_ft2_font_get_face" /usr/include/pango-1.0/pango/pangoft2.h:103: warning: type defaults to `int' in declaration of `pango_ft2_font_get_face' /usr/include/pango-1.0/pango/pangoft2.h:103: error: ISO C forbids data definition with no type or storage class if /bin/sh ../../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -I../../../native/jni/classpath -I../../../native/target/Linux -I../../../native/target/generic -pedantic -W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libart-2.0 -march=athlon-mp -mmmx -m3dnow -msse -mfpmath=sse,387 -O3 -pipe -fomit-frame-pointer -MT gnu_java_awt_peer_gtk_GdkRobotPeer.lo -MD -MP -MF ".deps/gnu_java_awt_peer_gtk_GdkRobotPeer.Tpo" -c -o gnu_java_awt_peer_gtk_GdkRobotPeer.lo gnu_java_awt_peer_gtk_GdkRobotPeer.c; \ then mv -f ".deps/gnu_java_awt_peer_gtk_GdkRobotPeer.Tpo" ".deps/gnu_java_awt_peer_gtk_GdkRobotPeer.Plo"; else rm -f ".deps/gnu_java_awt_peer_gtk_GdkRobotPeer.Tpo"; exit 1; fi 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_GdkGraphics.c:39: /usr/include/ft2build.h:56:38: freetype/config/ftheader.h: No such file or directory In file included from /usr/include/pango-1.0/pango/pangoft2.h:29, from gdkfont.h:46, from gnu_java_awt_peer_gtk_GdkGraphics.c:39: /usr/include/pango-1.0/pango/pangofc-font.h:26:10: #include expects "FILENAME" or <FILENAME> In file included from /usr/include/pango-1.0/pango/pangoft2.h:29, from gdkfont.h:46, from gnu_java_awt_peer_gtk_GdkGraphics.c:39: /usr/include/pango-1.0/pango/pangofc-font.h:144: error: parse error before "pango_fc_font_lock_face" /usr/include/pango-1.0/pango/pangofc-font.h:144: warning: type defaults to `int' in declaration of `pango_fc_font_lock_face' /usr/include/pango-1.0/pango/pangofc-font.h:144: error: ISO C forbids data definition with no type or storage class make[3]: *** [gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.lo] Error 1 It looks to me as though the makefile needs -I/usr/include/freetype2 added to the compilation steps. However, somebody who knows this build process better than I should be the final judge. My emerge info data are as follows: Gentoo Base System version 1.6.14 Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r5 i686) ================================================================= System uname: 2.6.14-gentoo-r5 i686 AMD Athlon(tm) MP 2800+ dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.8.1-r1, 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-mp -mmmx -m3dnow -msse -mfpmath=sse,387 -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/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=athlon-mp -mmmx -m3dnow -msse -mfpmath=sse,387 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://mirror.switch.ch/mirror/gentoo ftp://ftp.solnet.ch/mirror/Gentoo" LINGUAS="en_GB" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/lib/portage/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow X acl ada alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups curl doc dvd eds emboss encode esd exif expat f77 fam ffmpeg flac foomaticdb fortran gcj gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml idn imagemagick imlib ipv6 java jpeg kde lcms libg++ libwww lua mad mikmod mmx mng motif mozilla mp3 mpeg ncurses nls nptl nptlonly objc odbc ogg oggvorbis opengl oss pam pcre pdflib perl png postgres python qt quicktime readline sdl slang spell sqlite sse ssl svg svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev vorbis xine xml2 xmms xv zlib linguas_en_GB userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
I can report that by using C_INCLUDE_PATH='/usr/include/freetype' as an override environment variable in the emerge, the package installs correctly. This tends to confirm my guess that it is a missing directory during compilation.
(In reply to comment #1) > I can report that by using C_INCLUDE_PATH='/usr/include/freetype' as an > override environment variable in the emerge, the package installs correctly. > > This tends to confirm my guess that it is a missing directory during > compilation. > That should be '/usr/include/freetype2'.
This should not be an issue with gnu-classpath-0.90 as we have been testing it in bug 131927.
(In reply to comment #3) > This should not be an issue with gnu-classpath-0.90 as we have been testing it > in bug 131927. I installed the upgrade today and it compiled without any problems.
(In reply to comment #4) > (In reply to comment #3) > > This should not be an issue with gnu-classpath-0.90 as we have been testing it > > in bug 131927. > > I installed the upgrade today and it compiled without any problems. > Good to hear.