[MacPorts] #37217: Error: Processing of port xercesj failed
#37217: Error: Processing of port xercesj failed -------------------------------+-------------------------------- Reporter: jens.is.located@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: xercesj -------------------------------+-------------------------------- Building of port failed under Mac OS X Mountain Lion with Java 7 Rev 9 installed. Please see the attached log file. {{{ sudo port install xercesj ---> Computing dependencies for xercesj ---> Building xercesj Error: org.macports.build for port xercesj returned: command execution failed Please see the log file for port xercesj for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xercesj/xercesj/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port xercesj failed }}} -- Ticket URL: <https://trac.macports.org/ticket/37217> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37217: Error: Processing of port xercesj failed --------------------------------+-------------------------------- Reporter: jens.is.located@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: xercesj | --------------------------------+-------------------------------- Changes (by macsforever2000@…): * cc: jens.is.located@… (removed) Comment: The reporter is automatically Cc'ed. -- Ticket URL: <https://trac.macports.org/ticket/37217#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37217: Error: Processing of port xercesj failed --------------------------------+-------------------------------- Reporter: jens.is.located@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: xercesj | --------------------------------+-------------------------------- Comment (by ryandesign@…): This was not a clean build attempt; could you please [http://guide.macports.org/chunked/project.html#project.tickets.prerequisites clean and try again]? -- Ticket URL: <https://trac.macports.org/ticket/37217#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37217: Error: Processing of port xercesj failed --------------------------------+-------------------------------- Reporter: jens.is.located@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: xercesj | --------------------------------+-------------------------------- Comment (by jens.is.located@…): I now cleaned the port and tried to installed the port. There is still an error. Please see the attached log file. {{{ cd $(port dir xercesj) sudo port clean sudo port install xercesj }}} -- Ticket URL: <https://trac.macports.org/ticket/37217#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37217: Error: Processing of port xercesj failed --------------------------------+-------------------------------- Reporter: jens.is.located@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: xercesj | --------------------------------+-------------------------------- Comment (by ryandesign@…): Ok, the error still seems to be: {{{ :info:build [xjavac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xercesj/xercesj/work /xerces-2_11_0/build/src/org/apache/html/dom/HTMLFrameElementImpl.java:28: error: HTMLFrameElementImpl is not abstract and does not override abstract method getContentDocument() in HTMLFrameElement :info:build [xjavac] public class HTMLFrameElementImpl :info:build [xjavac] ^ :info:build [xjavac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xercesj/xercesj/work /xerces- 2_11_0/build/src/org/apache/html/dom/HTMLIFrameElementImpl.java:28: error: HTMLIFrameElementImpl is not abstract and does not override abstract method getContentDocument() in HTMLIFrameElement :info:build [xjavac] public class HTMLIFrameElementImpl :info:build [xjavac] ^ :info:build [xjavac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xercesj/xercesj/work /xerces- 2_11_0/build/src/org/apache/html/dom/HTMLObjectElementImpl.java:28: error: HTMLObjectElementImpl is not abstract and does not override abstract method getContentDocument() in HTMLObjectElement :info:build [xjavac] public class HTMLObjectElementImpl :info:build [xjavac] ^ }}} I search for that error and found this [http://mail- archives.apache.org/mod_mbox/xerces-j-users/201107.mbox/%3COF2386521A.37318C96-ON852578C3.0062EB17-852578C3.00643644@ca.ibm.com%3E mailing list discussion]. But it builds fine for me on Mountain Lion. How did you install Java? Did you use [http://osxdaily.com/2012/08/01/install-java-in-os-x-mountain- lion/ this method] or something else? What does "java -version" say? -- Ticket URL: <https://trac.macports.org/ticket/37217#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37217: Error: Processing of port xercesj failed --------------------------------+-------------------------------- Reporter: jens.is.located@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: xercesj | --------------------------------+-------------------------------- Comment (by jens.is.located@…): I am using the following Java version ("java -version"): {{{ java version "1.7.0_09" Java(TM) SE Runtime Environment (build 1.7.0_09-b05) Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode) }}} I installed Java through [http://www.oracle.com/technetwork/java/javase/downloads/index.html] -- Ticket URL: <https://trac.macports.org/ticket/37217#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37217: Error: Processing of port xercesj failed --------------------------------+-------------------------------- Reporter: jens.is.located@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: xercesj | --------------------------------+-------------------------------- Comment (by mmpestorich@…): I ran into the same issue with the following version of java 7: {{{ java version "1.7.0_11" Java(TM) SE Runtime Environment (build 1.7.0_11-b21) Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode) }}} I attached a patch (macports-xerces-2_11_0.patch) that allows xercesj to build but after reading through some old tickets on the xerces JIRA I believe the true underlying issue is related to the boot classpath being used by xjavac compiler (part of xercej-tools). See https://issues.apache.org/jira/browse/XERCESJ-983?page=all. -- Ticket URL: <https://trac.macports.org/ticket/37217#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37217: Error: Processing of port xercesj failed --------------------------------+-------------------------------- Reporter: jens.is.located@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: xercesj | --------------------------------+-------------------------------- Changes (by cal@…): * status: new => closed * resolution: => fixed Comment: Commited in r105746 after somebody reported the patch to be working on IRC. This might not be the ideal way to fix this issue, though. -- Ticket URL: <https://trac.macports.org/ticket/37217#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts