Bug#713382: antlr3: FTBFS: Missing required artifact: backport-util-concurrent:backport-util-concurrent:jar:debian

Lucas Nussbaum lucas at lucas-nussbaum.net
Sat Jun 22 13:40:29 UTC 2013


Source: antlr3
Version: 3.2-7
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 -pantlr3 --debian-build --keep-pom-version --maven-repo=/«PKGBUILDDIR»/debian/maven-repo 
> touch debian/stamp-poms-patched
> mh_unpatchpoms -pantlr3
> rm -f -f debian/stamp-poms-patched
> cp -r debian/generated-sources/antlr3/* tool/src/main/java
> mh_patchpoms -pantlr3 --debian-build --keep-pom-version -idebian/maven.bootstrap.ignoreRules --maven-repo=/«PKGBUILDDIR»/debian/maven-repo
> 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 -DbuildNumber="debian-7" -Ddebian.dir=/«PKGBUILDDIR»/debian -Ddebian.package=antlr3 -Dmaven.repo.local=/«PKGBUILDDIR»/debian/maven-repo -Dinstall.to.usj=false -Dmaven.test.skip=true -Duse.maven.repo.local=true -N package install org.debian.maven:debian-maven-plugin:1.6.3: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] ------------------------------------------------------------------------
> [INFO] Building ANTLR Master build control POM
> [INFO]    task-segment: [package, install, org.debian.maven:debian-maven-plugin:1.6.3:install]
> [INFO] ------------------------------------------------------------------------
> [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
> [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing /«PKGBUILDDIR»/pom.xml to /«PKGBUILDDIR»/debian/maven-repo/org/antlr/antlr-master/3.2/antlr-master-3.2.pom
> [INFO] [debian:install {execution: default-cli}]
> Cleaning pom file: /«PKGBUILDDIR»/pom.xml.save with options:
> 	--keep-pom-version --package=antlr3
> 	--rules=/«PKGBUILDDIR»/debian/maven.rules
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 3 seconds
> [INFO] Finished at: Fri Jun 21 05:50:07 UTC 2013
> [INFO] Final Memory: 8M/58M
> [INFO] ------------------------------------------------------------------------
> cd runtime/Java && 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 -DbuildNumber="debian-7" -Ddebian.dir=/«PKGBUILDDIR»/debian -Ddebian.package=antlr3 -Dmaven.repo.local=/«PKGBUILDDIR»/debian/maven-repo -Dinstall.to.usj=false -Dmaven.test.skip=true -Duse.maven.repo.local=true package install org.debian.maven:debian-maven-plugin:1.6.3: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] ------------------------------------------------------------------------
> [INFO] Building Antlr 3 Runtime
> [INFO]    task-segment: [package, install, org.debian.maven:debian-maven-plugin:1.6.3: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»/runtime/Java/src/main/resources
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 82 source files to /«PKGBUILDDIR»/runtime/Java/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»/runtime/Java/src/test/resources
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] Not compiling test sources
> [INFO] [surefire:test {execution: default-test}]
> [INFO] Tests are skipped.
> [INFO] [jar:jar {execution: default-jar}]
> [INFO] Building jar: /«PKGBUILDDIR»/runtime/Java/target/antlr-runtime-3.2.jar
> [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»/runtime/Java/src/main/resources
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Nothing to compile - all classes are up to date
> [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»/runtime/Java/src/test/resources
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] Not compiling test sources
> [INFO] [surefire:test {execution: default-test}]
> [INFO] Tests are skipped.
> [INFO] [jar:jar {execution: default-jar}]
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing /«PKGBUILDDIR»/runtime/Java/target/antlr-runtime-3.2.jar to /«PKGBUILDDIR»/debian/maven-repo/org/antlr/antlr-runtime/3.2/antlr-runtime-3.2.jar
> [INFO] [debian:install {execution: default-cli}]
> Cleaning pom file: /«PKGBUILDDIR»/runtime/Java/pom.xml.save with options:
> 	--keep-pom-version --package=antlr3
> 	--rules=/«PKGBUILDDIR»/debian/maven.rules
> Install jar file into Maven repo: /«PKGBUILDDIR»/runtime/Java/target/antlr-runtime-3.2.jar
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 9 seconds
> [INFO] Finished at: Fri Jun 21 05:50:17 UTC 2013
> [INFO] Final Memory: 13M/58M
> [INFO] ------------------------------------------------------------------------
> cd tool && 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 -DbuildNumber="debian-7" -Ddebian.dir=/«PKGBUILDDIR»/debian -Ddebian.package=antlr3 -Dmaven.repo.local=/«PKGBUILDDIR»/debian/maven-repo -Dinstall.to.usj=false -Dmaven.test.skip=true -Duse.maven.repo.local=true package install org.debian.maven:debian-maven-plugin:1.6.3: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] ------------------------------------------------------------------------
> [INFO] Building ANTLR Grammar Tool
> [INFO]    task-segment: [package, install, org.debian.maven:debian-maven-plugin:1.6.3:install]
> [INFO] ------------------------------------------------------------------------
> [INFO] [antlr:generate {execution: default}]
> [INFO] Using Antlr grammar: /«PKGBUILDDIR»/tool/src/main/antlr2/org/antlr/grammar/v2/antlr.g
> ANTLR Parser Generator   Version 2.7.7 (20130425)   1989-2005
> /«PKGBUILDDIR»/tool/src/main/antlr2/org/antlr/grammar/v2/antlr.g:963: warning:nongreedy block may exit incorrectly due
> /«PKGBUILDDIR»/tool/src/main/antlr2/org/antlr/grammar/v2/antlr.g:963:     	to limitations of linear approximate lookahead (first k-1 sets
> /«PKGBUILDDIR»/tool/src/main/antlr2/org/antlr/grammar/v2/antlr.g:963:     	in lookahead not singleton).
> /«PKGBUILDDIR»/tool/src/main/antlr2/org/antlr/grammar/v2/antlr.g:1141: warning:nongreedy block may exit incorrectly due
> /«PKGBUILDDIR»/tool/src/main/antlr2/org/antlr/grammar/v2/antlr.g:1141:     	to limitations of linear approximate lookahead (first k-1 sets
> /«PKGBUILDDIR»/tool/src/main/antlr2/org/antlr/grammar/v2/antlr.g:1141:     	in lookahead not singleton).
> 
> [INFO] Using Antlr grammar: /«PKGBUILDDIR»/tool/src/main/antlr2/org/antlr/grammar/v2/codegen.g
> ANTLR Parser Generator   Version 2.7.7 (20130425)   1989-2005
> 
> [INFO] Using Antlr grammar: /«PKGBUILDDIR»/tool/src/main/antlr2/org/antlr/grammar/v2/antlr.print.g
> ANTLR Parser Generator   Version 2.7.7 (20130425)   1989-2005
> 
> [INFO] Using Antlr grammar: /«PKGBUILDDIR»/tool/src/main/antlr2/org/antlr/grammar/v2/assign.types.g
> ANTLR Parser Generator   Version 2.7.7 (20130425)   1989-2005
> /«PKGBUILDDIR»/tool/src/main/antlr2/org/antlr/grammar/v2/assign.types.g:160:18: warning:Rule 'optionsSpec' returns a value
> /«PKGBUILDDIR»/tool/src/main/antlr2/org/antlr/grammar/v2/assign.types.g:240:13: warning:Rule 'optionsSpec' returns a value
> /«PKGBUILDDIR»/tool/src/main/antlr2/org/antlr/grammar/v2/assign.types.g:263:14: warning:Rule 'optionsSpec' returns a value
> 
> [INFO] Using Antlr grammar: /«PKGBUILDDIR»/tool/src/main/antlr2/org/antlr/grammar/v2/buildnfa.g
> ANTLR Parser Generator   Version 2.7.7 (20130425)   1989-2005
> /«PKGBUILDDIR»/tool/src/main/antlr2/org/antlr/grammar/v2/buildnfa.g:298:19: warning:Rule 'atom' returns a value
> /«PKGBUILDDIR»/tool/src/main/antlr2/org/antlr/grammar/v2/buildnfa.g:298:32: warning:Rule 'atom' returns a value
> /«PKGBUILDDIR»/tool/src/main/antlr2/org/antlr/grammar/v2/buildnfa.g:310:20: warning:Rule 'block' returns a value
> 
> [INFO] Using Antlr grammar: /«PKGBUILDDIR»/tool/src/main/antlr2/org/antlr/grammar/v2/define.g
> ANTLR Parser Generator   Version 2.7.7 (20130425)   1989-2005
> /«PKGBUILDDIR»/tool/src/main/antlr2/org/antlr/grammar/v2/define.g:253:24: warning:Rule 'modifier' returns a value
> 
> [INFO] [resources:resources {execution: default-resources}]
> [WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
> [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 78 resources
> [INFO] Copying 6 resources
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 105 source files to /«PKGBUILDDIR»/tool/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»/tool/src/test/resources
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] Not compiling test sources
> [INFO] [surefire:test {execution: default-test}]
> [INFO] Tests are skipped.
> [INFO] [jar:jar {execution: default-jar}]
> [INFO] Building jar: /«PKGBUILDDIR»/tool/target/antlr-3.2.jar
> [INFO] [antlr:generate {execution: default}]
> [INFO] Using Antlr grammar: /«PKGBUILDDIR»/tool/src/main/antlr2/org/antlr/grammar/v2/antlr.g
> [INFO] The grammar is already generated.
> [INFO] Using Antlr grammar: /«PKGBUILDDIR»/tool/src/main/antlr2/org/antlr/grammar/v2/codegen.g
> [INFO] The grammar is already generated.
> [INFO] Using Antlr grammar: /«PKGBUILDDIR»/tool/src/main/antlr2/org/antlr/grammar/v2/antlr.print.g
> [INFO] The grammar is already generated.
> [INFO] Using Antlr grammar: /«PKGBUILDDIR»/tool/src/main/antlr2/org/antlr/grammar/v2/assign.types.g
> [INFO] The grammar is already generated.
> [INFO] Using Antlr grammar: /«PKGBUILDDIR»/tool/src/main/antlr2/org/antlr/grammar/v2/buildnfa.g
> [INFO] The grammar is already generated.
> [INFO] Using Antlr grammar: /«PKGBUILDDIR»/tool/src/main/antlr2/org/antlr/grammar/v2/define.g
> [INFO] The grammar is already generated.
> [INFO] [resources:resources {execution: default-resources}]
> [WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
> [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 78 resources
> [INFO] Copying 6 resources
> [INFO] Copying 6 resources
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Nothing to compile - all classes are up to date
> [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»/tool/src/test/resources
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] Not compiling test sources
> [INFO] [surefire:test {execution: default-test}]
> [INFO] Tests are skipped.
> [INFO] [jar:jar {execution: default-jar}]
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing /«PKGBUILDDIR»/tool/target/antlr-3.2.jar to /«PKGBUILDDIR»/debian/maven-repo/org/antlr/antlr/3.2/antlr-3.2.jar
> [INFO] [debian:install {execution: default-cli}]
> Cleaning pom file: /«PKGBUILDDIR»/tool/pom.xml.save with options:
> 	--keep-pom-version --package=antlr3
> 	--rules=/«PKGBUILDDIR»/debian/maven.rules
> Install jar file into Maven repo: /«PKGBUILDDIR»/tool/target/antlr-3.2.jar
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 21 seconds
> [INFO] Finished at: Fri Jun 21 05:50:40 UTC 2013
> [INFO] Final Memory: 14M/58M
> [INFO] ------------------------------------------------------------------------
> cd antlr3-maven-plugin && 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 -DbuildNumber="debian-7" -Ddebian.dir=/«PKGBUILDDIR»/debian -Ddebian.package=antlr3 -Dmaven.repo.local=/«PKGBUILDDIR»/debian/maven-repo -Dinstall.to.usj=false -Dmaven.test.skip=true -Duse.maven.repo.local=true package install org.debian.maven:debian-maven-plugin:1.6.3: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] ------------------------------------------------------------------------
> [INFO] Building Maven plugin for ANTLR V3
> [INFO]    task-segment: [package, install, org.debian.maven:debian-maven-plugin:1.6.3:install]
> [INFO] ------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> 
> Missing:
> ----------
> 1) backport-util-concurrent:backport-util-concurrent:jar:debian
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=backport-util-concurrent -DartifactId=backport-util-concurrent -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=backport-util-concurrent -DartifactId=backport-util-concurrent -Dversion=debian -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> 
>   Path to dependency: 
>   	1) org.antlr:antlr3-maven-plugin:maven-plugin:3.2
>   	2) org.apache.maven:maven-project:jar:debian
>   	3) org.apache.maven:maven-artifact-manager:jar:debian
>   	4) backport-util-concurrent:backport-util-concurrent:jar:debian
> 
> ----------
> 1 required artifact is missing.
> 
> for artifact: 
>   org.antlr:antlr3-maven-plugin:maven-plugin:3.2
> 
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   antlr-snapshot (http://antlr.org/antlr-snapshot)
> 
> 
> 
> 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: 2 seconds
> [INFO] Finished at: Fri Jun 21 05:50:43 UTC 2013
> [INFO] Final Memory: 6M/58M
> [INFO] ------------------------------------------------------------------------
> make: *** [before-mvn-build] Error 1

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