[MacPorts] #21309: dom4j fails to build
#21309: dom4j fails to build ------------------------------+--------------------------------------------- Reporter: snc@… | Owner: jberry@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.99 Keywords: | Port: dom4j ------------------------------+--------------------------------------------- -- Ticket URL: <http://trac.macports.org/ticket/21309> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21309: dom4j fails to build on Snow Leopard ------------------------------+--------------------------------------------- Reporter: snc@… | Owner: jberry@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: jdk6 | Port: dom4j ------------------------------+--------------------------------------------- Changes (by nox@…): * keywords: => jdk6 * version: 1.8.99 => Comment: I've just attached a patch which implements the missing abstract methods, making the build with JDK 1.6 running smoothly. -- Ticket URL: <http://trac.macports.org/ticket/21309#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21309: dom4j fails to build on Snow Leopard -------------------------------+-------------------------------------------- Reporter: snc@… | Owner: jberry@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: jdk6 Port: dom4j | -------------------------------+-------------------------------------------- Changes (by nox@…): * status: new => closed * resolution: => fixed Comment: r61155 -- Ticket URL: <http://trac.macports.org/ticket/21309#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21309: dom4j fails to build on Snow Leopard -------------------------------+-------------------------------------------- Reporter: snc@… | Owner: jberry@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: jdk6 Port: dom4j | -------------------------------+-------------------------------------------- Comment(by scooper@…): The patch doesn't seem to work too well. I get the following output: {{{ ---> Fetching dom4j ---> Attempting to fetch dom4j-1.6.1.tar.gz from http://downloads.sourceforge.net/dom4j ---> Verifying checksum(s) for dom4j ---> Extracting dom4j ---> Applying patches to dom4j Error: Target org.macports.patch returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_dom4j/work/dom4j-1.6.1" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/ports/java/dom4j/files /patch-JDK-1.6.diff'" returned error 1 Command output: (Stripping trailing CRs from patch.) patching file src/java/org/dom4j/dom/DOMAttribute.java Hunk #1 FAILED at 15. Hunk #2 FAILED at 180. 2 out of 2 hunks FAILED -- saving rejects to file src/java/org/dom4j/dom/DOMAttribute.java.rej (Stripping trailing CRs from patch.) patching file src/java/org/dom4j/dom/DOMDocument.java Hunk #1 FAILED at 15. Hunk #2 FAILED at 303. 2 out of 2 hunks FAILED -- saving rejects to file src/java/org/dom4j/dom/DOMDocument.java.rej (Stripping trailing CRs from patch.) patching file src/java/org/dom4j/dom/DOMDocumentFactory.java Hunk #1 FAILED at 174. 1 out of 1 hunk FAILED -- saving rejects to file src/java/org/dom4j/dom/DOMDocumentFactory.java.rej (Stripping trailing CRs from patch.) patching file src/java/org/dom4j/dom/DOMElement.java Hunk #1 FAILED at 16. Hunk #2 FAILED at 391. 2 out of 2 hunks FAILED -- saving rejects to file src/java/org/dom4j/dom/DOMElement.java.rej (Stripping trailing CRs from patch.) patching file src/java/org/dom4j/tree/AbstractCharacterData.java Hunk #1 FAILED at 10. Hunk #2 FAILED at 43. 2 out of 2 hunks FAILED -- saving rejects to file src/java/org/dom4j/tree/AbstractCharacterData.java.rej (Stripping trailing CRs from patch.) patching file src/java/org/dom4j/tree/AbstractNode.java Hunk #1 FAILED at 20. Hunk #2 FAILED at 233. 2 out of 2 hunks FAILED -- saving rejects to file src/java/org/dom4j/tree/AbstractNode.java.rej Error: The following dependencies failed to build: jaxen dom4j jdom xom saxpath Error: Status 1 encountered during processing. }}} -- Ticket URL: <http://trac.macports.org/ticket/21309#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21309: dom4j fails to build on Snow Leopard -------------------------------+-------------------------------------------- Reporter: snc@… | Owner: jberry@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: jdk6 Port: dom4j | -------------------------------+-------------------------------------------- Comment(by nox@…): Mmh, something must have been wrong between the time when I write this patch from the SVN repository and when I committed it after having migrated to git-svn. The patch ended up with DOS line endings oO. r61185 -- Ticket URL: <http://trac.macports.org/ticket/21309#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21309: dom4j fails to build on Snow Leopard -------------------------------+-------------------------------------------- Reporter: snc@… | Owner: jberry@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: jdk6 Port: dom4j | -------------------------------+-------------------------------------------- Comment(by scooper@…): Better, but it looks like you missed one: {{{ ---> Applying patches to dom4j Error: Target org.macports.patch returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_dom4j/work/dom4j-1.6.1" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/ports/java/dom4j/files /patch-build.xml.diff'" returned error 1 Command output: patching file build.xml Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file build.xml.rej Error: The following dependencies failed to build: jaxen dom4j jdom xom saxpath Error: Status 1 encountered during processing. }}} -- Ticket URL: <http://trac.macports.org/ticket/21309#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21309: dom4j fails to build on Snow Leopard -------------------------------+-------------------------------------------- Reporter: snc@… | Owner: jberry@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: jdk6 Port: dom4j | -------------------------------+-------------------------------------------- Comment(by nox@…): I haven't touched this one. Run `sudo port clean dom4j` and try again. -- Ticket URL: <http://trac.macports.org/ticket/21309#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21309: dom4j fails to build on Snow Leopard -------------------------------+-------------------------------------------- Reporter: snc@… | Owner: jberry@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: jdk6 Port: dom4j | -------------------------------+-------------------------------------------- Comment(by scooper@…): That fixed it. Thanks! -- Ticket URL: <http://trac.macports.org/ticket/21309#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts