... a lot of warnings here, then: [javac] 60. WARNING in /var/tmp/portage/eclipse-sdk-3.2/work/plugins/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/launcher/JUnitWorkbenchShortcut.java [javac] (at line 80) [javac] AssertionVMArg.setArgDefault(wc); [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [javac] Discouraged access: The method setArgDefault(ILaunchConfigurationWorkingCopy) from the type AssertionVMArg is not accessible due to restriction on classpath entry /var/tmp/portage/eclipse-sdk-3.2/work/plugins/org.eclipse.jdt.junit/junitsupport.jar [javac] ---------- [javac] 60 problems (60 warnings) [echo] Assembling... [subant] Failure for target 'pre.gather.bin.parts' of: /var/tmp/portage/eclipse-sdk-3.2/work/plugins/org.eclipse.platform.doc.user/customBuildCallbacks.xml [subant] The following error occurred while executing this line: [subant] Target `pre.gather.bin.parts' does not exist in this project. BUILD FAILED /var/tmp/portage/eclipse-sdk-3.2/work/build.xml:143: The following error occurred while executing this line: /var/tmp/portage/eclipse-sdk-3.2/work/assemble.org.eclipse.sdk.linux.gtk.x86.xml:232: The following error occurred while executing this line: /var/tmp/portage/eclipse-sdk-3.2/work/plugins/org.eclipse.help.webapp/build.xml:279: Unable to load file: java.io.FileNotFoundException: /var/tmp/portage/eclipse-sdk-3.2/work/plugins/org.eclipse.help.webapp/temp.folder/jsp.jar.src/web.xml.fragment (No such file or directory) Total time: 9 minutes 23 seconds !!! ERROR: dev-util/eclipse-sdk-3.2 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile eclipse-sdk-3.2.ebuild, line 208: Called die !!! build failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! When you file a bug report, please include the following information: GENTOO_VM=sun-jdk-1.4 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.4.2.12" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="" and of course, the output of emerge --info Gentoo Base System version 1.12.4 Portage 2.1.1 (hardened/x86/2.6, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-hardened-r11 i686) ================================================================= System uname: 2.6.16-hardened-r11 i686 AMD Athlon(tm) XP 3000+ Last Sync: Sun, 10 Sep 2006 14:30:01 +0000 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.3.5-r2, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] 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-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe -ftracer -fprefetch-loop-arrays" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /service /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=athlon-xp -pipe -ftracer -fprefetch-loop-arrays" DISTDIR="/usr/portage-distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ http://130.59.10.34/mirror/gentoo/ http://gentoo.zie.pg.gda.pl" LANG="ru_RU.KOI8-R" LINGUAS="en ru" PKGDIR="/usr/portage-packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage-power /usr/local/portage-rusxmms" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X Xaw3d aac acpi aim alsa apache2 arts asf avi bash-completion berkdb bitmap-fonts bzip2 cdr crypt cscope curl dga divx4linux dlloader dri dts dvd dvdr dvdread elibc_glibc encode ffmpeg flac flash gd gdbm gif gnutls gpgme gtk gtk2 hardened icq idn imagemagick imap imlib input_devices_keyboard input_devices_mouse irc jabber javascript jpeg kdeenablefinal kernel_linux linguas_en linguas_ru lirc lirc_devices_serial lm_sensors lzo mad mailbox mbox mmx mmxext mng motif mp3 mpeg msn mysql ncurses nls nptl nptlonly ogg opengl oss pam pcre perl pic png pwdb qt quicktime rcc readline rss rtc samba sdl silc slang spell sse ssl svg sysfs tcltk tcpd tiff truetype truetype-fonts type1-fonts userland_GNU userlocales video_cards_fbdev video_cards_fglrx video_cards_radeon video_cards_vesa vim-pager vim-with-x vorbis win32codecs x86 xinetd xmms xorg xv xvid yahoo zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Silly question, but is there free space on the partition /var/tmp/portage/ lives on?
3.6 GB is enough?
hi recently i got eclipse-sdk installed succesfully on a x86-machine. on my amd64-machine it failed with this error. this is the emerge --info of the x86-machine: Portage 2.1.1 (default-linux/x86/no-nptl, gcc-4.1.1, glibc-2.3.6-r4, 2.6.16-suspend2-r8 i686) ================================================================= System uname: 2.6.16-suspend2-r8 i686 Intel(R) Pentium(R) M processor 1.86GHz Gentoo Base System version 1.12.4 Last Sync: Wed, 13 Sep 2006 15:30:01 +0000 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] 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-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -O3 -pipe -fomit-frame-pointer -frename-registers -ffast-math -funroll-all-loops -ftracer -funswitch-loops -ftree-vectorize" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/terminfo" CXXFLAGS="-march=pentium-m -O3 -pipe -fomit-frame-pointer -frename-registers -ffast-math -funroll-all-loops -ftracer -funswitch-loops -ftree-vectorize" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="de_DE@euro" LC_ALL="de_DE@euro" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X a52 aac aalib acpi alsa apm apr apr-util apxs arts avi berkdb bitmap-fonts cdparanoia cli crypt cups dav deflate directfb divx4linux dlloader dri dts dv dvd dvdread eds elibc_glibc emboss encode fame fbcon ffmpeg foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog ithreads jpeg jpeg2k kde kernel_linux libg++ libwww linguas_de mad matroska mikmod mmx mmxext mng motif mp3 mpeg ncurses nls ogg opengl pam pcre perl php png ppds pppd python qt3 qt4 quicktime readline real reflection sdl session spell spl sse sse2 ssl svga tcpd theora truetype truetype-fonts type1-fonts usb userland_GNU v4l v4l2 video_cards_fglrx vorbis win32codecs xanim xml xml2 xmms xorg xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY i hope this will help
i had the same error, hope someone finds the solution on this bug soon Portage 2.1.1 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 x86_64) ================================================================= System uname: 2.6.17-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.12.5 Last Sync: Fri, 15 Sep 2006 09:50:01 +0000 ccache version 2.4 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.5-r1, 2.0.28-r1 dev-lang/python: 2.4.3-r3 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.16 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://darkstar.ist.utl.pt/gentoo" LANG="pt_PT@euro" LC_ALL="pt_PT@euro" LDFLAGS="-Wl,-O1" LINGUAS="en pt" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="amd64 X a52 aac acpi alsa apm bash-completion berkdb bitmap-fonts bzip2 cdr cli crypt cups dlloader dri dvd dvdr dvdread elibc_glibc emul-linux-x86 encode esd ffmpeg firefox fortran ftp gcc64 gcj gd gdbm gif gimp gpm gtk gtk2 hal input_devices_joystick input_devices_keyboard input_devices_mouse ipv6 isdnlog java javascript jikes joystick jpeg jpeg2k kernel_linux libg++ linguas_en linguas_pt linuxthreads-tls mad mp3 mp4 mpeg msn ncurses nls nptl nptl-only nptlonly nsplugin ocaml openal openexr opengl oracle oracle7 pam pango pcre pdf perl png ppds pppd python quicktime readline reflection scanner sdl session spell spl ssl startup-notification svg symlink tcl tcltk tcpd threads timidity tk truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l vcd video_cards_nv video_cards_nvidia vim-with-x vorbis xml xorg xprint xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS as you can see i also have an ~amd64 machine i'll try reemerging all dependencies hope it fixes
Looks like only option for now is install binary package, without emerge. :( But it's very simple and it's work: download .tgz, unpack into any folder, and run. Plugins also can be installed using binary packages or automatically but eclipse itself (Help->SoftwareUpdates->Find&Install).
(In reply to comment #5) > Looks like only option for now is install binary package, without emerge. :( > But it's very simple and it's work: download .tgz, unpack into any folder, and > run. Plugins also can be installed using binary packages or automatically but > eclipse itself (Help->SoftwareUpdates->Find&Install). > the strange thing is that before i reeinstalled gentoo i had succefully emerged eclipse-sdk-3.2 :\
Could someone seeing this problem post the full log of a build that fails?
Created attachment 97350 [details] full log of a build that fails
*** Bug 147868 has been marked as a duplicate of this bug. ***
Not my day neither. Sorry for the spam. Somebody should put the button further away from the radio button :)
Created attachment 97523 [details] full log of a build that fails, but the error differs from the one of Alex Efros
After looking at the logs and emerge --info again, I suspect that the original poster's problem is somehow related to it being a hardened system. Adding hardened for input.
Finally i succefully emerged eclipse-sdk. I've been monitoring the system while it was compiling and i concluded that i didn't have sufficient memory. There's a warning that checks if you have 768MB of ram but the truth is that if you use sun-jdk-1.5.08 and blackdown-jdk-1.4.2.03 you'll need about 1.2 GB of swap and ram. I've increased swap space because i don't have money to buy more RAM :p and guess what.. it worked. I recommend opening top and checking if you have sufficient memory. Also checking if java-environment if sane using java-check-environment. Maybe this is the problem with the original poster (because i had the same error) so i ask to check if that fixes his problem to close this bug.
Sorry, I can't try to emerge it again now, but: I've 1GB RAM + 512 MB swap, and I've no blackdown-jdk, only # qlist -I -v jdk dev-java/sun-jdk-1.4.2.12-r1 dev-java/sun-jdk-1.5.0.08 virtual/jdk-1.4.2 virtual/jdk-1.5.0
yesterday i successfully emerged eclipse-sdk-3.2. i tried almost every day, hoping something changed. i don't no why exactly, but yesterday it worked. i have 1024mb ram, but that was not enough, so i created a small swapfile, 64mb, and it worked. qlist -I -v jdk dev-java/blackdown-jdk-1.4.2.03-r12 dev-java/sun-jdk-1.5.0.08 virtual/jdk-1.4.2 virtual/jdk-1.5.0 here is my emerge --info Portage 2.1.1 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-suspend2-r5 x86_64) ================================================================= System uname: 2.6.17-suspend2-r5 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.12.5 Last Sync: Fri, 22 Sep 2006 07:00:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.29 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] 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-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O3 -pipe -fomit-frame-pointer -falign-functions=64 -frename-registers -ffast-math -funroll-all-loops -ftracer -funswitch-loops -ftree-vectorize" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /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/" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/terminfo" CXXFLAGS="-march=athlon64 -O3 -pipe -fomit-frame-pointer -falign-functions=64 -frename-registers -ffast-math -funroll-all-loops -ftracer -funswitch-loops -ftree-vectorize" DISTDIR="/mnt/lager/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="de_DE@euro" LC_ALL="de_DE@euro" LDFLAGS="-Wl,-O1 -Wl,-z,now -Wl,--sort-common" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac aalib alsa amd64 apr apr-util apxs arts avi berkdb bitmap-fonts cdparanoia cli crypt cups dav deflate divx4linux dlloader dri dts dv dvd dvdread elibc_glibc encode fame ffmpeg foomaticdb fortran gdbm gif gpm gtk input_devices_keyboard input_devices_mouse ipv6 isdnlog ithreads jpeg jpeg2k kde kernel_linux libg++ linguas_de mad mng mp3 mpeg mysql ncurses nls nptl nptlonly ogg pam pcre perl php png postgres ppds pppd python qt3 qt4 readline reflection sdl session spl ssl subtitles svg tcpd theora truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 video_cards_nv vorbis xanim xml2 xorg xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Maybe sun-jdk-1.4* consumes more memory or doesn't work with eclipse-3.2 at all, i'm just guessing though. Anyway there's two successfully compiled eclipse-3.2 here with sun-jdk and blackdown-jdk so at least this combination of java-vm does work. I think that there should be more successfuly emerged eclipse-3.2 here. I'll just leave this bug and let someone else to close it or to change resolution to TEST-REQUEST.
So, I think perhaps upping the amount of memory needed at build time would probably help a bit with this problem. Ideally though, it really shouldn't take that much ram, and should be a bit more verbose about what is happening. These are things we'll need to work with upstream though.
3.2.1 came out recently. Could we verify if it has the same problem too?
dev-util/eclipse-sdk-3.2.1-r1 merged ok.
i've also succefully merged eclipse-3.2.1, but i've emerged 3.2 succefully too so it doesn't conclude anything about the original post =p
Now that I think about it, one of the new patches in 3.2.1-r1 addresses this problem, about the `pre.gather.bin.parts' missing. Marking as fixed.
# emerge -uDNa world These are the packages that would be merged, in order: Calculating world dependencies... done! [ebuild R ] dev-util/eclipse-sdk-3.2.1-r1 USE="-branding%" Would you like to merge these packages? [Yes/No] ............................................................... BUILD FAILED /var/tmp/portage/eclipse-sdk-3.2.1-r1/work/build.xml:143: The following error occurred while executing this line: /var/tmp/portage/eclipse-sdk-3.2.1-r1/work/assemble.org.eclipse.sdk.linux.gtk.x86.xml:187: The following error occurred while executing this line: /var/tmp/portage/eclipse-sdk-3.2.1-r1/work/plugins/org.eclipse.help.webapp/build.xml:280: Unable to load file: java.io.FileNotFoundException: /var/tmp/portage/eclipse-sdk-3.2.1-r1/work/plugins/org.eclipse.help.webapp/temp.folder/jsp.jar.src/web.xml.fragment (No such file or directory)
(In reply to comment #21) > Now that I think about it, one of the new patches in 3.2.1-r1 addresses this > problem, about the `pre.gather.bin.parts' missing. Marking as fixed. > On my system it wouldn't build because of this bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=102560 This is because eclipse-sdk will install if you have any recent jdk installed, but it actually needs a 1.4 jdk available to compile correctly. I only had a 5.0 jdk, and emerge thought that the dependencies were satisfied but it would fail to compile with the cryptic errors you can see in that link. Emerging a second, 1.4, jdk fixed the problem and eclipse-sdk now emerges fine on my system.
nitWorkbenchShortcut.java [javac] (at line 80) [javac] AssertionVMArg.setArgDefault(wc); [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [javac] Discouraged access: The method setArgDefault(ILaunchConfigurationWorkingCopy) from the type AssertionVMArg is not accessible due to restriction on classpath entry /var/tmp/portage/eclipse-sdk-3.2.1-r1/work/plugins/org.eclipse.jdt.junit/junitsupport.jar [javac] ---------- [javac] 60 problems (60 warnings) [echo] Assembling... BUILD FAILED /var/tmp/portage/eclipse-sdk-3.2.1-r1/work/build.xml:143: The following error occurred while executing this line: /var/tmp/portage/eclipse-sdk-3.2.1-r1/work/assemble.org.eclipse.sdk.linux.gtk.x86.xml:187: The following error occurred while executing this line: /var/tmp/portage/eclipse-sdk-3.2.1-r1/work/plugins/org.eclipse.help.webapp/build.xml:280: Unable to load file: java.io.FileNotFoundException: /var/tmp/portage/eclipse-sdk-3.2.1-r1/work/plugins/org.eclipse.help.webapp/temp.folder/jsp.jar.src/web.xml.fragment (No such file or directory) Total time: 12 minutes 55 seconds !!! ERROR: dev-util/eclipse-sdk-3.2.1-r1 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile eclipse-sdk-3.2.1-r1.ebuild, line 117: Called die !!! build failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! When you file a bug report, please include the following information: GENTOO_VM=blackdown-jdk-1.4.2 CLASSPATH="" JAVA_HOME="/opt/blackdown-jdk-1.4.2.03" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="" and of course, the output of emerge --info apocalypse ~ # emerge --info Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.18-grsec i686) ================================================================= System uname: 2.6.18-grsec i686 Intel(R) Celeron(R) CPU 2.53GHz Gentoo Base System version 1.12.5 Last Sync: Sun, 08 Oct 2006 10:30:08 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] 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-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aalib alsa berkdb bitmap-fonts cli crypt cups dlloader doc dri elibc_glibc encode fortran gdbm gpm input_devices_joystick input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg kernel_linux libg++ mp3 ncurses nls nptl nptlonly pam pcre perl png ppds pppd python readline reflection session spl sse ssl svg tcpd tiff truetype-fonts type1-fonts udev unicode userland_GNU video_cards_apm video_cards_dummy video_cards_fbdev video_cards_mga video_cards_nv video_cards_vesa video_cards_vga video_cards_vmware vorbis wmf xorg zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY fails building for me too. Alex
same thing with GCJ # emerge --info Portage 2.1.2.12 (selinux/2007.0/x86, gcc-4.1.2, glibc-2.5-r4, 2.6.22.1-rt9_port4 i686) ================================================================= System uname: 2.6.22.1-rt9_port4 i686 Intel(R) Pentium(R) M processor 2.00GHz Gentoo Base System release 1.12.9 Timestamp of tree: Thu, 30 Aug 2007 23:00:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] app-shells/bash: 3.2_p15-r1 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.3.5-r3, 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=pentium-m -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks loadpolicy metadata-transfer parallel-fetch sandbox selinux sesandbox sfperms strict userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.utf8" LC_ALL="en_US.utf8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/pro-audio /usr/portage/local/layman/sunrise /usr/portage/local/layman/zugaina /usr/portage/local/layman/custom-kernels /usr/portage/local/layman/java-gcj-overlay /usr/portage/local/layman/java-overlay /usr/overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="7zip X a52 aac acpi adns aiglx alsa amr apache2 asf berkdb bitmap-fonts bl blender-game bluetooth branding cdda cddb cdparanoia chardet clearcase cli contrarius cracklib cran crypt css cups cvs dbus dga divx dri dts dv dvb dvd dvdnav dvdr dvdread editor effects enca encode examples exif expat fam fat ffmpeg firefox flac foomaticdb fping gcj gdbm gif gimp gimpprint glsa gmedia gpm gstreamer gtk hfs httpd iconv ieee1394 inkjar inquisitio ipv6 isdnlog jfs jpeg jpeg2k kde kerberos kqemu lcms ldap libnotify lzo matroska midi mikmod mjpeg mmx mmxext mng modplug mp2 mp3 mp4 mpi mplayer mudflap musepack ncurses nfs nptl nptlonly nsplugin ntfs ofa ogg openal openexr opengl openmp p2p pam pcre perforce perl php plugin png pnm ppds pppd python qa qt3 quicktime quotas readline realmedia reflection reiser4 reiserfs rt2500pci rtc rtsp samba sdl selinux session sid skins slang sox speex spell spl srteam sse sse2 ssl stream subtitles subversion svg swat tcpd tga theora tiff timidity tordns truetype truetype-fonts type1-fonts unicode usb v4l vcd vidx vlm vorbis wifi wma wmf wmp wxwindows x86 xanim xfs xine xml xorg xprint xv xvid xvmc yahoo yv12 zlib zsh" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 129679 [details] log of the faillure with GCJ
As for the error GNUtoo encounters there is a workaround in my eclipse-sdk-3.3.0 ebuild [1]. Java 1.4 and Java 1.5 have an API incompatibility for the Writer classes worked around by setting '-source 1.5 -target 1.5' (see src_unpack in ebuild). error: [javac] 1. ERROR in /var/tmp/portage/dev-util/eclipse-sdk-3.2.1-r2/work/plugins/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/FeatureWriter.java [javac] (at line 24) [javac] public class FeatureWriter extends XMLWriter implements IPDEBuildConstants { [javac] ^^^^^^^^^^^^^ [javac] The return type is incompatible with Writer.append(CharSequence, int, int), PrintWriter.append(CharSequence, int, int) [javac] ---------- [javac] [javac] 2. ERROR in /var/tmp/portage/dev-util/eclipse-sdk-3.2.1-r2/work/plugins/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/FeatureWriter.java [javac] (at line 24) [javac] public class FeatureWriter extends XMLWriter implements IPDEBuildConstants { [javac] [javac] ^^^^^^^^^^^^^ [javac] The return type is incompatible with Writer.append(CharSequence), PrintWriter.append(CharSequence) [javac] ---------- [javac] 3. ERROR in /var/tmp/portage/dev-util/eclipse-sdk-3.2.1-r2/work/plugins/org.eclipse.pde.build/src/or [javac] g/eclipse/pde/internal/build/FeatureWriter.java [javac] (at line 24) [javac] public class FeatureWriter extends XMLWriter implements IPDEBuildConstants { [javac] ^^^^^^^^^^^^^ [javac] The return type is incompatible with Writer.append(char), PrintWriter.append(char) Removing myself from CC again. [1] https://overlays.gentoo.org/proj/java/browser/gcj-overlay/dev-util/eclipse-sdk/eclipse-sdk-3.3.0.ebuild
(In reply to comment #27) > As for the error GNUtoo encounters there is a workaround in my > eclipse-sdk-3.3.0 ebuild [1]. > > Java 1.4 and Java 1.5 have an API incompatibility for the Writer classes worked > around by setting '-source 1.5 -target 1.5' (see src_unpack in ebuild). > > error: > [javac] 1. ERROR in > /var/tmp/portage/dev-util/eclipse-sdk-3.2.1-r2/work/plugins/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/FeatureWriter.java > [javac] (at line 24) > [javac] public class FeatureWriter extends XMLWriter implements > IPDEBuildConstants { > [javac] ^^^^^^^^^^^^^ > [javac] The return type is incompatible with Writer.append(CharSequence, > int, int), PrintWriter.append(CharSequence, int, int) > [javac] ---------- > [javac] > [javac] 2. ERROR in > /var/tmp/portage/dev-util/eclipse-sdk-3.2.1-r2/work/plugins/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/FeatureWriter.java > [javac] (at line 24) > [javac] public class FeatureWriter extends XMLWriter implements > IPDEBuildConstants { > [javac] > [javac] ^^^^^^^^^^^^^ > [javac] The return type is incompatible with Writer.append(CharSequence), > PrintWriter.append(CharSequence) > [javac] ---------- > [javac] 3. ERROR in > /var/tmp/portage/dev-util/eclipse-sdk-3.2.1-r2/work/plugins/org.eclipse.pde.build/src/or > [javac] g/eclipse/pde/internal/build/FeatureWriter.java > [javac] (at line 24) > [javac] public class FeatureWriter extends XMLWriter implements > IPDEBuildConstants { > [javac] ^^^^^^^^^^^^^ > [javac] The return type is incompatible with Writer.append(char), > PrintWriter.append(char) > > Removing myself from CC again. > > [1] > https://overlays.gentoo.org/proj/java/browser/gcj-overlay/dev-util/eclipse-sdk/eclipse-sdk-3.3.0.ebuild > wow!!! great!!! but wich line should i copy into portage's eclipse ebuild?
sorry i didn't saw that: Java 1.4 and Java 1.5 have an API incompatibility for the Writer classes worked around by setting '-source 1.5 -target 1.5' (see src_unpack in ebuild).
You should be using gcj-overlay ebuilds with gcj as jdk. I assumed so, and thought the problem was in gcj-overlay ebuild, not the main tree, or I wouldn't even CC Hanno. Anyway it didn't really belong to this bug. Which is about version that isn't in the tree anymore. Assuming newer versions fixed the original problems, if not, open new bug.