Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 172734 - www-servers/tomcat-5.5.23 needs >=commons-modeler-2.0
Summary: www-servers/tomcat-5.5.23 needs >=commons-modeler-2.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: William L. Thomson Jr. (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-30 02:42 UTC by Shib
Modified: 2007-03-30 23:19 UTC (History)
1 user (show)

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 Shib 2007-03-30 02:42:20 UTC
I am not able to emerge tomcat-5.5.23....

user@myhost ~/root#  emerge -av  =tomcat-5.5.23

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] www-servers/tomcat-5.5.23  USE="java5 -admin -doc -examples -source -test" 0 kB 

Total size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] 

>>> Emerging (1 of 1) www-servers/tomcat-5.5.23 to /
 * apache-tomcat-5.5.23-src.tar.gz MD5 ;-) ...                                                                    [ ok ]
 * apache-tomcat-5.5.23-src.tar.gz RMD160 ;-) ...                                                                 [ ok ]
 * apache-tomcat-5.5.23-src.tar.gz SHA1 ;-) ...                                                                   [ ok ]
 * apache-tomcat-5.5.23-src.tar.gz SHA256 ;-) ...                                                                 [ ok ]
 * apache-tomcat-5.5.23-src.tar.gz size ;-) ...                                                                   [ ok ]
 * checking ebuild checksums ;-) ...                                                                              [ ok ]
 * checking auxfile checksums ;-) ...                                                                             [ ok ]
 * checking miscfile checksums ;-) ...                                                                            [ ok ]
 * checking apache-tomcat-5.5.23-src.tar.gz ;-) ...                                                               [ ok ]
 * Using: sun-jdk-1.5
>>> Unpacking source...
>>> Unpacking apache-tomcat-5.5.23-src.tar.gz to /var/tmp/portage/tomcat-5.5.23/work

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 * 
 *   /usr/portage/www-servers/tomcat/files/5.5/main_build_xml.patch
 *   ( main_build_xml.patch )


!!! ERROR: www-servers/tomcat-5.5.23 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_unpack
  ebuild.sh, line 708:   Called src_unpack
  tomcat-5.5.23.ebuild, line 76:   Called epatch '/usr/portage/www-servers/tomcat/files/5.5/main_build_xml.patch'
  eutils.eclass, line 198:   Called die

!!! Cannot find $EPATCH_SOURCE!
!!! 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=""
and of course, the output of emerge --info

----
 uname -a
Linux 2.6.18-gentoo-r6 #1 SMP Thu Jan 18 19:57:37 PST 2007 x86_64 AMD Opteron(tm) Processor 248 AuthenticAMD GNU/Linux

Java environment is sane

Reproducible: Always

Steps to Reproduce:
1. emerge -av  =tomcat-5.5.23 
2. emerge -av  =tomcat-5.5.23
3. emerge -av  =tomcat-5.5.23
Comment 1 William L. Thomson Jr. (RETIRED) gentoo-dev 2007-03-30 20:39:03 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.
Comment 2 Shib 2007-03-30 21:26:28 UTC
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"
Comment 3 William L. Thomson Jr. (RETIRED) gentoo-dev 2007-03-30 23:19:28 UTC
(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.