Bug#467605: stringtemplate: FTBFS: The import junit cannot be resolved
Lucas Nussbaum
lucas at lucas-nussbaum.net
Tue Feb 26 13:25:54 UTC 2008
Package: stringtemplate
Version: 3.1-2
Severity: serious
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20080225 qa-ftbfs
Justification: FTBFS on i386
Hi,
During a rebuild of all packages in sid, your package failed to build on i386.
Relevant part:
> make[1]: Entering directory `/build/user/stringtemplate-3.1'
> make[1]: Nothing to be done for `update-config'.
> make[1]: Leaving directory `/build/user/stringtemplate-3.1'
> cd . && /usr/lib/jvm/java-gcj/bin/java -classpath /usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/java/antlr.jar:/usr/share/java/ant-antlr.jar:/usr/lib/jvm/java-gcj/lib/tools.jar -Dant.home=/usr/share/ant org.apache.tools.ant.Main -Dcompile.debug=true -Dcompile.optimize=true jar
> Buildfile: build.xml
>
> init:
>
> prepare-sources:
> [mkdir] Created dir: /build/user/stringtemplate-3.1/build
> [mkdir] Created dir: /build/user/stringtemplate-3.1/build/src
> [copy] Copying 71 files to /build/user/stringtemplate-3.1/build/src
>
> generator:
>
> compile:
> [echo] Compiler = ${build.compiler}
> [echo] Optimize = true
> [echo] Deprecation = ${compile.deprecation}
> [echo] Debug = true
> [mkdir] Created dir: /build/user/stringtemplate-3.1/build/classes
> [javac] Compiling 44 source files to /build/user/stringtemplate-3.1/build/classes
> [javac] ----------
> [javac] 1. ERROR in /build/user/stringtemplate-3.1/build/src/org/antlr/stringtemplate/test/TestStringTemplate.java (at line 30)
> [javac] import junit.framework.Assert;
> [javac] ^^^^^
> [javac] The import junit cannot be resolved
> [javac] ----------
> [javac] 2. ERROR in /build/user/stringtemplate-3.1/build/src/org/antlr/stringtemplate/test/TestStringTemplate.java (at line 31)
> [javac] import junit.framework.TestCase;
> [javac] ^^^^^
> [javac] The import junit cannot be resolved
> [javac] ----------
> [javac] 3. ERROR in /build/user/stringtemplate-3.1/build/src/org/antlr/stringtemplate/test/TestStringTemplate.java (at line 40)
> [javac] public class TestStringTemplate extends TestCase {
> [javac] ^^^^^^^^
> [javac] TestCase cannot be resolved to a type
> [javac] ----------
> [javac] 4. ERROR in /build/user/stringtemplate-3.1/build/src/org/antlr/stringtemplate/test/TestStringTemplate.java (at line 97)
> [javac] Assert.assertEquals(
> [javac] ^^^^^^
> [javac] Assert cannot be resolved
> [javac] ----------
> [javac] 5. ERROR in /build/user/stringtemplate-3.1/build/src/org/antlr/stringtemplate/test/TestStringTemplate.java (at line 1221)
> [javac] assertTrue(errors.toString().startsWith(expectingError));
> [javac] ^^^^^^^^^^
> [javac] The method assertTrue(boolean) is undefined for the type TestStringTemplate
> [javac] ----------
> [javac] 6. ERROR in /build/user/stringtemplate-3.1/build/src/org/antlr/stringtemplate/test/TestStringTemplat
> [javac] e.java (at line 3882)
> [javac] assertEquals(names.size(), 2);
> [javac] ^^^^^^^^^^^^
> [javac] The method assertEquals(String, String) in the type TestStringTemplate is not applicable for the arguments (int, int)
> [javac] ----------
> [javac] 7. ERROR in /build/user/stringtemplate-3.1/build/src/org/antlr/stringtemplate/test/TestStringTemplate.java (at line 3898)
> [javac] assertEquals(names.size(), 2);
> [javac] ^^^^^^^^^^^^
> [javac] The method assertEquals(String, String) in the type TestStringTemplate is not applicable for the arguments (int, int)
> [javac] ----------
> [javac] 8. ERROR in /build/user/stringtemplate-3.1/build/src/org/antlr/stringtemplate/test/TestStringTemplat
> [javac] e.java (at line 4497)
> [javac] assertTrue(errors.toString().startsWith(expecting));
> [javac] ^^^^^^^^^^
> [javac] The method assertTrue(boolean) is undefined for the type TestStringTemplate
> [javac] ----------
> [javac] 9. ERROR in /build/user/stringtemplate-3.1/build/src/org/antlr/stringtemplate/test/TestStringTemplate.java (at line 5231)
> [javac] fail("A parse error should have been generated");
> [javac] ^^^^
> [javac] The method fail(String) is undefined for the type TestStringTemplate
> [javac] ----------
> [javac] 9 problems (9 errors)
>
> BUILD FAILED
> /build/user/stringtemplate-3.1/build.xml:125: Compile failed; see the compiler error output for details.
>
> Total time: 1 second
> make: *** [debian/stamp-ant-build] Error 1
The full build log is available from:
http://people.debian.org/~lucas/logs/2008/02/25
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 containing a sid i386
environment. 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