Opened 12 years ago
Closed 12 years ago
#37217 closed defect (fixed)
Error: Processing of port xercesj failed
Reported by: | jens.is.located@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | mmpestorich (Mike M Pestorich), cooljeanius (Eric Gallager) | |
Port: | xercesj |
Description
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
Attachments (3)
Change History (13)
Changed 12 years ago by jens.is.located@…
comment:1 Changed 12 years ago by jens.is.located@…
Cc: | jens.is.located@… added |
---|
comment:2 Changed 12 years ago by mf2k (Frank Schima)
Cc: | jens.is.located@… removed |
---|
The reporter is automatically Cc'ed.
comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
This was not a clean build attempt; could you please clean and try again?
comment:4 Changed 12 years ago 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
Changed 12 years ago by jens.is.located@…
Attachment: | main.2.log added |
---|
comment:5 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
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 mailing list discussion.
But it builds fine for me on Mountain Lion. How did you install Java? Did you use this method or something else? What does "java -version" say?
comment:6 Changed 12 years ago 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
comment:8 Changed 12 years ago by mmpestorich (Mike M Pestorich)
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.
Changed 12 years ago by mmpestorich (Mike M Pestorich)
Attachment: | macports-xerces-2_11_0.patch added |
---|
comment:10 Changed 12 years ago by neverpanic (Clemens Lang)
Resolution: | → fixed |
---|---|
Status: | new → closed |
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.
Cc Me!