Source: maven-debian-helper Version: 1.5 Severity: serious Tags: wheezy sid User: debian...@lists.debian.org Usertags: qa-ftbfs-20120321 qa-ftbfs Justification: FTBFS on amd64
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part: > debian/rules build > test -x debian/rules > mkdir -p debian/.mh > cp -R bin debian/.mh/ > cp -R etc debian/.mh/ > cp -R share debian/.mh/ > 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/ant-junit.jar:/usr/share/java/junit.jar:/usr/share/java/commons-io.jar:/usr/share/java/classworlds.jar:/usr/share/java/maven-core.jar:/usr/share/java/maven-artifact.jar:/usr/share/java/maven-artifact-manager.jar:/usr/share/java/maven-model.jar:/usr/share/java/maven-compat.jar:/usr/share/java/maven-plugin-api.jar:/usr/share/java/maven-project.jar:/usr/share/java/maven-scm-api.jar:/usr/share/java/plexus-utils.jar:/usr/share/java/plexus-container-default-alpha.jar:/usr/share/java/maven-repo-helper.jar:/usr/lib/jvm/default-java/lib/tools.jar > -Dant.home=/usr/share/ant org.apache.tools.ant.Main > -Dpackage=maven-debian-helper -Dbin.package=maven-debian-helper -buildfile > debian/build.xml package > Buildfile: /«PKGBUILDDIR»/debian/build.xml > > package: > > init.pom: > [echo] Base dir is /«PKGBUILDDIR» > [echo] Pom name in /«PKGBUILDDIR»/debian/maven-debian-helper.poms: > pom.xml > [echo] Pom file pom.xml available? true > > read.pom: > [echo] Cleaner options: --no-parent --has-package-version > [java] Cleaning POM /«PKGBUILDDIR»/pom.xml, saving the result into > /«PKGBUILDDIR»/debian/.mh/pom.xml > [java] Cannot find file: /«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.debian.maven, artifactId: maven-debian, version: > 1.5, debianVersion: debian > > init: > [echo] Compile classpath: target/classes: > [echo] Test classpath: target/test-classes::target/classes: > > process-resources: > > process-pom: > [mkdir] Created dir: > /«PKGBUILDDIR»/target/classes/META-INF/maven/org.debian.maven/maven-debian > [copy] Copying 2 files to > /«PKGBUILDDIR»/target/classes/META-INF/maven/org.debian.maven/maven-debian > > mvn-generate: > > mvn-generate2: > > compile: > > process-test-resources: > > test-compile: > > test: > > jar: > [jar] Building jar: /«PKGBUILDDIR»/target/maven-debian-1.5.jar > > mvn-package: > > restore-pom: > > package: > > local-install: > [mkdir] Created dir: > /«PKGBUILDDIR»/debian/.mh/maven-repo/org/debian/maven/maven-debian/debian > [copy] Copying 1 file to > /«PKGBUILDDIR»/debian/.mh/maven-repo/org/debian/maven/maven-debian/debian > > package-and-local-install: > > init.pom: > [echo] Base dir is /«PKGBUILDDIR»/maven-debian-helper > [echo] Pom name in /«PKGBUILDDIR»/debian/maven-debian-helper.poms: > maven-debian-helper/pom.xml > [echo] Pom file pom.xml available? true > > read.pom: > [echo] Cleaner options: --has-package-version > --artifact=maven-debian-helper/target/maven-debian-helper-*.jar --java-lib > --keep-parent-version > [java] Cleaning POM /«PKGBUILDDIR»/maven-debian-helper/pom.xml, saving > the result into /«PKGBUILDDIR»/debian/.mh/pom.xml > [java] Cannot find file: /«PKGBUILDDIR»/debian/maven.publishedRules > [copy] Copying 1 file to /«PKGBUILDDIR»/maven-debian-helper > [copy] Copying 1 file to /«PKGBUILDDIR»/maven-debian-helper > [echo] Properties read from the POM file: > [echo] groupId: org.debian.maven, artifactId: maven-debian-helper, > version: 1.5, debianVersion: debian > > init: > [echo] Compile classpath: target/classes: > [echo] Test classpath: target/test-classes::target/classes: > > process-resources: > > process-pom: > [mkdir] Created dir: > /«PKGBUILDDIR»/maven-debian-helper/target/classes/META-INF/maven/org.debian.maven/maven-debian-helper > [copy] Copying 2 files to > /«PKGBUILDDIR»/maven-debian-helper/target/classes/META-INF/maven/org.debian.maven/maven-debian-helper > > mvn-generate: > > mvn-generate2: > > compile: > [mkdir] Created dir: > /«PKGBUILDDIR»/maven-debian-helper/target/generated-sources > [javac] /usr/share/maven-ant-helper/maven-build.xml:337: warning: > 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set > to false for repeatable builds > [javac] Compiling 1 source file to > /«PKGBUILDDIR»/maven-debian-helper/target/classes > > process-test-resources: > > test-compile: > > test: > > jar: > [jar] Building jar: > /«PKGBUILDDIR»/maven-debian-helper/target/maven-debian-helper-1.5.jar > > mvn-package: > > restore-pom: > > package: > > local-install: > [mkdir] Created dir: > /«PKGBUILDDIR»/debian/.mh/maven-repo/org/debian/maven/maven-debian-helper/debian > [copy] Copying 1 file to > /«PKGBUILDDIR»/debian/.mh/maven-repo/org/debian/maven/maven-debian-helper/debian > [copy] Copying 1 file to > /«PKGBUILDDIR»/debian/.mh/maven-repo/org/debian/maven/maven-debian-helper/debian > > package-and-local-install: > > init.pom: > [echo] Base dir is /«PKGBUILDDIR»/maven-build-nodocs > [echo] Pom name in /«PKGBUILDDIR»/debian/maven-debian-helper.poms: > maven-build-nodocs/pom.xml > [echo] Pom file pom.xml available? true > > read.pom: > [echo] Cleaner options: --has-package-version > --artifact=maven-build-nodocs/target/maven-build-nodocs-*.jar --java-lib > --keep-parent-version > [java] Cleaning POM /«PKGBUILDDIR»/maven-build-nodocs/pom.xml, saving > the result into /«PKGBUILDDIR»/debian/.mh/pom.xml > [java] Cannot find file: /«PKGBUILDDIR»/debian/maven.publishedRules > [copy] Copying 1 file to /«PKGBUILDDIR»/maven-build-nodocs > [copy] Copying 1 file to /«PKGBUILDDIR»/maven-build-nodocs > [echo] Properties read from the POM file: > [echo] groupId: org.debian.maven, artifactId: maven-build-nodocs, > version: 1.5, debianVersion: debian > > init: > [echo] Compile classpath: target/classes: > [echo] Test classpath: target/test-classes::target/classes: > > process-resources: > [mkdir] Created dir: /«PKGBUILDDIR»/maven-build-nodocs/target/classes > [copy] Copying 1 file to /«PKGBUILDDIR»/maven-build-nodocs/target/classes > > process-pom: > [mkdir] Created dir: > /«PKGBUILDDIR»/maven-build-nodocs/target/classes/META-INF/maven/org.debian.maven/maven-build-nodocs > [copy] Copying 2 files to > /«PKGBUILDDIR»/maven-build-nodocs/target/classes/META-INF/maven/org.debian.maven/maven-build-nodocs > > mvn-generate: > > mvn-generate2: > > compile: > > process-test-resources: > > test-compile: > > test: > > jar: > [jar] Building jar: > /«PKGBUILDDIR»/maven-build-nodocs/target/maven-build-nodocs-1.5.jar > > mvn-package: > > restore-pom: > > package: > > local-install: > [mkdir] Created dir: > /«PKGBUILDDIR»/debian/.mh/maven-repo/org/debian/maven/maven-build-nodocs/debian > [copy] Copying 1 file to > /«PKGBUILDDIR»/debian/.mh/maven-repo/org/debian/maven/maven-build-nodocs/debian > [copy] Copying 1 file to > /«PKGBUILDDIR»/debian/.mh/maven-repo/org/debian/maven/maven-build-nodocs/debian > > package-and-local-install: > > init.pom: > [echo] Base dir is /«PKGBUILDDIR»/maven-debian-plugin > [echo] Pom name in /«PKGBUILDDIR»/debian/maven-debian-helper.poms: > maven-debian-plugin/pom.xml > [echo] Pom file pom.xml available? true > > read.pom: > [echo] Cleaner options: --has-package-version > --artifact=maven-debian-plugin/target/maven-debian-plugin-*.jar --java-lib > --keep-parent-version > [java] Cleaning POM /«PKGBUILDDIR»/maven-debian-plugin/pom.xml, saving > the result into /«PKGBUILDDIR»/debian/.mh/pom.xml > [java] Cannot find file: /«PKGBUILDDIR»/debian/maven.publishedRules > [copy] Copying 1 file to /«PKGBUILDDIR»/maven-debian-plugin > [copy] Copying 1 file to /«PKGBUILDDIR»/maven-debian-plugin > [echo] Properties read from the POM file: > [echo] groupId: org.debian.maven, artifactId: maven-debian-plugin, > version: 1.5, debianVersion: 1.5 > > init: > [echo] Compile classpath: target/classes: > [echo] Test classpath: target/test-classes::target/classes: > > process-resources: > > process-pom: > [mkdir] Created dir: > /«PKGBUILDDIR»/maven-debian-plugin/target/classes/META-INF/maven/org.debian.maven/maven-debian-plugin > [copy] Copying 2 files to > /«PKGBUILDDIR»/maven-debian-plugin/target/classes/META-INF/maven/org.debian.maven/maven-debian-plugin > > mvn-generate: > > mvn-shared-repo: > > mvn-local-repo: > [copy] Copying 1037 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] Searching repository for plugin with prefix: 'plugin'. > [java] [INFO] > ------------------------------------------------------------------------ > [java] [INFO] Building Maven Debian Plugin > [java] [INFO] task-segment: [plugin:descriptor] > [java] [INFO] > ------------------------------------------------------------------------ > [java] [INFO] [plugin:descriptor {execution: default-cli}] > [java] [ERROR] > [java] > [java] Artifact Ids of the format maven-___-plugin are reserved for > [java] plugins in the Group Id org.apache.maven.plugins > [java] Please change your artifactId to the format ___-maven-plugin > [java] In the future this error will break the build. > [java] > [java] > [java] [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to > read mojo metadata, i.e. build is platform dependent! > [java] [INFO] Applying mojo extractor for language: java > [java] [INFO] Mojo extractor for language: java found 9 mojo descriptors. > [java] [INFO] Applying mojo extractor for language: bsh > [java] [INFO] Mojo extractor for language: bsh found 0 mojo descriptors. > [java] [INFO] > ------------------------------------------------------------------------ > [java] [INFO] BUILD SUCCESSFUL > [java] [INFO] > ------------------------------------------------------------------------ > [java] [INFO] Total time: 4 seconds > [java] [INFO] Finished at: Wed Mar 21 21:21:10 UTC 2012 > [java] [INFO] Final Memory: 6M/58M > [java] [INFO] > ------------------------------------------------------------------------ > > mvn: > > mvn-generate2: > > compile: > [mkdir] Created dir: > /«PKGBUILDDIR»/maven-debian-plugin/target/generated-sources > [javac] /usr/share/maven-ant-helper/maven-build.xml:337: warning: > 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set > to false for repeatable builds > [javac] Compiling 10 source files to > /«PKGBUILDDIR»/maven-debian-plugin/target/classes > [javac] Note: SysInstallMojo.java uses unchecked or unsafe operations. > [javac] Note: Recompile with -Xlint:unchecked for details. > > process-test-resources: > > test-compile: > [mkdir] Created dir: > /«PKGBUILDDIR»/maven-debian-plugin/target/test-classes > [javac] /usr/share/maven-ant-helper/maven-build.xml:359: warning: > 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set > to false for repeatable builds > [javac] Compiling 1 source file to > /«PKGBUILDDIR»/maven-debian-plugin/target/test-classes > > test: > [mkdir] Created dir: /«PKGBUILDDIR»/maven-debian-plugin/target/test-output > [junit] Running org.debian.maven.plugin.DirectoryUtilsTest > [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.004 sec > > jar: > [jar] Building jar: > /«PKGBUILDDIR»/maven-debian-plugin/target/maven-debian-plugin-1.5.jar > > mvn-package: > > restore-pom: > > package: > > local-install: > [mkdir] Created dir: > /«PKGBUILDDIR»/debian/.mh/maven-repo/org/debian/maven/maven-debian-plugin/1.5 > [copy] Copying 1 file to > /«PKGBUILDDIR»/debian/.mh/maven-repo/org/debian/maven/maven-debian-plugin/1.5 > > package-and-local-install: > > init.pom: > [echo] Base dir is /«PKGBUILDDIR»/maven-packager-utils > [echo] Pom name in /«PKGBUILDDIR»/debian/maven-debian-helper.poms: > maven-packager-utils/pom.xml > [echo] Pom file pom.xml available? true > > read.pom: > [echo] Cleaner options: --has-package-version > --artifact=maven-packager-utils/target/maven-packager-utils-*.jar --java-lib > --keep-parent-version > [java] Cleaning POM /«PKGBUILDDIR»/maven-packager-utils/pom.xml, saving > the result into /«PKGBUILDDIR»/debian/.mh/pom.xml > [java] Cannot find file: /«PKGBUILDDIR»/debian/maven.publishedRules > [copy] Copying 1 file to /«PKGBUILDDIR»/maven-packager-utils > [copy] Copying 1 file to /«PKGBUILDDIR»/maven-packager-utils > [echo] Properties read from the POM file: > [echo] groupId: org.debian.maven, artifactId: maven-packager-utils, > version: 1.5, debianVersion: 1.5 > > init: > [echo] Compile classpath: target/classes: > [echo] Test classpath: target/test-classes::target/classes: > > process-resources: > [mkdir] Created dir: /«PKGBUILDDIR»/maven-packager-utils/target/classes > [copy] Copying 23 files to > /«PKGBUILDDIR»/maven-packager-utils/target/classes > > process-pom: > [mkdir] Created dir: > /«PKGBUILDDIR»/maven-packager-utils/target/classes/META-INF/maven/org.debian.maven/maven-packager-utils > [copy] Copying 2 files to > /«PKGBUILDDIR»/maven-packager-utils/target/classes/META-INF/maven/org.debian.maven/maven-packager-utils > > mvn-generate: > > mvn-shared-repo: > > mvn-local-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] Searching repository for plugin with prefix: 'plugin'. > [java] [INFO] > ------------------------------------------------------------------------ > [java] [INFO] Building Maven Packager Utilities > [java] [INFO] task-segment: [plugin:descriptor] > [java] [INFO] > ------------------------------------------------------------------------ > [java] [INFO] [plugin:descriptor {execution: default-cli}] > [java] [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to > read mojo metadata, i.e. build is platform dependent! > [java] [INFO] Applying mojo extractor for language: java > [java] [INFO] Mojo extractor for language: java found 2 mojo descriptors. > [java] [INFO] Applying mojo extractor for language: bsh > [java] [INFO] Mojo extractor for language: bsh found 0 mojo descriptors. > [java] [INFO] > ------------------------------------------------------------------------ > [java] [INFO] BUILD SUCCESSFUL > [java] [INFO] > ------------------------------------------------------------------------ > [java] [INFO] Total time: 4 seconds > [java] [INFO] Finished at: Wed Mar 21 21:21:23 UTC 2012 > [java] [INFO] Final Memory: 6M/58M > [java] [INFO] > ------------------------------------------------------------------------ > > mvn: > > mvn-generate2: > > compile: > [mkdir] Created dir: > /«PKGBUILDDIR»/maven-packager-utils/target/generated-sources > [javac] /usr/share/maven-ant-helper/maven-build.xml:337: warning: > 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set > to false for repeatable builds > [javac] Compiling 3 source files to > /«PKGBUILDDIR»/maven-packager-utils/target/classes > [javac] GenerateDebianFilesMojo.java:29: package org.apache.velocity does > not exist > [javac] import org.apache.velocity.VelocityContext; > [javac] ^ > [javac] GenerateDebianFilesMojo.java:30: package org.apache.velocity.app > does not exist > [javac] import org.apache.velocity.app.Velocity; > [javac] ^ > [javac] GenerateDebianFilesMojo.java:632: cannot find symbol > [javac] symbol : class VelocityContext > [javac] location: class org.debian.maven.packager.GenerateDebianFilesMojo > [javac] private void generateFile(VelocityContext context, String > templateName, File destDir, String fileName) throws Exception { > [javac] ^ > [javac] GenerateDebianFilesMojo.java:147: cannot find symbol > [javac] symbol : variable Velocity > [javac] location: class org.debian.maven.packager.GenerateDebianFilesMojo > [javac] Velocity.init(velocityProperties); > [javac] ^ > [javac] GenerateDebianFilesMojo.java:148: cannot find symbol > [javac] symbol : class VelocityContext > [javac] location: class org.debian.maven.packager.GenerateDebianFilesMojo > [javac] VelocityContext context = new VelocityContext(); > [javac] ^ > [javac] GenerateDebianFilesMojo.java:148: cannot find symbol > [javac] symbol : class VelocityContext > [javac] location: class org.debian.maven.packager.GenerateDebianFilesMojo > [javac] VelocityContext context = new VelocityContext(); > [javac] ^ > [javac] GenerateDebianFilesMojo.java:635: cannot find symbol > [javac] symbol : variable Velocity > [javac] location: class org.debian.maven.packager.GenerateDebianFilesMojo > [javac] Velocity.mergeTemplate(templateName, "UTF8", context, > out); > [javac] ^ > [javac] Note: Some input files use unchecked or unsafe operations. > [javac] Note: Recompile with -Xlint:unchecked for details. > [javac] 7 errors > > BUILD FAILED > /«PKGBUILDDIR»/debian/build.xml:56: The following error occurred while > executing this line: > /«PKGBUILDDIR»/debian/build.xml:33: The following error occurred while > executing this line: > /usr/share/maven-ant-helper/maven-build.xml:337: Compile failed; see the > compiler error output for details. > > Total time: 36 seconds > make: *** [debian/stamp-ant-build] Error 1 The full build log is available from: http://people.debian.org/~lucas/logs/2012/03/21/maven-debian-helper_1.5.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 about 50 AMD64 nodes of the Grid'5000 platform, using a clean chroot. Internet was not accessible from the build systems. __ 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.