Не собирается eclipse-sdk-3.5.1

     [java] BUILD SUCCESSFUL
     [java] 
     [java] BUILD SUCCESSFUL
     [java] Total time: 4 seconds

provision.sdk:
     [echo] Installing into:  /var/tmp/portage/dev-util/eclipse-sdk-3.5.1/work/eclipse-build-R0_3_0/build/eclipse-R3_5_1-fetched-src/installation

run.director:
     [echo] Moving /var/tmp/portage/dev-util/eclipse-sdk-3.5.1/work/eclipse-build-R0_3_0/bootstrap/p2 to /var/tmp/portage/dev-util/eclipse-sdk-3.5.1/work/eclipse-build-R0_3_0/bootstrap/p2.bak
     [java] Error occurred during initialization of VM
     [java] Could not reserve enough space for object heap
     [java] Could not create the Java virtual machine.

BUILD FAILED
/var/tmp/portage/dev-util/eclipse-sdk-3.5.1/work/eclipse-build-R0_3_0/build.xml:302: The following error occurred while executing this line:
/var/tmp/portage/dev-util/eclipse-sdk-3.5.1/work/eclipse-build-R0_3_0/build.xml:321: Java returned: 1

Total time: 14 minutes 35 seconds
 * 
 * ERROR: dev-util/eclipse-sdk-3.5.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4236:  Called die
 * The specific snippet of code:
 *       ANT_OPTS='-Xmx512M' ./build.sh || die
 *  The die message:
 *   (no error message)
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-util/eclipse-sdk-3.5.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/eclipse-sdk-3.5.1/temp/environment'.
 * This ebuild is from an overlay: '/usr/overlays/my/'
 * 
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.15"
JAVACFLAGS="-source 1.6 -target 1.6" COMPILER=""
and of course, the output of emerge --info

>>> Failed to emerge dev-util/eclipse-sdk-3.5.1, Log file:

>>>  '/var/tmp/portage/dev-util/eclipse-sdk-3.5.1/temp/build.log'

 * Messages for package dev-util/eclipse-sdk-3.5.1:

 * 
 * ERROR: dev-util/eclipse-sdk-3.5.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4236:  Called die
 * The specific snippet of code:
 *       ANT_OPTS='-Xmx512M' ./build.sh || die
 *  The die message:
 *   (no error message)
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-util/eclipse-sdk-3.5.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/eclipse-sdk-3.5.1/temp/environment'.
 * This ebuild is from an overlay: '/usr/overlays/my/'
 * 

ебилды брал отсюда http://bugs.gentoo.org/show_bug.cgi?id=275375

emerge --info
Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.4.1, glibc-2.9_p20081201-r2, 2.6.30-tuxonice-r5 i686)
=================================================================
System uname: 
Timestamp of tree: Sat, 10 Oct 2009 09:30:01 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.4.4-r13, 2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -mmmx -msse -msse2 -msse3 -mssse3 -mfpmath=sse -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=core2 -mmmx -msse -msse2 -msse3 -mssse3 -mfpmath=sse -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="ru"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/package.skip"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/overlays/my"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa audio berkdb bzip2 cairo cdr cli cracklib crypt cups custom-optimization dell dri dvd dvdnav extras fbcondecor fortran gdbm gpm gtk gtk2 gtkhtml hddtemp iconv isdnlog jpeg laptop ldap lirc mikmod mmx mmx2t mmxext modules mudflap ncurses nls nptl nptlonly nvidia ogg opengl openmp pam pcre perl pic png pppd python readline reflection session sound spl sse sse2 ssl ssse3 sysfs tcpd tiff truetype unicode userlocales vidix webkit wifi win32codecs x86 xft xinerama xorg xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout critical ctrlaltdel daemon_clean debug_commands envparser find fmon fstat history idleprobe initctl interactive iparser last limit lockfile logfile netdev netprobe ngc4 ngcs nge pause provide reload renice rlparser simple_launcher stcmd stdout suid syncron syslog sysreq unneeded usplash" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" LIRC_DEVICES="mceusb2" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

[java] Could not reserve

[java] Could not reserve enough space for object heap

Места ему не хватает.

>Одного меня смутила фраза "Британские ученые, живущие в Америке"??

британские - это характеристика, а не гражданство
(c)annulen

Дискового пространства?

Дискового пространства? Исключено. Места >10Gb.

Нет, не хватает оперативки

Не хватает оперативки для запуска vm. При запуске она пытается зарезервировать под себя 512М и ругается на нехватку.

>Одного меня смутила фраза "Британские ученые, живущие в Америке"??

британские - это характеристика, а не гражданство
(c)annulen

.

http://www.gentoo.ru/node/15209
http://forum.openvz.org/index.php?t=tree&th=1264
http://bugs.gentoo.org/57325 - you need about ~700MBs (perhaps more in javadoc) of memory to compile Eclipse (3.0.0)

А вообще, пользуясь случаем, хотелось бы поблагодарить существующие Поисковые системы

