Public bug reported:

During a rebuild test with default-jdk switched to openjdk-7 (as it is
in quantal), a build failure was detected for biojava-live version
1.7.1-2build1.

See attached log for full build failure details.

https://wiki.ubuntu.com/JavaTeam/Java7Default contains more details of
how to diagnose and resolve these types of issues.

This log snippet might also be of interest:


BUILD SUCCESSFUL
Total time: 0 seconds
dh_clean 
 debian/rules build
dh_testdir
find . -name "*.java" -o -name ReadMe -o -name "*.fa" -o -name "*.html" | xargs 
-r chmod 644 
# circumvent Debian's difficulties with libjgrapht - deleting all usage of that 
library
rm -rf src/org/biojavax/bio/phylo/io/nexus/ \
               src/org/biojavax/bio/phylo/DistanceBasedTreeMethod.java \
               src/org/biojavax/bio/phylo/ParsimonyTreeMethod.java
# Add here commands to compile the package.
ANT_OPTS="-Xms1024m -Xmx1024m" ant package-biojava
Unable to locate tools.jar. Expected to find it in 
/usr/lib/jvm/java-6-openjdk-amd64/lib/tools.jar
Buildfile: /«PKGBUILDDIR»/build.xml

init:
     [echo] Building biojava-1.7.1
     [echo] Java Home:                       
/usr/lib/jvm/java-6-openjdk-amd64/jre
     [echo] JUnit present:                   true
     [echo] JUnit supported by Ant:          true
     [echo] HSQLDB driver present:           true
     [echo] XSLT support:                    true

prepare:
    [mkdir] Created dir: /«PKGBUILDDIR»/ant-build

prepare-biojava:
    [mkdir] Created dir: /«PKGBUILDDIR»/ant-build/classes/biojava
    [mkdir] Created dir: /«PKGBUILDDIR»/ant-build/docs/biojava
    [mkdir] Created dir: /«PKGBUILDDIR»/ant-build/docs/check/biojava

compile-biojava:
    [javac] /«PKGBUILDDIR»/build.xml:246: warning: 'includeantruntime' was not 
set, defaulting to build.sysclasspath=last; set to false for repeatable builds

BUILD FAILED
/«PKGBUILDDIR»/build.xml:246: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "/usr/lib/jvm/java-6-openjdk-amd64/jre"

Total time: 0 seconds
make: *** [build-stamp] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
────────────────────────────────────────────────────────────────────────────────
Build finished at 20120604-0756

Finished
────────

E: Build failure (dpkg-buildpackage died)

** Affects: biojava-live (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 auto ftbfs java7-ftbfs

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1009485

Title:
  biojava-live version 1.7.1-2build1 failed to build with openjdk-7 as
  default-jdk

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/biojava-live/+bug/1009485/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to