| Summary: | www-servers/tomcat-5.5.23 needs >=commons-modeler-2.0 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Shib <shib4u> |
| Component: | New packages | Assignee: | William L. Thomson Jr. (RETIRED) <wltjr> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | java |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Shib
2007-03-30 02:42:20 UTC
This seems to be a local problem with your portage tree/snapshot. Doesn't make much sense the the package should fail on digest or manifest with that file missing. But the file is present in CVS. http://viewcvs.gentoo.org/viewcvs.py/gentoo-x86/www-servers/tomcat/files/5.5/ I have checked several mirrors. Re-syncd my tree a few times, and even checked out a few portage snapshots on mirrors. All have that file and all emerge without a problem. So I can't replicate this at all. I have been calling for others to try and replicate, and have no gotten a response. But since it's been in tree for some time, and I know others are using it. I can't see how this would not have been reported sooner. More than likely have to mark this bug as invalid, or works for me. I checked out the files from cvs, manually.... now i am getting new errors...
----
build-catalina-core:
[javac] Compiling 318 source files to /var/tmp/portage/tomcat-5.5.23/work/apache-tomcat-5.5.23-src/build/build/classes
[javac] /var/tmp/portage/tomcat-5.5.23/work/apache-tomcat-5.5.23-src/container/catalina/src/share/org/apache/catalina/loader/WebappClassLoader.java:1644: cannot find symbol
[javac] symbol : method clear()
[javac] location: class org.apache.commons.modeler.util.IntrospectionUtils
[javac] org.apache.commons.modeler.util.IntrospectionUtils.clear();
[javac] ^
[javac] /var/tmp/portage/tomcat-5.5.23/work/apache-tomcat-5.5.23-src/container/catalina/src/share/org/apache/catalina/startup/ClusterRuleSetFactory.java:77: warning: non-varargs call of varargs method with inexact argument type for last parameter;
[javac] cast to java.lang.Object for a varargs call
[javac] cast to java.lang.Object[] for a non-varargs call and to suppress this warning
[javac] return (RuleSetBase)cons.newInstance(new String[] {prefix});
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error
[javac] 1 warning
BUILD FAILED
/var/tmp/portage/tomcat-5.5.23/work/apache-tomcat-5.5.23-src/build.xml:41: The following error occurred while executing this line:
/var/tmp/portage/tomcat-5.5.23/work/apache-tomcat-5.5.23-src/build/build.xml:520: The following error occurred while executing this line:
/var/tmp/portage/tomcat-5.5.23/work/apache-tomcat-5.5.23-src/build/build.xml:485: The following error occurred while executing this line:
/var/tmp/portage/tomcat-5.5.23/work/apache-tomcat-5.5.23-src/container/catalina/build.xml:540: Compile failed; see the compiler error output for details.
Total time: 17 seconds
!!! ERROR: www-servers/tomcat-5.5.23 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
tomcat-5.5.23.ebuild, line 159: Called eant '-Dbase.path=/var/tmp/portage/tomcat-5.5.23/temp' '-Dservletapi.build.notrequired=true' '-Djspapi.build.notrequired=true' '-Dcommons-beanutils.jar=/usr/share/commons-beanutils-1.7/lib/commons-beanutils.jar' '-Dcommons-collections.jar=/usr/share/commons-collections/lib/commons-collections.jar' '-Dcommons-daemon.jar=/usr/share/commons-daemon/lib/commons-daemon.jar' '-Dcommons-digester.jar=/usr/share/commons-digester/lib/commons-digester.jar' '-Dcommons-dbcp.jar=/usr/share/commons-dbcp/lib/commons-dbcp.jar' '-Dcommons-el.jar=/usr/share/commons-el/lib/commons-el.jar' '-Dcommons-fileupload.jar=/usr/share/commons-fileupload/lib/commons-fileupload.jar' '-Dcommons-httpclient.jar=/usr/share/commons-httpclient/lib/commons-httpclient.jar' '-Dcommons-launcher.jar=/usr/share/commons-launcher/lib/commons-launcher.jar' '-Dcommons-logging.jar=/usr/share/commons-logging/lib/commons-logging.jar' '-Dcommons-logging-api.jar=/usr/share/commons-logging/lib/commons-logging-api.jar' '-Dcommons-pool.jar=/usr/share/commons-pool/lib/commons-pool.jar' '-Dcommons-modeler.jar=/usr/share/commons-modeler/lib/commons-modeler.jar' '-Djdt.jar=/usr/share/eclipse-ecj-3.2/lib/ecj.jar' '-Djsp-api.jar=/usr/share/tomcat-servlet-api-2.4/lib/jsp-api.jar' '-Djunit.jar=/usr/share/junit/lib/junit.jar' '-Dlog4j.jar=/usr/share/log4j/lib/log4j.jar' '-Dmail.jar=/usr/share/sun-javamail/lib/mail.jar' '-Dsaxpath.jar=/usr/share/saxpath/lib/saxpath.jar' '-Dservlet-api.jar=/usr/share/tomcat-servlet-api-2.4/lib/servlet-api.jar' '-Dadmin.build.notrequired=true' '-Dadmin.precompile.notrequired=true' '-Dexamples.build.notrequired=true' '-Dexamples.precompile.notrequired=true' '-Djasper.home=/var/tmp/portage/tomcat-5.5.23/work/apache-tomcat-5.5.23-src/jasper'
java-utils-2.eclass, line 1418: Called die
!!! eant 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.5 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.10"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="javac"
(In reply to comment #2) > I checked out the files from cvs, manually.... now i am getting new errors... Not sure why you did not just sync the entire tree and why your pulling from cvs? Quite odd, to each their own I guess. > [javac] symbol : method clear() > [javac] location: class org.apache.commons.modeler.util.IntrospectionUtils > [javac] org.apache.commons.modeler.util.IntrospectionUtils.clear(); This is something new in commons-modeler 2.0. Breakage can happen at times when mixing ~arch packages with stable. I have increased the dep on commons-modeler to >=2.0. Just committed to tree. Please allow 4+ hours before syncing tree. Thanks for reporting closing the bug now, but will change summary to that, since it was more of a legitimate bug than original summary. |