Это подпись, которую невозможно истолковать неправильно

Добавил в /etc/profile

Добавил в /etc/profile "ulimit -v 2097152", изменил ANT_OPTS='-Xmx512M' в eclipse-sdk-3.5.1.ebuild сначала на 256, потом на 128, удалил директорию /opt/sun-jdk-*/jre/lib/i386/server из всех имевшихся jdk и сделал симлинк с папки client (ln -s /opt/sun-jdk-*/jre/lib/i386/client/ /opt/sun-jdk-*/jre/lib/i386/server) во всех jdk. И все равно сборка вылетает с той же ошибкой. Чяднт?

Памяти на машине 2Gb

free
total used free shared buffers cached
Mem: 2072956 1620492 452464 0 254780 1161224
-/+ buffers/cache: 204488 1868468
Swap: 0 0 0

.

Попробуйте
* добавить глобально USE java (в вашем emerge --info таких не нахожу)
* восстановить изначальный eclipse-sdk-3.5.1.ebuild
* снести начисто все jdk с вашими симлинками
* emerge -DNu world
* revdep-rebuild
* http://www.gentoo.org/doc/en/java.xml в плане java-config
* java-check-environment
и попробовать emerge eclipse-sdk ещё раз

Это подпись, которую невозможно истолковать неправильно

Сделал, не помогло. Помогло

Сделал, не помогло. Помогло вот что: в ебилде заменил строку 132 (ANT_OPTS='-Xmx512M' ./build.sh || die) на ANT_OPTS='-Xmx256M' ./build.sh || die, затем сделал emerge eclipse-sdk и сразу же после распаковки отредактировал файл /var/tmp/portage/dev-util/eclipse-sdk-3.5.1/work/eclipse-build-R0_3_0/build.xml в кноце файла заменил все значения 512 и 2024 на 256. Eclipse собрался но на этапе инсталляции вылетает с такой ошибкой:

run.director:
     [echo] Moving /var/tmp/portage/dev-util/eclipse-sdk-3.5.1/work/eclipse-build-R0_3_0/bootstrap/p2 to /var/tmp/portage/dev-util/eclipse-sdk-3.5.1/work/eclipse-build-R0_3_0/bootstrap/p2.bak
     [java] Installing org.eclipse.sdk.ide 3.5.0.R3_5_1.
     [java] Operation completed in 35507 ms.

BUILD SUCCESSFUL
Total time: 13 minutes 48 seconds
>>> Source compiled.
>>> Test phase [not enabled]: dev-util/eclipse-sdk-3.5.1

>>> Install eclipse-sdk-3.5.1 into /var/tmp/portage/dev-util/eclipse-sdk-3.5.1/image/ category dev-util
 * Unbundling dependencies ...
 *   org.apache.ant => ant-core,ant-nodeps
 *   org.junit => junit
 *   org.junit4 => junit:4
 *   com.ibm.icu => icu4j:4
 *   com.jcraft.jsch => jsch
 *   javax.servlet => tomcat-servlet-api:2.5
 *   javax.servlet.jsp => tomcat-servlet-api:2.5
 *   org.apache.commons.codec => commons-codec
 *   org.apache.commons.el => commons-el
 *   org.apache.commons.httpclient => commons-httpclient:3
 *   org.apache.commons.logging => commons-logging
 *   org.apache.lucene => lucene:1.9
 *   org.apache.lucene.analysis => lucene-analyzers:1.9
 *   org.eclipse.swt.gtk.linux.x86 => swt:3.5
 *   org.hamcrest.core => hamcrest-core
 *   org.objectweb.asm => asm:3
 *   org.sat4j.core => sat4j-core:2
 *   org.sat4j.pb => sat4j-pseudo:2                                                                                 [ ok ]
>>> Completed installing eclipse-sdk-3.5.1 into /var/tmp/portage/dev-util/eclipse-sdk-3.5.1/image/

strip: i686-pc-linux-gnu-strip --strip-unneeded -R .comment
   usr/lib/eclipse-3.5/eclipse
   usr/lib/eclipse-3.5/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.200.v20090520/eclipse_1207.so
   usr/lib/eclipse-3.5/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.200.v20090520/eclipse_1206.so

>>> Installing (1 of 1) dev-util/eclipse-sdk-3.5.1

>>> Recording dev-util/eclipse-sdk in "world" favorites file...

 * Messages for package dev-util/eclipse-sdk-3.5.1:

 * 
 * ERROR: dev-util/eclipse-sdk-3.5.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 4307:  Called die
 * The specific snippet of code:
 *       ( cd "${S}" && ant init ) || die;
 *  The die message:
 *   (no error message)
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-util/eclipse-sdk-3.5.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/eclipse-sdk-3.5.1/temp/environment'.
 * This ebuild is from an overlay: '/usr/overlays/my/'
 * 
>>> Auto-cleaning packages...

При этом он установился и вроде даже работает.

Настройки просмотра комментариев

Выберите нужный метод показа комментариев и нажмите "Сохранить установки".