icedtea-java7 FTBFS on Hardy Alpha 4 x86_64

Bug #192292 reported by Noel J. Bergman on 2008-02-16
Affects Status Importance Assigned to Milestone
icedtea-java7 (Ubuntu)

Bug Description

I started with:

 # apt-get build-dep icedtea-java7-plugin
 # apt-get -b source icedtea-java7-plugin icedtea-java7-bin icedtea-java7-jre icedtea-java7-jdk

That failed, with a deeply buried log message:

 # cat /root/icedtea-java7-7~b24-1.5+20080118/openjdk-ecj/build/linux-amd64/langtools/build/ant-diagnostics.log
 Error: JAVA_HOME is not defined correctly.
   We cannot execute java

So I did an apt-get install icedtea-java7-jdk, cleaned out my earlier build tree (to start clean) and re-executed the apt-get -b source line. I discovered that if I pay attention to the previous error and set JAVA_HOME, it immediately fails with:

 ERROR: Your JAVA_HOME environment variable is set. This will
       most likely cause the build to fail. Please unset it
       and start your build again.

If I don't set JAVA_HOME, the build proceeds. Unfortunately, almost 2 hours into the build:

/root/icedtea-java7-7~b24-1.5+20080118/openjdk/build/linux-amd64/impsrc/org/omg/PortableInterceptor/ warning - @param argument "a_component" is not a parameter name.
# An unexpected error has been detected by Java Runtime Environment:
# Internal Error (buildOopMap.cpp:291), pid=20895, tid=1096530256
# Error: guarantee(0,"must find derived/base pair")
# Java VM: IcedTea 64-Bit Server VM (1.7.0-b24 mixed mode linux-amd64)
# An error report file with more information is saved as:
# /root/icedtea-java7-7~b24-1.5+20080118/openjdk/jdk/make/docs/hs_err_pid20895.log
# If you would like to submit a bug report, please visit:
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
Aborted (core dumped)
make[4]: *** [coredocs] Error 134
make[4]: Leaving directory `/root/icedtea-java7-7~b24-1.5+20080118/openjdk/jdk/make/docs'
make[3]: *** [docs] Error 1
make[3]: Leaving directory `/root/icedtea-java7-7~b24-1.5+20080118/openjdk/jdk/make'
make[2]: *** [jdk-build] Error 2
make[2]: Leaving directory `/root/icedtea-java7-7~b24-1.5+20080118/openjdk'
make[1]: *** [icedtea] Error 2
make[1]: Leaving directory `/root/icedtea-java7-7~b24-1.5+20080118'
make: *** [stamps/build] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
Build command 'cd icedtea-java7-7~b24-1.5+20080118 && dpkg-buildpackage -b -uc' failed.
E: Child process failed

Hardy Alpha 4 with all updates applied as of time of posting.

Noel J. Bergman (noeljb) wrote :

As is oft-times the case with NRFPT code, the error is inconsistent. I repeated the

  apt-get -b source icedtea-java7-plugin icedtea-java7-bin icedtea-java7-jre icedtea-java7-jdk

command, and it ran to completion.

Noel J. Bergman (noeljb) wrote :

Although I can't get it to build from source without the first (bootstrap) step, the following has worked without failure since the first time I had the internal JVM error noted in the initial report above:

 # apt-get install icedtea-java7-jdk
 # apt-get build-dep icedtea-java7-plugin
 # apt-get -b source icedtea-java7-plugin icedtea-java7-bin icedtea-java7-jre icedtea-java7-jdk
 # dpkg -i icedtea-java7*.deb

Matti Lindell (mlind) wrote :

icedtea-java7 source and binaries have been removed from Hardy archive. The replacement is openjdk-6, so this issue won't be fixed. Please file a new bug against openjdk-6 if you still have problems,

Changed in icedtea-java7:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers