Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59842 - dev-util/eclipse-sdk-2.1.3-r5 fails to build
Summary: dev-util/eclipse-sdk-2.1.3-r5 fails to build
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC All
: High normal (vote)
Assignee: Karl Trygve Kalleberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-09 02:58 UTC by David Holm (RETIRED)
Modified: 2004-08-21 16:51 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
eclipse-moz.log.gz (eclipse-moz.log.gz,312.95 KB, application/octet-stream)
2004-08-09 05:54 UTC, David Holm (RETIRED)
Details
eclipse.log.gz (eclipse.log.gz,305.83 KB, application/octet-stream)
2004-08-09 08:36 UTC, David Holm (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Holm (RETIRED) gentoo-dev 2004-08-09 02:58:39 UTC
Since Eclipse 3.0 was way too unstable for me to use I tried building 2.1.3 but it failed.
I'm using dev-java/ibm-jdk-bin-1.4.2 on a PPC (7447).

Build output:

BUILD FAILED
/var/tmp/portage/eclipse-sdk-2.1.3-r5/work/eclipse-sdk-2.1.3/build.xml:14: Following error occured while executing this line
/var/tmp/portage/eclipse-sdk-2.1.3-r5/work/eclipse-sdk-2.1.3/build.xml:24: Following error occured while executing this line
/var/tmp/portage/eclipse-sdk-2.1.3-r5/work/eclipse-sdk-2.1.3/features/org.eclipse.platform-feature/build.xml:142: Following error occured while executing this line
/var/tmp/portage/eclipse-sdk-2.1.3-r5/work/eclipse-sdk-2.1.3/features/org.eclipse.platform-feature/build.xml:129: Following error occured while executing this line
/var/tmp/portage/eclipse-sdk-2.1.3-r5/work/eclipse-sdk-2.1.3/features/org.eclipse.platform-feature/build.xml:93: Following error occured while executing this line
/var/tmp/portage/eclipse-sdk-2.1.3-r5/work/eclipse-sdk-2.1.3/features/org.eclipse.platform-feature/build.xml:34: Following error occured while executing this line
/var/tmp/portage/eclipse-sdk-2.1.3-r5/work/eclipse-sdk-2.1.3/plugins/org.eclipse.help.webapp/build.xml:45: Unable to load file: java.io.FileNotFoundException: /var/tmp/portage/eclipse-sdk-2.1.3-r5/work/eclipse-sdk-2.1.3/plugins/org.eclipse.help.webapp/temp.folder/jsp.jar.src/web.xml.fragment (No such file or directory)

!!! ERROR: dev-util/eclipse-sdk-2.1.3-r5 failed.
!!! Function src_compile, Line 239, Exitcode 1
!!! Failed to compile java code (gtk+)


CLASSPATH: .:/opt/ibm-jdk-bin-1.4.2/jre/lib:/usr/share/junit/lib/junit.jar:/usr/share/log4j/lib/log4j-1.2.8.jar:.


emerge info:

Portage 2.0.50-r9 (default-ppc-2004.2, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-pegasos-r4)
=================================================================
System uname: 2.6.7-pegasos-r4 ppc 7447/7457, altivec supported
Gentoo Base System version 1.5.2
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=7450 -mtune=7450 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
CHOST="powerpc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /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 /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/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=7450 -mtune=7450 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache cvs sandbox userpriv usersandbox"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.linux.ee/pub/gentoo/distfiles/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3ds X X509 Xaw3d acl alsa altivec apache2 arts audiofile berkdb bindist blender-game cap caps cdr chroot clustalw crypt cscope curl dga directfb djbfft dv dvd encode erandom escreen esd expat extensions f77 faac faad fbcon flac flash foomaticdb freetype gcj gd gdbm gif gimp gmp gnome gnome-libs gstreamer gtk gtk2 gtkhtml guile hal idea imagemagick imlib ipv6 java javacomm javascript jbig jikes joystick jpeg ladcca lcms ldap libwww live lzw lzw-tiff mad matroska md5sum mikmod mitshm mmap mng mono motif mozilla mozsvg mpeg mpeg4 mysql nas ncurses neural nptl oggvorbis openal opengl oss parse-clocks pcre pdflib perl pic png portaudio postgres ppc python qemu-fast qt quicktime radeon readline regexp ruby sdk sdl sheep silverxp skey slang softmmu speex spell ssl svg t1lib tcltk tcpd tetex theora tiff truetype video_cards_radeon wmf xine xml xml2 xmms xrandr xv xvid yaz yv12 zlib"
Comment 1 David Holm (RETIRED) gentoo-dev 2004-08-09 04:22:03 UTC
With USE="-mozilla" it gets further but dies with:

BUILD FAILED
/var/tmp/portage/eclipse-sdk-2.1.3-r5/work/eclipse-sdk-2.1.3/build.xml:14: Following error occured while executing this line
/var/tmp/portage/eclipse-sdk-2.1.3-r5/work/eclipse-sdk-2.1.3/build.xml:29: Following error occured while executing this line
/var/tmp/portage/eclipse-sdk-2.1.3-r5/work/eclipse-sdk-2.1.3/features/org.eclipse.platform.source-feature/build.xml:72: Following error occured while executing this line
/var/tmp/portage/eclipse-sdk-2.1.3-r5/work/eclipse-sdk-2.1.3/features/org.eclipse.platform.source-feature/build.xml:59: Following error occured while executing this line
/var/tmp/portage/eclipse-sdk-2.1.3-r5/work/eclipse-sdk-2.1.3/features/org.eclipse.platform.source-feature/build.xml:23: Following error occured while executing this line
/var/tmp/portage/eclipse-sdk-2.1.3-r5/work/eclipse-sdk-2.1.3/features/org.eclipse.platform.source-feature/build.xml:13: Following error occured while executing this line
/var/tmp/portage/eclipse-sdk-2.1.3-r5/work/eclipse-sdk-2.1.3/plugins/org.eclipse.platform.doc.isv/build.xml:25: Following error occured while executing this line
/var/tmp/portage/eclipse-sdk-2.1.3-r5/work/eclipse-sdk-2.1.3/plugins/org.eclipse.platform.doc.isv/buildDoc.xml:6: Following error occured while executing this line
/var/tmp/portage/eclipse-sdk-2.1.3-r5/work/eclipse-sdk-2.1.3/plugins/org.eclipse.platform.doc.isv/buildDoc.xml:65: Execute failed: java.io.IOException: Cannot allocate memory
Comment 2 Jochen Maes (RETIRED) gentoo-dev 2004-08-09 04:37:27 UTC
David, is it possible to give me the compile log (attach it here or mail it to me).

I'm trying to reproduce the error here... (removed my mem but still don't have the problem).

greetings
Comment 3 David Holm (RETIRED) gentoo-dev 2004-08-09 05:54:19 UTC
Created attachment 37093 [details]
eclipse-moz.log.gz

Build log with mozilla-support
Comment 4 David Holm (RETIRED) gentoo-dev 2004-08-09 08:36:47 UTC
Created attachment 37100 [details]
eclipse.log.gz

Failed again using your updated ebuild. This is the log. :(
Comment 5 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-08-21 16:51:39 UTC
I've done a few more tweaks to -r5, so you may want to try again.

However, in both the logs, the apparent reason for the failure is the lack of 
memory. I suggest you either buy more RAM or up the swapspace. On x86, the
compilation requires approx 1GB of RAM. On PPC, it may be more.

If you can verify that this is not a RAM problem, please reopen, and I'll
certainly investigate further.