[MacPorts] #22787: tomcat6 fail to compile on Snow Leopard

MacPorts noreply at macports.org
Fri Dec 18 19:55:42 PST 2009


#22787: tomcat6 fail to compile on Snow Leopard
---------------------------------+------------------------------------------
  Reporter:  idefix@…            |       Owner:  macports-tickets@…                   
      Type:  defect              |      Status:  closed                               
  Priority:  Normal              |   Milestone:                                       
 Component:  ports               |     Version:  1.8.1                                
Resolution:  duplicate           |    Keywords:                                       
      Port:  tomcat6             |  
---------------------------------+------------------------------------------

Comment(by shrift@…):

 idefix is absolutely correct, this is not related. Please reopen this
 ticket! Nowhere in my build output can I find the error from
 [https://trac.macports.org/ticket/22498 #22498].

 While my error does not appear to be identical, perhaps it is due to
 slightly different versions of java or xcode? If necessary I will open
 another ticket for my issue, but there definitely are some tomcat6 build
 issues going on other than #22498.

 Here are the errors I'm seeing. For the record, I am building on two fresh
 and updated installs of 10.6.2.

 --->  Computing dependencies for tomcat6
 --->  Staging tomcat6 into destroot
 # setting up needed dirs
 # installing tomcat...
 Error: Target org.macports.destroot returned: shell command "cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_tomcat6/work
 /apache-tomcat-6.0.20-src && ant -Dversion=6.0.20 -Dversion.build=20
 -Dbase.path=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_tomcat6/work
 /apache-tomcat-6.0.20-src/Repository
 -Dnsis.exe=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_tomcat6/work
 /apache-tomcat-6.0.20-src/.bogus -Dcommons-
 beanutils.jar=/opt/local/share/java/commons-beanutils.jar -Dcommons-
 collections.jar=/opt/local/share/java/commons-collections.jar -Dcommons-
 launcher.jar=/opt/local/share/java/commons-launcher.jar -Dcommons-
 daemon.jar=/opt/local/share/java/commons-daemon.jar -Dcommons-
 digester.jar=/opt/local/share/java/commons-digester.jar -Dcommons-
 el.jar=/opt/local/share/java/commons-el.jar -Dcommons-
 logging.jar=/opt/local/share/java/commons-logging.jar -Dcommons-logging-
 api.jar=/opt/local/share/java/commons-logging-api.jar -Dcommons-
 modeler.jar=/opt/local/share/java/commons-modeler.jar -Dcommons-
 httpclient.jar=/opt/local/share/java/commons-httpclient.jar -Dcommons-
 pool.jar=/opt/local/share/java/commons-pool.jar -Dcommons-
 dbcp.jar=/opt/local/share/java/commons-dbcp.jar -Dcommons-
 fileupload.jar=/opt/local/share/java/commons-fileupload.jar
 -Dregexp.jar=/opt/local/share/java/jakarta-regexp.jar
 -DxercesImpl.jar=/opt/local/share/java/xercesImpl.jar -Dxml-
 apis.jar=/opt/local/share/java/xml-apis.jar
 -Dlog4j.jar=/opt/local/share/java/jakarta-log4j.jar
 -Djmx.lib=/opt/local/share/java
 -Djunit.jar=/opt/local/share/java/junit.jar
 -Djaxen.jar=/opt/local/share/java/jaxen.jar
 -Dsaxpath.jar=/opt/local/share/java/saxpath.jar
 -Djasper.home=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_tomcat6/work
 /apache-tomcat-6.0.20-src/../jasper deploy" returned error 1
 Command output:     [javac]     at
 com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:1845)
     [javac]     at
 com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1777)
     [javac]     at
 com.sun.tools.javac.code.Symbol.complete(Symbol.java:386)
     [javac]     at
 com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:758)
     [javac]     at
 com.sun.tools.javac.jvm.ClassReader.loadClass(ClassReader.java:1951)
     [javac]     at
 com.sun.tools.javac.comp.Resolve.loadClass(Resolve.java:842)
     [javac]     at
 com.sun.tools.javac.comp.Resolve.findIdentInPackage(Resolve.java:1011)
     [javac]     at com.sun.tools.javac.comp.Attr.selectSym(Attr.java:1921)
     [javac]     at
 com.sun.tools.javac.comp.Attr.visitSelect(Attr.java:1835)
     [javac]     at
 com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:1522)
     [javac]     at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:360)
     [javac]     at com.sun.tools.javac.comp.Attr.attribType(Attr.java:390)
     [javac]     at
 com.sun.tools.javac.comp.MemberEnter.attribImportType(MemberEnter.java:681)
     [javac]     at
 com.sun.tools.javac.comp.MemberEnter.visitImport(MemberEnter.java:545)
     [javac]     at
 com.sun.tools.javac.tree.JCTree$JCImport.accept(JCTree.java:495)
     [javac]     at
 com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:387)
     [javac]     at
 com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:399)
     [javac]     at
 com.sun.tools.javac.comp.MemberEnter.visitTopLevel(MemberEnter.java:512)
     [javac]     at
 com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:446)
     [javac]     at
 com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:387)
     [javac]     at
 com.sun.tools.javac.comp.MemberEnter.complete(MemberEnter.java:819)
     [javac]     at
 com.sun.tools.javac.code.Symbol.complete(Symbol.java:386)
     [javac]     at
 com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:758)
     [javac]     at com.sun.tools.javac.comp.Enter.complete(Enter.java:451)
     [javac]     at com.sun.tools.javac.comp.Enter.main(Enter.java:429)

 BUILD FAILED
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_tomcat6/work
 /apache-tomcat-6.0.20-src/build.xml:119: Compile failed; see the compiler
 error output for details.

 Total time: 28 seconds

 Error: Status 1 encountered during processing.

-- 
Ticket URL: <http://trac.macports.org/ticket/22787#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list