Bug#851030: axis: FTBFS: /<<PKGBUILDDIR>>/tools/build.xml:105: you can only specify one of the dir and file attributes

Lucas Nussbaum lucas at debian.org
Wed Jan 11 19:04:00 UTC 2017


Source: axis
Version: 1.4-24
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20170111 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
>  debian/rules build
> test -x debian/rules
> mkdir -p "."
> cd . && /usr/lib/jvm/default-java/bin/java -classpath /usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/java/wsdl4j.jar:/usr/share/java/commons-logging.jar:/usr/share/java/commons-discovery.jar:/usr/share/java/commons-httpclient.jar:/usr/share/java/javax.mail.jar:/usr/share/java/servlet-api-3.1.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dant.home=/usr/share/ant org.apache.tools.ant.Main -Dcompile.debug=true -Dcompile.optimize=true compile javadocs
> Buildfile: /<<PKGBUILDDIR>>/build.xml
> Warning: 'file:xmls/properties.xml' in /<<PKGBUILDDIR>>/build.xml should be expressed simply as 'xmls/properties.xml' for compliance with other XML tools
> Warning: 'file:xmls/path_refs.xml' in /<<PKGBUILDDIR>>/build.xml should be expressed simply as 'xmls/path_refs.xml' for compliance with other XML tools
> Warning: 'file:xmls/taskdefs.xml' in /<<PKGBUILDDIR>>/build.xml should be expressed simply as 'xmls/taskdefs.xml' for compliance with other XML tools
> Warning: 'file:xmls/targets.xml' in /<<PKGBUILDDIR>>/build.xml should be expressed simply as 'xmls/targets.xml' for compliance with other XML tools
> 
> axis-clover-setenv:
> 
> axis-clover-setup:
> 
> axis-xmlbeans-setenv:
> 
> axis-xmlbeans-setup:
> 
> setenv:
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build/classes
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build/lib
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build/work
> 
> check-javadoc-needed:
> 
> printEnv:
>      [echo] -----------------------------------------------------------------
>      [echo]        Build environment for Axis 1.4 [2005]   
>      [echo] -----------------------------------------------------------------
>      [echo] Building with Apache Ant(TM) version 1.9.8 compiled on January 6 2017
>      [echo] using build file /<<PKGBUILDDIR>>/build.xml
>      [echo] Java 1.8.0_111 located at /usr/lib/jvm/java-8-openjdk-amd64/jre 
>      [echo] -----------------------------------------------------------------
>      [echo] --- Flags (Note: If the {property name} is displayed, 
>      [echo]            then the component is not present)
>      [echo] 
>      [echo] basedir = /<<PKGBUILDDIR>>
>      [echo] axis.home = /<<PKGBUILDDIR>>
>      [echo] build.dir = /<<PKGBUILDDIR>>/build
>      [echo] build.dest = /<<PKGBUILDDIR>>/build/classes
>      [echo] lib.dir = /<<PKGBUILDDIR>>/lib
>      [echo] 
>      [echo] === Required Libraries (for building code) ===
>      [echo] activation.present=true
>      [echo] commons-discovery.present=true
>      [echo] commons-logging.present=true
>      [echo] wsdl4j.present=true
>      [echo] 
>      [echo] --- Optional Libraries (for building code) ---
>      [echo] attachments.present=true
>      [echo] bsf.present=${bsf.present}
>      [echo] castor.present=${castor.present}
>      [echo] commons-httpclient.present=true
>      [echo] commons-net.present=${commons-net.present}
>      [echo] ibm.jsse.present=${ibm.jsse.present}
>      [echo] jimi.present=${jimi.present}
>      [echo] jms.present=${jms.present}
>      [echo] jetty.present=${jetty.present}
>      [echo] jdk14.jsse.present=true
>      [echo] mailapi.present=true
>      [echo] regexp.present=${regexp.present}
>      [echo] security.present=${security.present}
>      [echo] servlet.present=true
>      [echo] sun.jsse.present=true
>      [echo] xmlbeans.present=${xmlbeans.present}
>      [echo] 
>      [echo] --- Miscellaneous (for running tests) ---
>      [echo] axis-ant.present=${axis-ant.present}
>      [echo] clover.present=${clover.present}
>      [echo] httpunit.present=${httpunit.present}
>      [echo] junit.present=${junit.present}
>      [echo] log4j.present=${log4j.present}
>      [echo] 
>      [echo] --- Property values ---
>      [echo] debug=on
>      [echo] nowarn=off
>      [echo] source=1.3
>      [echo] target=1.3
>      [echo] deprecation=true
>      [echo] build.compiler=${build.compiler}
>      [echo] javac.fork=no
>      [echo] axis_nojavadocs=${env.axis_nojavadocs}
>      [echo] javax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
>      [echo] javax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl
>      [echo] sun.boot.class.path=/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/resources.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jsse.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jce.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/charsets.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jfr.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/classes
>      [echo] jikes.class.path=${jikes.class.path}
>      [echo] 
>      [echo] -- Network Settings ---
>      [echo] 
>      [echo] http.proxyHost = 
>      [echo] http.proxyPort = 
>      [echo] http.nonProxyHosts = localhost
>      [echo] http.proxyUser = 
>      [echo] http.proxyPassword = 
>      [echo] 
>      [echo] -- Test Environment for AXIS ---
>      [echo] 
>      [echo] test.functional.remote = no
>      [echo] test.functional.local = yes
>      [echo] test.functional.both = no
>      [echo] test.functional.reportdir = /<<PKGBUILDDIR>>/test-reports
>      [echo] test.functional.SimpleAxisPort = 8080
>      [echo] test.functional.TCPListenerPort = 8088
>      [echo] test.functional.fail = yes
>      [echo] 
>      [echo] classpath: \build\axis-XlUahN\axis-1.4\${xercesImpl.jar};\build\axis-XlUahN\axis-1.4\${xmlParserAPIs.jar};\build\axis-XlUahN\axis-1.4\test\lib\xalan-2.6.0.jar;\build\axis-XlUahN\axis-1.4\${xml-apis.jar};\build\axis-XlUahN\axis-1.4\${xerces.jar};\build\axis-XlUahN\axis-1.4\test\lib\jakarta-oro-2.0.5.jar;\build\axis-XlUahN\axis-1.4\test\lib\xmlunit1.0.jar;\build\axis-XlUahN\axis-1.4\lib\jsse.jar;\build\axis-XlUahN\axis-1.4\lib\JimiProClasses.zip;\build\axis-XlUahN\axis-1.4\lib\activation.jar;\build\axis-XlUahN\axis-1.4\lib\mailapi.jar;\usr\lib\jvm\java-8-openjdk-amd64\lib\tools.jar;\build\axis-XlUahN\axis-1.4\${j2ee.jar};\build\axis-XlUahN\axis-1.4\lib\junit.jar;\build\axis-XlUahN\axis-1.4\${servlet.jar};\usr\share\ant\lib\ant.jar;\usr\share\ant\lib\ant-launcher.jar;\usr\share\java\wsdl4j.jar;\usr\share\java\commons-logging.jar;\usr\share\java\commons-discovery.jar;\usr\share\java\commons-httpclient.jar;\usr\share\java\javax.mail.jar;\usr\share\java\servlet-api-3.1.jar;\usr\lib\jvm\default-java\lib\tools.jar;\build\axis-XlUahN\axis-1.4\build\classes;\build\axis-XlUahN\axis-1.4\build\tools;\build\axis-XlUahN\axis-1.4\build\lib\axis-ant.jar;\build\axis-XlUahN\axis-1.4\build\lib\axis-schema.jar
>      [echo] 
> 
> compile:
>     [javac] /<<PKGBUILDDIR>>/build.xml:99: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 674 source files to /<<PKGBUILDDIR>>/build/classes
>     [javac] warning: [options] source value 1.3 is obsolete and will be removed in a future release
>     [javac] warning: [options] target value 1.3 is obsolete and will be removed in a future release
>     [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/attachments/DimeAttachmentStreams.java:14: warning: unmappable character for encoding ASCII
>     [javac]  * use of Axis? DimeDelimitedInputStream to parse the data in the HTTP stream
>     [javac]               ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/attachments/MultipartAttachmentStreams.java:27: warning: unmappable character for encoding ASCII
>     [javac]  * the root part of the multipart-related message). Our DIME counterpart didn?t
>     [javac]                                                                              ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/components/net/JSSESocketFactory.java:419: warning: unmappable character for encoding ASCII
>     [javac] 			// server???
>     [javac] 			         ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/components/net/JSSESocketFactory.java:419: warning: unmappable character for encoding ASCII
>     [javac] 			// server???
>     [javac] 			          ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/components/net/JSSESocketFactory.java:419: warning: unmappable character for encoding ASCII
>     [javac] 			// server???
>     [javac] 			           ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/components/net/JSSESocketFactory.java:431: warning: unmappable character for encoding ASCII
>     [javac] 			// I f we ??? r e i n s t r i c t mode ,
>     [javac] 			          ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/components/net/JSSESocketFactory.java:431: warning: unmappable character for encoding ASCII
>     [javac] 			// I f we ??? r e i n s t r i c t mode ,
>     [javac] 			           ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/components/net/JSSESocketFactory.java:431: warning: unmappable character for encoding ASCII
>     [javac] 			// I f we ??? r e i n s t r i c t mode ,
>     [javac] 			            ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/components/net/JSSESocketFactory.java:432: warning: unmappable character for encoding ASCII
>     [javac] 			// [ ???.foo.com] is not allowed to match [a.b.foo.com]
>     [javac] 			     ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/components/net/JSSESocketFactory.java:432: warning: unmappable character for encoding ASCII
>     [javac] 			// [ ???.foo.com] is not allowed to match [a.b.foo.com]
>     [javac] 			      ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/components/net/JSSESocketFactory.java:432: warning: unmappable character for encoding ASCII
>     [javac] 			// [ ???.foo.com] is not allowed to match [a.b.foo.com]
>     [javac] 			       ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/enum/Scope.java:17: warning: as of release 5, 'enum' is a keyword, and may not be used as an identifier
>     [javac] package org.apache.axis.enum;
>     [javac]                         ^
>     [javac]   (use -source 5 or higher to use 'enum' as a keyword)
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/enum/Style.java:17: warning: as of release 5, 'enum' is a keyword, and may not be used as an identifier
>     [javac] package org.apache.axis.enum;
>     [javac]                         ^
>     [javac]   (use -source 5 or higher to use 'enum' as a keyword)
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/enum/Use.java:17: warning: as of release 5, 'enum' is a keyword, and may not be used as an identifier
>     [javac] package org.apache.axis.enum;
>     [javac]                         ^
>     [javac]   (use -source 5 or higher to use 'enum' as a keyword)
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/components/net/SunFakeTrustSocketFactory.java:24: warning: [deprecation] SSLContext in com.sun.net.ssl has been deprecated
>     [javac] import com.sun.net.ssl.SSLContext;
>     [javac]                       ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/components/net/SunFakeTrustSocketFactory.java:25: warning: [deprecation] TrustManager in com.sun.net.ssl has been deprecated
>     [javac] import com.sun.net.ssl.TrustManager;
>     [javac]                       ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/components/net/SunFakeTrustSocketFactory.java:26: warning: [deprecation] X509TrustManager in com.sun.net.ssl has been deprecated
>     [javac] import com.sun.net.ssl.X509TrustManager;
>     [javac]                       ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/components/net/SunJSSESocketFactory.java:26: warning: [deprecation] SSLContext in com.sun.net.ssl has been deprecated
>     [javac] import com.sun.net.ssl.SSLContext;
>     [javac]                       ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/providers/java/RMIProvider.java:26: warning: [deprecation] RMISecurityManager in java.rmi has been deprecated
>     [javac] import java.rmi.RMISecurityManager;
>     [javac]                ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/transport/http/AxisServlet.java:33: warning: [deprecation] HttpUtils in javax.servlet.http has been deprecated
>     [javac] import javax.servlet.http.HttpUtils;
>     [javac]                          ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/wsdl/symbolTable/SymbolTable.java:490: warning: [deprecation] toURL() in File has been deprecated
>     [javac]                 uri = f.toURL().toString();
>     [javac]                        ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/wsdl/symbolTable/SymbolTable.java:810: warning: [deprecation] toURL() in File has been deprecated
>     [javac]                 parent = parentFile.toURL(); 
>     [javac]                                    ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/utils/URLHashSet.java:71: warning: [deprecation] toURL() in File has been deprecated
>     [javac]                     return f.toURL();
>     [javac]                             ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/components/compiler/Javac.java:89: warning: [deprecation] toURL() in File has been deprecated
>     [javac]                     toolsURL = f.toURL();
>     [javac]                                 ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/components/net/SunJSSESocketFactory.java:82: warning: [deprecation] SSLContext in com.sun.net.ssl has been deprecated
>     [javac]             SSLContext context = getContext();
>     [javac]             ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/components/net/SunJSSESocketFactory.java:98: warning: [deprecation] SSLContext in com.sun.net.ssl has been deprecated
>     [javac]     protected SSLContext getContext() throws Exception {
>     [javac]               ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/components/net/SunJSSESocketFactory.java:101: warning: [deprecation] SSLContext in com.sun.net.ssl has been deprecated
>     [javac]             SSLContext context =
>     [javac]             ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/components/net/SunJSSESocketFactory.java:102: warning: [deprecation] SSLContext in com.sun.net.ssl has been deprecated
>     [javac]                     com.sun.net.ssl.SSLContext.getInstance("SSL");    // SSL
>     [javac]                                    ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/components/net/SunJSSESocketFactory.java:150: warning: [deprecation] KeyManagerFactory in com.sun.net.ssl has been deprecated
>     [javac]         com.sun.net.ssl.KeyManagerFactory kmf =
>     [javac]                        ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/components/net/SunJSSESocketFactory.java:151: warning: [deprecation] KeyManagerFactory in com.sun.net.ssl has been deprecated
>     [javac]                 com.sun.net.ssl.KeyManagerFactory.getInstance(algorithm);
>     [javac]                                ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/components/net/SunJSSESocketFactory.java:156: warning: [deprecation] TrustManager in com.sun.net.ssl has been deprecated
>     [javac]         com.sun.net.ssl.TrustManager[] tm = null;
>     [javac]                        ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/components/net/SunJSSESocketFactory.java:159: warning: [deprecation] TrustManagerFactory in com.sun.net.ssl has been deprecated
>     [javac]             com.sun.net.ssl.TrustManagerFactory tmf =
>     [javac]                            ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/components/net/SunJSSESocketFactory.java:160: warning: [deprecation] TrustManagerFactory in com.sun.net.ssl has been deprecated
>     [javac]                     com.sun.net.ssl.TrustManagerFactory.getInstance("SunX509");
>     [javac]                                    ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/components/net/SunJSSESocketFactory.java:168: warning: [deprecation] SSLContext in com.sun.net.ssl has been deprecated
>     [javac]         SSLContext context =
>     [javac]         ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/components/net/SunJSSESocketFactory.java:169: warning: [deprecation] SSLContext in com.sun.net.ssl has been deprecated
>     [javac]                 com.sun.net.ssl.SSLContext.getInstance(protocol);    // SSL
>     [javac]                                ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/components/net/SunFakeTrustSocketFactory.java:53: warning: [deprecation] SSLContext in com.sun.net.ssl has been deprecated
>     [javac]     protected SSLContext getContext() throws Exception {
>     [javac]               ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/components/net/SunFakeTrustSocketFactory.java:56: warning: [deprecation] SSLContext in com.sun.net.ssl has been deprecated
>     [javac]             SSLContext sc = SSLContext.getInstance("SSL");
>     [javac]             ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/components/net/SunFakeTrustSocketFactory.java:56: warning: [deprecation] SSLContext in com.sun.net.ssl has been deprecated
>     [javac]             SSLContext sc = SSLContext.getInstance("SSL");
>     [javac]                             ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/components/net/SunFakeTrustSocketFactory.java:59: warning: [deprecation] TrustManager in com.sun.net.ssl has been deprecated
>     [javac]                     new TrustManager[]{new FakeX509TrustManager()},
>     [javac]                         ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/components/net/SunFakeTrustSocketFactory.java:74: warning: [deprecation] X509TrustManager in com.sun.net.ssl has been deprecated
>     [javac]     public static class FakeX509TrustManager implements X509TrustManager {
>     [javac]                                                         ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/providers/java/RMIProvider.java:59: warning: [deprecation] RMISecurityManager in java.rmi has been deprecated
>     [javac]             System.setSecurityManager(new RMISecurityManager());
>     [javac]                                           ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/transport/http/AxisServlet.java:280: warning: [deprecation] HttpUtils in javax.servlet.http has been deprecated
>     [javac]                     String url = HttpUtils.getRequestURL(request).toString();
>     [javac]                                  ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/transport/http/AxisServlet.java:652: warning: [deprecation] HttpUtils in javax.servlet.http has been deprecated
>     [javac]             String url = HttpUtils.getRequestURL(req).toString();
>     [javac]                          ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/transport/http/AxisServlet.java:1200: warning: [deprecation] HttpUtils in javax.servlet.http has been deprecated
>     [javac]                         String url = HttpUtils.getRequestURL(request).toString();
>     [javac]                                      ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/utils/ClassUtils.java:294: warning: [deprecation] toURL() in File has been deprecated
>     [javac]                 urls[i] = new File(names[i]).toURL();
>     [javac]                                             ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/utils/ClasspathUtils.java:190: warning: [deprecation] decode(String) in URLDecoder has been deprecated
>     [javac]                     classpath.append(URLDecoder.decode(path));
>     [javac]                                                ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/utils/SOAPMonitor.java:367: warning: [deprecation] show() in Dialog has been deprecated
>     [javac]         login.show();
>     [javac]              ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/utils/SOAPMonitor.java:411: warning: [deprecation] show() in Window has been deprecated
>     [javac]         progress.show();
>     [javac]                 ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/utils/SOAPMonitor.java:950: warning: [deprecation] hide() in Dialog has been deprecated
>     [javac]                 this.hide();
>     [javac]                     ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/utils/SOAPMonitor.java:2353: warning: [deprecation] getSelectedValues() in JList has been deprecated
>     [javac]                 Object[] sels = service_list.getSelectedValues();
>     [javac]                                             ^
>     [javac] /<<PKGBUILDDIR>>/src/org/apache/axis/utils/SOAPMonitor.java:2625: warning: [deprecation] show() in Dialog has been deprecated
>     [javac]             dialog.show();
>     [javac]                   ^
>     [javac] 54 warnings
>      [copy] Copying 1 file to /<<PKGBUILDDIR>>/build/classes/org/apache/axis/server
>      [copy] Copying 1 file to /<<PKGBUILDDIR>>/build/classes/org/apache/axis/client
>      [copy] Copying 1 file to /<<PKGBUILDDIR>>/build/classes
>      [copy] Copying 1 file to /<<PKGBUILDDIR>>/build/classes
>      [copy] Copying 2 files to /<<PKGBUILDDIR>>/build/classes/org/apache/axis/i18n
>      [copy] Copying 3 files to /<<PKGBUILDDIR>>/build/classes/org/apache/axis/utils
>       [jar] Building jar: /<<PKGBUILDDIR>>/build/lib/axis.jar
>       [jar] Building jar: /<<PKGBUILDDIR>>/build/lib/jaxrpc.jar
>       [jar] Building jar: /<<PKGBUILDDIR>>/build/lib/saaj.jar
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/tools/lib
> 
> axis-clover-setenv:
> 
> axis-clover-setup:
> 
> axis-xmlbeans-setenv:
> 
> axis-xmlbeans-setup:
> 
> setenv:
> 
> copy:
> 
> compile:
>      [echo] Compiling tools.*
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build/tools
>      [echo] Building ForEach
>     [javac] /<<PKGBUILDDIR>>/tools/build.xml:70: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 3 source files to /<<PKGBUILDDIR>>/build/tools
>     [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.3
>     [javac] warning: [options] source value 1.3 is obsolete and will be removed in a future release
>     [javac] warning: [options] target value 1.4 is obsolete and will be removed in a future release
>     [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
>     [javac] /<<PKGBUILDDIR>>/tools/org/apache/axis/tools/ant/foreach/ParamSet.java:86: warning: as of release 5, 'enum' is a keyword, and may not be used as an identifier
>     [javac]         Enumeration enum = filesets.elements();
>     [javac]                     ^
>     [javac]   (use -source 5 or higher to use 'enum' as a keyword)
>     [javac] /<<PKGBUILDDIR>>/tools/org/apache/axis/tools/ant/foreach/ParamSet.java:87: warning: as of release 5, 'enum' is a keyword, and may not be used as an identifier
>     [javac]         while (enum.hasMoreElements()) {
>     [javac]                ^
>     [javac]   (use -source 5 or higher to use 'enum' as a keyword)
>     [javac] /<<PKGBUILDDIR>>/tools/org/apache/axis/tools/ant/foreach/ParamSet.java:88: warning: as of release 5, 'enum' is a keyword, and may not be used as an identifier
>     [javac]             FileSet fileSet = (FileSet) enum.nextElement();
>     [javac]                                         ^
>     [javac]   (use -source 5 or higher to use 'enum' as a keyword)
>     [javac] /<<PKGBUILDDIR>>/tools/org/apache/axis/tools/ant/foreach/ParamSet.java:106: warning: as of release 5, 'enum' is a keyword, and may not be used as an identifier
>     [javac]         enum = items.elements();
>     [javac]         ^
>     [javac]   (use -source 5 or higher to use 'enum' as a keyword)
>     [javac] /<<PKGBUILDDIR>>/tools/org/apache/axis/tools/ant/foreach/ParamSet.java:107: warning: as of release 5, 'enum' is a keyword, and may not be used as an identifier
>     [javac]         while (enum.hasMoreElements()) {
>     [javac]                ^
>     [javac]   (use -source 5 or higher to use 'enum' as a keyword)
>     [javac] /<<PKGBUILDDIR>>/tools/org/apache/axis/tools/ant/foreach/ParamSet.java:108: warning: as of release 5, 'enum' is a keyword, and may not be used as an identifier
>     [javac]             ParamItem item = (ParamItem) enum.nextElement();
>     [javac]                                          ^
>     [javac]   (use -source 5 or higher to use 'enum' as a keyword)
>     [javac] 10 warnings
>      [echo] Building RunAxisFunctionalTest
>     [javac] /<<PKGBUILDDIR>>/tools/build.xml:81: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 2 source files to /<<PKGBUILDDIR>>/build/tools
>     [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.3
>     [javac] warning: [options] source value 1.3 is obsolete and will be removed in a future release
>     [javac] warning: [options] target value 1.4 is obsolete and will be removed in a future release
>     [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
>     [javac] 4 warnings
>      [echo] Building WSDL tasks
>     [javac] /<<PKGBUILDDIR>>/tools/build.xml:92: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 7 source files to /<<PKGBUILDDIR>>/build/tools
>     [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.3
>     [javac] warning: [options] source value 1.3 is obsolete and will be removed in a future release
>     [javac] warning: [options] target value 1.4 is obsolete and will be removed in a future release
>     [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
>     [javac] Note: /<<PKGBUILDDIR>>/tools/org/apache/axis/tools/ant/wsdl/Java2WsdlAntTask.java uses or overrides a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] 4 warnings
> 
> BUILD FAILED
> /<<PKGBUILDDIR>>/build.xml:235: The following error occurred while executing this line:
> /<<PKGBUILDDIR>>/tools/build.xml:105: you can only specify one of the dir and file attributes
> 
> Total time: 4 seconds
> /usr/share/cdbs/1/class/ant.mk:39: recipe for target 'debian/stamp-ant-build' failed
> make: *** [debian/stamp-ant-build] Error 1

The full build log is available from:
   http://aws-logs.debian.net/2017/01/11/axis_1.4-24_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the pkg-java-maintainers mailing list