[MacPorts] #31934: xercesj dependency installation failed trying to install tomcat6 port

MacPorts noreply at macports.org
Sun Nov 6 09:13:10 PST 2011


#31934: xercesj dependency installation failed trying to install tomcat6 port
--------------------------------------+-------------------------------------
 Reporter:  garyhanrahan@…            |       Owner:  macports-tickets@…                   
     Type:  defect                    |      Status:  new                                  
 Priority:  Normal                    |   Milestone:                                       
Component:  ports                     |     Version:  2.0.3                                
 Keywords:                            |        Port:  xercesj                              
--------------------------------------+-------------------------------------
 Here are the results of an attempt to directly install the xercesj port:
 port -v install xercesj
 --->  Computing dependencies for xercesj.
 --->  Building xercesj
 Buildfile:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xercesj/xercesj/work
 /xerces-2_9_1/build.xml

 init:
      [echo] ---------------- Xerces-J 2.9.1 [1999-2007] ---------------

 prepare:

 prepare-common:

 prepare-src:
     [unzip] Expanding:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xercesj/xercesj/work
 /xerces-2_9_1/tools/xml-commons-external-src.zip into
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xercesj/xercesj/work
 /xerces-2_9_1/build/src

 compile:

 jar:

 samples:

 sampjar:

 jars:

 init:
      [echo] ---------------- Xerces-J 2.9.1 [1999-2007] ---------------

 prepare:

 prepare-docs:

 docs:
      [echo] Building docs for Xerces-J 2.9.1 ...
      [java] [StyleBook] Overriding targetDirectory="./build/docs"
 (Old=".")
      [java] [StyleBook] Project URL: "sbk:/sources/docs-book.xml"
      [java] [BasicEngine] Initializing
      [java] [Loader] Parsing Project file
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/book2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/directory2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/any2project.xsl"
      [java] [Project] Creating "faq-pcfp.html"
      [java] [CachingParser] Serving cached document "sbk:/sources/faq-
 pcfp.xml" (1)
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/faqs2document.xsl"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/document2html.xsl"
      [java] [Project] Creating "graphics/ext-16-label-3.jpg"
      [java] [Xalan2Processor] Applying XSL sheet
 "sbk:/style/stylesheets/context2label.xsl"
      [java] Sun Nov  6 13:07:30 Scott-Price--Gary-Hanrahans-iMac.local
 java[68752] <Error>: kCGErrorFailure: Set a breakpoint @
 CGErrorBreakpoint() to catch errors as they are logged.
      [java] java.lang.InternalError: Can't connect to window server - not
 enough permissions.
      [java]     at java.lang.ClassLoader$NativeLibrary.load(Native Method)
      [java]     at
 java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1827)
      [java]     at
 java.lang.ClassLoader.loadLibrary(ClassLoader.java:1724)
      [java]     at java.lang.Runtime.loadLibrary0(Runtime.java:823)
      [java]     at java.lang.System.loadLibrary(System.java:1045)
      [java]     at
 sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
      [java]     at java.security.AccessController.doPrivileged(Native
 Method)
      [java]     at
 sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
      [java]     at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)
      [java]     at java.awt.Component.<clinit>(Component.java:566)
      [java]     at javax.swing.ImageIcon$2.run(ImageIcon.java:95)
      [java]     at javax.swing.ImageIcon$2.run(ImageIcon.java:93)
      [java]     at java.security.AccessController.doPrivileged(Native
 Method)
      [java]     at
 javax.swing.ImageIcon.createNoPermsComponent(ImageIcon.java:92)
      [java]     at javax.swing.ImageIcon.access$000(ImageIcon.java:48)
      [java]     at javax.swing.ImageIcon$1.run(ImageIcon.java:70)
      [java]     at javax.swing.ImageIcon$1.run(ImageIcon.java:67)
      [java]     at java.security.AccessController.doPrivileged(Native
 Method)
      [java]     at javax.swing.ImageIcon.<clinit>(ImageIcon.java:67)
      [java]     at
 org.apache.stylebook.printers.ImagePrinter.print(Unknown Source)
      [java]     at org.apache.stylebook.BasicEntry.create(Unknown Source)
      [java]     at org.apache.stylebook.Project.create(Unknown Source)
      [java]     at org.apache.stylebook.StyleBook.main(Unknown Source)
      [java] Exception in thread "main" java.lang.NoClassDefFoundError:
 Could not initialize class sun.awt.DebugHelper
      [java]     at sun.awt.SunToolkit.<init>(SunToolkit.java:50)
      [java]     at apple.awt.CToolkit.<init>(CToolkit.java:106)
      [java]     at
 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      [java]     at
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      [java]     at
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      [java]     at
 java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      [java]     at java.lang.Class.newInstance0(Class.java:355)
      [java]     at java.lang.Class.newInstance(Class.java:308)
      [java]     at java.awt.Toolkit$2.run(Toolkit.java:859)
      [java]     at java.security.AccessController.doPrivileged(Native
 Method)
      [java]     at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:826)
      [java]     at javax.swing.ImageIcon.<init>(ImageIcon.java:162)
      [java]     at javax.swing.ImageIcon.<init>(ImageIcon.java:181)
      [java]     at
 org.apache.stylebook.printers.ImagePrinter.print(Unknown Source)
      [java]     at org.apache.stylebook.BasicEntry.create(Unknown Source)
      [java]     at org.apache.stylebook.Project.create(Unknown Source)
      [java]     at org.apache.stylebook.StyleBook.main(Unknown Source)

 BUILD FAILED
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xercesj/xercesj/work
 /xerces-2_9_1/build.xml:383: Java returned: 1

 Total time: 5 seconds
 shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xercesj/xercesj/work
 /xerces-2_9_1" && ant jars docs javadocs " returned error 1
 Error: Target org.macports.build returned: shell command failed (see log
 for details)
 Warning: the following items did not execute (for xercesj):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 Log for xercesj is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xercesj/xercesj/main.log
 Error: Status 1 encountered during processing.

-- 
Ticket URL: <https://trac.macports.org/ticket/31934>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list