Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[JAVA] compilation ant-core, bloque eclipse-3.1 (resolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
shingara
Tux's lil' helper
Tux's lil' helper


Joined: 26 Dec 2004
Posts: 137
Location: Paris, FR

PostPosted: Thu Oct 27, 2005 5:01 pm    Post subject: [JAVA] compilation ant-core, bloque eclipse-3.1 (resolu) Reply with quote

Bonjour a tous,

Depuis midi, je suis en train de tenter la compilation de eclipse 3.1 avec jdk 1.5. Je dois installer ce paquet pour mes cours de java. Mais voila, je n'ai que des problemes et je n'arrive plus a rien comprendre. C'est pour ca que j'en viens a vous consulter.

Un dépendance de eclipse-sdk est : dev-java/ant-core et pour l'instant c'est lui qui ne compile pas. Voici l'erreur que j'obtiens :

Code:
>>> emerge (1 of 5) dev-java/ant-core-1.6.2-r5 to /
>>> md5 files   ;-) ant-core-1.6.2-r5.ebuild
>>> md5 files   ;-) ant-core-1.6.5-r2.ebuild
>>> md5 files   ;-) ant-core-1.5.4-r2.ebuild
>>> md5 files   ;-) files/1.5.4-ant
>>> md5 files   ;-) files/1.6.2-ant
>>> md5 files   ;-) files/1.6.5-ant
>>> md5 files   ;-) files/build.sh-exit-fix.patch.gz
>>> md5 files   ;-) files/rpmbuild.patch.gz
>>> md5 files   ;-) files/digest-ant-core-1.5.4-r2
>>> md5 files   ;-) files/digest-ant-core-1.6.2-r5
>>> md5 files   ;-) files/digest-ant-core-1.6.5-r2
>>> md5 files   ;-) files/1.6.2-scp.patch
>>> md5 src_uri ;-) apache-ant-1.6.2-src.tar.bz2
>>> Unpacking source...
>>> Unpacking apache-ant-1.6.2-src.tar.bz2 to /var/tmp/portage/ant-core-1.6.2-r5/work
tar: Un bloc zéro solitaire repéré à 34226
 * Applying 1.6.2-scp.patch ...                                                                                                        [ ok ]
 * Applying build.sh-exit-fix.patch.gz ...                                                                                             [ ok ]
>>> Source unpacked.
.
... Bootstrapping Ant Distribution
... Compiling Ant Classes
src/main/org/apache/tools/zip/ZipEntry.java:426: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warning
            setCompressedSizeMethod.invoke(ze, s);
                                               ^
src/main/org/apache/tools/ant/Project.java:887: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Class for a varargs call
cast to java.lang.Class[] for a non-varargs call and to suppress this warning
            taskClass.getConstructor(null);
                                     ^
src/main/org/apache/tools/ant/util/FileUtils.java:697: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warning
            getSetLastModified().invoke(file, times);
                                              ^
src/main/org/apache/tools/ant/AntClassLoader.java:520: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warning
                    cons[0].newInstance(strs);
                                        ^
src/main/org/apache/tools/ant/IntrospectionHelper.java:566: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warning
            addText.invoke(element, new String[] {text});
                                                 ^
src/main/org/apache/tools/ant/IntrospectionHelper.java:953: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warning
                        m.invoke(parent, new String[] {value});
                                                      ^
src/main/org/apache/tools/ant/IntrospectionHelper.java:967: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warning
                        m.invoke(parent, new Character[] {new Character(value.charAt(0))});
                                                         ^
src/main/org/apache/tools/ant/IntrospectionHelper.java:978: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warning
                                 new Boolean[] {Project.toBoolean(value)
                                               ^
src/main/org/apache/tools/ant/IntrospectionHelper.java:990: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warning
                            m.invoke(parent, new Class[] {Class.forName(value)});
                                                         ^
src/main/org/apache/tools/ant/IntrospectionHelper.java:1002: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warning
                        m.invoke(parent, new File[] {p.resolveFile(value)});
                                                    ^
src/main/org/apache/tools/ant/IntrospectionHelper.java:1016: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warning
                            m.invoke(parent, new EnumeratedAttribute[] {ea});
                                                                       ^
src/main/org/apache/tools/ant/ComponentHelper.java:303: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Class for a varargs call
cast to java.lang.Class[] for a non-varargs call and to suppress this warning
            taskClass.getConstructor(null);
                                     ^
src/main/org/apache/tools/ant/Diagnostics.java:134: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warning
          Object pkg = method.invoke(clazz, null);
                                            ^
src/main/org/apache/tools/ant/Diagnostics.java:138: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warning
              Object version = method.invoke(pkg, null);
                                                  ^
src/main/org/apache/tools/ant/TaskAdapter.java:56: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Class for a varargs call
cast to java.lang.Class[] for a non-varargs call and to suppress this warning
            final Method executeM = taskClass.getMethod("execute", null);
                                                                   ^
src/main/org/apache/tools/ant/TaskAdapter.java:123: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warning
            executeM.invoke(proxy, null);
                                   ^
src/main/org/apache/tools/ant/filters/util/ChainReaderHelper.java:178: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warning
                                    (Reader) constructors[j].newInstance(rdr);
                                                                         ^
src/main/org/apache/tools/ant/taskdefs/rmic/DefaultRmicAdapter.java:37: error while writing org.apache.tools.ant.taskdefs.rmic.DefaultRmicAdapter: No space left on device
public abstract class DefaultRmicAdapter implements RmicAdapter {
                ^
src/main/org/apache/tools/ant/taskdefs/rmic/KaffeRmic.java:42: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Class for a varargs call
cast to java.lang.Class[] for a non-varargs call and to suppress this warning
            Method doRmic = c.getMethod("run", null);
                                               ^
src/main/org/apache/tools/ant/taskdefs/rmic/KaffeRmic.java:43: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warning
            Boolean ok = (Boolean) doRmic.invoke(rmic, null);
                                                       ^
Note: * uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
19 warnings
... Failed compiling Ant classes !
Bootstrap FAILED

!!! ERROR: dev-java/ant-core-1.6.2-r5 failed.
!!! Function src_compile, Line 53, Exitcode 1
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

close failed: [Errno 28] No space left on device


Pour expliquer un peu mes recherches, j'ai lu dans différent post de gentoo qu'il fallait mettre en USE pour le paquet dev-java/ant-task, tous les no* j'ai ainsi en USE pour ce paquet :

[ebuild N ] dev-java/ant-tasks-1.6.2-r9 -javamail +noantlr +nobcel +nobeanutils +nobsh +nocommonslogging +nocommonsnet +nojdepend +nojsch +nojython +nolog4j +nooro +noregexp +norhino +noxalan +noxerces 0 kB

J'avais a un moment réussi a compiler toutes les dépendances de eclipses, mais ce fut lui qui ne compilait pas. J'ai donc décider de refaire un dep-clean et il m'a ainsi resupprimer plein de paquet dev-java que j'avais installer. Mais maintenant je rebloque.

Avez vous une idée de la méthode a suivre pour installer eclipse 3.1 ?

Merci de votre aide éventuels
_________________
shingara
Back to top
View user's profile Send private message
shingara
Tux's lil' helper
Tux's lil' helper


Joined: 26 Dec 2004
Posts: 137
Location: Paris, FR

PostPosted: Fri Oct 28, 2005 7:12 am    Post subject: Reply with quote

Petit retour d'information, J'ai d'ecouvert le probleme. En effet, j'ai constate que mon / etait plein. Donc forcement javac avait du mal a compiler :(
_________________
shingara
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
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