View previous topic :: View next topic |
Author |
Message |
runningman n00b

Joined: 11 Mar 2008 Posts: 8
|
Posted: Tue Mar 11, 2008 4:24 pm Post subject: [Risolto] Ancora problemi per Tomcat |
|
|
Allora, ho ancora problemi con l'emerge di tomcat.
Questa volta il pacchetto incriminato è junit.
Ecco l'output dell'emerge
Code: |
Calculating dependencies... done!
>>> Verifying ebuild Manifests...
>>> Emerging (1 of 12) dev-java/junit-3.8.1-r3 to /
* junit3.8.1.zip RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking junit3.8.1.zip ;-) ... [ ok ]
* Using: sun-jdk-1.5
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-java/junit-3.8.1-r3/work/junit3.8.1 ...
Rewriting source attributes
Using Sax to rewrite the build.xml files
Rewriting ./build.xml
Rewriting target attributes
Using Sax to rewrite the build.xml files
Rewriting ./build.xml
Rewriting nowarn attributes
Using Sax to rewrite the build.xml files
Rewriting ./build.xml
* Disabling all optional ANT_TASKS
Buildfile: build.xml
init:
versiontag:
[copy] Copying 1 file to /var/tmp/portage/dev-java/junit-3.8.1-r3/work/junit3.8.1/junit/runner
[move] Moving 1 file to /var/tmp/portage/dev-java/junit-3.8.1-r3/work/junit3.8.1/junit/runner
build:
[javac] Compiling 48 source files to /var/tmp/portage/dev-java/junit-3.8.1-r3/work/junit3.8.1
[javac] This version of java does not support the classic compiler; upgrading to modern
[javac] Note: /var/tmp/portage/dev-java/junit-3.8.1-r3/work/junit3.8.1/junit/swingui/TestRunner.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
dist:
[delete] Deleting directory /var/tmp/portage/dev-java/junit-3.8.1-r3/work/junit3.8.1/junit3.8.1
[mkdir] Created dir: /var/tmp/portage/dev-java/junit-3.8.1-r3/work/junit3.8.1/junit3.8.1
[jar] Building jar: /var/tmp/portage/dev-java/junit-3.8.1-r3/work/junit3.8.1/junit3.8.1/src.jar
[jar] Building jar: /var/tmp/portage/dev-java/junit-3.8.1-r3/work/junit3.8.1/junit3.8.1/junit.jar
[copy] Copying 14 files to /var/tmp/portage/dev-java/junit-3.8.1-r3/work/junit3.8.1/junit3.8.1/junit/samples
[copy] Copying 110 files to /var/tmp/portage/dev-java/junit-3.8.1-r3/work/junit3.8.1/junit3.8.1/junit/tests
[delete] Deleting: /var/tmp/portage/dev-java/junit-3.8.1-r3/work/junit3.8.1/junit3.8.1/junit/tests/runner/test.jar
[jar] Building jar: /var/tmp/portage/dev-java/junit-3.8.1-r3/work/junit3.8.1/junit3.8.1/junit/tests/runner/test.jar
[mkdir] Created dir: /var/tmp/portage/dev-java/junit-3.8.1-r3/work/junit3.8.1/junit3.8.1/javadoc
[javadoc] Generating Javadoc
[javadoc] Javadoc execution
BUILD FAILED
/var/tmp/portage/dev-java/junit-3.8.1-r3/work/junit3.8.1/build.xml:40: Javadoc failed: java.io.IOException: java.io.IOException: Cannot allocate memory
Total time: 7 seconds
*
* ERROR: dev-java/junit-3.8.1-r3 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3911: Called eant 'src_compile'
* environment, line 868: Called die
* The specific snippet of code:
* ant ${antflags} "${@}" || die "eant failed"
* The die message:
* eant failed
*
* 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-java/junit-3.8.1-r3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-java/junit-3.8.1-r3/temp/environment'.
*
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.5 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.11"
JAVACFLAGS="-source 1.3 -target 1.3" COMPILER="javac"
and of course, the output of emerge --info
* Messages for package dev-java/junit-3.8.1-r3:
*
* ERROR: dev-java/junit-3.8.1-r3 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3911: Called eant 'src_compile'
* environment, line 868: Called die
* The specific snippet of code:
* ant ${antflags} "${@}" || die "eant failed"
* The die message:
* eant failed
*
* 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-java/junit-3.8.1-r3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-java/junit-3.8.1-r3/temp/environment'.
*
|
Vi ho risparmiato la parte dell'unpacking. Comunque sembra che non riesca ad allocare la memoria.
Per caso devo aumentare la memoria per la JVM?
Fatemi sapere. Ciao e grazie.
Last edited by runningman on Thu Mar 13, 2008 9:02 am; edited 1 time in total |
|
Back to top |
|
 |
runningman n00b

Joined: 11 Mar 2008 Posts: 8
|
Posted: Wed Mar 12, 2008 9:46 am Post subject: |
|
|
Nessuno sa darmi un minimo di ragguaglio? |
|
Back to top |
|
 |
gutter Bodhisattva


Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Wed Mar 12, 2008 11:35 am Post subject: |
|
|
runningman wrote: | Nessuno sa darmi un minimo di ragguaglio? |
Prova a togliere la use doc. _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
 |
runningman n00b

Joined: 11 Mar 2008 Posts: 8
|
Posted: Thu Mar 13, 2008 9:01 am Post subject: |
|
|
In effetti anch'io ho pensato a quello. Ho provato ma niente.
Comunque, siccome la macchina con Gentoo è una macchina virtuale openVZ era un problema della memoria della macchina virtuale. In sostanza c'era poca memoria per la macchina e quindi non riusciva ad allocare abbastanza memoria.
Metto risolto.
Ciao a tutti. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|