Opened 15 years ago

Closed 15 years ago

#24154 closed defect (duplicate)

Failed to compile xom when installing tomcat6

Reported by: peremskym@… Owned by: jberry@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: xom

Description (last modified by mf2k (Frank Schima))

I am new to Mac and macports. I tried to install tomcat6 today and got a compilation error when it got to the point of building xom.

MacBook-Pro: $ sudo port install -d tomcat6
--->  Computing dependencies for tomcat6
--->  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: 3 seconds

Error: The following dependencies failed to build: jaxen xom saxpath
Error: Status 1 encountered during processing.
Before reporting a bug, first run the command again with the -d flag to get complete output.

Change History (2)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to jberry@…
Port: xom added

comment:2 Changed 15 years ago by mf2k (Frank Schima)

Resolution: duplicate
Status: newclosed

Duplicate of #23144. Please run a search before filing new tickets.

Note: See TracTickets for help on using tickets.