Bug#871346: activemq: FTBFS: ERROR Failed to execute goal on project [36mactivemq-client[m: =?UTF-8?Q?=1B[1; 31mCould?= not resolve dependencies for project org.apache.activemq:activemq-client:jar:5.14.5: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact javax.jmdns:jmdns:jar:debian has not been downloaded from it before.[m -> [1m[Help 1][m
Lucas Nussbaum
lucas at debian.org
Mon Aug 7 15:46:28 UTC 2017
Source: activemq
Version: 5.14.5-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):
> debian/rules build
> dh build --buildsystem=maven
> dh_update_autotools_config -O--buildsystem=maven
> dh_autoreconf -O--buildsystem=maven
> dh_auto_configure -O--buildsystem=maven
> mh_patchpoms -plibactivemq-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
> 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 javadoc:jar javadoc:aggregate -DskipTests -Dnotimestamp=true -Dlocale=en_US
> [[1;34mINFO[m] Scanning for projects...
> [[1;33mWARNING[m]
> [[1;33mWARNING[m] Some problems were encountered while building the effective model for org.apache.activemq:activemq-client:jar:5.14.5
> [[1;33mWARNING[m] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: javax:javaee-api:jar -> duplicate declaration of version 5.0 @ org.apache.activemq:activemq-parent:5.14.5, /<<PKGBUILDDIR>>/pom.xml, line 390, column 16
> [[1;33mWARNING[m] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: javax:javaee-api:jar -> duplicate declaration of version 5.0 @ org.apache.activemq:activemq-parent:5.14.5, /<<PKGBUILDDIR>>/pom.xml, line 395, column 16
> [[1;33mWARNING[m] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: javax:javaee-api:jar -> duplicate declaration of version 5.0 @ org.apache.activemq:activemq-parent:5.14.5, /<<PKGBUILDDIR>>/pom.xml, line 400, column 16
> [[1;33mWARNING[m] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: javax:javaee-api:jar -> duplicate declaration of version 5.0 @ org.apache.activemq:activemq-parent:5.14.5, /<<PKGBUILDDIR>>/pom.xml, line 851, column 16
> [[1;33mWARNING[m]
> [[1;33mWARNING[m] Some problems were encountered while building the effective model for org.apache.activemq:activemq-mqtt:jar:5.14.5
> [[1;33mWARNING[m] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: javax:javaee-api:jar -> duplicate declaration of version (?) @ line 81, column 15
> [[1;33mWARNING[m]
> [[1;33mWARNING[m] Some problems were encountered while building the effective model for org.apache.activemq:activemq-kahadb-store:jar:5.14.5
> [[1;33mWARNING[m] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: javax:javaee-api:jar -> duplicate declaration of version (?) @ line 72, column 15
> [[1;33mWARNING[m]
> [[1;33mWARNING[m] Some problems were encountered while building the effective model for org.apache.activemq:activemq-spring:jar:5.14.5
> [[1;33mWARNING[m] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: javax:javaee-api:jar -> duplicate declaration of version (?) @ line 110, column 15
> [[1;33mWARNING[m]
> [[1;33mWARNING[m] Some problems were encountered while building the effective model for org.apache.activemq:activemq-parent:pom:5.14.5
> [[1;33mWARNING[m] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: javax:javaee-api:jar -> duplicate declaration of version 5.0 @ line 390, column 16
> [[1;33mWARNING[m] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: javax:javaee-api:jar -> duplicate declaration of version 5.0 @ line 395, column 16
> [[1;33mWARNING[m] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: javax:javaee-api:jar -> duplicate declaration of version 5.0 @ line 400, column 16
> [[1;33mWARNING[m] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: javax:javaee-api:jar -> duplicate declaration of version 5.0 @ line 851, column 16
> [[1;33mWARNING[m]
> [[1;33mWARNING[m] It is highly recommended to fix these problems because they threaten the stability of your build.
> [[1;33mWARNING[m]
> [[1;33mWARNING[m] For this reason, future Maven versions might no longer support building such malformed projects.
> [[1;33mWARNING[m]
> [[1;33mWARNING[m] The project org.apache.activemq:activemq-parent:pom:5.14.5 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
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1mReactor Build Order:[m
> [[1;34mINFO[m]
> [[1;34mINFO[m] ActiveMQ
> [[1;34mINFO[m] ActiveMQ :: Client
> [[1;34mINFO[m] ActiveMQ :: Openwire Legacy Support
> [[1;34mINFO[m] ActiveMQ :: JAAS
> [[1;34mINFO[m] ActiveMQ :: Broker
> [[1;34mINFO[m] ActiveMQ :: KahaDB Store
> [[1;34mINFO[m] ActiveMQ :: STOMP Protocol
> [[1;34mINFO[m] ActiveMQ :: MQTT Protocol
> [[1;34mINFO[m] ActiveMQ :: Console
> [[1;34mINFO[m] ActiveMQ :: RA
> [[1;34mINFO[m] ActiveMQ :: Run Jar
> [[1;34mINFO[m] ActiveMQ :: Shiro
> [[1;34mINFO[m] ActiveMQ :: Spring
> [[1;34mINFO[m] ActiveMQ :: Log4j Appender
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1mBuilding ActiveMQ 5.14.5[m
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-enforcer-plugin:1.4.2:enforce[m [1m(default)[m @ [36mactivemq-parent[0;1m ---[m
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-bundle-plugin:2.5.4:cleanVersions[m [1m(cleanVersions)[m @ [36mactivemq-parent[0;1m ---[m
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-javadoc-plugin:2.10.4:jar[m [1m(default-cli)[m @ [36mactivemq-parent[0;1m ---[m
> [[1;34mINFO[m] Not executing Javadoc as the project is not a Java classpath-capable package
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1mBuilding ActiveMQ :: Client 5.14.5[m
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;33mWARNING[m] The POM for javax.jmdns:jmdns:jar:debian is missing, no dependency information available
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1mSkipping ActiveMQ[m
> [[1;34mINFO[m] This project has been banned from the build due to previous failures.
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1mReactor Summary:[m
> [[1;34mINFO[m]
> [[1;34mINFO[m] ActiveMQ ........................................... [1;32mSUCCESS[m [ 0.349 s]
> [[1;34mINFO[m] ActiveMQ :: Client ................................. [1;31mFAILURE[m [ 0.027 s]
> [[1;34mINFO[m] ActiveMQ :: Openwire Legacy Support ................ [1;33mSKIPPED[m
> [[1;34mINFO[m] ActiveMQ :: JAAS ................................... [1;33mSKIPPED[m
> [[1;34mINFO[m] ActiveMQ :: Broker ................................. [1;33mSKIPPED[m
> [[1;34mINFO[m] ActiveMQ :: KahaDB Store ........................... [1;33mSKIPPED[m
> [[1;34mINFO[m] ActiveMQ :: STOMP Protocol ......................... [1;33mSKIPPED[m
> [[1;34mINFO[m] ActiveMQ :: MQTT Protocol .......................... [1;33mSKIPPED[m
> [[1;34mINFO[m] ActiveMQ :: Console ................................ [1;33mSKIPPED[m
> [[1;34mINFO[m] ActiveMQ :: RA ..................................... [1;33mSKIPPED[m
> [[1;34mINFO[m] ActiveMQ :: Run Jar ................................ [1;33mSKIPPED[m
> [[1;34mINFO[m] ActiveMQ :: Shiro .................................. [1;33mSKIPPED[m
> [[1;34mINFO[m] ActiveMQ :: Spring ................................. [1;33mSKIPPED[m
> [[1;34mINFO[m] ActiveMQ :: Log4j Appender ......................... [1;33mSKIPPED[m
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1;31mBUILD FAILURE[m
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] Total time: 1.037 s
> [[1;34mINFO[m] Finished at: 2017-08-07T11:08:51Z
> [[1;34mINFO[m] Final Memory: 23M/897M
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;31mERROR[m] Failed to execute goal on project [36mactivemq-client[m: [1;31mCould not resolve dependencies for project org.apache.activemq:activemq-client:jar:5.14.5: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact javax.jmdns:jmdns:jar:debian has not been downloaded from it before.[m -> [1m[Help 1][m
> [[1;31mERROR[m]
> [[1;31mERROR[m] To see the full stack trace of the errors, re-run Maven with the [1m-e[m switch.
> [[1;31mERROR[m] Re-run Maven using the [1m-X[m switch to enable full debug logging.
> [[1;31mERROR[m]
> [[1;31mERROR[m] For more information about the errors and possible solutions, please read the following articles:
> [[1;31mERROR[m] [1m[Help 1][m http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
> [[1;31mERROR[m]
> [[1;31mERROR[m] After correcting the problems, you can resume the build with the command
> [[1;31mERROR[m] [1mmvn <goals> -rf :activemq-client[m
> 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 javadoc:jar javadoc:aggregate -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/activemq_5.14.5-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