Bug#606294: antlr3: FTBFS: maven-related errors

Lucas Nussbaum lucas at lucas-nussbaum.net
Wed Dec 8 08:07:47 UTC 2010


Source: antlr3
Version: 3.2-4
Severity: serious
Tags: squeeze sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20101207 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part:
> make[1]: Entering directory `/build/user-antlr3_3.2-4-amd64-SVrSPM/antlr3-3.2'
> mh_patchpoms -pantlr3 --debian-build --keep-pom-version --maven-repo=/build/user-antlr3_3.2-4-amd64-SVrSPM/antlr3-3.2/debian/maven-repo 
> touch debian/stamp-poms-patched
> make[1]: Leaving directory `/build/user-antlr3_3.2-4-amd64-SVrSPM/antlr3-3.2'
> 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=/build/user-antlr3_3.2-4-amd64-SVrSPM/antlr3-3.2/debian/maven.properties -Dclassworlds.conf=/etc/maven2/m2-debian.conf org.codehaus.classworlds.Launcher -s/etc/maven2/settings-debian.xml -Dmaven.repo.local=/build/user-antlr3_3.2-4-amd64-SVrSPM/antlr3-3.2/debian/maven-repo -DbuildNumber="debian-4" package
> [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]   ANTLR Master build control POM
> [INFO]   Antlr 3 Runtime
> [INFO]   ANTLR Grammar Tool
> [INFO]   Maven plugin for ANTLR V3
> [INFO]   ANTLR gUnit
> [INFO]   Maven plugin for gUnit ANTLR V3
> [INFO] ------------------------------------------------------------------------
> [INFO] Building ANTLR Master build control POM
> [INFO]    task-segment: [package]
> [INFO] ------------------------------------------------------------------------
> [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Antlr 3 Runtime
> [INFO]    task-segment: [package]
> [INFO] ------------------------------------------------------------------------
> [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] skip non existing resourceDirectory /build/user-antlr3_3.2-4-amd64-SVrSPM/antlr3-3.2/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 /build/user-antlr3_3.2-4-amd64-SVrSPM/antlr3-3.2/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: /build/user-antlr3_3.2-4-amd64-SVrSPM/antlr3-3.2/runtime/Java/target/antlr-runtime-3.2.jar
> [INFO] ------------------------------------------------------------------------
> [INFO] Building ANTLR Grammar Tool
> [INFO]    task-segment: [package]
> [INFO] ------------------------------------------------------------------------
> [INFO] [antlr:generate {execution: default}]
> [INFO] Using Antlr grammar: /build/user-antlr3_3.2-4-amd64-SVrSPM/antlr3-3.2/tool/src/main/antlr2/org/antlr/grammar/v2/antlr.g
> [INFO] The grammar is already generated.
> [INFO] Using Antlr grammar: /build/user-antlr3_3.2-4-amd64-SVrSPM/antlr3-3.2/tool/src/main/antlr2/org/antlr/grammar/v2/codegen.g
> [INFO] The grammar is already generated.
> [INFO] Using Antlr grammar: /build/user-antlr3_3.2-4-amd64-SVrSPM/antlr3-3.2/tool/src/main/antlr2/org/antlr/grammar/v2/antlr.print.g
> [INFO] The grammar is already generated.
> [INFO] Using Antlr grammar: /build/user-antlr3_3.2-4-amd64-SVrSPM/antlr3-3.2/tool/src/main/antlr2/org/antlr/grammar/v2/assign.types.g
> [INFO] The grammar is already generated.
> [INFO] Using Antlr grammar: /build/user-antlr3_3.2-4-amd64-SVrSPM/antlr3-3.2/tool/src/main/antlr2/org/antlr/grammar/v2/buildnfa.g
> [INFO] The grammar is already generated.
> [INFO] Using Antlr grammar: /build/user-antlr3_3.2-4-amd64-SVrSPM/antlr3-3.2/tool/src/main/antlr2/org/antlr/grammar/v2/define.g
> [INFO] The grammar is already generated.
> [INFO] [antlr3:antlr {execution: default}]
> [INFO] ANTLR: Processing source directory /build/user-antlr3_3.2-4-amd64-SVrSPM/antlr3-3.2/tool/src/main/antlr3
> ANTLR Parser Generator  Version 3.2 debian-4
> org/antlr/grammar/v3/ANTLRv3.g
> warning(105): org/antlr/grammar/v3/ANTLRv3.g:158:4: no lexer rule corresponding to token: DOC_COMMENT
> warning(105): org/antlr/grammar/v3/ANTLRv3.g:249:6: no lexer rule corresponding to token: SEMPRED
> warning(105): org/antlr/grammar/v3/ANTLRv3.g:355:22: no lexer rule corresponding to token: SEMPRED
> warning(105): org/antlr/grammar/v3/ANTLRv3.g:94:9: no lexer rule corresponding to token: DOC_COMMENT
> warning(200): org/antlr/grammar/v3/ANTLRv3.g:473:5: Decision can match input such as "' ''$''A''N''T''L''R'' ''s''r''c'' ''"''\\''\'''"'' ''0'..'9'" using multiple alternatives: 1, 2
> As a result, alternative(s) 2 were disabled for that input
> org/antlr/grammar/v3/ActionAnalysis.g
> org/antlr/grammar/v3/ANTLRv3Tree.g
> org/antlr/grammar/v3/ActionTranslator.g
> [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 5 source files to /build/user-antlr3_3.2-4-amd64-SVrSPM/antlr3-3.2/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 /build/user-antlr3_3.2-4-amd64-SVrSPM/antlr3-3.2/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: /build/user-antlr3_3.2-4-amd64-SVrSPM/antlr3-3.2/tool/target/antlr-3.2.jar
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Maven plugin for ANTLR V3
> [INFO]    task-segment: [package]
> [INFO] ------------------------------------------------------------------------
> [INFO] [plugin:descriptor {execution: default-descriptor}]
> [INFO] Using 'UTF-8' encoding to read mojo metadata.
> [INFO] Applying mojo extractor for language: java
> [INFO] Mojo extractor for language: java found 1 mojo descriptors.
> [INFO] Applying mojo extractor for language: bsh
> [INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /build/user-antlr3_3.2-4-amd64-SVrSPM/antlr3-3.2/antlr3-maven-plugin/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}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /build/user-antlr3_3.2-4-amd64-SVrSPM/antlr3-3.2/antlr3-maven-plugin/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: /build/user-antlr3_3.2-4-amd64-SVrSPM/antlr3-3.2/antlr3-maven-plugin/target/antlr3-maven-plugin-3.2.jar
> [INFO] [plugin:addPluginArtifactMetadata {execution: default-addPluginArtifactMetadata}]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building ANTLR gUnit
> [INFO]    task-segment: [package]
> [INFO] ------------------------------------------------------------------------
> [INFO] Reloading plugin container for: org.antlr:antlr3-maven-plugin:3.2. The plugin artifact has changed.
> [INFO] [antlr3:antlr {execution: default}]
> [INFO] ANTLR: Processing source directory /build/user-antlr3_3.2-4-amd64-SVrSPM/antlr3-3.2/gunit/src/main/antlr3
> ANTLR Parser Generator  Version 3.2 debian-4
> org/antlr/gunit/gUnit.g
> org/antlr/gunit/swingui/parsers/StGUnit.g
> org/antlr/gunit/swingui/parsers/ANTLRv3.g
> warning(105): org/antlr/gunit/swingui/parsers/ANTLRv3.g:162:4: no lexer rule corresponding to token: DOC_COMMENT
> warning(105): org/antlr/gunit/swingui/parsers/ANTLRv3.g:350:22: no lexer rule corresponding to token: SEMPRED
> warning(105): org/antlr/gunit/swingui/parsers/ANTLRv3.g:256:6: no lexer rule corresponding to token: SEMPRED
> warning(105): org/antlr/gunit/swingui/parsers/ANTLRv3.g:95:9: no lexer rule corresponding to token: DOC_COMMENT
> warning(200): org/antlr/gunit/swingui/parsers/ANTLRv3.g:466:5: Decision can match input such as "' ''$''A''N''T''L''R'' ''s''r''c'' ''"''\\''\'''"'' ''0'..'9'" using multiple alternatives: 1, 2
> As a result, alternative(s) 2 were disabled for that input
> [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 28 resources
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 48 source files to /build/user-antlr3_3.2-4-amd64-SVrSPM/antlr3-3.2/gunit/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 /build/user-antlr3_3.2-4-amd64-SVrSPM/antlr3-3.2/gunit/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: /build/user-antlr3_3.2-4-amd64-SVrSPM/antlr3-3.2/gunit/target/gunit-3.2.jar
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Maven plugin for gUnit ANTLR V3
> [INFO]    task-segment: [package]
> [INFO] ------------------------------------------------------------------------
> [INFO] [plugin:descriptor {execution: default-descriptor}]
> [INFO] Using 'UTF-8' encoding to read mojo metadata.
> [INFO] Applying mojo extractor for language: java
> [INFO] Mojo extractor for language: java found 1 mojo descriptors.
> [INFO] Applying mojo extractor for language: bsh
> [INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /build/user-antlr3_3.2-4-amd64-SVrSPM/antlr3-3.2/gunit-maven-plugin/src/main/resources
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 1 source file to /build/user-antlr3_3.2-4-amd64-SVrSPM/antlr3-3.2/gunit-maven-plugin/target/classes
> [INFO] [resources:testResources {execution: default-testResources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /build/user-antlr3_3.2-4-amd64-SVrSPM/antlr3-3.2/gunit-maven-plugin/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: /build/user-antlr3_3.2-4-amd64-SVrSPM/antlr3-3.2/gunit-maven-plugin/target/maven-gunit-plugin-3.2.jar
> [INFO] [plugin:addPluginArtifactMetadata {execution: default-addPluginArtifactMetadata}]
> [INFO] 
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] ------------------------------------------------------------------------
> [INFO] ANTLR Master build control POM ........................ SUCCESS [1.073s]
> [INFO] Antlr 3 Runtime ....................................... SUCCESS [0.971s]
> [INFO] ANTLR Grammar Tool .................................... SUCCESS [6.128s]
> [INFO] Maven plugin for ANTLR V3 ............................. SUCCESS [1.164s]
> [INFO] ANTLR gUnit ........................................... SUCCESS [5.320s]
> [INFO] Maven plugin for gUnit ANTLR V3 ....................... SUCCESS [1.181s]
> [INFO] ------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 16 seconds
> [INFO] Finished at: Tue Dec 07 21:18:05 UTC 2010
> [INFO] Final Memory: 93M/1352M
> [INFO] ------------------------------------------------------------------------
> touch mvn-build
> DEB_MAVEN_CHECK_TARGET unset, not running checks
> 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=/build/user-antlr3_3.2-4-amd64-SVrSPM/antlr3-3.2/debian/maven.properties -Dclassworlds.conf=/etc/maven2/m2-debian.conf org.codehaus.classworlds.Launcher -s/etc/maven2/settings-debian.xml -Dmaven.repo.local=/build/user-antlr3_3.2-4-amd64-SVrSPM/antlr3-3.2/debian/maven-repo -DbuildNumber="debian-4" -Ddebian.dir=/build/user-antlr3_3.2-4-amd64-SVrSPM/antlr3-3.2/debian -Ddebian.package=antlr3-doc javadoc:jar javadoc:aggregate
> [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]   ANTLR Master build control POM
> [INFO]   Antlr 3 Runtime
> [INFO]   ANTLR Grammar Tool
> [INFO]   Maven plugin for ANTLR V3
> [INFO]   ANTLR gUnit
> [INFO]   Maven plugin for gUnit ANTLR V3
> [INFO] Searching repository for plugin with prefix: 'javadoc'.
> [INFO] ------------------------------------------------------------------------
> [INFO] Building ANTLR Master build control POM
> [INFO]    task-segment: [javadoc:jar]
> [INFO] ------------------------------------------------------------------------
> [INFO] [javadoc:jar {execution: default-cli}]
> [INFO] Not executing Javadoc as the project is not a Java classpath-capable package
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Antlr 3 Runtime
> [INFO]    task-segment: [javadoc:jar]
> [INFO] ------------------------------------------------------------------------
> [INFO] [javadoc:jar {execution: default-cli}]
> [WARNING] Source files encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
> [INFO] The goal 'org.apache.maven.plugins:maven-javadoc-plugin:2.6.1:javadoc' has not be previously called for the project: 'org.antlr:antlr:jar:3.2'. Trying to invoke it...
> [INFO] The goal 'org.apache.maven.plugins:maven-javadoc-plugin:2.6.1:javadoc' has not be previously called for the project: 'org.antlr:antlr3-maven-plugin:maven-plugin:3.2'. Trying to invoke it...
> [INFO] The goal 'org.apache.maven.plugins:maven-javadoc-plugin:2.6.1:javadoc' has not be previously called for the project: 'org.antlr:gunit:jar:3.2'. Trying to invoke it...
> [INFO] The goal 'org.apache.maven.plugins:maven-javadoc-plugin:2.6.1:javadoc' has not be previously called for the project: 'org.antlr:maven-gunit-plugin:maven-plugin:3.2'. Trying to invoke it...
> [ERROR] MavenInvocationException: Error when invoking Maven, consult the invoker log file: /build/user-antlr3_3.2-4-amd64-SVrSPM/antlr3-3.2/runtime/Java/target/invoker/maven-javadoc-plugin1213776447.txt
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] MavenReportException: Error while creating archive:Error when invoking Maven, consult the invoker log file: /build/user-antlr3_3.2-4-amd64-SVrSPM/antlr3-3.2/runtime/Java/target/invoker/maven-javadoc-plugin1213776447.txt
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 40 seconds
> [INFO] Finished at: Tue Dec 07 21:18:45 UTC 2010
> [INFO] Final Memory: 35M/1361M
> [INFO] ------------------------------------------------------------------------
> make: *** [debian/stamp-maven-doc] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2010/12/07/antlr3_3.2-4_lsqueeze64.buildlog

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 about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |





More information about the pkg-java-maintainers mailing list