Bug#830456: avro-java: FTBFS: Failed to execute goal on project avro-compiler: Could not resolve dependencies for project org.apache.avro:avro-compiler:bundle:1.7.7: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.ant:ant:jar:debian has not been downloaded from it before. -> [Help 1]

Lucas Nussbaum lucas at debian.org
Fri Jul 8 07:31:37 UTC 2016


Source: avro-java
Version: 1.7.7-1
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20160707 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_listpackages: -s/--same-arch is deprecated; please use -a/--arch instead
> test -x debian/rules
> mkdir -p "."
> /usr/share/maven-debian-helper/copy-repo.sh /«PKGBUILDDIR»/debian
> find: '/usr/share/maven-repo/org/codehaus/plexus/plexus-compiler/*/*.jar': No such file or directory
> find: '/usr/share/maven-repo/org/codehaus/plexus/plexus-compilers/*/*.jar': No such file or directory
> find: '/usr/share/maven-repo/org/codehaus/plexus/plexus-containers/*/*.jar': No such file or directory
> find: '/usr/share/maven-repo/com/thoughtworks/paranamer/paranamer-parent/*/*.jar': No such file or directory
> mh_patchpoms -plibavro-java --debian-build --keep-pom-version --maven-repo=/«PKGBUILDDIR»/debian/maven-repo  --build-no-docs
> touch debian/stamp-poms-patched
> # 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
> # before-build target may be used to unpatch the pom files, so we need to check if
> # patching the pom files is needed here, normally not
> if [ ! -f pom.xml.save ]; then \
> 	/usr/bin/make -f debian/rules patch-poms; \
> fi
> cd . && /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 -Dproperties.file.manual=/«PKGBUILDDIR»/debian/maven.properties -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/«PKGBUILDDIR» org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Dmaven.repo.local=/«PKGBUILDDIR»/debian/maven-repo  package -DskipTests
> [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:2.6:resources (default-resources) @ avro ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ avro ---
> [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/specific/SpecificData.java: Some input files use or override a deprecated API.
> [INFO] /«PKGBUILDDIR»/lang/java/avro/src/main/java/org/apache/avro/specific/SpecificData.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:2.6:testResources (default-testResources) @ avro ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.2: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/TestDataFileMeta.java: Some input files use or override a deprecated API.
> [INFO] /«PKGBUILDDIR»/lang/java/avro/src/test/java/org/apache/avro/TestDataFileMeta.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] --- maven-surefire-plugin:2.17:test (default-test) @ avro ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-bundle-plugin:2.5.4:bundle (default-bundle) @ avro ---
> [INFO] 
> [INFO] --- maven-jar-plugin:2.4:test-jar (default) @ avro ---
> [INFO] Building jar: /«PKGBUILDDIR»/lang/java/avro/target/avro-1.7.7-tests.jar
> [INFO]                                                                         
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Avro Compiler 1.7.7
> [INFO] ------------------------------------------------------------------------
> [WARNING] The POM for org.apache.ant:ant:jar:debian is missing, no dependency information available
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Apache Avro Toplevel ............................... SUCCESS [  0.002 s]
> [INFO] Apache Avro Java ................................... SUCCESS [  0.048 s]
> [INFO] Apache Avro ........................................ SUCCESS [  5.268 s]
> [INFO] Apache Avro Compiler ............................... FAILURE [  0.019 s]
> [INFO] Apache Avro Maven Plugin ........................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 5.953 s
> [INFO] Finished at: 2016-07-06T20:59:53+00:00
> [INFO] Final Memory: 23M/384M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project avro-compiler: Could not resolve dependencies for project org.apache.avro:avro-compiler:bundle:1.7.7: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.ant:ant:jar:debian has not been downloaded from it before. -> [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/DependencyResolutionException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :avro-compiler
> make: *** [mvn-build] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2016/07/07/avro-java_1.7.7-1_unstable_reb.normal.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