Ensure the (monolithic, no dependency) eclipse package builds in pbuilder chroot

Bug #308657 reported by Pantelis Koukousoulas
4
Affects Status Importance Assigned to Milestone
Eclipse debian package
Fix Committed
Undecided
Unassigned

Bug Description

I.e., ensure the build dependencies for this package are correct

Revision history for this message
Ilya Barygin (randomaction) wrote :

Builds in Ubuntu Jaunty.

Revision history for this message
Ilya Barygin (randomaction) wrote :

Failed to build in emulated Debian Sid. The Sid environment was created with pbuilder in Ubuntu Intrepid (I hope I did it correctly).

bash debian/scripts/build.sh
Buildfile: jdtcoresrc/compilejdtcorewithjavac.xml

init:
    [unzip] Expanding: /tmp/buildd/eclipse-3.4.1/build/jdtcoresrc/src/ecj.zip into /tmp/buildd/eclipse-3.4.1/build/jdtcoresrc/src

compile:
     [echo] TARGET: compiler
    [mkdir] Created dir: /tmp/buildd/eclipse-3.4.1/build/jdtcoresrc/compiler
    [javac] Compiling 333 source files to /tmp/buildd/eclipse-3.4.1/build/jdtcoresrc/compiler
     [echo] UPDATE ecj.jar
     [copy] Copying 34 files to /tmp/buildd/eclipse-3.4.1/build/jdtcoresrc/compiler
      [jar] Building jar: /tmp/buildd/eclipse-3.4.1/build/jdtcoresrc/ecj.jar

BUILD SUCCESSFUL
Total time: 9 seconds
Buildfile: jdtcoresrc/compilejdtcore.xml

init:

compile:
     [echo] TARGET: compiler2
    [mkdir] Created dir: /tmp/buildd/eclipse-3.4.1/build/jdtcoresrc/compiler2
     [echo] compilerArg -encoding ISO-8859-1 -nowarn
     [echo] build compiler org.eclipse.jdt.core.JDTCompilerAdapter
    [javac] Compiling 333 source files to /tmp/buildd/eclipse-3.4.1/build/jdtcoresrc/compiler2
     [echo] UPDATE ecj.jar
     [copy] Copying 34 files to /tmp/buildd/eclipse-3.4.1/build/jdtcoresrc/compiler2
      [jar] Building jar: /tmp/buildd/eclipse-3.4.1/build/ecj.jar

BUILD SUCCESSFUL
Total time: 1 minute 24 seconds
Error: JAVA_HOME is not defined correctly.
  We cannot execute /usr/lib/jvm/java-6-openjdk/bin/java

Revision history for this message
Rockwalrus (rockwalrus) wrote :

Sounds like the build specifically requires openjdk (which is good) but the build dependency in control.in isn't openjdk; it's default-jdk-builddep.

Revision history for this message
Ilya Barygin (randomaction) wrote :

Indeed. After replacing default-jdk-builddep with openjdk-6-jdk, the package builds in both Jaunty and Sid.

Changed in eclipse-debian:
status: New → Fix Committed
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.