icedtea-java7 FTBFS on Hardy Alpha 4 x86_64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
icedtea-java7 (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
I started with:
# apt-get build-dep icedtea-
# apt-get -b source icedtea-
That failed, with a deeply buried log message:
# cat /root/icedtea-
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-
#
# An unexpected error has been detected by Java Runtime Environment:
#
# Internal Error (buildOopMap.
# 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-
#
# If you would like to submit a bug report, please visit:
# http://
# 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/
make[3]: *** [docs] Error 1
make[3]: Leaving directory `/root/
make[2]: *** [jdk-build] Error 2
make[2]: Leaving directory `/root/
make[1]: *** [icedtea] Error 2
make[1]: Leaving directory `/root/
make: *** [stamps/build] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
Build command 'cd icedtea-
E: Child process failed
Hardy Alpha 4 with all updates applied as of time of posting.
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.