When I try to emerge eclispe-sdk, I get errors about a deprecated API, and the emerge terminates Reproducible: Always Steps to Reproduce: 1.emerge eclipse-sdk 2. 3. Actual Results: I got the following printout Building resources.core plugin gcc -fPIC -g -c -I/opt/blackdown-jdk-1.4.2.01/include -I/opt/blackdown-jdk-1.4.2.01/include/linux core.c -o core.o gcc -g -shared -Wl,-soname,libcore.so -o libcore_2_1_0a.so core.o -lc Building selected platform Building gtk+ SWT Converting files from DOS to UNIX format: eclipseGtk.c ../eclipse.c ../eclipseOS.h ../eclipseUtil.c ../eclipseUtil.h Building Linux launcher. Defaults: -os linux -arch x86 -ws gtk rm -f eclipse-gtk eclipse.o eclipseUtil.o eclipseGtk.o gcc -O -s -DPROGRAM_NAME="\"Eclipse\"" -DDEFAULT_OS="\"linux\"" -DDEFAULT_OS_ARCH="\"x86\"" -DDEFAULT_WS="\"gtk\"" -I. -I.. `pkg-config --cflags gtk+-2.0` -c ../eclipse.c -o eclipse.o gcc -O -s -DPROGRAM_NAME="\"Eclipse\"" -DDEFAULT_OS="\"linux\"" -DDEFAULT_OS_ARCH="\"x86\"" -DDEFAULT_WS="\"gtk\"" -I. -I.. `pkg-config --cflags gtk+-2.0` -c ../eclipseUtil.c -o eclipseUtil.o gcc -O -s -DPROGRAM_NAME="\"Eclipse\"" -DDEFAULT_OS="\"linux\"" -DDEFAULT_OS_ARCH="\"x86\"" -DDEFAULT_WS="\"gtk\"" -I. -I.. `pkg-config --cflags gtk+-2.0` -c eclipseGtk.c -o eclipseGtk.o gcc -o eclipse-gtk eclipse.o eclipseUtil.o eclipseGtk.o `pkg-config --libs gtk+-2.0` gcc -c -O -s -DSWT_VERSION=2136 -DLINUX -DGTK -fpic -fPIC `pkg-config --cflags gtk+-2.0` `pkg-config --cflags pango` -I/opt/blackdown-jdk-1.4.2.01/include -I/opt/blackdown-jdk-1.4.2.01/include/linux callback.c ld -x -shared \ -o libswt-gtk-2136.so callback.o gcc -c -O -s -DSWT_VERSION=2136 -DLINUX -DGTK -fpic -fPIC `pkg-config --cflags gtk+-2.0` `pkg-config --cflags pango` -I/opt/blackdown-jdk-1.4.2.01/include -I/opt/blackdown-jdk-1.4.2.01/include/linux `pkg-config --cflags gtk+-2.0` `pkg-config --cflags pango` swt.c gcc -c -O -s -DSWT_VERSION=2136 -DLINUX -DGTK -fpic -fPIC `pkg-config --cflags gtk+-2.0` `pkg-config --cflags pango` -I/opt/blackdown-jdk-1.4.2.01/include -I/opt/blackdown-jdk-1.4.2.01/include/linux `pkg-config --cflags gtk+-2.0` `pkg-config --cflags pango` structs.c ld -x -shared \ --export-dynamic -lpthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -L/usr/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 \ -o libswt-pi-gtk-2136.so swt.o structs.o Building java code Building platform suited for the GTK+ frontend [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -deprecation for details. [javac] Note: /var/tmp/portage/eclipse-sdk-2.1.3-r5/work/eclipse-sdk-2.1.3/plugins/org.eclipse.core.boot/src/org/eclipse/core/internal/boot/PlatformConfiguration.java uses or overrides a deprecated API. [javac] Note: Recompile with -deprecation for details. [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -deprecation for details. [javac] Note: /var/tmp/portage/eclipse-sdk-2.1.3-r5/work/eclipse-sdk-2.1.3/plugins/org.eclipse.help/src/org/eclipse/help/internal/DefaultHelpSupport.java uses or overrides a deprecated API. [javac] Note: Recompile with -deprecation for details. [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -deprecation for details. [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -deprecation for details. [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -deprecation for details. [javac] Note: /var/tmp/portage/eclipse-sdk-2.1.3-r5/work/eclipse-sdk-2.1.3/plugins/org.eclipse.ui/src/org/eclipse/ui/internal/UIPlugin.java uses or overrides a deprecated API. [javac] Note: Recompile with -deprecation for details. [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -deprecation for details. [javac] Note: /var/tmp/portage/eclipse-sdk-2.1.3-r5/work/eclipse-sdk-2.1.3/plugins/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/NatureToPropertyAction.java uses or overrides a deprecated API. [javac] Note: Recompile with -deprecation for details. [javac] Note: /var/tmp/portage/eclipse-sdk-2.1.3-r5/work/eclipse-sdk-2.1.3/plugins/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/search/SearchQueryData.java uses or overrides a deprecated API. [javac] Note: Recompile with -deprecation for details. [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -deprecation for details. [javac] Note: /var/tmp/portage/eclipse-sdk-2.1.3-r5/work/eclipse-sdk-2.1.3/plugins/org.eclipse.ui.externaltools/Ant Editor/org/eclipse/ui/externaltools/internal/ant/editor/utils/ProjectHelperImpl.java uses or overrides a deprecated API. [javac] Note: Recompile with -deprecation for details. [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -deprecation for details. /usr/lib/portage/bin/ebuild.sh: line 1732: 18740 Terminated ant -q -buildfile build.xml -Dos=linux -Dws=gtk -DinstallArch=$ARCH ${ant_extra_opts} compile distribute !!! ERROR: dev-util/eclipse-sdk-2.1.3-r5 failed. !!! Function src_compile, Line 253, Exitcode 143 !!! Failed to compile java code (gtk+) !!! If you need support, post the topmost build error, NOT this status message.
Adding emerge --info : Gentoo Base System version 1.4.16 Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r9 i686) ================================================================= System uname: 2.6.9-gentoo-r9 i686 Pentium III (Katmai) Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=pentium3 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -mcpu=pentium3 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.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 apache2 apm arts avi berkdb bitmap-fonts crypt cups doc encode esd f77 foomaticdb fortran gdbm gif gpm gtk gtk2 imlib java jpeg junit libg++ libwww mad mikmod mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd tiff truetype x86 xml2 xmms xv zlib"
building outside from emerge, I got the same problem. strac'ing the ant compilation I got .... .... rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0 rt_sigsuspend([] <unfinished ...> --- SIGRTMIN (Unknown signal 32) @ 0 (0) --- <... rt_sigsuspend resumed> ) = -1 EINTR (Interrupted system call) sigreturn() = ? (mask now [RTMIN]) gettimeofday({1103288703, 163463}, NULL) = 0 kill(15858, SIGRTMIN) = 0 gettimeofday({1103288703, 164524}, NULL) = 0 kill(15854, SIGRTMIN) = 0 kill(15854, SIGRTMIN) = 0 kill(15854, SIGRTMIN) = 0 kill(15854, SIGRTMIN) = 0 rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0 rt_sigsuspend([] <unfinished ...> --- SIGRT_1 (Unknown signal 33) @ 0 (0) --- <... rt_sigsuspend resumed> ) = -1 EINTR (Interrupted system call) waitpid(15853, NULL, __WCLONE) = 15853 exit_group(0) = ? :( What do these signal mean? My hardware is broken?
dmesg output gives me: oom-killer: gfp_mask=0x1d2 DMA per-cpu: cpu 0 hot: low 2, high 6, batch 1 cpu 0 cold: low 0, high 2, batch 1 Normal per-cpu: cpu 0 hot: low 14, high 42, batch 7 cpu 0 cold: low 0, high 14, batch 7 HighMem per-cpu: empty Free pages: 336kB (0kB HighMem) Active:29804 inactive:101 dirty:0 writeback:0 unstable:0 free:84 slab:1321 mapped:29859 pagetables:250 DMA free:44kB min:44kB low:88kB high:132kB active:13344kB inactive:0kB present:16384kB protections[]: 0 0 0 Normal free:292kB min:312kB low:624kB high:936kB active:105872kB inactive:404kB present:114688kB protections[]: 0 0 0 HighMem free:0kB min:128kB low:256kB high:384kB active:0kB inactive:0kB present:0kB protections[]: 0 0 0 DMA: 1*4kB 1*8kB 0*16kB 1*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 44kB Normal: 1*4kB 0*8kB 0*16kB 1*32kB 0*64kB 0*128kB 1*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 292kB HighMem: empty Swap cache: add 19426, delete 17779, find 3109/4163, race 0+0 Out of Memory: Killed process 5338 (java). probably related to an ant bug ?
my system has just 128 Mbyte RAM. I think this is. Probably can be marked as INVALID ?
Yes, I'm afraid you will need approximately 768MB. You can run it on less, however, even 256MB, if you're patient. You could try setting up a big swap partition, but compilation will then take 8+ hours(!).