Hotspot build failure with under Ubuntu 12.10 (infrabuild)
Mani Sarkar
sadhak001 at gmail.com
Tue Dec 11 12:05:00 PST 2012
Hi Tim,
Thanks for writing back and clarifying my doubts, to answer to a few of
your questions:
What were the 'usual commands', and where did you run them? Were you
> running make on the hotspot makefiles directly?
>
make all
from within the hotspot/make folder.
>
> With the new build-infra makefiles, running make a second time from the
> top level should be very fast and only recompile the pieces you need. You
> also get the benefit that your build environment has been checked over by
> configure before starting.
>
> Can I can confirm that I should be able to make hotspot from the
top-level directory by just using this command, would it work?
make clean hotspot (to rebuild hotspot only)
or
make hotspot (to incrementally build hotspot)
> got the below messages from the make action (see log file via the link):
>>
>> https://github.com/**neomatrix369/BuildHelpers/**blob/master/**
>> EclipseProjectsForOpenJDK/**Logs/hotspotBuildInfraFail.log<https://github.com/neomatrix369/BuildHelpers/blob/master/EclipseProjectsForOpenJDK/Logs/hotspotBuildInfraFail.log>
>>
>> Looking at the log file it appeared that the root cause of the problem was
>>
>> can't cd to /java/re/j2se/1.7.0/latest/**binaries/linux-i586
>>
>
> The build is looking for a bootstrap JDK, and /java/re/j2se/1.7.0/latest/*
> *binaries/... is the default location, which won't work for you.
>
> Thanks for clarifying, I should have looked into the cheat sheet. I will
try it out and if I have any questions I will get back to you.
> In section 10 "Cheat sheet" on this page:
>
> http://openjdk.java.net/**projects/build-infra/guide.**html<http://openjdk.java.net/projects/build-infra/guide.html>
>
> Search for '|--with-boot-jdk'
>
> This means with t he new build system we never set environment variables
to achieve our target?
Thanks,
Mani
>
>
> |
>
> I haven't seen this path before and how is this set, my jdks and jres
>> usually live in the /usr/ or /etc/ folders. What do I need to do to
>> resolve
>> this issue, do I need to install anything?
>>
>> I did some more searching but only found ALT_ variables that would fix the
>> above issue, but then thats the old build system, how would we resolve
>> this
>> in the new infrabuild.
>>
>> Cheers,
>> Mani
>>
>
--
Twitter: @theNeomatrix369
Blog: http://neomatrix369.wordpress.com <http://neomatrxi369.wordpress.com>
*Don't chase success, rather aim for "Excellence", and success will come
chasing after you!*
More information about the build-infra-dev
mailing list