Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 133525

Summary: libgtk-java-2.4.9 fails to compile at src/jni/org_gnu_gtk_TextTag.c:304
Product: Gentoo Linux Reporter: Tom Rathbone <tom.rathbone>
Component: [OLD] LibraryAssignee: Saleem Abdulrasool (RETIRED) <compnerd>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: andrew, magowiz
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tom Rathbone 2006-05-16 12:20:39 UTC
Compilation fails as follows:

i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libgtk-java\" -DVERSION=\"2.4.9\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I. -I. -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 -O2 -march=athlon-xp -fomit-frame-pointer -MT src/jni/libgtkjni_la-org_gnu_gtk_TextTag.lo -MD -MP -MF src/jni/.deps/libgtkjni_la-org_gnu_gtk_TextTag.Tpo -c src/jni/org_gnu_gtk_TextTag.c  -fPIC -DPIC -o src/jni/.libs/libgtkjni_la-org_gnu_gtk_TextTag.o
src/jni/org_gnu_gtk_TextTag.c: In function `Java_org_gnu_gtk_TextTag_getPad3':
src/jni/org_gnu_gtk_TextTag.c:304: error: structure has no member named `pad3'
make[1]: *** [src/jni/libgtkjni_la-org_gnu_gtk_TextTag.lo] Error 1

Emerging with:

 # emerge -a java-gnome

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  NS   ] dev-java/libgtk-java-2.4.9
[ebuild  N    ] dev-java/libgnome-java-2.8.3.1
[ebuild  N    ] dev-java/libglade-java-2.8.3.1
[ebuild  N    ] dev-java/libgconf-java-2.8.3.1
[ebuild  N    ] dev-java/java-gnome-2.8.3

....


Other info:

gruber tom # emerge --info

Portage 2.0.54-r2 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.6.14
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -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 /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk ftp://mirrors.blueyonder.co.uk/mirrors/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac acpi alsa apm arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdparanoia cdr cli crypt cscope cups curl dri dvd eds emboss encode esd exif expat fam ffmpeg flac foomaticdb fortran gcj gdbm gif glut gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal howl idn imagemagick imap imlib ipod ipv6 isdnlog java jpeg kde lame lcms libg++ libwww lm_sensors mad mikmod mmx mng mono motif mozilla mp3 mpeg msn mysql ncurses nls nptl ogg oggvorbis openal opengl oss pam pcre pdflib perl png pppd python qt quicktime readline reflection ruby samba sdl session sockets spell spl sqlite sse ssl tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis wifi xml2 xmms xorg xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-01-04 12:41:13 UTC
Suppose newer versions work?
Comment 2 Andrew Cowie 2007-01-04 16:50:18 UTC
These are incredibly obsolete versions of java-gnome 2.x libraries, even discounting the fact that java-gnome 2.x is discontinued.

AfC