Bug#871340: avro-java: FTBFS: =?UTF-8?Q?[=1B[1; 31mERROR=1B[m]?= Failed to execute goal com.thoughtworks.paranamer:paranamer-maven-plugin:2.8:generate ?=(paranamer-test)=?UTF-8?Q? on project avro: =?UTF-8?Q?=1B[1; 31mFailed?= to generate parameter names from /<<PKGBUILDDIR>>/lang/java/avro/src/test/java: /<<PKGBUILDDIR>>/lang/java/avro/target/test-classes/org/apache/avro/reflect/TestReflect/A.class (No such file or directory) -> [Help 1]

Lucas Nussbaum lucas at debian.org
Mon Aug 7 15:47:06 UTC 2017


Source: avro-java
Version: 1.7.7-2
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):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_configure
> 	mh_patchpoms -plibavro-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
> # Regenerate the Java classes from the Thrift file
> thrift -gen java:beans -out lang/java/thrift/src/test/java/ lang/java/thrift/src/test/thrift/test.thrift
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_build -O--buildsystem=maven
> 	/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] Reactor Build Order:
> [INFO] 
> [INFO] Apache Avro Toplevel
> [INFO] Apache Avro Java
> [INFO] Apache Avro
> [INFO] Apache Avro Compiler
> [INFO] Apache Avro Maven Plugin
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Avro Toplevel 1.7.7
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Avro Java 1.7.7
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-bundle-plugin:2.5.4:manifest (bundle-manifest) @ avro-parent ---
> [WARNING] Ignoring project type pom - supportedProjectTypes = [bundle]
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Avro 1.7.7
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ avro ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ avro ---
> [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 117 source files to /<<PKGBUILDDIR>>/lang/java/avro/target/classes
> [WARNING] /<<PKGBUILDDIR>>/lang/java/avro/src/main/java/org/apache/avro/reflect/FieldAccessUnsafe.java:[27,16] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/java/avro/src/main/java/org/apache/avro/reflect/FieldAccessUnsafe.java:[32,24] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/java/avro/src/main/java/org/apache/avro/reflect/FieldAccessUnsafe.java:[36,25] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
> [WARNING] /<<PKGBUILDDIR>>/lang/java/avro/src/main/java/org/apache/avro/reflect/FieldAccessUnsafe.java:[38,17] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
> [INFO] /<<PKGBUILDDIR>>/lang/java/avro/src/main/java/org/apache/avro/file/DataFileReader12.java: Some input files use or override a deprecated API.
> [INFO] /<<PKGBUILDDIR>>/lang/java/avro/src/main/java/org/apache/avro/file/DataFileReader12.java: Recompile with -Xlint:deprecation for details.
> [INFO] /<<PKGBUILDDIR>>/lang/java/avro/src/main/java/org/apache/avro/specific/SpecificData.java: Some input files use unchecked or unsafe operations.
> [INFO] /<<PKGBUILDDIR>>/lang/java/avro/src/main/java/org/apache/avro/specific/SpecificData.java: Recompile with -Xlint:unchecked for details.
> [INFO] 
> [INFO] --- maven-bundle-plugin:2.5.4:manifest (bundle-manifest) @ avro ---
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ avro ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ avro ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 48 source files to /<<PKGBUILDDIR>>/lang/java/avro/target/test-classes
> [INFO] /<<PKGBUILDDIR>>/lang/java/avro/src/test/java/org/apache/avro/TestDataFile.java: Some input files use or override a deprecated API.
> [INFO] /<<PKGBUILDDIR>>/lang/java/avro/src/test/java/org/apache/avro/TestDataFile.java: Recompile with -Xlint:deprecation for details.
> [INFO] /<<PKGBUILDDIR>>/lang/java/avro/src/test/java/org/apache/avro/FooBarSpecificRecord.java: /<<PKGBUILDDIR>>/lang/java/avro/src/test/java/org/apache/avro/FooBarSpecificRecord.java uses unchecked or unsafe operations.
> [INFO] /<<PKGBUILDDIR>>/lang/java/avro/src/test/java/org/apache/avro/FooBarSpecificRecord.java: Recompile with -Xlint:unchecked for details.
> [INFO] 
> [INFO] --- paranamer-maven-plugin:2.8:generate (paranamer-test) @ avro ---
> [INFO] Generating parameter names from /<<PKGBUILDDIR>>/lang/java/avro/src/test/java to /<<PKGBUILDDIR>>/lang/java/avro/target/test-classes
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Apache Avro Toplevel ............................... SUCCESS [  0.001 s]
> [INFO] Apache Avro Java ................................... SUCCESS [  0.041 s]
> [INFO] Apache Avro ........................................ FAILURE [  2.952 s]
> [INFO] Apache Avro Compiler ............................... SKIPPED
> [INFO] Apache Avro Maven Plugin ........................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 3.552 s
> [INFO] Finished at: 2017-08-07T11:33:50Z
> [INFO] Final Memory: 24M/741M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal com.thoughtworks.paranamer:paranamer-maven-plugin:2.8:generate (paranamer-test) on project avro: Failed to generate parameter names from /<<PKGBUILDDIR>>/lang/java/avro/src/test/java: /<<PKGBUILDDIR>>/lang/java/avro/target/test-classes/org/apache/avro/reflect/TestReflect/A.class (No such file or directory) -> [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/MojoExecutionException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :avro
> 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:4: recipe for target 'build' failed
> make: *** [build] Error 1

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