Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#23264 closed defect (duplicate)

xom: Broken Build

Reported by: lenming.yeung@… Owned by: ghosthound
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: xom

Description

Unable to install tomcat6 on MacPorts 1.8.2. I also tried adding <compilerarg line="-Xlint:deprecation"/> into build.xml but it still can't find jaxen.

Below is the stack trace:

--->  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.

Change History (5)

comment:1 Changed 15 years ago by lenming.yeung@…

Cc: lenming.yeung@… added

Cc Me!

comment:2 Changed 15 years ago by lenming.yeung@…

comment:3 Changed 15 years ago by jmroot (Joshua Root)

Cc: lenming.yeung@… removed
Owner: changed from macports-tickets@… to ricci@…
Port: tomcat6 added
Priority: HighNormal

As per the ticket guidelines, please remember to fill in the Port field and cc the maintainer, and don't set the Priority to High.

comment:4 Changed 15 years ago by nox@…

Resolution: duplicate
Status: newclosed

comment:5 Changed 15 years ago by jmroot (Joshua Root)

Port: xom added; tomcat6 removed
Summary: Tomcat6: Broken Buildxom: Broken Build
Note: See TracTickets for help on using tickets.