Bug#907763: ant-contrib: FTBFS in buster/sid (failing tests)

Santiago Vila sanvila at debian.org
Sat Sep 1 17:30:47 BST 2018


Package: src:ant-contrib
Version: 1.0~b3+svn177-9
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --with maven-repo-helper
   dh_update_autotools_config -i
   dh_auto_configure -i
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<BUILDDIR>>/ant-contrib-1.0~b3+svn177'
dh_auto_build -- jar
	ant -propertyfile ./debian/ant.properties -Duser.name debian jar
Buildfile: /<<BUILDDIR>>/ant-contrib-1.0~b3+svn177/build.xml

init:

configure:

resolve:

classpath-ivy:

classpath-no-ivy:

classpath:

compile:
    [mkdir] Created dir: /<<BUILDDIR>>/ant-contrib-1.0~b3+svn177/target/classes
    [javac] /<<BUILDDIR>>/ant-contrib-1.0~b3+svn177/build.xml:113: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Using javac -source 1.4 is no longer supported, switching to 7
    [javac] Using javac -target 1.4 is no longer supported, switching to 7
    [javac] Compiling 111 source files to /<<BUILDDIR>>/ant-contrib-1.0~b3+svn177/target/classes
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 7
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 warning
     [copy] Copying 2 files to /<<BUILDDIR>>/ant-contrib-1.0~b3+svn177/target/classes

jar:
      [jar] Building jar: /<<BUILDDIR>>/ant-contrib-1.0~b3+svn177/target/ant-contrib.jar

BUILD SUCCESSFUL
Total time: 4 seconds
make[1]: Leaving directory '/<<BUILDDIR>>/ant-contrib-1.0~b3+svn177'
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<BUILDDIR>>/ant-contrib-1.0~b3+svn177'
dh_auto_build -- test
	ant -propertyfile ./debian/ant.properties -Duser.name debian test
Buildfile: /<<BUILDDIR>>/ant-contrib-1.0~b3+svn177/build.xml

init:

configure:

resolve:

classpath-ivy:

classpath-no-ivy:

classpath:

compile:
    [javac] /<<BUILDDIR>>/ant-contrib-1.0~b3+svn177/build.xml:113: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Using javac -source 1.4 is no longer supported, switching to 7
    [javac] Using javac -target 1.4 is no longer supported, switching to 7

compile-tests:
    [mkdir] Created dir: /<<BUILDDIR>>/ant-contrib-1.0~b3+svn177/target/test-classes
    [javac] /<<BUILDDIR>>/ant-contrib-1.0~b3+svn177/build.xml:127: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Using javac -source 1.4 is no longer supported, switching to 7
    [javac] Using javac -target 1.4 is no longer supported, switching to 7
    [javac] Compiling 25 source files to /<<BUILDDIR>>/ant-contrib-1.0~b3+svn177/target/test-classes
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 7
    [javac] 1 warning
     [copy] Copying 74 files to /<<BUILDDIR>>/ant-contrib-1.0~b3+svn177/target/test-classes

gump-safe-test:

init:

configure:

resolve:

classpath-ivy:

classpath-no-ivy:

classpath:

compile:
    [javac] /<<BUILDDIR>>/ant-contrib-1.0~b3+svn177/build.xml:113: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Using javac -source 1.4 is no longer supported, switching to 7
    [javac] Using javac -target 1.4 is no longer supported, switching to 7

compile-tests:
    [javac] /<<BUILDDIR>>/ant-contrib-1.0~b3+svn177/build.xml:127: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Using javac -source 1.4 is no longer supported, switching to 7
    [javac] Using javac -target 1.4 is no longer supported, switching to 7

jar:

run-test:
    [junit] Testsuite: net.sf.antcontrib.design.VerifyDesignTest
    [junit] Tests run: 41, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.467 sec
    [junit] 
    [junit] Testsuite: net.sf.antcontrib.logic.AntCallBackTest
    [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.252 sec
    [junit] 
    [junit] Testsuite: net.sf.antcontrib.logic.AssertTest
    [junit] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.423 sec
    [junit] 
    [junit] Testsuite: net.sf.antcontrib.logic.ForTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.138 sec
    [junit] 
    [junit] Testsuite: net.sf.antcontrib.logic.ForeachTaskTest
    [junit] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.659 sec
    [junit] 
    [junit] Testsuite: net.sf.antcontrib.logic.IfTaskTest
    [junit] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.588 sec
    [junit] 
    [junit] Testsuite: net.sf.antcontrib.logic.OutOfDateTest
    [junit] Tests run: 7, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.427 sec
    [junit] 
    [junit] Testcase: testFileset(net.sf.antcontrib.logic.OutOfDateTest):	FAILED
    [junit] done.y
    [junit] junit.framework.AssertionFailedError: done.y
    [junit] 	at net.sf.antcontrib.logic.OutOfDateTest.testFileset(OutOfDateTest.java:77)
    [junit] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    [junit] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [junit] 	at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    [junit] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [junit] 	at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    [junit] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [junit] 
    [junit] 
    [junit] Test net.sf.antcontrib.logic.OutOfDateTest FAILED
    [junit] Testsuite: net.sf.antcontrib.logic.RelentlessTaskTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.189 sec
    [junit] 
    [junit] Testsuite: net.sf.antcontrib.logic.SwitchTest
    [junit] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.411 sec
    [junit] 
    [junit] Testsuite: net.sf.antcontrib.logic.ThrowTaskTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.048 sec
    [junit] 
    [junit] Testsuite: net.sf.antcontrib.logic.TimestampSelectorTest
    [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.215 sec
    [junit] 
    [junit] Testsuite: net.sf.antcontrib.logic.TryCatchTaskTest
    [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.263 sec
    [junit] 
    [junit] Testsuite: net.sf.antcontrib.math.MathTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.105 sec
    [junit] 
    [junit] Testsuite: net.sf.antcontrib.platform.OsFamilyTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053 sec
    [junit] 
    [junit] Testsuite: net.sf.antcontrib.platform.ShellScriptTest
    [junit] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.822 sec
    [junit] 
    [junit] Testsuite: net.sf.antcontrib.process.LimitTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.091 sec
    [junit] 
    [junit] Testsuite: net.sf.antcontrib.property.PathToFileSetTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.074 sec
    [junit] 
    [junit] Testsuite: net.sf.antcontrib.property.PropertyCopyTest
    [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.223 sec
    [junit] 
    [junit] Testsuite: net.sf.antcontrib.property.PropertySelectorTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.113 sec
    [junit] 
    [junit] Testsuite: net.sf.antcontrib.property.VariableTest
    [junit] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.443 sec
    [junit] 
    [junit] Testsuite: net.sf.antcontrib.walls.CompileWithWallsTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.065 sec
    [junit] 

BUILD FAILED
/<<BUILDDIR>>/ant-contrib-1.0~b3+svn177/build.xml:315: The following error occurred while executing this line:
/<<BUILDDIR>>/ant-contrib-1.0~b3+svn177/build.xml:301: JUnit failure (true) encountered.

Total time: 20 seconds
dh_auto_build: ant -propertyfile ./debian/ant.properties -Duser.name debian test returned exit code 1
make[1]: *** [debian/rules:12: override_dh_auto_test] Error 2
make[1]: Leaving directory '/<<BUILDDIR>>/ant-contrib-1.0~b3+svn177'
make: *** [debian/rules:6: build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

The build was made in my autobuilder with "dpkg-buildpackage -A"
but it also fails here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ant-contrib.html

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.

Thanks.



More information about the pkg-java-maintainers mailing list