Bug#912390: shiro FTBFS with OpenJDK 11

Adrian Bunk bunk at debian.org
Wed Oct 31 03:09:10 GMT 2018


Source: shiro
Version: 1.3.2-2
Severity: serious
Tags: ftbfs

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

...
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project shiro-guice: Compilation failure: Compilation failure: 
[ERROR] /build/1st/shiro-1.3.2/support/guice/src/main/java/org/apache/shiro/guice/ShiroModule.java:[26,24] package javax.annotation does not exist
[ERROR] /build/1st/shiro-1.3.2/support/guice/src/main/java/org/apache/shiro/guice/ShiroModule.java:[65,14] cannot find symbol
[ERROR]   symbol: class PreDestroy
[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-guice
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=/build/1st/shiro-1.3.2 -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/build/1st/shiro-1.3.2/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/build/1st/shiro-1.3.2/debian -Dmaven.repo.local=/build/1st/shiro-1.3.2/debian/maven-repo --batch-mode package -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
make: *** [debian/rules:4: build] Error 2



More information about the pkg-java-maintainers mailing list