Bug#871346: activemq: FTBFS: ERROR Failed to execute goal on project activemq-client: =?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. -> [Help 1]

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
> [INFO] Scanning for projects...
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.apache.activemq:activemq-client:jar:5.14.5
> [WARNING] '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
> [WARNING] '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
> [WARNING] '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
> [WARNING] '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
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.apache.activemq:activemq-mqtt:jar:5.14.5
> [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: javax:javaee-api:jar -> duplicate declaration of version (?) @ line 81, column 15
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.apache.activemq:activemq-kahadb-store:jar:5.14.5
> [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: javax:javaee-api:jar -> duplicate declaration of version (?) @ line 72, column 15
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.apache.activemq:activemq-spring:jar:5.14.5
> [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: javax:javaee-api:jar -> duplicate declaration of version (?) @ line 110, column 15
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.apache.activemq:activemq-parent:pom:5.14.5
> [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: javax:javaee-api:jar -> duplicate declaration of version 5.0 @ line 390, column 16
> [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: javax:javaee-api:jar -> duplicate declaration of version 5.0 @ line 395, column 16
> [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: javax:javaee-api:jar -> duplicate declaration of version 5.0 @ line 400, column 16
> [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: javax:javaee-api:jar -> duplicate declaration of version 5.0 @ line 851, column 16
> [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] 
> [WARNING] 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
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO] 
> [INFO] ActiveMQ
> [INFO] ActiveMQ :: Client
> [INFO] ActiveMQ :: Openwire Legacy Support
> [INFO] ActiveMQ :: JAAS
> [INFO] ActiveMQ :: Broker
> [INFO] ActiveMQ :: KahaDB Store
> [INFO] ActiveMQ :: STOMP Protocol
> [INFO] ActiveMQ :: MQTT Protocol
> [INFO] ActiveMQ :: Console
> [INFO] ActiveMQ :: RA
> [INFO] ActiveMQ :: Run Jar
> [INFO] ActiveMQ :: Shiro
> [INFO] ActiveMQ :: Spring
> [INFO] ActiveMQ :: Log4j Appender
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building ActiveMQ 5.14.5
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-enforcer-plugin:1.4.2:enforce (default) @ activemq-parent ---
> [INFO] 
> [INFO] --- maven-bundle-plugin:2.5.4:cleanVersions (cleanVersions) @ activemq-parent ---
> [INFO] 
> [INFO] --- maven-javadoc-plugin:2.10.4:jar (default-cli) @ activemq-parent ---
> [INFO] Not executing Javadoc as the project is not a Java classpath-capable package
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building ActiveMQ :: Client 5.14.5
> [INFO] ------------------------------------------------------------------------
> [WARNING] The POM for javax.jmdns:jmdns:jar:debian is missing, no dependency information available
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Skipping ActiveMQ
> [INFO] This project has been banned from the build due to previous failures.
> [INFO] ------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] ActiveMQ ........................................... SUCCESS [  0.349 s]
> [INFO] ActiveMQ :: Client ................................. FAILURE [  0.027 s]
> [INFO] ActiveMQ :: Openwire Legacy Support ................ SKIPPED
> [INFO] ActiveMQ :: JAAS ................................... SKIPPED
> [INFO] ActiveMQ :: Broker ................................. SKIPPED
> [INFO] ActiveMQ :: KahaDB Store ........................... SKIPPED
> [INFO] ActiveMQ :: STOMP Protocol ......................... SKIPPED
> [INFO] ActiveMQ :: MQTT Protocol .......................... SKIPPED
> [INFO] ActiveMQ :: Console ................................ SKIPPED
> [INFO] ActiveMQ :: RA ..................................... SKIPPED
> [INFO] ActiveMQ :: Run Jar ................................ SKIPPED
> [INFO] ActiveMQ :: Shiro .................................. SKIPPED
> [INFO] ActiveMQ :: Spring ................................. SKIPPED
> [INFO] ActiveMQ :: Log4j Appender ......................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1.037 s
> [INFO] Finished at: 2017-08-07T11:08:51Z
> [INFO] Final Memory: 23M/897M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project activemq-client: Could 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. -> [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 :activemq-client
> 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