Source: surefire
Version: 2.10-5
Severity: serious
Tags: jessie sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20140114 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/maven-core.jar:/usr/share/java/maven-model.jar:/usr/share/java/maven-plugin-api.jar:/usr/share/java/maven-project.jar:/usr/share/java/plexus-utils.jar:/usr/share/java/plexus-container-default-alpha.jar:/usr/lib/jvm/default-java/lib/tools.jar
>   -Dant.home=/usr/share/ant org.apache.tools.ant.Main -Dpackage=surefire 
> -Dversion=2.10   -buildfile debian/build.xml  package 
> Buildfile: /«PKGBUILDDIR»/debian/build.xml
> 
> package:
> 
> init.pom:
>      [echo] Base dir is /«PKGBUILDDIR»
>      [echo] Pom name in /«PKGBUILDDIR»/debian/libsurefire-java.poms: pom.xml
>      [echo] Pom file pom.xml available? true
> 
> read.pom:
>     [mkdir] Created dir: /«PKGBUILDDIR»/debian/.mh
>      [echo] Cleaner options: --no-parent
>      [java] Cleaning POM /«PKGBUILDDIR»/pom.xml, saving the result into 
> /«PKGBUILDDIR»/debian/.mh/pom.xml
>      [java] maven.rules:
>      [java]   * * maven-plugin *
>      [java]   junit junit jar s/3\..*/3.x/
>      [java]   junit junit jar s/4\..*/4.x/
>      [java]   jmock jmock jar s/1\..*/1.x/
>      [java]   org.apache.maven.plugins maven-shade-plugin maven-plugin 
> s/.*/1.2.1
>      [java]   s/org.apache.maven.shared/org.apache.maven.plugin-testing/ 
> maven-plugin-testing-harness
>      [java] ---------
>      [java] Rules file does not exist: 
> /«PKGBUILDDIR»/debian/maven.publishedRules
>      [copy] Copying 1 file to /«PKGBUILDDIR»
>      [copy] Copying 1 file to /«PKGBUILDDIR»
>      [echo] Properties read from the POM file:
>      [echo]   groupId: org.apache.maven.surefire, artifactId: surefire, 
> version: 2.10, debianVersion: debian
> 
> init:
>      [echo] Compile classpath: 
> target/classes:/usr/share/java/commons-lang.jar:/usr/share/java/plexus-utils.jar:/usr/share/java/junit.jar:/usr/share/java/junit4.jar:/usr/share/java/testng.jar:/usr/share/java/doxia-core.jar:/usr/share/java/doxia-logging-api.jar:/usr/share/java/doxia-sink-api.jar:/usr/share/java/doxia-site-renderer.jar:/usr/share/java/maven-artifact.jar:/usr/share/java/maven-artifact-manager.jar:/usr/share/java/maven-core.jar:/usr/share/java/maven-project.jar:/usr/share/java/maven-reporting-api.jar:/usr/share/java/maven-reporting-impl.jar:/usr/share/java/maven-toolchain.jar:/usr/share/java/maven-common-artifact-filters.jar:/«PKGBUILDDIR»/surefire-api/target/surefire-api-2.10.jar:/«PKGBUILDDIR»/surefire-booter/target/surefire-booter-2.10.jar:/«PKGBUILDDIR»/maven-surefire-common/target/maven-surefire-common-2.10.jar:/«PKGBUILDDIR»/surefire-providers/common-junit3/target/common-junit3-2.10.jar:/«PKGBUILDDIR»/surefire-providers/common-junit4/target/common-junit4-2.10.jar
>      [echo] Test classpath: 
> target/test-classes::target/classes:/usr/share/java/commons-lang.jar:/usr/share/java/plexus-utils.jar:/usr/share/java/junit.jar:/usr/share/java/junit4.jar:/usr/share/java/testng.jar:/usr/share/java/doxia-core.jar:/usr/share/java/doxia-logging-api.jar:/usr/share/java/doxia-sink-api.jar:/usr/share/java/doxia-site-renderer.jar:/usr/share/java/maven-artifact.jar:/usr/share/java/maven-artifact-manager.jar:/usr/share/java/maven-core.jar:/usr/share/java/maven-project.jar:/usr/share/java/maven-reporting-api.jar:/usr/share/java/maven-reporting-impl.jar:/usr/share/java/maven-toolchain.jar:/usr/share/java/maven-common-artifact-filters.jar:/«PKGBUILDDIR»/surefire-api/target/surefire-api-2.10.jar:/«PKGBUILDDIR»/surefire-booter/target/surefire-booter-2.10.jar:/«PKGBUILDDIR»/maven-surefire-common/target/maven-surefire-common-2.10.jar:/«PKGBUILDDIR»/surefire-providers/common-junit3/target/common-junit3-2.10.jar:/«PKGBUILDDIR»/surefire-providers/common-junit4/target/common-junit4-2.10.jar
> 
> process-resources:
> 
> process-pom:
>     [mkdir] Created dir: 
> /«PKGBUILDDIR»/target/classes/META-INF/maven/org.apache.maven.surefire/surefire
>      [copy] Copying 2 files to 
> /«PKGBUILDDIR»/target/classes/META-INF/maven/org.apache.maven.surefire/surefire
> 
> mvn-generate:
> 
> mvn-generate2:
> 
> compile:
> 
> process-classes:
> 
> process-test-resources:
> 
> test-compile:
> 
> test:
> 
> jar:
>       [jar] Building jar: /«PKGBUILDDIR»/target/surefire-2.10.jar
> 
> mvn-package:
> 
> restore-pom:
> 
> package:
> 
> local-install:
>     [mkdir] Created dir: 
> /«PKGBUILDDIR»/debian/.mh/maven-repo/org/apache/maven/surefire/surefire/debian
>      [copy] Copying 1 file to 
> /«PKGBUILDDIR»/debian/.mh/maven-repo/org/apache/maven/surefire/surefire/debian
> 
> package-and-local-install:
> 
> init.pom:
>      [echo] Base dir is /«PKGBUILDDIR»/surefire-api
>      [echo] Pom name in /«PKGBUILDDIR»/debian/libsurefire-java.poms: 
> surefire-api/pom.xml
>      [echo] Pom file pom.xml available? true
> 
> read.pom:
>      [echo] Cleaner options: --keep-parent-version
>      [java] Cleaning POM /«PKGBUILDDIR»/surefire-api/pom.xml, saving the 
> result into /«PKGBUILDDIR»/debian/.mh/pom.xml
>      [java] maven.rules:
>      [java]   * * maven-plugin *
>      [java]   junit junit jar s/3\..*/3.x/
>      [java]   junit junit jar s/4\..*/4.x/
>      [java]   jmock jmock jar s/1\..*/1.x/
>      [java]   org.apache.maven.plugins maven-shade-plugin maven-plugin 
> s/.*/1.2.1
>      [java]   s/org.apache.maven.shared/org.apache.maven.plugin-testing/ 
> maven-plugin-testing-harness
>      [java] ---------
>      [java] Rules file does not exist: 
> /«PKGBUILDDIR»/debian/maven.publishedRules
>      [copy] Copying 1 file to /«PKGBUILDDIR»/surefire-api
>      [copy] Copying 1 file to /«PKGBUILDDIR»/surefire-api
>      [echo] Properties read from the POM file:
>      [echo]   groupId: org.apache.maven.surefire, artifactId: surefire-api, 
> version: 2.10, debianVersion: debian
> 
> init:
>      [echo] Compile classpath: 
> target/classes:/usr/share/java/commons-lang.jar:/usr/share/java/plexus-utils.jar:/usr/share/java/junit.jar:/usr/share/java/junit4.jar:/usr/share/java/testng.jar:/usr/share/java/doxia-core.jar:/usr/share/java/doxia-logging-api.jar:/usr/share/java/doxia-sink-api.jar:/usr/share/java/doxia-site-renderer.jar:/usr/share/java/maven-artifact.jar:/usr/share/java/maven-artifact-manager.jar:/usr/share/java/maven-core.jar:/usr/share/java/maven-project.jar:/usr/share/java/maven-reporting-api.jar:/usr/share/java/maven-reporting-impl.jar:/usr/share/java/maven-toolchain.jar:/usr/share/java/maven-common-artifact-filters.jar:/«PKGBUILDDIR»/surefire-api/target/surefire-api-2.10.jar:/«PKGBUILDDIR»/surefire-booter/target/surefire-booter-2.10.jar:/«PKGBUILDDIR»/maven-surefire-common/target/maven-surefire-common-2.10.jar:/«PKGBUILDDIR»/surefire-providers/common-junit3/target/common-junit3-2.10.jar:/«PKGBUILDDIR»/surefire-providers/common-junit4/target/common-junit4-2.10.jar
>      [echo] Test classpath: 
> target/test-classes::target/classes:/usr/share/java/commons-lang.jar:/usr/share/java/plexus-utils.jar:/usr/share/java/junit.jar:/usr/share/java/junit4.jar:/usr/share/java/testng.jar:/usr/share/java/doxia-core.jar:/usr/share/java/doxia-logging-api.jar:/usr/share/java/doxia-sink-api.jar:/usr/share/java/doxia-site-renderer.jar:/usr/share/java/maven-artifact.jar:/usr/share/java/maven-artifact-manager.jar:/usr/share/java/maven-core.jar:/usr/share/java/maven-project.jar:/usr/share/java/maven-reporting-api.jar:/usr/share/java/maven-reporting-impl.jar:/usr/share/java/maven-toolchain.jar:/usr/share/java/maven-common-artifact-filters.jar:/«PKGBUILDDIR»/surefire-api/target/surefire-api-2.10.jar:/«PKGBUILDDIR»/surefire-booter/target/surefire-booter-2.10.jar:/«PKGBUILDDIR»/maven-surefire-common/target/maven-surefire-common-2.10.jar:/«PKGBUILDDIR»/surefire-providers/common-junit3/target/common-junit3-2.10.jar:/«PKGBUILDDIR»/surefire-providers/common-junit4/target/common-junit4-2.10.jar
> 
> process-resources:
>     [mkdir] Created dir: /«PKGBUILDDIR»/surefire-api/target/classes
>      [copy] Copying 1 file to /«PKGBUILDDIR»/surefire-api/target/classes
> 
> process-pom:
>     [mkdir] Created dir: 
> /«PKGBUILDDIR»/surefire-api/target/classes/META-INF/maven/org.apache.maven.surefire/surefire-api
>      [copy] Copying 2 files to 
> /«PKGBUILDDIR»/surefire-api/target/classes/META-INF/maven/org.apache.maven.surefire/surefire-api
> 
> mvn-generate:
> 
> mvn-generate2:
> 
> compile:
>     [mkdir] Created dir: /«PKGBUILDDIR»/surefire-api/target/generated-sources
>     [javac] /usr/share/maven-ant-helper/maven-build.xml:343: warning: 
> 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set 
> to false for repeatable builds
>     [javac] Compiling 77 source files to 
> /«PKGBUILDDIR»/surefire-api/target/classes
>     [javac] Note: 
> /«PKGBUILDDIR»/surefire-api/src/main/java/org/apache/maven/surefire/util/UrlUtils.java
>  uses or overrides 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.
> 
> process-classes:
> 
> process-test-resources:
> 
> test-compile:
> 
> test:
> 
> jar:
>       [jar] Building jar: 
> /«PKGBUILDDIR»/surefire-api/target/surefire-api-2.10.jar
> 
> mvn-package:
>      [copy] Copying 1243 files to /«PKGBUILDDIR»/debian/.mh/maven-repo
>      [java] + Error stacktraces are turned on.
>      [java] [INFO] 
>      [java] NOTE: Maven is executing in offline mode. Any artifacts not 
> already in your local
>      [java] repository will be inaccessible.
>      [java] 
>      [java] [INFO] Scanning for projects...
>      [java] [INFO] 
> ------------------------------------------------------------------------
>      [java] [INFO] Building SureFire API
>      [java] [INFO]    task-segment: [install]
>      [java] [INFO] 
> ------------------------------------------------------------------------
>      [java] [INFO] [resources:resources {execution: default-resources}]
>      [java] [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to 
> copy filtered resources, i.e. build is platform dependent!
>      [java] [INFO] Copying 1 resource
>      [java] [WARNING] POM for 
> 'org.codehaus.plexus:plexus-compiler-api:pom:debian:runtime' is invalid.
>      [java] 
>      [java] Its dependencies (if any) will NOT be available to the current 
> build.
>      [java] [WARNING] POM for 
> 'org.codehaus.plexus:plexus-compiler-javac:pom:debian:runtime' is invalid.
>      [java] 
>      [java] Its dependencies (if any) will NOT be available to the current 
> build.
>      [java] [INFO] 
> ------------------------------------------------------------------------
>      [java] [ERROR] BUILD ERROR
>      [java] [INFO] 
> ------------------------------------------------------------------------
>      [java] [INFO] Internal error in the plugin manager executing goal 
> 'org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile': Unable to 
> load the mojo 'org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile' 
> in the plugin 'org.apache.maven.plugins:maven-compiler-plugin'. A required 
> class is missing: Lorg/apache/maven/toolchain/ToolchainManager;
>      [java] org.apache.maven.toolchain.ToolchainManager
>      [java] [INFO] 
> ------------------------------------------------------------------------
>      [java] [INFO] Trace
>      [java] org.apache.maven.lifecycle.LifecycleExecutionException: Internal 
> error in the plugin manager executing goal 
> 'org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile': Unable to 
> load the mojo 'org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile' 
> in the plugin 'org.apache.maven.plugins:maven-compiler-plugin'. A required 
> class is missing: Lorg/apache/maven/toolchain/ToolchainManager;
>      [java]   at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:698)
>      [java]   at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
>      [java]   at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
>      [java]   at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
>      [java]   at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
>      [java]   at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
>      [java]   at 
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
>      [java]   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
>      [java]   at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
>      [java]   at org.apache.maven.cli.MavenCli.main(MavenCli.java:100)
>      [java] Caused by: org.apache.maven.plugin.PluginManagerException: Unable 
> to load the mojo 
> 'org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile' in the plugin 
> 'org.apache.maven.plugins:maven-compiler-plugin'. A required class is 
> missing: Lorg/apache/maven/toolchain/ToolchainManager;
>      [java]   at 
> org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:679)
>      [java]   at 
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:468)
>      [java]   at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
>      [java]   ... 9 more
>      [java] Caused by: java.lang.NoClassDefFoundError: 
> Lorg/apache/maven/toolchain/ToolchainManager;
>      [java]   at java.lang.Class.getDeclaredFields0(Native Method)
>      [java]   at java.lang.Class.privateGetDeclaredFields(Class.java:2397)
>      [java]   at java.lang.Class.getDeclaredField(Class.java:1946)
>      [java]   at 
> org.codehaus.plexus.util.ReflectionUtils.getFieldByNameIncludingSuperclasses(ReflectionUtils.java:47)
>      [java]   at 
> org.codehaus.plexus.util.ReflectionUtils.getFieldByNameIncludingSuperclasses(ReflectionUtils.java:55)
>      [java]   at 
> org.codehaus.plexus.component.composition.FieldComponentComposer.getFieldByName(FieldComponentComposer.java:212)
>      [java]   at 
> org.codehaus.plexus.component.composition.FieldComponentComposer.findMatchingField(FieldComponentComposer.java:171)
>      [java]   at 
> org.codehaus.plexus.component.composition.FieldComponentComposer.assembleComponent(FieldComponentComposer.java:62)
>      [java]   at 
> org.codehaus.plexus.component.composition.DefaultComponentComposerManager.assembleComponent(DefaultComponentComposerManager.java:68)
>      [java]   at 
> org.codehaus.plexus.DefaultPlexusContainer.composeComponent(DefaultPlexusContainer.java:1486)
>      [java]   at 
> org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:29)
>      [java]   at 
> org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:101)
>      [java]   at 
> org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:105)
>      [java]   at 
> org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:95)
>      [java]   at 
> org.codehaus.plexus.component.manager.PerLookupComponentManager.getComponent(PerLookupComponentManager.java:48)
>      [java]   at 
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:331)
>      [java]   at 
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:440)
>      [java]   at 
> org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:652)
>      [java]   ... 11 more
>      [java] Caused by: java.lang.ClassNotFoundException: 
> org.apache.maven.toolchain.ToolchainManager
>      [java]   at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>      [java]   at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>      [java]   at java.security.AccessController.doPrivileged(Native Method)
>      [java]   at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>      [java]   at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
>      [java]   at 
> org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
>      [java]   at 
> org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255)
>      [java]   at 
> org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274)
>      [java]   at 
> org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214)
>      [java]   at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>      [java]   ... 29 more
>      [java] [INFO] 
> ------------------------------------------------------------------------
>      [java] [INFO] Total time: 3 seconds
>      [java] [INFO] Finished at: Thu Jan 16 16:21:39 UTC 2014
>      [java] [INFO] Final Memory: 6M/58M
>      [java] [INFO] 
> ------------------------------------------------------------------------
> 
> BUILD FAILED
> /«PKGBUILDDIR»/debian/build.xml:85: The following error occurred while 
> executing this line:
> /«PKGBUILDDIR»/debian/build.xml:47: The following error occurred while 
> executing this line:
> /usr/share/maven-ant-helper/maven-build.xml:404: The following error occurred 
> while executing this line:
> /usr/share/maven-ant-helper/maven-build.xml:296: Java returned: 1
> 
> Total time: 14 seconds
> make: *** [debian/stamp-ant-build] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/01/14/surefire_2.10-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.

__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to