openJDK7 build fails on 64bit cblfs linux

Kelly O'Hair kelly.ohair at oracle.com
Fri Apr 15 16:55:43 UTC 2011


On Apr 15, 2011, at 6:48 AM, luxInteg wrote:

> Greetings,
> 
> I am attempting to compile openJDK-7  on a computer whth these:-
> --cpu amd64 2cores
> --OS cblfs 64-bit linux gcc-4.5.2 kernel-2.6.35.7 jdk-6u24, ant-1.8.1, 
> make-3.82,unzip-5.55,zip-3.0
> 
> 
> here are the environmental  veriables I have set:-
> ------------------------
> 
> export PATH=/usr/bin:/opt/jdk/bin:/opt/ant/bin:${PATH}
> export ALT_BOOTDIR=/opt/jdk
> #export ALT_CACERTS_FILE
> export ALT_DEVTOOLS_PATH=/usr/bin

Why are you setting  ALT_DEVTOOLS_PATH? I would not set that, let the default be used.

> export BUILD_NUMBER=b29{ or 38}
> export ARCH_DATA_MODEL=64
> ------------------------
> #######  the build ends like this
> 
> 
> WARNING: LC_ALL has been set to POSIX, this can cause build failures. 
>         Try setting LC_ALL to 'C'. 
> 
> WARNING: LANG has been set to en_GB.utf8 at iso, this can cause build failures. 
>         Try setting LANG to 'C'. 
> 
> WARNING: The version of unzip being used is older than 
>       the required version of '5.12'. 
>       The version of unzip found was ''. 
> 
> WARNING: The version of zip being used is older than 
>       the required version of '2.2'. 
>       The version of zip found was ''. 
> 
> ERROR: The version of make being used is older than 
>       the required version of '3.81'. 
>       The version of make found was ''. 
> 
> ERROR: Your BOOTDIR environment variable does not point 
>       to a valid JDK for bootstrapping this build. 
>       A JDK 7  build must be bootstrapped using  
>       JDK 1.6.0 fcs (or later). 
>       Apparently, your bootstrap JDK is version  
>       Please update your ALT_BOOTDIR setting and start your build again. 
> 
> ##############
> 
> 
> I have tried the following  all with the same results:-
> --versions: openjdk-7-ea-src-b138-14_apr_2011  AND  openjdk-7-ea-src-
> b129-10_feb_2011
> --with the environmental varialbe LC_ALL="C"
> --with environmental variables CC, CXX,  CFLAGS,CXXFLAGS,LDFLAGS and CPPFLAGS 
> set
> --withOUT environmental variables CC, CXX,  CFLAGS,CXXFLAGS,LDFLAGS and 
> CPPFLAGS set
> 
> advice would be appreciated

I suspect you are missing some basic utilities or something, something used in getting the
version number out running 'zip', 'unzip', and 'make -version'.

Let me know what these say:
  which make
  which ant
  which zip
  which unzip

It is possible GNU make 3.82 could be the issue, but I'm not sure what that issue might be.

-kto

> 
> yours sincerely
> luxinteg




More information about the build-dev mailing list