Bug#871352: jdeb: FTBFS: [[1; 31mERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/mapping/LsMapperTestCase.java:[25,45] cannot find symbol

Lucas Nussbaum lucas at debian.org
Mon Aug 7 15:54:03 UTC 2017


Source: jdeb
Version: 1.5-5
Severity: serious
Tags: buster sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20170807 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
> dh build
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_auto_configure
> 	mh_patchpoms -plibjdeb-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
>    dh_auto_build
> 	/usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo package -DskipTests -Dnotimestamp=true -Dlocale=en_US
> [INFO] Scanning for projects...
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building jdeb 1.5
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ jdeb ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 2 resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ jdeb ---
> [WARNING] The POM for org.codehaus.plexus:plexus-compiler-api:jar:2.x is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
> [WARNING] The POM for org.codehaus.plexus:plexus-compiler-javac:jar:2.x is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 49 source files to /<<PKGBUILDDIR>>/target/classes
> [INFO] /<<PKGBUILDDIR>>/src/main/java/org/vafer/jdeb/ControlBuilder.java: /<<PKGBUILDDIR>>/src/main/java/org/vafer/jdeb/ControlBuilder.java uses or overrides a deprecated API.
> [INFO] /<<PKGBUILDDIR>>/src/main/java/org/vafer/jdeb/ControlBuilder.java: Recompile with -Xlint:deprecation for details.
> [INFO] 
> [INFO] --- maven-plugin-plugin:3.5:descriptor (default-descriptor) @ jdeb ---
> [INFO] Using 'UTF-8' encoding to read mojo source files.
> [INFO] java-annotations mojo extractor found 1 mojo descriptor.
> line 8 column 4 - Error: <build> is not recognized!
> line 9 column 6 - Error: <plugins> is not recognized!
> line 10 column 8 - Error: <plugin> is not recognized!
> line 11 column 8 - Error: <artifactid> is not recognized!
> line 12 column 8 - Error: <groupid> is not recognized!
> line 14 column 8 - Error: <configuration> is not recognized!
> [INFO] 
> [INFO] --- maven-plugin-plugin:3.5:descriptor (mojo-descriptor) @ jdeb ---
> [INFO] Using 'UTF-8' encoding to read mojo source files.
> [INFO] java-annotations mojo extractor found 1 mojo descriptor.
> line 8 column 4 - Error: <build> is not recognized!
> line 9 column 6 - Error: <plugins> is not recognized!
> line 10 column 8 - Error: <plugin> is not recognized!
> line 11 column 8 - Error: <artifactid> is not recognized!
> line 12 column 8 - Error: <groupid> is not recognized!
> line 14 column 8 - Error: <configuration> is not recognized!
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ jdeb ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 22 resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ jdeb ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 21 source files to /<<PKGBUILDDIR>>/target/test-classes
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR : 
> [INFO] -------------------------------------------------------------
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/utils/FilteredFileTestCase.java:[24,23] package junit.framework does not exist
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/utils/FilteredFileTestCase.java:[28,43] cannot find symbol
>   symbol: class TestCase
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/DataBuilderTestCase.java:[23,23] package junit.framework does not exist
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/DataBuilderTestCase.java:[30,42] cannot find symbol
>   symbol: class TestCase
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/signing/DebMakerTestCase.java:[26,23] package junit.framework does not exist
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/signing/DebMakerTestCase.java:[45,39] cannot find symbol
>   symbol: class TestCase
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/maven/DataTestCase.java:[22,23] package junit.framework does not exist
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/maven/DataTestCase.java:[28,35] cannot find symbol
>   symbol: class TestCase
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/debian/ChangesFileTestCase.java:[19,23] package junit.framework does not exist
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/debian/ChangesFileTestCase.java:[22,48] cannot find symbol
>   symbol: class TestCase
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/debian/PackageControlFileTestCase.java:[22,23] package junit.framework does not exist
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/debian/PackageControlFileTestCase.java:[24,55] cannot find symbol
>   symbol: class TestCase
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/signing/PGPSignerTestCase.java:[23,23] package junit.framework does not exist
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/signing/PGPSignerTestCase.java:[26,46] cannot find symbol
>   symbol: class TestCase
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/ant/AntSelectorTestCase.java:[19,23] package junit.framework does not exist
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/ant/AntSelectorTestCase.java:[22,48] cannot find symbol
>   symbol: class TestCase
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/utils/InformationInputStreamTestCase.java:[23,23] package junit.framework does not exist
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/utils/InformationInputStreamTestCase.java:[25,53] cannot find symbol
>   symbol: class TestCase
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/producers/DataProducerFilesTestCase.java:[13,23] package junit.framework does not exist
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/producers/DataProducerFilesTestCase.java:[23,48] cannot find symbol
>   symbol: class TestCase
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/utils/UtilsTestCase.java:[26,23] package junit.framework does not exist
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/utils/UtilsTestCase.java:[28,36] cannot find symbol
>   symbol: class TestCase
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/ant/DebAntTaskTestCase.java:[28,23] package junit.framework does not exist
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/ant/DebAntTaskTestCase.java:[43,47] cannot find symbol
>   symbol: class TestCase
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/debian/ControlFieldTestCase.java:[19,23] package junit.framework does not exist
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/debian/ControlFieldTestCase.java:[21,43] cannot find symbol
>   symbol: class TestCase
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/DebMakerTestCase.java:[27,23] package junit.framework does not exist
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/DebMakerTestCase.java:[38,39] cannot find symbol
>   symbol: class TestCase
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/producers/DataProducerPathTemplateTestCase.java:[23,23] package junit.framework does not exist
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/producers/DataProducerPathTemplateTestCase.java:[30,55] cannot find symbol
>   symbol: class TestCase
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/changes/TextfileChangesProviderTestCase.java:[20,23] package junit.framework does not exist
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/changes/TextfileChangesProviderTestCase.java:[23,60] cannot find symbol
>   symbol: class TestCase
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/mapping/LsMapperTestCase.java:[20,23] package junit.framework does not exist
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/mapping/LsMapperTestCase.java:[25,45] cannot find symbol
>   symbol: class TestCase
> [INFO] 34 errors 
> [INFO] -------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 3.086 s
> [INFO] Finished at: 2017-08-07T12:55:29Z
> [INFO] Final Memory: 26M/819M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:testCompile (default-testCompile) on project jdeb: Compilation failure: Compilation failure: 
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/utils/FilteredFileTestCase.java:[24,23] package junit.framework does not exist
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/utils/FilteredFileTestCase.java:[28,43] cannot find symbol
> [ERROR]   symbol: class TestCase
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/DataBuilderTestCase.java:[23,23] package junit.framework does not exist
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/DataBuilderTestCase.java:[30,42] cannot find symbol
> [ERROR]   symbol: class TestCase
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/signing/DebMakerTestCase.java:[26,23] package junit.framework does not exist
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/signing/DebMakerTestCase.java:[45,39] cannot find symbol
> [ERROR]   symbol: class TestCase
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/maven/DataTestCase.java:[22,23] package junit.framework does not exist
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/maven/DataTestCase.java:[28,35] cannot find symbol
> [ERROR]   symbol: class TestCase
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/debian/ChangesFileTestCase.java:[19,23] package junit.framework does not exist
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/debian/ChangesFileTestCase.java:[22,48] cannot find symbol
> [ERROR]   symbol: class TestCase
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/debian/PackageControlFileTestCase.java:[22,23] package junit.framework does not exist
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/debian/PackageControlFileTestCase.java:[24,55] cannot find symbol
> [ERROR]   symbol: class TestCase
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/signing/PGPSignerTestCase.java:[23,23] package junit.framework does not exist
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/signing/PGPSignerTestCase.java:[26,46] cannot find symbol
> [ERROR]   symbol: class TestCase
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/ant/AntSelectorTestCase.java:[19,23] package junit.framework does not exist
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/ant/AntSelectorTestCase.java:[22,48] cannot find symbol
> [ERROR]   symbol: class TestCase
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/utils/InformationInputStreamTestCase.java:[23,23] package junit.framework does not exist
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/utils/InformationInputStreamTestCase.java:[25,53] cannot find symbol
> [ERROR]   symbol: class TestCase
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/producers/DataProducerFilesTestCase.java:[13,23] package junit.framework does not exist
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/producers/DataProducerFilesTestCase.java:[23,48] cannot find symbol
> [ERROR]   symbol: class TestCase
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/utils/UtilsTestCase.java:[26,23] package junit.framework does not exist
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/utils/UtilsTestCase.java:[28,36] cannot find symbol
> [ERROR]   symbol: class TestCase
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/ant/DebAntTaskTestCase.java:[28,23] package junit.framework does not exist
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/ant/DebAntTaskTestCase.java:[43,47] cannot find symbol
> [ERROR]   symbol: class TestCase
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/debian/ControlFieldTestCase.java:[19,23] package junit.framework does not exist
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/debian/ControlFieldTestCase.java:[21,43] cannot find symbol
> [ERROR]   symbol: class TestCase
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/DebMakerTestCase.java:[27,23] package junit.framework does not exist
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/DebMakerTestCase.java:[38,39] cannot find symbol
> [ERROR]   symbol: class TestCase
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/producers/DataProducerPathTemplateTestCase.java:[23,23] package junit.framework does not exist
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/producers/DataProducerPathTemplateTestCase.java:[30,55] cannot find symbol
> [ERROR]   symbol: class TestCase
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/changes/TextfileChangesProviderTestCase.java:[20,23] package junit.framework does not exist
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/changes/TextfileChangesProviderTestCase.java:[23,60] cannot find symbol
> [ERROR]   symbol: class TestCase
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/mapping/LsMapperTestCase.java:[20,23] package junit.framework does not exist
> [ERROR] /<<PKGBUILDDIR>>/src/test/java/org/vafer/jdeb/mapping/LsMapperTestCase.java:[25,45] cannot find symbol
> [ERROR]   symbol: class TestCase
> [ERROR] -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> dh_auto_build: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo package -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
> debian/rules:6: recipe for target 'build' failed
> make: *** [build] Error 2

The full build log is available from:
   http://aws-logs.debian.net/2017/08/07/jdeb_1.5-5_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