When trying to emerge eclipse either the unmasked version or 3.0.0 build with a modified ebuild (basically the current 3.0.0rc3 ebuild modified to use the final release of 3.0.0) the compile fails on build_motif_frontend function. Reproducible: Always Steps to Reproduce: 1.emerge eclipse-sdk 2. 3. Actual Results: Note: This is from the modified ebuild where I just changed the download file url and renamed the ebuild to be 3.0.0.ebuild. I get an error in the same function if I emerge the 2.?.? unmasked version althought the details may be different. os.c: In function `Java_org_eclipse_swt_internal_motif_OS_memmove__Lorg_eclipse_swt_internal_motif_XmDropProcCallbackStruct_2II': os.c:5420: error: `XmDropProcCallbackStruct' undeclared (first use in this function) os.c:5420: error: syntax error before "_arg0" os.c:5422: error: `lparg0' undeclared (first use in this function) os.c:5422: error: `_arg0' undeclared (first use in this function) os.c: In function `Java_org_eclipse_swt_internal_motif_OS_memmove__Lorg_eclipse_swt_internal_motif_XmTextBlockRec_2II': os.c:5433: error: `XmTextBlockRec' undeclared (first use in this function) os.c:5433: error: syntax error before "_arg0" os.c:5435: error: `lparg0' undeclared (first use in this function) os.c:5435: error: `_arg0' undeclared (first use in this function) os.c: In function `Java_org_eclipse_swt_internal_motif_OS_memmove__Lorg_eclipse_swt_internal_motif_XmTextVerifyCallbackStruct_2II': os.c:5446: error: `XmTextVerifyCallbackStruct' undeclared (first use in this function) os.c:5446: error: syntax error before "_arg0" os.c:5448: error: `lparg0' undeclared (first use in this function) os.c:5448: error: `_arg0' undeclared (first use in this function) os.c: In function `Java_org_eclipse_swt_internal_motif_OS_xmMenuShellWidgetClass': os.c:5656: error: `xmMenuShellWidgetClass' undeclared (first use in this function) make: *** [os.o] Error 1 !!! ERROR: dev-util/eclipse-sdk-3.0.0 failed. !!! Function build_motif_frontend, Line 188, Exitcode 2 !!! Failed to build Motif support Expected Results: It should compile successfully Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.5-gentoo-r1) ================================================================= System uname: 2.6.5-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1500MHz Gentoo Base System version 1.5.1 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /etc/tomcat /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/lib/jboss /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://ftp.is.co.za/linux/distributions/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib acl acpi aim alsa apache2 apm arts audiofile avi berkdb bonobo cdr crypt cups curl dga directfb doc dvd encode esd ethereal evo fam fbcon fdftk flash foomaticdb freetds gb gd gdbm gif ginac gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml icq imagemagick imap imlib innodb jabber java jikes jpeg junit lcms libg++ libgda libwww mad mbox mcal memlimit mikmod mmx motif mozilla mpeg mpi msn mssql mysql ncurses nls oci8 odbc oggvorbis opengl oscar oss pam pcmcia pcre pda pdflib perl plotutils png pnp postgres ppds prelude python quicktime readline samba scanner sdl slang slp spell sse ssl svg svga szip tcpd tiff truetype trusted unicode usb vhosts wmf wxwindows x86 xinerama xml xml2 xmms xosd xv xvid yahoo zeo zlib"
Try the freshly released 3.0.0. I cannot reproduce this over here. If the problem persists, reopen the bug, and tell me which version of openmotif you have installed. I fixed a bug in 3.0.0 where both motif and gtk are selected.
It happend the same to me. I don't have openmotif installed, so possibly should fix putting a dependency on it
sorry, I'm missing the eclipse version: eclypse-sdk-2.1.3-r3