Bug#713746: bridge-method-injector: FTBFS: Reason: POM 'org.apache.maven.plugins:maven-antrun-plugin' not found in repository: System is offline.

Lucas Nussbaum lucas at lucas-nussbaum.net
Sat Jun 22 14:11:15 UTC 2013


Source: bridge-method-injector
Version: 1.4-3
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20130620 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
>  debian/rules build
> test -x debian/rules
> mkdir -p "."
> /usr/share/maven-debian-helper/copy-repo.sh /«PKGBUILDDIR»/debian
> mh_patchpoms -plibbridge-method-injector-java --debian-build --keep-pom-version --maven-repo=/«PKGBUILDDIR»/debian/maven-repo 
> 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/maven2/boot/classworlds.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dproperties.file.manual=/«PKGBUILDDIR»/debian/maven.properties -Dclassworlds.conf=/etc/maven2/m2-debian.conf org.codehaus.classworlds.Launcher -s/etc/maven2/settings-debian.xml -Dmaven.repo.local=/«PKGBUILDDIR»/debian/maven-repo  install 
> [INFO] 
> NOTE: Maven is executing in offline mode. Any artifacts not already in your local
> repository will be inaccessible.
> 
> [INFO] Scanning for projects...
> [INFO] Reactor build order: 
> [INFO]   Bridge Method Injection Parent POM
> [INFO]   Bridge method injection annotations
> [INFO]   bridge-method-injector
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Bridge Method Injection Parent POM
> [INFO]    task-segment: [install]
> [INFO] ------------------------------------------------------------------------
> [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing /«PKGBUILDDIR»/pom.xml to /«PKGBUILDDIR»/debian/maven-repo/com/infradna/tool/bridge-method-injector-parent/1.4/bridge-method-injector-parent-1.4.pom
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Bridge method injection annotations
> [INFO]    task-segment: [install]
> [INFO] ------------------------------------------------------------------------
> [INFO] [resources:resources {execution: default-resources}]
> [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /«PKGBUILDDIR»/annotation/src/main/resources
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 2 source files to /«PKGBUILDDIR»/annotation/target/classes
> [INFO] [resources:testResources {execution: default-testResources}]
> [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /«PKGBUILDDIR»/annotation/src/test/resources
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] No sources to compile
> [INFO] [surefire:test {execution: default-test}]
> [INFO] No tests to run.
> [INFO] Surefire report directory: /«PKGBUILDDIR»/annotation/target/surefire-reports
> 
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> 
> Results :
> 
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> 
> [INFO] [jar:jar {execution: default-jar}]
> [INFO] Building jar: /«PKGBUILDDIR»/annotation/target/bridge-method-annotation-1.4.jar
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing /«PKGBUILDDIR»/annotation/target/bridge-method-annotation-1.4.jar to /«PKGBUILDDIR»/debian/maven-repo/com/infradna/tool/bridge-method-annotation/1.4/bridge-method-annotation-1.4.jar
> [INFO] ------------------------------------------------------------------------
> [INFO] Building bridge-method-injector
> [INFO]    task-segment: [install]
> [INFO] ------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
> 
> 
> Project ID: org.apache.maven.plugins:maven-antrun-plugin
> 
> Reason: POM 'org.apache.maven.plugins:maven-antrun-plugin' not found in repository: System is offline.
> 
>   org.apache.maven.plugins:maven-antrun-plugin:pom:1.6
> 
> 
>  for project org.apache.maven.plugins:maven-antrun-plugin
> 
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 6 seconds
> [INFO] Finished at: Fri Jun 21 06:10:55 UTC 2013
> [INFO] Final Memory: 14M/58M
> [INFO] ------------------------------------------------------------------------
> make: *** [mvn-build] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/06/20/bridge-method-injector_1.4-3_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