Bug#963396: jimfs: FTBFS: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project jimfs: Compilation failure

Lucas Nussbaum lucas at debian.org
Sun Jun 21 21:30:06 BST 2020


Source: jimfs
Version: 1.1-5
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200620 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> install -d 0755 jimfs/target/classes/META-INF/services/
> echo com.google.common.jimfs.SystemJimfsFileSystemProvider \
>   > jimfs/target/classes/META-INF/services/java.nio.file.spi.FileSystemProvider
> dh_auto_build
> 	/usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.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 --batch-mode package javadoc:jar javadoc:aggregate -DskipTests -Dnotimestamp=true -Dlocale=en_US
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
> WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
> WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
> WARNING: All illegal access operations will be denied in a future release
> [INFO] Scanning for projects...
> [WARNING] The project com.google.jimfs:jimfs-parent:pom:1.1 uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO] 
> [INFO] Jimfs Parent                                                       [pom]
> [INFO] Jimfs                                                           [bundle]
> [WARNING] The POM for org.apache.maven.plugins:maven-gpg-plugin:jar:1.4 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-gpg-plugin:1.4: Plugin org.apache.maven.plugins:maven-gpg-plugin:1.4 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-gpg-plugin:jar:1.4 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-gpg-plugin:jar:1.4 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-gpg-plugin:1.4: Plugin org.apache.maven.plugins:maven-gpg-plugin:1.4 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-gpg-plugin:jar:1.4 has not been downloaded from it before.
> [INFO] 
> [INFO] -------------------< com.google.jimfs:jimfs-parent >--------------------
> [INFO] Building Jimfs Parent 1.1                                          [1/2]
> [INFO] --------------------------------[ pom ]---------------------------------
> [WARNING] The POM for org.apache.maven.plugins:maven-gpg-plugin:jar:1.4 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-gpg-plugin:1.4: Plugin org.apache.maven.plugins:maven-gpg-plugin:1.4 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-gpg-plugin:jar:1.4 has not been downloaded from it before.
> [INFO] 
> [INFO] --- maven-javadoc-plugin:3.0.1:jar (default-cli) @ jimfs-parent ---
> [INFO] Not executing Javadoc as the project is not a Java classpath-capable package
> [INFO] 
> [INFO] -----------------------< com.google.jimfs:jimfs >-----------------------
> [INFO] Building Jimfs 1.1                                                 [2/2]
> [INFO] -------------------------------[ bundle ]-------------------------------
> [WARNING] The POM for org.apache.maven.plugins:maven-gpg-plugin:jar:1.4 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-gpg-plugin:1.4: Plugin org.apache.maven.plugins:maven-gpg-plugin:1.4 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-gpg-plugin:jar:1.4 has not been downloaded from it before.
> [WARNING] The POM for org.apache.maven.plugins:maven-source-plugin:jar:2.1.2 is missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-source-plugin:2.1.2: Plugin org.apache.maven.plugins:maven-source-plugin:2.1.2 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-source-plugin:jar:2.1.2 has not been downloaded from it before.
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ jimfs ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/jimfs/src/main/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ jimfs ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 58 source files to /<<PKGBUILDDIR>>/jimfs/target/classes
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR : 
> [INFO] -------------------------------------------------------------
> [ERROR] /<<PKGBUILDDIR>>/jimfs/src/main/java/com/google/common/jimfs/PathService.java:[290,30] error: <anonymous com.google.common.jimfs.PathService$1> is not abstract and does not override abstract method test(Object) in Predicate
> [INFO] 1 error
> [INFO] -------------------------------------------------------------
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Skipping Jimfs Parent
> [INFO] This project has been banned from the build due to previous failures.
> [INFO] ------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary for Jimfs Parent 1.1:
> [INFO] 
> [INFO] Jimfs Parent ....................................... SUCCESS [  0.283 s]
> [INFO] Jimfs .............................................. FAILURE [  1.660 s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time:  2.604 s
> [INFO] Finished at: 2020-06-21T07:32:39Z
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project jimfs: Compilation failure
> [ERROR] /<<PKGBUILDDIR>>/jimfs/src/main/java/com/google/common/jimfs/PathService.java:[290,30] error: <anonymous com.google.common.jimfs.PathService$1> is not abstract and does not override abstract method test(Object) in Predicate
> [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
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <args> -rf :jimfs
> dh_auto_build: error: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.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 --batch-mode package javadoc:jar javadoc:aggregate -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
> make[1]: *** [debian/rules:9: override_dh_auto_build] Error 25

The full build log is available from:
   http://qa-logs.debian.net/2020/06/20/jimfs_1.1-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