Bug#761540: bridge-method-injector: FTBFS: Missing required artifact: asm:asm-debug-all:jar:debian
David Suárez
david.sephirot at gmail.com
Sun Sep 14 15:16:15 UTC 2014
Source: bridge-method-injector
Version: 1.8-1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20140913 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
> 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.8/bridge-method-injector-parent-1.8.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}]
> [WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
> [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.8.jar
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing /«PKGBUILDDIR»/annotation/target/bridge-method-annotation-1.8.jar to /«PKGBUILDDIR»/debian/maven-repo/com/infradna/tool/bridge-method-annotation/1.8/bridge-method-annotation-1.8.jar
> [INFO] ------------------------------------------------------------------------
> [INFO] Building bridge-method-injector
> [INFO] task-segment: [install]
> [INFO] ------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) asm:asm-debug-all:jar:debian
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=asm -DartifactId=asm-debug-all -Dversion=debian -Dpackaging=jar -Dfile=/path/to/file
>
> Alternatively, if you host your own repository you can deploy the file there:
> mvn deploy:deploy-file -DgroupId=asm -DartifactId=asm-debug-all -Dversion=debian -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
> Path to dependency:
> 1) com.infradna.tool:bridge-method-injector:maven-plugin:1.8
> 2) asm:asm-debug-all:jar:debian
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
> com.infradna.tool:bridge-method-injector:maven-plugin:1.8
>
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2)
>
>
>
> NOTE: Maven is executing in offline mode. Any artifacts not already in your local
> repository will be inaccessible.
>
>
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 4 seconds
> [INFO] Finished at: Sat Sep 13 22:39:29 UTC 2014
> [INFO] Final Memory: 22M/328M
> [INFO] ------------------------------------------------------------------------
> make: *** [mvn-build] Error 1
The full build log is available from:
http://aws-logs.debian.net/ftbfs-logs/2014/09/13/bridge-method-injector_1.8-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