Bug#906344: checkstyle: FTBFS in buster/sid (Plugin org.antlr:antlr4-maven-plugin:4.7.1 or one of its dependencies could not be resolved)

Santiago Vila sanvila at debian.org
Fri Aug 17 12:19:15 BST 2018


Package: src:checkstyle
Version: 8.8-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --buildsystem=maven --with javahelper
   dh_update_autotools_config -i -O--buildsystem=maven
   dh_autoreconf -i -O--buildsystem=maven
   dh_auto_configure -i -O--buildsystem=maven
	mh_patchpoms -pcheckstyle --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
   jh_linkjars -i -O--buildsystem=maven
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
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

[... snipped ...]

[WARNING] Failed to retrieve plugin descriptor for org.antlr:antlr4-maven-plugin:4.7.1: Plugin org.antlr:antlr4-maven-plugin:4.7.1 or one of its dependencies could not be resolved: Cannot access nexus-codehaus-snapshot (https://oss.sonatype.org/content/repositories/codehaus-snapshots/) in offline mode and the artifact org.antlr:antlr4-maven-plugin:jar:4.7.1 has not been downloaded from it before.
[WARNING] The POM for edu.illinois:nondex-maven-plugin:jar:1.1.1 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for edu.illinois:nondex-maven-plugin:1.1.1: Plugin edu.illinois:nondex-maven-plugin:1.1.1 or one of its dependencies could not be resolved: Cannot access nexus-codehaus-snapshot (https://oss.sonatype.org/content/repositories/codehaus-snapshots/) in offline mode and the artifact edu.illinois:nondex-maven-plugin:jar:1.1.1 has not been downloaded from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-install-plugin:jar:2.4 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-install-plugin:2.4: Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved: Cannot access nexus-codehaus-snapshot (https://oss.sonatype.org/content/repositories/codehaus-snapshots/) in offline mode and the artifact org.apache.maven.plugins:maven-install-plugin:jar:2.4 has not been downloaded from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-deploy-plugin:jar:2.7 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-deploy-plugin:2.7: Plugin org.apache.maven.plugins:maven-deploy-plugin:2.7 or one of its dependencies could not be resolved: Cannot access nexus-codehaus-snapshot (https://oss.sonatype.org/content/repositories/codehaus-snapshots/) in offline mode and the artifact org.apache.maven.plugins:maven-deploy-plugin:jar:2.7 has not been downloaded from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-assembly-plugin:jar:3.1.0 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-assembly-plugin:3.1.0: Plugin org.apache.maven.plugins:maven-assembly-plugin:3.1.0 or one of its dependencies could not be resolved: Cannot access nexus-codehaus-snapshot (https://oss.sonatype.org/content/repositories/codehaus-snapshots/) in offline mode and the artifact org.apache.maven.plugins:maven-assembly-plugin:jar:3.1.0 has not been downloaded from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-dependency-plugin:jar:3.0.2 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-dependency-plugin:3.0.2: Plugin org.apache.maven.plugins:maven-dependency-plugin:3.0.2 or one of its dependencies could not be resolved: Cannot access nexus-codehaus-snapshot (https://oss.sonatype.org/content/repositories/codehaus-snapshots/) in offline mode and the artifact org.apache.maven.plugins:maven-dependency-plugin:jar:3.0.2 has not been downloaded from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-release-plugin:jar:2.1 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-release-plugin:2.1: Plugin org.apache.maven.plugins:maven-release-plugin:2.1 or one of its dependencies could not be resolved: Cannot access nexus-codehaus-snapshot (https://oss.sonatype.org/content/repositories/codehaus-snapshots/) in offline mode and the artifact org.apache.maven.plugins:maven-release-plugin:jar:2.1 has not been downloaded from it before.
[WARNING] The POM for org.codehaus.mojo:sonar-maven-plugin:jar:3.4.0.905 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.codehaus.mojo:sonar-maven-plugin:3.4.0.905: Plugin org.codehaus.mojo:sonar-maven-plugin:3.4.0.905 or one of its dependencies could not be resolved: Cannot access nexus-codehaus-snapshot (https://oss.sonatype.org/content/repositories/codehaus-snapshots/) in offline mode and the artifact org.codehaus.mojo:sonar-maven-plugin:jar:3.4.0.905 has not been downloaded from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-shade-plugin:jar:3.1.0 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-shade-plugin:3.1.0: Plugin org.apache.maven.plugins:maven-shade-plugin:3.1.0 or one of its dependencies could not be resolved: Cannot access nexus-codehaus-snapshot (https://oss.sonatype.org/content/repositories/codehaus-snapshots/) in offline mode and the artifact org.apache.maven.plugins:maven-shade-plugin:jar:3.1.0 has not been downloaded from it before.
[WARNING] The POM for org.pitest:pitest-maven:jar:1.3.1 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.pitest:pitest-maven:1.3.1: Plugin org.pitest:pitest-maven:1.3.1 or one of its dependencies could not be resolved: Cannot access nexus-codehaus-snapshot (https://oss.sonatype.org/content/repositories/codehaus-snapshots/) in offline mode and the artifact org.pitest:pitest-maven:jar:1.3.1 has not been downloaded from it before.
[INFO] 
[INFO] ------------------< com.puppycrawl.tools:checkstyle >-------------------
[INFO] Building checkstyle 8.8
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for org.antlr:antlr4-maven-plugin:jar:4.7.1 is missing, no dependency information available
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Skipping checkstyle
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.563 s
[INFO] Finished at: 2018-08-10T17:12:06Z
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.antlr:antlr4-maven-plugin:4.7.1 or one of its dependencies could not be resolved: Cannot access nexus-codehaus-snapshot (https://oss.sonatype.org/content/repositories/codehaus-snapshots/) in offline mode and the artifact org.antlr:antlr4-maven-plugin:jar:4.7.1 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/PluginResolutionException
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[1]: *** [debian/rules:9: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

The build was made with "dpkg-buildpackage -A" in my autobuilder.
Most probably, it also fails here in reproducible builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/checkstyle.html

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.

Thanks.



More information about the pkg-java-maintainers mailing list