Bug#897525: access-modifier-checker: FTBFS: Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.0:jar

Lucas Nussbaum lucas at debian.org
Wed May 2 21:38:25 BST 2018


Source: access-modifier-checker
Version: 1.12-1
Severity: serious
Tags: buster sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20180502 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 build
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_auto_configure
> 	mh_patchpoms -plibaccess-modifier-checker-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
>    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] 
> [WARNING] Some problems were encountered while building the effective model for org.kohsuke:access-modifier-annotation:jar:1.12
> [WARNING] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter.
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.kohsuke:access-modifier-checker:maven-plugin:1.12
> [WARNING] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter.
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.kohsuke:access-modifier:pom:1.12
> [WARNING] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter. @ line 76, column 20
> [WARNING] 
> [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
> [WARNING] 
> [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
> [WARNING] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO] 
> [INFO] Custom access modifier for Java
> [INFO] Custom Acess Modifier annotations
> [INFO] Custom Access Modifier Checker
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Custom access modifier for Java 1.12
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-javadoc-plugin:3.0.0:jar (default-cli) @ access-modifier ---
> [INFO] Not executing Javadoc as the project is not a Java classpath-capable package
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Custom Acess Modifier annotations 1.12
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ access-modifier-annotation ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/access-modifier-annotation/src/main/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.2:compile (default-compile) @ access-modifier-annotation ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 9 source files to /<<PKGBUILDDIR>>/access-modifier-annotation/target/classes
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ access-modifier-annotation ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/access-modifier-annotation/src/test/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.2:testCompile (default-testCompile) @ access-modifier-annotation ---
> [INFO] No sources to compile
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.20.1:test (default-test) @ access-modifier-annotation ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ access-modifier-annotation ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/access-modifier-annotation/target/access-modifier-annotation-1.12.jar
> [INFO] 
> [INFO] --- maven-javadoc-plugin:3.0.0:jar (default-cli) @ access-modifier-annotation ---
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Skipping Custom access modifier for Java
> [INFO] This project has been banned from the build due to previous failures.
> [INFO] ------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Custom access modifier for Java .................... SUCCESS [  0.477 s]
> [INFO] Custom Acess Modifier annotations .................. FAILURE [  0.985 s]
> [INFO] Custom Access Modifier Checker ..................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1.650 s
> [INFO] Finished at: 2018-05-02T19:15:28Z
> [INFO] Final Memory: 16M/74M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.0:jar (default-cli) on project access-modifier-annotation: Execution default-cli of goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.0:jar failed. NullPointerException -> [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/PluginExecutionException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :access-modifier-annotation
> 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 returned exit code 1
> make: *** [debian/rules:4: build] Error 2

The full build log is available from:
   http://aws-logs.debian.net/2018/05/02/access-modifier-checker_1.12-1_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