[Reproducible-builds] Bug#834471: shiro: FTBFS: org.apache.shiro.spring.LifecycleBeanPostProcessor is not abstract and does not override abstract method requiresDestruction(java.lang.Object) in org.springframework.beans.factory.config.DestructionAwareBeanPostProcessor
Chris Lamb
lamby at debian.org
Tue Aug 16 00:21:35 UTC 2016
Source: shiro
Version: 1.2.5-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Dear Maintainer,
shiro fails to build from source in unstable/amd64:
[..]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ shiro-ehcache ---
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Shiro :: Support :: Quartz 1.2.5
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ shiro-quartz ---
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Shiro :: Support :: Spring 1.2.5
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ shiro-spring ---
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Shiro :: Support :: Guice 1.2.5
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ shiro-guice ---
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Shiro :: Support :: Karaf Features 1.2.5
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ shiro-features ---
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Shiro :: Support 1.2.5
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ shiro-support ---
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Shiro :: Tools 1.2.5
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ shiro-tools ---
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Shiro :: Tools :: Hasher 1.2.5
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ shiro-tools-hasher ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Shiro ....................................... SUCCESS [ 0.062 s]
[INFO] Apache Shiro :: Core ............................... SUCCESS [ 0.031 s]
[INFO] Apache Shiro :: Web ................................ SUCCESS [ 0.004 s]
[INFO] Apache Shiro :: Support :: AspectJ ................. SUCCESS [ 0.003 s]
[INFO] Apache Shiro :: Support :: EHCache ................. SUCCESS [ 0.030 s]
[INFO] Apache Shiro :: Support :: Quartz .................. SUCCESS [ 0.004 s]
[INFO] Apache Shiro :: Support :: Spring .................. SUCCESS [ 0.004 s]
[INFO] Apache Shiro :: Support :: Guice ................... SUCCESS [ 0.002 s]
[INFO] Apache Shiro :: Support :: Karaf Features .......... SUCCESS [ 0.002 s]
[INFO] Apache Shiro :: Support ............................ SUCCESS [ 0.001 s]
[INFO] Apache Shiro :: Tools .............................. SUCCESS [ 0.001 s]
[INFO] Apache Shiro :: Tools :: Hasher .................... SUCCESS [ 0.004 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.980 s
[INFO] Finished at: 2016-08-16T01:17:23+01:00
[INFO] Final Memory: 13M/300M
[INFO] ------------------------------------------------------------------------
rm -f -r /home/lamby/temp/cdt.20160816011527.1Ib0KIJqS5.db.shiro/shiro-1.2.5/debian/maven-repo debian/stamp-maven-build
/usr/bin/make -f debian/rules unpatch-poms
make[1]: Entering directory '/home/lamby/temp/cdt.20160816011527.1Ib0KIJqS5.db.shiro/shiro-1.2.5'
dh_listpackages: -s/--same-arch is deprecated; please use -a/--arch instead
mh_unpatchpoms -plibshiro-java
rm -f -f debian/stamp-poms-patched
make[1]: Leaving directory '/home/lamby/temp/cdt.20160816011527.1Ib0KIJqS5.db.shiro/shiro-1.2.5'
dh_clean
mh_unpatchpoms -plibshiro-java
rm -f -f debian/stamp-poms-patched
mh_clean
rm -f debian/stamp-maven-check
debian/rules build
dh_listpackages: -s/--same-arch is deprecated; please use -a/--arch instead
test -x debian/rules
mkdir -p "."
/usr/share/maven-debian-helper/copy-repo.sh /home/lamby/temp/cdt.20160816011527.1Ib0KIJqS5.db.shiro/shiro-1.2.5/debian
find: '/usr/share/maven-repo/org/codehaus/plexus/plexus-compiler/*/*.jar': No such file or directory
find: '/usr/share/maven-repo/org/codehaus/plexus/plexus-compilers/*/*.jar': No such file or directory
find: '/usr/share/maven-repo/org/codehaus/plexus/plexus-containers/*/*.jar': No such file or directory
mh_patchpoms -plibshiro-java --debian-build --keep-pom-version --maven-repo=/home/lamby/temp/cdt.20160816011527.1Ib0KIJqS5.db.shiro/shiro-1.2.5/debian/maven-repo --build-no-docs
touch debian/stamp-poms-patched
# before-build target may be used to unpatch the pom files, so we need to check if
# patching the pom files is needed here, normally not
if [ ! -f pom.xml.save ]; then \
/usr/bin/make -f debian/rules patch-poms; \
fi
cd . && /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 -Dproperties.file.manual=/home/lamby/temp/cdt.20160816011527.1Ib0KIJqS5.db.shiro/shiro-1.2.5/debian/maven.properties -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/home/lamby/temp/cdt.20160816011527.1Ib0KIJqS5.db.shiro/shiro-1.2.5 org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Dmaven.repo.local=/home/lamby/temp/cdt.20160816011527.1Ib0KIJqS5.db.shiro/shiro-1.2.5/debian/maven-repo package -DskipTests
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Apache Shiro
[INFO] Apache Shiro :: Core
[INFO] Apache Shiro :: Web
[INFO] Apache Shiro :: Support :: AspectJ
[INFO] Apache Shiro :: Support :: EHCache
[INFO] Apache Shiro :: Support :: Quartz
[INFO] Apache Shiro :: Support :: Spring
[INFO] Apache Shiro :: Support :: Guice
[INFO] Apache Shiro :: Support :: Karaf Features
[INFO] Apache Shiro :: Support
[INFO] Apache Shiro :: Tools
[INFO] Apache Shiro :: Tools :: Hasher
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Shiro 1.2.5
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Shiro :: Core 1.2.5
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ shiro-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/lamby/temp/cdt.20160816011527.1Ib0KIJqS5.db.shiro/shiro-1.2.5/core/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ shiro-core ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 311 source files to /home/lamby/temp/cdt.20160816011527.1Ib0KIJqS5.db.shiro/shiro-1.2.5/core/target/classes
[INFO] /home/lamby/temp/cdt.20160816011527.1Ib0KIJqS5.db.shiro/shiro-1.2.5/core/src/main/java/org/apache/shiro/authc/credential/Sha256CredentialsMatcher.java: Some input files use or override a deprecated API.
[INFO] /home/lamby/temp/cdt.20160816011527.1Ib0KIJqS5.db.shiro/shiro-1.2.5/core/src/main/java/org/apache/shiro/authc/credential/Sha256CredentialsMatcher.java: Recompile with -Xlint:deprecation for details.
[INFO] /home/lamby/temp/cdt.20160816011527.1Ib0KIJqS5.db.shiro/shiro-1.2.5/core/src/main/java/org/apache/shiro/util/ClassUtils.java: Some input files use unchecked or unsafe operations.
[INFO] /home/lamby/temp/cdt.20160816011527.1Ib0KIJqS5.db.shiro/shiro-1.2.5/core/src/main/java/org/apache/shiro/util/ClassUtils.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ shiro-core ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ shiro-core ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ shiro-core ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ shiro-core ---
[INFO] Building jar: /home/lamby/temp/cdt.20160816011527.1Ib0KIJqS5.db.shiro/shiro-1.2.5/core/target/shiro-core-1.2.5.jar
[INFO]
[INFO] --- maven-jar-plugin:2.4:test-jar (default) @ shiro-core ---
[INFO] Skipping packaging of the test-jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Shiro :: Web 1.2.5
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ shiro-web ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ shiro-web ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 95 source files to /home/lamby/temp/cdt.20160816011527.1Ib0KIJqS5.db.shiro/shiro-1.2.5/web/target/classes
[INFO] /home/lamby/temp/cdt.20160816011527.1Ib0KIJqS5.db.shiro/shiro-1.2.5/web/src/main/java/org/apache/shiro/web/servlet/ShiroHttpServletRequest.java: Some input files use or override a deprecated API.
[INFO] /home/lamby/temp/cdt.20160816011527.1Ib0KIJqS5.db.shiro/shiro-1.2.5/web/src/main/java/org/apache/shiro/web/servlet/ShiroHttpServletRequest.java: Recompile with -Xlint:deprecation for details.
[INFO] /home/lamby/temp/cdt.20160816011527.1Ib0KIJqS5.db.shiro/shiro-1.2.5/web/src/main/java/org/apache/shiro/web/servlet/AbstractShiroFilter.java: Some input files use unchecked or unsafe operations.
[INFO] /home/lamby/temp/cdt.20160816011527.1Ib0KIJqS5.db.shiro/shiro-1.2.5/web/src/main/java/org/apache/shiro/web/servlet/AbstractShiroFilter.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ shiro-web ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ shiro-web ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ shiro-web ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ shiro-web ---
[INFO] Building jar: /home/lamby/temp/cdt.20160816011527.1Ib0KIJqS5.db.shiro/shiro-1.2.5/web/target/shiro-web-1.2.5.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Shiro :: Support :: AspectJ 1.2.5
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ shiro-aspectj ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/lamby/temp/cdt.20160816011527.1Ib0KIJqS5.db.shiro/shiro-1.2.5/support/aspectj/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ shiro-aspectj ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to /home/lamby/temp/cdt.20160816011527.1Ib0KIJqS5.db.shiro/shiro-1.2.5/support/aspectj/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ shiro-aspectj ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ shiro-aspectj ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ shiro-aspectj ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ shiro-aspectj ---
[INFO] Building jar: /home/lamby/temp/cdt.20160816011527.1Ib0KIJqS5.db.shiro/shiro-1.2.5/support/aspectj/target/shiro-aspectj-1.2.5.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Shiro :: Support :: EHCache 1.2.5
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ shiro-ehcache ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ shiro-ehcache ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to /home/lamby/temp/cdt.20160816011527.1Ib0KIJqS5.db.shiro/shiro-1.2.5/support/ehcache/target/classes
[INFO] /home/lamby/temp/cdt.20160816011527.1Ib0KIJqS5.db.shiro/shiro-1.2.5/support/ehcache/src/main/java/org/apache/shiro/cache/ehcache/EhCache.java: /home/lamby/temp/cdt.20160816011527.1Ib0KIJqS5.db.shiro/shiro-1.2.5/support/ehcache/src/main/java/org/apache/shiro/cache/ehcache/EhCache.java uses unchecked or unsafe operations.
[INFO] /home/lamby/temp/cdt.20160816011527.1Ib0KIJqS5.db.shiro/shiro-1.2.5/support/ehcache/src/main/java/org/apache/shiro/cache/ehcache/EhCache.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ shiro-ehcache ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ shiro-ehcache ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ shiro-ehcache ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-bundle-plugin:2.5.4:bundle (default-bundle) @ shiro-ehcache ---
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Shiro :: Support :: Quartz 1.2.5
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ shiro-quartz ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/lamby/temp/cdt.20160816011527.1Ib0KIJqS5.db.shiro/shiro-1.2.5/support/quartz/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ shiro-quartz ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to /home/lamby/temp/cdt.20160816011527.1Ib0KIJqS5.db.shiro/shiro-1.2.5/support/quartz/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ shiro-quartz ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ shiro-quartz ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ shiro-quartz ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-bundle-plugin:2.5.4:bundle (default-bundle) @ shiro-quartz ---
[WARNING] Bundle org.apache.shiro:shiro-quartz:bundle:1.2.5 : Unused Export-Package instructions: [org.apache.shiro.quartz*]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Shiro :: Support :: Spring 1.2.5
[INFO] ------------------------------------------------------------------------
[WARNING] The artifact org.springframework:spring-context:jar:3.x has been relocated to org.springframework:spring-context:jar:debian
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ shiro-spring ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/lamby/temp/cdt.20160816011527.1Ib0KIJqS5.db.shiro/shiro-1.2.5/support/spring/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ shiro-spring ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 11 source files to /home/lamby/temp/cdt.20160816011527.1Ib0KIJqS5.db.shiro/shiro-1.2.5/support/spring/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/lamby/temp/cdt.20160816011527.1Ib0KIJqS5.db.shiro/shiro-1.2.5/support/spring/src/main/java/org/apache/shiro/spring/LifecycleBeanPostProcessor.java:[46,8] org.apache.shiro.spring.LifecycleBeanPostProcessor is not abstract and does not override abstract method requiresDestruction(java.lang.Object) in org.springframework.beans.factory.config.DestructionAwareBeanPostProcessor
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Shiro ....................................... SUCCESS [ 0.004 s]
[INFO] Apache Shiro :: Core ............................... SUCCESS [ 3.971 s]
[INFO] Apache Shiro :: Web ................................ SUCCESS [ 0.746 s]
[INFO] Apache Shiro :: Support :: AspectJ ................. SUCCESS [ 0.092 s]
[INFO] Apache Shiro :: Support :: EHCache ................. SUCCESS [ 0.274 s]
[INFO] Apache Shiro :: Support :: Quartz .................. SUCCESS [ 0.112 s]
[INFO] Apache Shiro :: Support :: Spring .................. FAILURE [ 0.114 s]
[INFO] Apache Shiro :: Support :: Guice ................... SKIPPED
[INFO] Apache Shiro :: Support :: Karaf Features .......... SKIPPED
[INFO] Apache Shiro :: Support ............................ SKIPPED
[INFO] Apache Shiro :: Tools .............................. SKIPPED
[INFO] Apache Shiro :: Tools :: Hasher .................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.117 s
[INFO] Finished at: 2016-08-16T01:17:35+01:00
[INFO] Final Memory: 23M/305M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project shiro-spring: Compilation failure
[ERROR] /home/lamby/temp/cdt.20160816011527.1Ib0KIJqS5.db.shiro/shiro-1.2.5/support/spring/src/main/java/org/apache/shiro/spring/LifecycleBeanPostProcessor.java:[46,8] org.apache.shiro.spring.LifecycleBeanPostProcessor is not abstract and does not override abstract method requiresDestruction(java.lang.Object) in org.springframework.beans.factory.config.DestructionAwareBeanPostProcessor
[ERROR] -> [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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :shiro-spring
/usr/share/cdbs/1/class/maven.mk:92: recipe for target 'mvn-build' failed
make: *** [mvn-build] Error 1
[..]
The full build log is attached.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shiro.1.2.5-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 22643 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160816/5abc2b9f/attachment.obj>
More information about the Reproducible-builds
mailing list