Opened 15 years ago
Closed 15 years ago
#23144 closed defect (fixed)
xom and jaxen have a circular dependency
Reported by: | robin.smith@… | Owned by: | jberry@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | nox@…, a.pellizzari@…, macports@…, wanderingwill@…, arto.bendiken@…, francis@…, carlton@…, peremskym@…, ryandesign (Ryan Carsten Schmidt) | |
Port: | jaxen xom |
Description (last modified by jmroot (Joshua Root))
sudo /opt/local/bin/port install xom -d ---> Computing dependencies for xom ---> Building xom Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM" && ant jar javadoc -Djaxen.dir=/opt/local/share/java/jaxen.jar " returned error 1 Command output: [javac] if (parent == null) return JaxenConstants.EMPTY_ITERATOR; [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenNavigator.java:554: cannot find symbol [javac] symbol : variable JaxenConstants [javac] location: class nu.xom.JaxenNavigator [javac] return JaxenConstants.EMPTY_ITERATOR; [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenNavigator.java:575: cannot find symbol [javac] symbol : variable JaxenConstants [javac] location: class nu.xom.JaxenNavigator [javac] if (result == null) return JaxenConstants.EMPTY_ITERATOR; [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenNavigator.java:577: cannot find symbol [javac] symbol : class SingleObjectIterator [javac] location: class nu.xom.JaxenNavigator [javac] return new SingleObjectIterator(result); [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenNavigator.java:580: cannot find symbol [javac] symbol : variable JaxenConstants [javac] location: class nu.xom.JaxenNavigator [javac] return JaxenConstants.EMPTY_ITERATOR; [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] 43 errors BUILD FAILED /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build.xml:223: Compile failed; see the compiler error output for details. Total time: 4 seconds
Attachments (1)
Change History (20)
comment:1 Changed 15 years ago by jmroot (Joshua Root)
Description: | modified (diff) |
---|---|
Keywords: | build failure removed |
Owner: | changed from macports-tickets@… to jberry@… |
comment:2 follow-ups: 3 5 Changed 15 years ago by nox@…
Cc: | nox@… added |
---|---|
Version: | 1.8.2 |
Builds just fine here, what does port info xom
say?
comment:3 Changed 15 years ago by a.pellizzari@…
Replying to nox@…:
I have the same failure with xom on snow leopard.
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/java/xom DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/java/xom DEBUG: OS Platform: darwin DEBUG: OS Version: 10.2.0 DEBUG: Mac OS X Version: 10.6 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: not using configure, so not adding the default universal variant DEBUG: Requested variant darwin is not provided by port xom. DEBUG: Requested variant i386 is not provided by port xom. DEBUG: Requested variant macosx is not provided by port xom. DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/apache-ant DEBUG: epoch: in tree: 0 installed: 0 DEBUG: apache-ant 1.7.1_0 exists in the ports tree DEBUG: apache-ant 1.7.1_0 +darwin is the latest installed DEBUG: apache-ant 1.7.1_0 +darwin is active DEBUG: Merging existing variants darwin into variants DEBUG: new fully merged portvariants: DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/apache-ant DEBUG: OS Platform: darwin DEBUG: OS Version: 10.2.0 DEBUG: Mac OS X Version: 10.6 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: 'universal_variant no' specified, so not adding the default universal variant DEBUG: Requested variant i386 is not provided by port apache-ant. DEBUG: Requested variant macosx is not provided by port apache-ant. DEBUG: Executing variant darwin provides darwin DEBUG: No need to upgrade! apache-ant 1.7.1_0 >= apache-ant 1.7.1_0 ---> Computing dependencies for xom DEBUG: Searching for dependency: kaffe DEBUG: Didn't find receipt, going to depspec regex for: kaffe DEBUG: Found Dependency: path: /usr/bin filename: java regex: ^java$ DEBUG: Searching for dependency: apache-ant DEBUG: Found Dependency: receipt exists for apache-ant DEBUG: Executing org.macports.main (xom) DEBUG: Skipping completed org.macports.fetch (xom) DEBUG: Skipping completed org.macports.checksum (xom) DEBUG: Skipping completed org.macports.extract (xom) DEBUG: Skipping completed org.macports.patch (xom) DEBUG: Skipping completed org.macports.configure (xom) ---> Building xom DEBUG: Executing org.macports.build (xom) DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM" && ant jar javadoc -Djaxen.dir=/opt/local/share/java/jaxen.jar' Buildfile: build.xml [taskdef] Could not load definitions from resource clovertasks. It could not be found. init: [echo] ----------- XOM 1.2.4 ------------ prepare-dirs: [delete] Deleting: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/Text.java [copy] Copying 1 file to /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src prepare-fat: prepare: compile-core: [javac] Compiling 246 source files to /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/classes [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/Node.java:27: package org.jaxen does not exist [javac] import org.jaxen.NamespaceContext; [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/XPathContext.java:27: package org.jaxen does not exist [javac] import org.jaxen.NamespaceContext; [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/Node.java:454: cannot find symbol [javac] symbol : class NamespaceContext [javac] location: class nu.xom.Node [javac] private static NamespaceContext emptyContext = new EmptyNamespaceContext(); [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/XPathContext.java:144: cannot find symbol [javac] symbol : class NamespaceContext [javac] location: class nu.xom.XPathContext [javac] NamespaceContext getJaxenContext() { [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenConnector.java:28: package org.jaxen does not exist [javac] import org.jaxen.BaseXPath; [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenConnector.java:29: package org.jaxen does not exist [javac] import org.jaxen.FunctionContext; [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenConnector.java:30: package org.jaxen does not exist [javac] import org.jaxen.JaxenException; [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenConnector.java:31: package org.jaxen does not exist [javac] import org.jaxen.XPathFunctionContext; [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenConnector.java:40: cannot find symbol [javac] symbol: class BaseXPath [javac] class JaxenConnector extends BaseXPath { [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenConnector.java:45: cannot find symbol [javac] symbol : class FunctionContext [javac] location: class nu.xom.JaxenConnector [javac] private static FunctionContext functionContext = new XPathFunctionContext(false); [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenConnector.java:48: cannot find symbol [javac] symbol : class JaxenException [javac] location: class nu.xom.JaxenConnector [javac] JaxenConnector(String expression) throws JaxenException { [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenConnector.java:55: cannot find symbol [javac] symbol : class JaxenException [javac] location: class nu.xom.JaxenConnector [javac] public List selectNodes(Object expression) throws JaxenException { [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenNavigator.java:34: package org.jaxen does not exist [javac] import org.jaxen.DefaultNavigator; [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenNavigator.java:35: package org.jaxen does not exist [javac] import org.jaxen.FunctionCallException; [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenNavigator.java:36: package org.jaxen does not exist [javac] import org.jaxen.JaxenConstants; [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenNavigator.java:37: package org.jaxen does not exist [javac] import org.jaxen.JaxenException; [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenNavigator.java:38: package org.jaxen does not exist [javac] import org.jaxen.NamedAccessNavigator; [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenNavigator.java:39: package org.jaxen does not exist [javac] import org.jaxen.UnsupportedAxisException; [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenNavigator.java:40: package org.jaxen does not exist [javac] import org.jaxen.XPath; [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenNavigator.java:41: package org.jaxen.util does not exist [javac] import org.jaxen.util.SingleObjectIterator; [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenNavigator.java:50: cannot find symbol [javac] symbol: class DefaultNavigator [javac] class JaxenNavigator extends DefaultNavigator implements NamedAccessNavigator { [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenNavigator.java:50: cannot find symbol [javac] symbol: class NamedAccessNavigator [javac] class JaxenNavigator extends DefaultNavigator implements NamedAccessNavigator { [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenNavigator.java:219: cannot find symbol [javac] symbol : class FunctionCallException [javac] location: class nu.xom.JaxenNavigator [javac] public Object getDocument(String url) throws FunctionCallException { [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenNavigator.java:543: cannot find symbol [javac] symbol : class XPath [javac] location: class nu.xom.JaxenNavigator [javac] public XPath parseXPath(String expression) throws JaxenException { [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenNavigator.java:543: cannot find symbol [javac] symbol : class JaxenException [javac] location: class nu.xom.JaxenNavigator [javac] public XPath parseXPath(String expression) throws JaxenException { [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenNavigator.java:549: cannot find symbol [javac] symbol : class UnsupportedAxisException [javac] location: class nu.xom.JaxenNavigator [javac] throws UnsupportedAxisException { [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenNavigator.java:560: cannot find symbol [javac] symbol : class UnsupportedAxisException [javac] location: class nu.xom.JaxenNavigator [javac] throws UnsupportedAxisException { [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/Node.java:456: cannot find symbol [javac] symbol : class NamespaceContext [javac] location: class nu.xom.Node [javac] private static class EmptyNamespaceContext implements NamespaceContext { [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/XPathContext.java:149: cannot find symbol [javac] symbol : class NamespaceContext [javac] location: class nu.xom.XPathContext [javac] private class JaxenNamespaceContext implements NamespaceContext { [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenConnector.java:45: cannot find symbol [javac] symbol : class XPathFunctionContext [javac] location: class nu.xom.JaxenConnector [javac] private static FunctionContext functionContext = new XPathFunctionContext(false); [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenConnector.java:57: cannot find symbol [javac] symbol : variable super [javac] location: class nu.xom.JaxenConnector [javac] List result = super.selectNodes(expression); [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenNavigator.java:78: cannot find symbol [javac] symbol : class SingleObjectIterator [javac] location: class nu.xom.JaxenNavigator [javac] return new SingleObjectIterator(contextNode); [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenNavigator.java:196: cannot find symbol [javac] symbol : variable JaxenConstants [javac] location: class nu.xom.JaxenNavigator [javac] return JaxenConstants.EMPTY_ITERATOR; [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenNavigator.java:205: cannot find symbol [javac] symbol : variable JaxenConstants [javac] location: class nu.xom.JaxenNavigator [javac] if (parent == null) return JaxenConstants.EMPTY_ITERATOR; [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenNavigator.java:206: cannot find symbol [javac] symbol : class SingleObjectIterator [javac] location: class nu.xom.JaxenNavigator [javac] else return new SingleObjectIterator(parent); [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenNavigator.java:220: cannot find symbol [javac] symbol : class FunctionCallException [javac] location: class nu.xom.JaxenNavigator [javac] throw new FunctionCallException("document() function not supported"); [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenNavigator.java:230: cannot find symbol [javac] symbol : variable JaxenConstants [javac] location: class nu.xom.JaxenNavigator [javac] return JaxenConstants.EMPTY_ITERATOR; [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenNavigator.java:242: cannot find symbol [javac] symbol : variable JaxenConstants [javac] location: class nu.xom.JaxenNavigator [javac] return JaxenConstants.EMPTY_ITERATOR; [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenNavigator.java:259: cannot find symbol [javac] symbol : variable JaxenConstants [javac] location: class nu.xom.JaxenNavigator [javac] if (parent == null) return JaxenConstants.EMPTY_ITERATOR; [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenNavigator.java:554: cannot find symbol [javac] symbol : variable JaxenConstants [javac] location: class nu.xom.JaxenNavigator [javac] return JaxenConstants.EMPTY_ITERATOR; [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenNavigator.java:575: cannot find symbol [javac] symbol : variable JaxenConstants [javac] location: class nu.xom.JaxenNavigator [javac] if (result == null) return JaxenConstants.EMPTY_ITERATOR; [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenNavigator.java:577: cannot find symbol [javac] symbol : class SingleObjectIterator [javac] location: class nu.xom.JaxenNavigator [javac] return new SingleObjectIterator(result); [javac] ^ [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenNavigator.java:580: cannot find symbol [javac] symbol : variable JaxenConstants [javac] location: class nu.xom.JaxenNavigator [javac] return JaxenConstants.EMPTY_ITERATOR; [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] 43 errors BUILD FAILED /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build.xml:223: Compile failed; see the compiler error output for details. Total time: 5 seconds Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM" && ant jar javadoc -Djaxen.dir=/opt/local/share/java/jaxen.jar " returned error 1 DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM" && ant jar javadoc -Djaxen.dir=/opt/local/share/java/jaxen.jar " returned error 1 while executing "command_exec build" (procedure "portbuild::build_main" line 9) invoked from within "$procedure $targetname" Warning: the following items did not execute (for xom): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.
port info xom says:
xom @1.2.4 (java, devel, textproc) Description: XOM is a new XML object model. It is an open source (LGPL), tree-based API for processing XML with Java that strives for correctness, simplicity, and performance, in that order. Homepage: http://www.xom.nu/ Build Dependencies: apache-ant Library Dependencies: kaffe Platforms: darwin License: unknown Maintainers: jberry@macports.org, openmaintainer@macports.org
comment:5 Changed 15 years ago by jmroot (Joshua Root)
Replying to nox@…:
Builds just fine here, what does
port info xom
say?
What provides ${prefix}/share/java/jaxen.jar for you? Shouldn't xom have a dependency on that port?
comment:6 Changed 15 years ago by nox@…
Port: | jaxen added |
---|---|
Summary: | xom build failure snow leopard → xom and jaxen have a circular dependency |
Nevermind what I said before, jaxen was already installed (depending on an older xom which wasn't depending on jaxen) when I updated xom. It seems the new version is the one which introduces this circular dependency. I think there is no easy way out of this mess, as Portage is trying to split xom into xom-core and xom-jaxen.
comment:10 Changed 15 years ago by arto.bendiken@…
Here's a workaround that allowed me to get XOM installed on a Leopard machine:
wget http://dist.codehaus.org/jaxen/jars/jaxen-1.1.2.jar sudo mv jaxen-1.1.2.jar /opt/local/share/java/jaxen.jar sudo port install xom sudo rm /opt/local/share/java/jaxen.jar
However, doing a subsequent "sudo port install jaxen" does not work. So, I ended up changing the jaxen portfile so that it simply installs a downloaded jaxen-1.1.2.jar instead of compiling the .jar file from the source code. This allowed me to successfully complete the install of Tomcat 6.0 (i.e. the "tomcat6" port).
comment:11 Changed 15 years ago by twotier97@…
arto,
Thanks for the great info. I was able to get through your workaround. Do you have details on what you did to get jaxen installed? Cheers
Changed 15 years ago by arto.bendiken@…
Attachment: | jaxen-Portfile.txt added |
---|
A binary-only installation of jaxen in order to work around circular XOM/jaxen dependency.
comment:12 follow-ups: 13 14 Changed 15 years ago by arto.bendiken@…
twotier97, I've attached the Portfile I used to make jaxen install successfully. Put this in "/opt/local/var/macports/sources/rsync.macports.org/release/ports/java/jaxen/Portfile", and do:
sudo port clean jaxen sudo port install jaxen
...and it should install successfully, after which Tomcat will also install cleanly.
comment:14 Changed 15 years ago by a.pellizzari@…
Replying to arto.bendiken@…: Thank you arto. It was a great help to me.
comment:18 Changed 15 years ago by mf2k (Frank Schima)
Cc: | peremskym@… added |
---|
Cc reporter of duplicate #24154.
comment:19 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Please remember to preview and use WikiFormatting, and to cc the maintainer. BTW, xom has no variant called "d" so the -d at the end does nothing.