Bug#469758: eclipse: FTBFS: The import org.junit cannot be resolved
Daniel Schepler
schepler at math.berkeley.edu
Thu Mar 6 22:02:49 UTC 2008
Package: eclipse
Version: 3.2.2-5
Severity: serious
From my pbuilder build log:
...
@dot:
[mkdir] Created dir: /tmp/buildd/eclipse-3.2.2/source-tree/plugins/org.eclipse.jdt.junit4.runtime/temp.folder/@dot.bin
[javac] Compiling 6 source files to /tmp/buildd/eclipse-3.2.2/source-tree/plugins/org.eclipse.jdt.junit4.runtime/temp.folder/@dot.bin
[javac] ----------
[javac] 1. ERROR
in /tmp/buildd/eclipse-3.2.2/source-tree/plugins/org.eclipse.jdt.junit4.runtime/src/org/eclipse/jdt/internal/junit4/runner/JUnit4Identifier.java (at
line 16)
[javac] import org.junit.runner.Description;
[javac] ^^^^^^^^^
[javac] The import org.junit cannot be resolved
[javac] ----------
[javac] 2. ERROR
in /tmp/buildd/eclipse-3.2.2/source-tree/plugins/org.eclipse.jdt.junit4.runtime/src/org/eclipse/jdt/internal/junit4/runner/JUnit4Identifier.java
[javac] (at line 19)
[javac] private final Description fPlan;
[javac] ^^^^^^^^^^^
[javac] Description cannot be resolved to a type
[javac] ----------
...
[javac] 59 problems (49 errors, 10 warnings)
[javac] Compilation failed. Compiler errors are available
in /tmp/buildd/eclipse-3.2.2/source-tree/plugins/org.eclipse.jdt.junit4.runtime/temp.folder/@dot.bin.log
BUILD FAILED
/tmp/buildd/eclipse-3.2.2/source-tree/build.xml:60: The following error occurred while executing this line:
/tmp/buildd/eclipse-3.2.2/source-tree/build.xml:8: The following error occurred while executing this line:
/tmp/buildd/eclipse-3.2.2/source-tree/features/org.eclipse.sdk/build.xml:35: The following error occurred while executing this line:
/tmp/buildd/eclipse-3.2.2/source-tree/features/org.eclipse.sdk/build.xml:19: The following error occurred while executing this line:
/tmp/buildd/eclipse-3.2.2/source-tree/features/org.eclipse.jdt/build.xml:99: The following error occurred while executing this line:
/tmp/buildd/eclipse-3.2.2/source-tree/features/org.eclipse.jdt/build.xml:30: The following error occurred while executing this line:
/tmp/buildd/eclipse-3.2.2/source-tree/plugins/org.eclipse.jdt.junit4.runtime/build.xml:103: The following error occurred while executing this
line:
/tmp/buildd/eclipse-3.2.2/source-tree/plugins/org.eclipse.jdt.junit4.runtime/build.xml:76: Compile failed; see the compiler error output for
details.
Total time: 5 minutes 4 seconds
make: *** [build-java-stamp] Error 1
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
Since junit and junit4 are installed via the Build-Depends, I don't know what
precisely is going wrong here.
--
Daniel Schepler
More information about the pkg-java-maintainers
mailing list