Bug#907688: activemq: FTBFS (Plugin org.apache.xbean:maven-xbean-plugin:4.2 or one of its dependencies could not be resolved)
Santiago Vila
sanvila at debian.org
Fri Aug 31 12:30:17 BST 2018
Package: src:activemq
Version: 5.15.4-2
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
dh_update_autotools_config -i -O--buildsystem=maven
dh_autoreconf -i -O--buildsystem=maven
dh_auto_configure -i -O--buildsystem=maven
mh_patchpoms -plibactivemq-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
dh_auto_build -i -O--buildsystem=maven
/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 -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...
[... snipped ...]
[INFO]
[INFO] --- maven-surefire-plugin:2.21.0:test (default-test) @ activemq-console ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ activemq-console ---
[INFO] Building jar: /<<PKGBUILDDIR>>/activemq-console/target/activemq-console-5.15.4.jar
[INFO]
[INFO] ------------------< org.apache.activemq:activemq-ra >-------------------
[INFO] Building ActiveMQ :: RA 5.15.4 [11/15]
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for org.apache.xbean:maven-xbean-plugin:jar:4.2 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] ActiveMQ 5.15.4 .................................... SUCCESS [ 0.063 s]
[INFO] ActiveMQ :: Client ................................. SUCCESS [ 10.458 s]
[INFO] ActiveMQ :: Openwire Legacy Support ................ SUCCESS [ 2.743 s]
[INFO] ActiveMQ :: JAAS ................................... SUCCESS [ 0.306 s]
[INFO] ActiveMQ :: Broker ................................. SUCCESS [ 4.086 s]
[INFO] ActiveMQ :: KahaDB Store ........................... SUCCESS [ 2.348 s]
[INFO] ActiveMQ :: STOMP Protocol ......................... SUCCESS [ 0.500 s]
[INFO] ActiveMQ :: MQTT Protocol .......................... SUCCESS [ 0.535 s]
[INFO] ActiveMQ :: JDBC Store ............................. SUCCESS [ 0.663 s]
[INFO] ActiveMQ :: Console ................................ SUCCESS [ 0.958 s]
[INFO] ActiveMQ :: RA ..................................... FAILURE [ 0.002 s]
[INFO] ActiveMQ :: Run Jar ................................ SKIPPED
[INFO] ActiveMQ :: Shiro .................................. SKIPPED
[INFO] ActiveMQ :: Spring ................................. SKIPPED
[INFO] ActiveMQ :: Log4j Appender 5.15.4 .................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 24.108 s
[INFO] Finished at: 2018-08-28T17:44:53Z
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.apache.xbean:maven-xbean-plugin:4.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.xbean:maven-xbean-plugin:jar:4.2 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 -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
make: *** [debian/rules:4: build-indep] Error 1
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------
The build was made in my autobuilder with "dpkg-buildpackage -A"
but it also fails here:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/activemq.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