ant failed on noarch dockyard-devel (localhost.localdomain)
arklinux <[email protected]> Fri, 19 Oct 2007 16:55:45 -0500 (CDT)
| Newsgroups | gmane.linux.arklinux.build-watch |
|---|---|
| Message-ID | <20071019215545.308447C0139__12966.925398405$1192831768$gmane$org@www.arklinux.org> |
ant failed to build on noarch for dockyard-devel.
Last 250 lines of build log:
^^^^^^^^^^^^^^^
The type DocumentHandler is deprecated
----------
45. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java (at line 216)
helperImpl.parser.setDocumentHandler(this);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The method setDocumentHandler(DocumentHandler) from the type Parser is deprecated
----------
46. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java (at line 231)
public void startElement(String tag, AttributeList attrs) throws SAXParseException {
^^^^^^^^^^^^^
The type AttributeList is deprecated
----------
47. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java (at line 268)
helperImpl.parser.setDocumentHandler(parentHandler);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The method setDocumentHandler(DocumentHandler) from the type Parser is deprecated
----------
48. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java (at line 275)
static class RootHandler extends HandlerBase {
^^^^^^^^^^^
The type HandlerBase is deprecated
----------
49. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java (at line 335)
public void startElement(String tag, AttributeList attrs) throws SAXParseException {
^^^^^^^^^^^^^
The type AttributeList is deprecated
----------
50. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java (at line 367)
public ProjectHandler(ProjectHelperImpl helperImpl, DocumentHandler parentHandler) {
^^^^^^^^^^^^^^^
The type DocumentHandler is deprecated
----------
51. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java (at line 387)
public void init(String tag, AttributeList attrs) throws SAXParseException {
^^^^^^^^^^^^^
The type AttributeList is deprecated
----------
52. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java (at line 393)
for (int i = 0; i < attrs.getLength(); i++) {
^^^^^^^^^^^^^^^^^
The method getLength() from the type AttributeList is deprecated
----------
53. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java (at line 394)
String key = attrs.getName(i);
^^^^^^^^^^^^^^^^
The method getName(int) from the type AttributeList is deprecated
----------
54. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java (at line 395)
String value = attrs.getValue(i);
^^^^^^^^^^^^^^^^^
The method getValue(int) from the type AttributeList is deprecated
----------
55. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java (at line 406)
throw new SAXParseException("Unexpected attribute \"" + attrs.getName(i) + "\"",
^^^^^^^^^^^^^^^^
The method getName(int) from the type AttributeList is deprecated
----------
56. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java (at line 412)
helperImpl.project.setDefaultTarget(def);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The method setDefaultTarget(String) from the type Project is deprecated
----------
57. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java (at line 461)
public void startElement(String name, AttributeList attrs) throws SAXParseException {
^^^^^^^^^^^^^
The type AttributeList is deprecated
----------
58. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java (at line 482)
private void handleTarget(String tag, AttributeList attrs) throws SAXParseException {
^^^^^^^^^^^^^
The type AttributeList is deprecated
----------
59. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java (at line 501)
public TargetHandler(ProjectHelperImpl helperImpl, DocumentHandler parentHandler) {
^^^^^^^^^^^^^^^
The type DocumentHandler is deprecated
----------
60. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java (at line 522)
public void init(String tag, AttributeList attrs) throws SAXParseException {
^^^^^^^^^^^^^
The type AttributeList is deprecated
----------
61. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java (at line 530)
for (int i = 0; i < attrs.getLength(); i++) {
^^^^^^^^^^^^^^^^^
The method getLength() from the type AttributeList is deprecated
----------
62. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java (at line 531)
String key = attrs.getName(i);
^^^^^^^^^^^^^^^^
The method getName(int) from the type AttributeList is deprecated
----------
63. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java (at line 532)
String value = attrs.getValue(i);
^^^^^^^^^^^^^^^^^
The method getValue(int) from the type AttributeList is deprecated
----------
64. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java (at line 595)
public void startElement(String name, AttributeList attrs) throws SAXParseException {
^^^^^^^^^^^^^
The type AttributeList is deprecated
----------
65. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java (at line 609)
DocumentHandler parent,
^^^^^^^^^^^^^^^
The type DocumentHandler is deprecated
----------
66. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java (at line 611)
AttributeList attrs)
^^^^^^^^^^^^^
The type AttributeList is deprecated
----------
67. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java (at line 638)
DocumentHandler parentHandler) {
^^^^^^^^^^^^^^^
The type DocumentHandler is deprecated
----------
68. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java (at line 706)
public TaskHandler(ProjectHelperImpl helperImpl, DocumentHandler parentHandler,
^^^^^^^^^^^^^^^
The type DocumentHandler is deprecated
----------
69. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java (at line 731)
public void init(String tag, AttributeList attrs) throws SAXParseException {
^^^^^^^^^^^^^
The type AttributeList is deprecated
----------
70. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java (at line 753)
wrapper.setAttributes(attrs);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The method setAttributes(AttributeList) from the type RuntimeConfigurable is deprecated
----------
71. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java (at line 784)
public void startElement(String name, AttributeList attrs) throws SAXParseException {
^^^^^^^^^^^^^
The type AttributeList is deprecated
----------
72. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java (at line 836)
DocumentHandler parentHandler,
^^^^^^^^^^^^^^^
The type DocumentHandler is deprecated
----------
73. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java (at line 867)
public void init(String propType, AttributeList attrs) throws SAXParseException {
^^^^^^^^^^^^^
The type AttributeList is deprecated
----------
74. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java (at line 880)
child = ih.createElement(helperImpl.project, parent, elementName);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The method createElement(Project, Object, String) from the type IntrospectionHelper is deprecated
----------
75. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java (at line 886)
childWrapper.setAttributes(attrs);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The method setAttributes(AttributeList) from the type RuntimeConfigurable is deprecated
----------
76. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java (at line 918)
public void startElement(String name, AttributeList attrs) throws SAXParseException {
^^^^^^^^^^^^^
The type AttributeList is deprecated
----------
77. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java (at line 953)
DocumentHandler parentHandler, Target target) {
^^^^^^^^^^^^^^^
The type DocumentHandler is deprecated
----------
78. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java (at line 974)
public void init(String propType, AttributeList attrs) throws SAXParseException {
^^^^^^^^^^^^^
The type AttributeList is deprecated
----------
79. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java (at line 982)
wrapper.setAttributes(attrs);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The method setAttributes(AttributeList) from the type RuntimeConfigurable is deprecated
----------
80. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java (at line 1015)
public void startElement(String name, AttributeList attrs) throws SAXParseException {
^^^^^^^^^^^^^
The type AttributeList is deprecated
----------
81. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java (at line 1030)
private void configureId(Object target, AttributeList attr) {
^^^^^^^^^^^^^
The type AttributeList is deprecated
----------
82. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/helper/ProjectHelperImpl.java (at line 1031)
String id = attr.getValue("id");
^^^^^^^^^^^^^^^^^^^
The method getValue(String) from the type AttributeList is deprecated
----------
----------
83. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/util/JAXPUtils.java (at line 28)
import org.xml.sax.Parser;
^^^^^^^^^^^^^^^^^^
The type Parser is deprecated
----------
84. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/util/JAXPUtils.java (at line 137)
public static Parser getParser() throws BuildException {
^^^^^^
The type Parser is deprecated
----------
----------
85. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/input/GreedyInputHandler.java (at line 34)
private static final int BUFFER_SIZE = 1024;
^^^^^^^^^^^
The field GreedyInputHandler.BUFFER_SIZE is never read locally
----------
----------
86. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/ant/launch/LaunchException.java (at line 25)
public class LaunchException extends Exception {
^^^^^^^^^^^^^^^
The serializable class LaunchException does not declare a static final serialVersionUID field of type long
----------
----------
87. WARNING in /build-ant-noarch/BUILD/apache-ant-1.7.0/src/main/org/apache/tools/mail/ErrorInQuitException.java (at line 32)
public class ErrorInQuitException extends IOException {
^^^^^^^^^^^^^^^^^^^^
The serializable class ErrorInQuitException does not declare a static final serialVersionUID field of type long
----------
87 problems (87 warnings)... Copying Required Files
.. Building Ant Distribution
Buildfile: build.xml
bootstrap:
prepare:
check_for_optional_packages:
build:
Created dir: /build-ant-noarch/BUILD/apache-ant-1.7.0/build/lib
Compiling 226 source files to /build-ant-noarch/BUILD/apache-ant-1.7.0/build/classes
BUILD FAILED
/build-ant-noarch/BUILD/apache-ant-1.7.0/build.xml:1105: The following error occurred while executing this line:
/build-ant-noarch/BUILD/apache-ant-1.7.0/build.xml:632: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "/usr"
Total time: 5 seconds
.. Failed Building Ant Distribution !
error: Bad exit status from /var/tmp/rpm-tmp.69378 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.69378 (%build)