Bug#871325: shiro: FTBFS: =?UTF-8?Q?[=1B[1; 31mERROR=1B[m]?= Failed to execute goal on project shiro-core: =?UTF-8?Q?=1B[1; 31mCould?= not resolve dependencies for project org.apache.shiro:shiro-core:jar:1.3.2: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact junit:junit:jar:4.x has not been downloaded from it before. -> [Help 1]

Lucas Nussbaum lucas at debian.org
Mon Aug 7 16:00:34 UTC 2017


Source: shiro
Version: 1.3.2-1
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
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_auto_configure
> 	mh_patchpoms -plibshiro-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
>    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 -DskipTests -Dnotimestamp=true -Dlocale=en_US
> [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.3.2
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Shiro :: Core 1.3.2
> [INFO] ------------------------------------------------------------------------
> [WARNING] The POM for junit:junit:jar:4.x is missing, no dependency information available
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Apache Shiro ....................................... SUCCESS [  0.001 s]
> [INFO] Apache Shiro :: Core ............................... FAILURE [  0.045 s]
> [INFO] Apache Shiro :: Web ................................ SKIPPED
> [INFO] Apache Shiro :: Support :: AspectJ ................. SKIPPED
> [INFO] Apache Shiro :: Support :: EHCache ................. SKIPPED
> [INFO] Apache Shiro :: Support :: Quartz .................. SKIPPED
> [INFO] Apache Shiro :: Support :: Spring .................. SKIPPED
> [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: 0.613 s
> [INFO] Finished at: 2017-08-07T11:45:00Z
> [INFO] Final Memory: 23M/966M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project shiro-core: Could not resolve dependencies for project org.apache.shiro:shiro-core:jar:1.3.2: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact junit:junit:jar:4.x 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 :shiro-core
> 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 -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
> debian/rules:4: recipe for target 'build' failed
> make: *** [build] Error 2

The full build log is available from:
   http://aws-logs.debian.net/2017/08/07/shiro_1.3.2-1_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