fails to build with OpenJDK

Bug #356675 reported by Colin Watson
4
Affects Status Importance Assigned to Milestone
airport-utils (Ubuntu)
Fix Released
High
Unassigned
Jaunty
Won't Fix
High
Unassigned

Bug Description

Binary package hint: airport-utils

airport-utils failed to build in a test rebuild of Jaunty. Here's the log:

  http://launchpadlibrarian.net/24882449/buildlog_ubuntu-jaunty-i386.airport-utils_1-7_FAILEDTOBUILD.txt.gz

ant jar
Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-6-openjdk/lib/tools.jar
Buildfile: build.xml

jar:

common-init:

jar-init:
    [mkdir] Created dir: /build/buildd/airport-utils-1/airport2config-2.0.1/build

jar-compile:
    [javac] Compiling 46 source files to /build/buildd/airport-utils-1/airport2config-2.0.1/build

BUILD FAILED
/build/buildd/airport-utils-1/build.xml:29: The following error occurred while executing this line:
/build/buildd/airport-utils-1/airport2config-2.0.1/build.xml:49: 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/jre"

Total time: 0 seconds
make: *** [build-stamp] Error 1
dpkg-buildpackage: failure: debian/rules build gave error exit status 2

Colin Watson (cjwatson)
Changed in airport-utils (Ubuntu):
importance: Undecided → High
Revision history for this message
Rick Spencer (rick-rickspencer3) wrote :

pitti - marked as release critical, so needs an assignee. Please close as appropriate.

Changed in airport-utils (Ubuntu Jaunty):
assignee: nobody → Martin Pitt (pitti)
Revision history for this message
Martin Pitt (pitti) wrote :

I'm not a java expert, and this package is not in main. I don't have time to look into it, I'm afraid.

This needs a proper transition to default-jdk, probably just missing build deps.

Changed in airport-utils (Ubuntu Jaunty):
assignee: Martin Pitt (pitti) → nobody
status: New → Triaged
Revision history for this message
Steve Langasek (vorlon) wrote :

Declining this for jaunty since there doesn't seem to be any interest in working on it. If someone fixes this for karmic and wants to SRU, feel free to reopen the jaunty task.

Changed in airport-utils (Ubuntu Jaunty):
status: Triaged → Won't Fix
Revision history for this message
ashiswin (ashiswin-hotmail) wrote :

The version probably installed is not the JDK but the JRE.
Try installing the Sun Java JDK with
sudo apt-get install sun-java-jdk6

Changed in airport-utils (Ubuntu):
assignee: nobody → Vic Parker (v-parker2-deactivatedaccount)
Revision history for this message
Micah Gersten (micahg) wrote :
Changed in airport-utils (Ubuntu):
assignee: Vic Parker (v-parker2-deactivatedaccount) → nobody
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.