harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Deakin <oliver.dea...@googlemail.com>
Subject Re: build fails - what next?
Date Tue, 14 Feb 2006 15:50:33 GMT
Hi Karan,

Line 72 of jaasnix.xml is:
<exec executable="${compiler.name}" output="${tmp}/outerr.txt" 
failonerror="true">

so its a call to the make command on your system. It also produces 
output from the make into "${tmp}/outerr.txt", which I believe
expands to "modules/security2/build/tmp/outerr.txt" (at least that is 
where it appears on my machine). Inside that file there
should be error messages from the build which will be more helpful for 
diagnosing the problem.

-- 
Oliver Deakin
IBM United Kingdom Limited



karan malhi wrote:
> I set JAVA_HOME to jdk1.5 and the build still fails
>
> timestamp:
>     [echo] build-date=20060214
>     [echo] build-time=20060214_1033)
>     [echo] on platform=Linux version=2.6.14-1.1656_FC4 arch=i386
>     [echo] with java home = /home/karan/jdk1.5.0_06/jre VM version = 
> 1.5.0_06-b05 vendor = Sun Microsystems Inc.
>
> BUILD FAILED
> /home/karan/projects/Harmony/make/build.xml:41: The following error 
> occurred while executing this line:
> /home/karan/projects/Harmony/native-src/build.xml:103: The following 
> error occurred while executing this line:
> /home/karan/projects/Harmony/modules/security2/make/build.xml:331: The 
> following error occurred while executing this line:
> /home/karan/projects/Harmony/modules/security2/make/native/linux/jaasnix.xml:72: 
> exec returned: 1
>
>
> Geir Magnusson Jr wrote:
>
>> That's the problem.  As far as I know, GCJ isn't quite complete yet...
>>
>>
>>
>> karan malhi wrote:
>>
>>>     [echo] on platform=Linux version=2.6.14-1.1656_FC4 arch=i386
>>>     [echo] with java home = /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre 
>>> VM version = 4.0.2 20051125 (Red Hat 4.0.2-8) vendor = Free Software 
>>> Foundation, Inc.
>>>
>>>
>>> Alexey Petrenko wrote:
>>>
>>>>>   [javac] 1. ERROR in
>>>>> /home/karan/projects/Harmony/modules/security2/src/common/javasrc/javax/crypto/SealedObject.java

>>>>>
>>>>>   [javac]  (at line 63)
>>>>>   [javac]     encodedParams = (byte []) s.readUnshared();
>>>>>   [javac]                                 ^^^^^^^^^^^^
>>>>>   [javac] The method readUnshared() is undefined for the type
>>>>> ObjectInputStream
>>>>>   
>>>>
>>>>
>>>> What JVM do you use to run ant? It seems that there is no
>>>> ObjectInputStream.readUnshared method in your JVM...
>>>>
>>>> -- 
>>>> Alexey A. Petrenko
>>>> Intel Middleware Products Division
>>>>  
>>>>
>>>
>>
>


Mime
View raw message