Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102625 - emerge of dev-java/gnu-jaxp failed
Summary: emerge of dev-java/gnu-jaxp failed
Status: RESOLVED DUPLICATE of bug 100044
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-15 09:51 UTC by Andreas Höhmann
Modified: 2005-08-15 10:16 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Höhmann 2005-08-15 09:51:26 UTC
i would emerge eclipse-sdk but the build of dev-java/gnu-jaxp failed allways
faild on my system :()

Reproducible: Always
Steps to Reproduce:
1.emerge dev-java/gnu-jaxp
Actual Results:  
/opt/sun-jdk-1.5.0.04/bin/javac -g -d classes -classpath ./source
source/gnu/xml/aelfred2/JAXPFactory.java
./source/gnu/xml/pipeline/EventFilter.java:193: warning: non-varargs call of
varargs method with inexact argument type for l
ast 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
            m = Thread.class.getMethod("getContextClassLoader", null);
                                                                ^
./source/gnu/xml/pipeline/EventFilter.java:200: warning: non-varargs call of
varargs method with inexact argument type for l
ast 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
            return (ClassLoader) m.invoke(Thread.currentThread(), 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.
2 warnings
/opt/sun-jdk-1.5.0.04/bin/javac -g -d classes -classpath ./source
source/gnu/xml/dom/ls/DomLSEx.java
/opt/sun-jdk-1.5.0.04/bin/javac -g -d classes -classpath ./source
source/gnu/xml/dom/ls/DomLSInput.java
/opt/sun-jdk-1.5.0.04/bin/javac -g -d classes -classpath ./source
source/gnu/xml/dom/ls/DomLSOutput.java
/opt/sun-jdk-1.5.0.04/bin/javac -g -d classes -classpath ./source
source/gnu/xml/dom/ls/DomLSParser.java
./source/gnu/xml/dom/JAXPFactory.java:67: gnu.xml.dom.JAXPFactory is not
abstract and does not override abstract method getF                            
  eature(java.lang.String) in javax.xml.parsers.DocumentBuilderFactory
public final class JAXPFactory
             ^
./source/gnu/xml/pipeline/EventFilter.java:193: warning: non-varargs call of
varargs method with inexact argument type for l                              
ast 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
            m = Thread.class.getMethod("getContextClassLoader", null);
                                                                ^
./source/gnu/xml/pipeline/EventFilter.java:200: warning: non-varargs call of
varargs method with inexact argument type for l                              
ast 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
            return (ClassLoader) m.invoke(Thread.currentThread(), 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
2 warnings
make: *** [classes/gnu/xml/dom/ls/DomLSParser.class] Fehler 1

!!! ERROR: dev-java/gnu-jaxp-1.3 failed.
!!! Function src_compile, Line 30, Exitcode 2
!!! compile failed!
!!! If you need support, post the topmost build error, NOT this status message.



troll ~ # emerge -vpD dev-java/gnu-jaxp

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] dev-java/gnu-jaxp-1.3  +doc 0 kB

Total size of downloads: 0 kB


troll ~ # java-config -L
[ibm-jdk-bin-1.4.2] "IBM JDK 1.4.2" (/etc/env.d/java/20ibm-jdk-bin-1.4.2)
[sun-jdk-1.4.2.08] "Sun JDK 1.4.2.08" (/etc/env.d/java/20sun-jdk-1.4.2.08)
[blackdown-jre-1.4.2.02] "Blackdown JRE 1.4.2.02"
(/etc/env.d/java/20blackdown-jre-1.4.2.02)
[sun-jdk-1.5.0.04] "Sun JDK 1.5.0.04" (/etc/env.d/java/20sun-jdk-1.5.0.04) *
[blackdown-jdk-1.4.2.02] "Blackdown JDK 1.4.2.02"
(/etc/env.d/java/20blackdown-jdk-1.4.2.02)


troll ~ # java-config --classpath
/usr/share/sun-jai-bin/lib/jai_codec.jar:/usr/share/sun-jai-bin/lib/mlibwrapper_jai.jar:/usr/share/xerces-2/lib/xercesImpl.jar:/usr/share/servletapi-2.4/lib/servlet-api.jar:/usr/share/xerces-2/lib/xercesSamples.jar:/usr/share/xerces-2/lib/xmlParserAPIs.jar:/usr/share/xerces-2/lib/xml-apis.jar:/usr/share/servletapi-2.4/lib/jsp-api.jar:/usr/share/sun-jai-bin/lib/jai_core.jar:.


troll ~ # java-config --java
/opt/sun-jdk-1.5.0.04/bin/java
Comment 1 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2005-08-15 10:07:15 UTC
Looks like a duplicate of bug 100044 (which should be reopened by the way). Try
sun-jdk-1.4.2.08
Comment 2 Andreas Höhmann 2005-08-15 10:13:18 UTC
okay... it's working now

is it "a good idea" to switch beetween the different java-versions until all
eclipse-depended libs are build?
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-08-15 10:16:09 UTC

*** This bug has been marked as a duplicate of 100044 ***