You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by karan malhi <ka...@gmail.com> on 2006/02/14 17:02:30 UTC
Re: build fails - what next? -- outerr.txt
Below are the contents of the file outerr.txt
gcc: installation problem, cannot exec 'cc1plus': No such file or directory
I dont know why it is still saying gcc problem. I specified a JAVACMD
variable to point to the java executable under jdk1.5/bin, as Alexey
had mentioned in a previous email.
Geir Magnusson Jr wrote:
> ok. Now we're making progress.
>
> Did you look at what that line in the xml document is? It's the c/c++
> compiler.
>
> There's a file "outerr.txt" That should have more information about
> what exactly failed...
>
> Can you look there and report back?
>
>
> 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
>>>>>
>>>>>
>>>>
>>>
>>
>
--
Karan Singh
Re: build fails - what next? -- outerr.txt
Posted by Tim Ellison <t....@gmail.com>.
great -- let us know what you do with it!
Regards,
Tim
karan malhi wrote:
> The build was successful. The problem was with gcc-c++.
> Thanks for all the help.
>
> Alexey Petrenko wrote:
>
>> So Java part is built and you got troubles with gcc...
>>
>>
>> 2006/2/14, karan malhi <ka...@gmail.com>:
>>
>>
>>> Alexey,
>>> I have set the JAVACMD variable to point to java executable explicitly
>>> as you can see below:
>>> [karan@j2ee make]$ echo $JAVACMD
>>> /home/karan/jdk1.5.0_06/bin/java
>>>
>>> Below is the complete output after running ant.
>>>
>>> [karan@j2ee make]$ ant
>>> Buildfile: build.xml
>>>
>>> default:
>>> [echo]
>>> [echo] ========================================
>>> [echo] Building Java component archives...
>>> [echo] ========================================
>>>
>>> clean-bin:
>>> [delete] Deleting 1645 files from /home/karan/projects/Harmony/bin
>>> [delete] Deleted 85 directories from /home/karan/projects/Harmony/bin
>>>
>>> clean-layout:
>>> [delete] Deleting 34 files from /home/karan/projects/Harmony/deploy
>>>
>>> clean-package:
>>> [delete] Deleting 11 files from
>>> /home/karan/projects/Harmony/components
>>> [delete] Deleted 1 directory from
>>> /home/karan/projects/Harmony/components
>>>
>>> clean:
>>>
>>> copy-resources:
>>> [mkdir] Created dir: /home/karan/projects/Harmony/bin
>>> [copy] Copying 2 files to /home/karan/projects/Harmony/bin
>>>
>>> compile:
>>> [javac] Compiling 1280 source files to
>>> /home/karan/projects/Harmony/bin
>>> [javac] Note: Some input files use or override a deprecated API.
>>> [javac] Note: Recompile with -Xlint:deprecation for details.
>>>
>>> package:
>>> [mkdir] Created dir: /home/karan/projects/Harmony/components
>>> [jar] Building jar:
>>> /home/karan/projects/Harmony/components/archive.jar
>>> [jar] Building jar:
>>> /home/karan/projects/Harmony/components/kernel-stubs.jar
>>> [jar] Building jar:
>>> /home/karan/projects/Harmony/components/luni.jar
>>> [jar] Building jar: /home/karan/projects/Harmony/components/nio.jar
>>> [jar] Building jar:
>>> /home/karan/projects/Harmony/components/nio_char.jar
>>> [jar] Building jar:
>>> /home/karan/projects/Harmony/components/security.jar
>>> [jar] Building jar:
>>> /home/karan/projects/Harmony/components/x-net.jar
>>> [jar] Building jar:
>>> /home/karan/projects/Harmony/components/text.jar
>>> [jar] Building jar:
>>> /home/karan/projects/Harmony/components/math.jar
>>> [jar] Building jar:
>>> /home/karan/projects/Harmony/components/regex.jar
>>> [jar] Building jar: /home/karan/projects/Harmony/components/sql.jar
>>>
>>> layout:
>>> [copy] Copying 2 files to
>>> /home/karan/projects/Harmony/deploy/jre/lib/boot
>>> [copy] Copying 11 files to
>>> /home/karan/projects/Harmony/deploy/jre/lib/boot
>>> [copy] Copying 1 file to
>>> /home/karan/projects/Harmony/deploy/jre/lib/boot
>>> [copy] Copying 18 files to
>>> /home/karan/projects/Harmony/deploy/jre/bin
>>> [copy] Copying 2 files to
>>> /home/karan/projects/Harmony/deploy/jre/lib/security
>>>
>>> default:
>>> [echo]
>>> [echo] ========================================
>>> [echo] Building native libs and executables...
>>> [echo] ========================================
>>>
>>> init:
>>>
>>> windows-properties:
>>>
>>> linux-properties:
>>>
>>> properties:
>>>
>>> overlay-oss:
>>> [unzip] Expanding:
>>> /home/karan/projects/Harmony/depends/oss/fdlibm_5.2.zip into
>>> /home/karan/projects/Harmony/native-src/linux.IA32/fdlibm
>>> [unzip] Expanding:
>>> /home/karan/projects/Harmony/depends/oss/zlib_1.2.3.zip into
>>> /home/karan/projects/Harmony/native-src/linux.IA32/zlib
>>> [unzip] Expanding:
>>> /home/karan/projects/Harmony/depends/oss/linux.IA32/icu4c-3.4-harmony.zip
>>>
>>> into /home/karan/projects/Harmony/native-src/linux.IA32
>>>
>>> make-clean:
>>>
>>> make-all:
>>>
>>> timestamp:
>>> [echo] build-date=20060214
>>> [echo] build-time=20060214_1115)
>>> [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.
>>>
>>> setname.win:
>>>
>>> setname.linux:
>>>
>>> init:
>>> [echo] platform name=lnx
>>> [echo] if.x86_64=${if.x86_64}
>>> [echo] if.x86=true
>>> [echo] if.ipf=${if.ipf}
>>> [echo] create base dirs...
>>>
>>> init.java_home:
>>> [echo] JAVA_HOME=/home/karan/jdk1.5.0_06
>>>
>>> init.win:
>>>
>>> init.linux:
>>>
>>> compile.api:
>>> [echo] Compiling api classes from
>>> /home/karan/projects/Harmony/modules/security2/src/common/javasrc,
>>> /home/karan/projects/Harmony/modules/security2/src/linux/javasrc
>>>
>>> build.jars:
>>>
>>> build.one.jar:
>>>
>>> build.one.jar:
>>>
>>> build.one.jar:
>>>
>>> build.native:
>>> [echo]
>>> jni_h.path=/home/karan/projects/Harmony/native-src/linux.IA32/include
>>> [echo]
>>> jni_md_h.path=/home/karan/projects/Harmony/native-src/linux.IA32/include
>>>
>>> init:
>>> [echo] native_compiler.name=gcc
>>> [echo] library.name=jaasnix
>>> [echo]
>>> ntvlibname.path=/home/karan/projects/Harmony/modules/security2/src/linux/other/jaasnix
>>>
>>>
>>> compile.linux.native:
>>> [echo] make linux native...
>>> [echo]
>>> path.to.build.native=/home/karan/projects/Harmony/modules/security2/src/linux/other/jaasnix
>>>
>>>
>>> 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
>>>
>>> Total time: 1 minute 17 seconds
>>>
>>>
>>> Alexey Petrenko wrote:
>>>
>>>
>>>>> I specified a JAVACMD variable to point to the java executable
>>>>> under jdk1.5/bin, as Alexey had mentioned in a previous email.
>>>>>
>>>>>
>>>>>
>>>> Did it build Java part after that?
>>>>
>>>> --
>>>> Alexey A. Petrenko
>>>> Intel Middleware Products Division
>>>>
>>>>
>>>>
>>> --
>>> Karan Singh
>>>
>>>
>>>
>>
>>
>> --
>> Alexey A. Petrenko
>> Intel Middleware Products Division
>>
>>
>
--
Tim Ellison (t.p.ellison@gmail.com)
IBM Java technology centre, UK.
Re: build fails - what next? -- outerr.txt
Posted by karan malhi <ka...@gmail.com>.
The build was successful. The problem was with gcc-c++.
Thanks for all the help.
Alexey Petrenko wrote:
>So Java part is built and you got troubles with gcc...
>
>
>2006/2/14, karan malhi <ka...@gmail.com>:
>
>
>>Alexey,
>>I have set the JAVACMD variable to point to java executable explicitly
>>as you can see below:
>> [karan@j2ee make]$ echo $JAVACMD
>> /home/karan/jdk1.5.0_06/bin/java
>>
>>Below is the complete output after running ant.
>>
>>[karan@j2ee make]$ ant
>>Buildfile: build.xml
>>
>>default:
>> [echo]
>> [echo] ========================================
>> [echo] Building Java component archives...
>> [echo] ========================================
>>
>>clean-bin:
>> [delete] Deleting 1645 files from /home/karan/projects/Harmony/bin
>> [delete] Deleted 85 directories from /home/karan/projects/Harmony/bin
>>
>>clean-layout:
>> [delete] Deleting 34 files from /home/karan/projects/Harmony/deploy
>>
>>clean-package:
>> [delete] Deleting 11 files from /home/karan/projects/Harmony/components
>> [delete] Deleted 1 directory from /home/karan/projects/Harmony/components
>>
>>clean:
>>
>>copy-resources:
>> [mkdir] Created dir: /home/karan/projects/Harmony/bin
>> [copy] Copying 2 files to /home/karan/projects/Harmony/bin
>>
>>compile:
>> [javac] Compiling 1280 source files to /home/karan/projects/Harmony/bin
>> [javac] Note: Some input files use or override a deprecated API.
>> [javac] Note: Recompile with -Xlint:deprecation for details.
>>
>>package:
>> [mkdir] Created dir: /home/karan/projects/Harmony/components
>> [jar] Building jar:
>>/home/karan/projects/Harmony/components/archive.jar
>> [jar] Building jar:
>>/home/karan/projects/Harmony/components/kernel-stubs.jar
>> [jar] Building jar: /home/karan/projects/Harmony/components/luni.jar
>> [jar] Building jar: /home/karan/projects/Harmony/components/nio.jar
>> [jar] Building jar:
>>/home/karan/projects/Harmony/components/nio_char.jar
>> [jar] Building jar:
>>/home/karan/projects/Harmony/components/security.jar
>> [jar] Building jar: /home/karan/projects/Harmony/components/x-net.jar
>> [jar] Building jar: /home/karan/projects/Harmony/components/text.jar
>> [jar] Building jar: /home/karan/projects/Harmony/components/math.jar
>> [jar] Building jar: /home/karan/projects/Harmony/components/regex.jar
>> [jar] Building jar: /home/karan/projects/Harmony/components/sql.jar
>>
>>layout:
>> [copy] Copying 2 files to
>>/home/karan/projects/Harmony/deploy/jre/lib/boot
>> [copy] Copying 11 files to
>>/home/karan/projects/Harmony/deploy/jre/lib/boot
>> [copy] Copying 1 file to
>>/home/karan/projects/Harmony/deploy/jre/lib/boot
>> [copy] Copying 18 files to /home/karan/projects/Harmony/deploy/jre/bin
>> [copy] Copying 2 files to
>>/home/karan/projects/Harmony/deploy/jre/lib/security
>>
>>default:
>> [echo]
>> [echo] ========================================
>> [echo] Building native libs and executables...
>> [echo] ========================================
>>
>>init:
>>
>>windows-properties:
>>
>>linux-properties:
>>
>>properties:
>>
>>overlay-oss:
>> [unzip] Expanding:
>>/home/karan/projects/Harmony/depends/oss/fdlibm_5.2.zip into
>>/home/karan/projects/Harmony/native-src/linux.IA32/fdlibm
>> [unzip] Expanding:
>>/home/karan/projects/Harmony/depends/oss/zlib_1.2.3.zip into
>>/home/karan/projects/Harmony/native-src/linux.IA32/zlib
>> [unzip] Expanding:
>>/home/karan/projects/Harmony/depends/oss/linux.IA32/icu4c-3.4-harmony.zip
>>into /home/karan/projects/Harmony/native-src/linux.IA32
>>
>>make-clean:
>>
>>make-all:
>>
>>timestamp:
>> [echo] build-date=20060214
>> [echo] build-time=20060214_1115)
>> [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.
>>
>>setname.win:
>>
>>setname.linux:
>>
>>init:
>> [echo] platform name=lnx
>> [echo] if.x86_64=${if.x86_64}
>> [echo] if.x86=true
>> [echo] if.ipf=${if.ipf}
>> [echo] create base dirs...
>>
>>init.java_home:
>> [echo] JAVA_HOME=/home/karan/jdk1.5.0_06
>>
>>init.win:
>>
>>init.linux:
>>
>>compile.api:
>> [echo] Compiling api classes from
>>/home/karan/projects/Harmony/modules/security2/src/common/javasrc,
>>/home/karan/projects/Harmony/modules/security2/src/linux/javasrc
>>
>>build.jars:
>>
>>build.one.jar:
>>
>>build.one.jar:
>>
>>build.one.jar:
>>
>>build.native:
>> [echo]
>>jni_h.path=/home/karan/projects/Harmony/native-src/linux.IA32/include
>> [echo]
>>jni_md_h.path=/home/karan/projects/Harmony/native-src/linux.IA32/include
>>
>>init:
>> [echo] native_compiler.name=gcc
>> [echo] library.name=jaasnix
>> [echo]
>>ntvlibname.path=/home/karan/projects/Harmony/modules/security2/src/linux/other/jaasnix
>>
>>compile.linux.native:
>> [echo] make linux native...
>> [echo]
>>path.to.build.native=/home/karan/projects/Harmony/modules/security2/src/linux/other/jaasnix
>>
>>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
>>
>>Total time: 1 minute 17 seconds
>>
>>
>>Alexey Petrenko wrote:
>>
>>
>>
>>>>I specified a JAVACMD variable to point to the java executable
>>>>under jdk1.5/bin, as Alexey had mentioned in a previous email.
>>>>
>>>>
>>>>
>>>>
>>>Did it build Java part after that?
>>>
>>>--
>>>Alexey A. Petrenko
>>>Intel Middleware Products Division
>>>
>>>
>>>
>>>
>>--
>>Karan Singh
>>
>>
>>
>>
>
>
>--
>Alexey A. Petrenko
>Intel Middleware Products Division
>
>
--
Karan Singh
Re: build fails - what next? -- outerr.txt
Posted by Alexey Petrenko <al...@gmail.com>.
So Java part is built and you got troubles with gcc...
2006/2/14, karan malhi <ka...@gmail.com>:
> Alexey,
> I have set the JAVACMD variable to point to java executable explicitly
> as you can see below:
> [karan@j2ee make]$ echo $JAVACMD
> /home/karan/jdk1.5.0_06/bin/java
>
> Below is the complete output after running ant.
>
> [karan@j2ee make]$ ant
> Buildfile: build.xml
>
> default:
> [echo]
> [echo] ========================================
> [echo] Building Java component archives...
> [echo] ========================================
>
> clean-bin:
> [delete] Deleting 1645 files from /home/karan/projects/Harmony/bin
> [delete] Deleted 85 directories from /home/karan/projects/Harmony/bin
>
> clean-layout:
> [delete] Deleting 34 files from /home/karan/projects/Harmony/deploy
>
> clean-package:
> [delete] Deleting 11 files from /home/karan/projects/Harmony/components
> [delete] Deleted 1 directory from /home/karan/projects/Harmony/components
>
> clean:
>
> copy-resources:
> [mkdir] Created dir: /home/karan/projects/Harmony/bin
> [copy] Copying 2 files to /home/karan/projects/Harmony/bin
>
> compile:
> [javac] Compiling 1280 source files to /home/karan/projects/Harmony/bin
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
>
> package:
> [mkdir] Created dir: /home/karan/projects/Harmony/components
> [jar] Building jar:
> /home/karan/projects/Harmony/components/archive.jar
> [jar] Building jar:
> /home/karan/projects/Harmony/components/kernel-stubs.jar
> [jar] Building jar: /home/karan/projects/Harmony/components/luni.jar
> [jar] Building jar: /home/karan/projects/Harmony/components/nio.jar
> [jar] Building jar:
> /home/karan/projects/Harmony/components/nio_char.jar
> [jar] Building jar:
> /home/karan/projects/Harmony/components/security.jar
> [jar] Building jar: /home/karan/projects/Harmony/components/x-net.jar
> [jar] Building jar: /home/karan/projects/Harmony/components/text.jar
> [jar] Building jar: /home/karan/projects/Harmony/components/math.jar
> [jar] Building jar: /home/karan/projects/Harmony/components/regex.jar
> [jar] Building jar: /home/karan/projects/Harmony/components/sql.jar
>
> layout:
> [copy] Copying 2 files to
> /home/karan/projects/Harmony/deploy/jre/lib/boot
> [copy] Copying 11 files to
> /home/karan/projects/Harmony/deploy/jre/lib/boot
> [copy] Copying 1 file to
> /home/karan/projects/Harmony/deploy/jre/lib/boot
> [copy] Copying 18 files to /home/karan/projects/Harmony/deploy/jre/bin
> [copy] Copying 2 files to
> /home/karan/projects/Harmony/deploy/jre/lib/security
>
> default:
> [echo]
> [echo] ========================================
> [echo] Building native libs and executables...
> [echo] ========================================
>
> init:
>
> windows-properties:
>
> linux-properties:
>
> properties:
>
> overlay-oss:
> [unzip] Expanding:
> /home/karan/projects/Harmony/depends/oss/fdlibm_5.2.zip into
> /home/karan/projects/Harmony/native-src/linux.IA32/fdlibm
> [unzip] Expanding:
> /home/karan/projects/Harmony/depends/oss/zlib_1.2.3.zip into
> /home/karan/projects/Harmony/native-src/linux.IA32/zlib
> [unzip] Expanding:
> /home/karan/projects/Harmony/depends/oss/linux.IA32/icu4c-3.4-harmony.zip
> into /home/karan/projects/Harmony/native-src/linux.IA32
>
> make-clean:
>
> make-all:
>
> timestamp:
> [echo] build-date=20060214
> [echo] build-time=20060214_1115)
> [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.
>
> setname.win:
>
> setname.linux:
>
> init:
> [echo] platform name=lnx
> [echo] if.x86_64=${if.x86_64}
> [echo] if.x86=true
> [echo] if.ipf=${if.ipf}
> [echo] create base dirs...
>
> init.java_home:
> [echo] JAVA_HOME=/home/karan/jdk1.5.0_06
>
> init.win:
>
> init.linux:
>
> compile.api:
> [echo] Compiling api classes from
> /home/karan/projects/Harmony/modules/security2/src/common/javasrc,
> /home/karan/projects/Harmony/modules/security2/src/linux/javasrc
>
> build.jars:
>
> build.one.jar:
>
> build.one.jar:
>
> build.one.jar:
>
> build.native:
> [echo]
> jni_h.path=/home/karan/projects/Harmony/native-src/linux.IA32/include
> [echo]
> jni_md_h.path=/home/karan/projects/Harmony/native-src/linux.IA32/include
>
> init:
> [echo] native_compiler.name=gcc
> [echo] library.name=jaasnix
> [echo]
> ntvlibname.path=/home/karan/projects/Harmony/modules/security2/src/linux/other/jaasnix
>
> compile.linux.native:
> [echo] make linux native...
> [echo]
> path.to.build.native=/home/karan/projects/Harmony/modules/security2/src/linux/other/jaasnix
>
> 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
>
> Total time: 1 minute 17 seconds
>
>
> Alexey Petrenko wrote:
>
> >>I specified a JAVACMD variable to point to the java executable
> >>under jdk1.5/bin, as Alexey had mentioned in a previous email.
> >>
> >>
> >Did it build Java part after that?
> >
> >--
> >Alexey A. Petrenko
> >Intel Middleware Products Division
> >
> >
>
> --
> Karan Singh
>
>
--
Alexey A. Petrenko
Intel Middleware Products Division
Re: build fails - what next? -- outerr.txt
Posted by karan malhi <ka...@gmail.com>.
Alexey,
I have set the JAVACMD variable to point to java executable explicitly
as you can see below:
[karan@j2ee make]$ echo $JAVACMD
/home/karan/jdk1.5.0_06/bin/java
Below is the complete output after running ant.
[karan@j2ee make]$ ant
Buildfile: build.xml
default:
[echo]
[echo] ========================================
[echo] Building Java component archives...
[echo] ========================================
clean-bin:
[delete] Deleting 1645 files from /home/karan/projects/Harmony/bin
[delete] Deleted 85 directories from /home/karan/projects/Harmony/bin
clean-layout:
[delete] Deleting 34 files from /home/karan/projects/Harmony/deploy
clean-package:
[delete] Deleting 11 files from /home/karan/projects/Harmony/components
[delete] Deleted 1 directory from /home/karan/projects/Harmony/components
clean:
copy-resources:
[mkdir] Created dir: /home/karan/projects/Harmony/bin
[copy] Copying 2 files to /home/karan/projects/Harmony/bin
compile:
[javac] Compiling 1280 source files to /home/karan/projects/Harmony/bin
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
package:
[mkdir] Created dir: /home/karan/projects/Harmony/components
[jar] Building jar:
/home/karan/projects/Harmony/components/archive.jar
[jar] Building jar:
/home/karan/projects/Harmony/components/kernel-stubs.jar
[jar] Building jar: /home/karan/projects/Harmony/components/luni.jar
[jar] Building jar: /home/karan/projects/Harmony/components/nio.jar
[jar] Building jar:
/home/karan/projects/Harmony/components/nio_char.jar
[jar] Building jar:
/home/karan/projects/Harmony/components/security.jar
[jar] Building jar: /home/karan/projects/Harmony/components/x-net.jar
[jar] Building jar: /home/karan/projects/Harmony/components/text.jar
[jar] Building jar: /home/karan/projects/Harmony/components/math.jar
[jar] Building jar: /home/karan/projects/Harmony/components/regex.jar
[jar] Building jar: /home/karan/projects/Harmony/components/sql.jar
layout:
[copy] Copying 2 files to
/home/karan/projects/Harmony/deploy/jre/lib/boot
[copy] Copying 11 files to
/home/karan/projects/Harmony/deploy/jre/lib/boot
[copy] Copying 1 file to
/home/karan/projects/Harmony/deploy/jre/lib/boot
[copy] Copying 18 files to /home/karan/projects/Harmony/deploy/jre/bin
[copy] Copying 2 files to
/home/karan/projects/Harmony/deploy/jre/lib/security
default:
[echo]
[echo] ========================================
[echo] Building native libs and executables...
[echo] ========================================
init:
windows-properties:
linux-properties:
properties:
overlay-oss:
[unzip] Expanding:
/home/karan/projects/Harmony/depends/oss/fdlibm_5.2.zip into
/home/karan/projects/Harmony/native-src/linux.IA32/fdlibm
[unzip] Expanding:
/home/karan/projects/Harmony/depends/oss/zlib_1.2.3.zip into
/home/karan/projects/Harmony/native-src/linux.IA32/zlib
[unzip] Expanding:
/home/karan/projects/Harmony/depends/oss/linux.IA32/icu4c-3.4-harmony.zip
into /home/karan/projects/Harmony/native-src/linux.IA32
make-clean:
make-all:
timestamp:
[echo] build-date=20060214
[echo] build-time=20060214_1115)
[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.
setname.win:
setname.linux:
init:
[echo] platform name=lnx
[echo] if.x86_64=${if.x86_64}
[echo] if.x86=true
[echo] if.ipf=${if.ipf}
[echo] create base dirs...
init.java_home:
[echo] JAVA_HOME=/home/karan/jdk1.5.0_06
init.win:
init.linux:
compile.api:
[echo] Compiling api classes from
/home/karan/projects/Harmony/modules/security2/src/common/javasrc,
/home/karan/projects/Harmony/modules/security2/src/linux/javasrc
build.jars:
build.one.jar:
build.one.jar:
build.one.jar:
build.native:
[echo]
jni_h.path=/home/karan/projects/Harmony/native-src/linux.IA32/include
[echo]
jni_md_h.path=/home/karan/projects/Harmony/native-src/linux.IA32/include
init:
[echo] native_compiler.name=gcc
[echo] library.name=jaasnix
[echo]
ntvlibname.path=/home/karan/projects/Harmony/modules/security2/src/linux/other/jaasnix
compile.linux.native:
[echo] make linux native...
[echo]
path.to.build.native=/home/karan/projects/Harmony/modules/security2/src/linux/other/jaasnix
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
Total time: 1 minute 17 seconds
Alexey Petrenko wrote:
>>I specified a JAVACMD variable to point to the java executable
>>under jdk1.5/bin, as Alexey had mentioned in a previous email.
>>
>>
>Did it build Java part after that?
>
>--
>Alexey A. Petrenko
>Intel Middleware Products Division
>
>
--
Karan Singh
Re: build fails - what next? -- outerr.txt
Posted by Alexey Petrenko <al...@gmail.com>.
> I specified a JAVACMD variable to point to the java executable
> under jdk1.5/bin, as Alexey had mentioned in a previous email.
Did it build Java part after that?
--
Alexey A. Petrenko
Intel Middleware Products Division
Re: build fails - what next? -- outerr.txt
Posted by Tim Ellison <t....@gmail.com>.
allow me a rye smile ;-)
Geir Magnusson Jr wrote:
> It has nothing to do w/ Java. That's the C++ compiler for GCC. Your
> installation of GCC is incomplete it appears - it doesn't seem to have
> C++ installed.
>
> (Hey Tim... what was that you were saying about C++??)
>
> geir
>
>
>
> karan malhi wrote:
>> Below are the contents of the file outerr.txt
>>
>> gcc: installation problem, cannot exec 'cc1plus': No such file or
>> directory
>>
>> I dont know why it is still saying gcc problem. I specified a JAVACMD
>> variable to point to the java executable under jdk1.5/bin, as Alexey
>> had mentioned in a previous email.
>>
>> Geir Magnusson Jr wrote:
>>
>>> ok. Now we're making progress.
>>>
>>> Did you look at what that line in the xml document is? It's the
>>> c/c++ compiler.
>>>
>>> There's a file "outerr.txt" That should have more information about
>>> what exactly failed...
>>>
>>> Can you look there and report back?
>>>
>>>
>>> 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
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
--
Tim Ellison (t.p.ellison@gmail.com)
IBM Java technology centre, UK.
Re: build fails - what next? -- outerr.txt
Posted by Geir Magnusson Jr <ge...@pobox.com>.
It has nothing to do w/ Java. That's the C++ compiler for GCC. Your
installation of GCC is incomplete it appears - it doesn't seem to have
C++ installed.
(Hey Tim... what was that you were saying about C++??)
geir
karan malhi wrote:
> Below are the contents of the file outerr.txt
>
> gcc: installation problem, cannot exec 'cc1plus': No such file or directory
>
> I dont know why it is still saying gcc problem. I specified a JAVACMD
> variable to point to the java executable under jdk1.5/bin, as Alexey
> had mentioned in a previous email.
>
> Geir Magnusson Jr wrote:
>
>> ok. Now we're making progress.
>>
>> Did you look at what that line in the xml document is? It's the c/c++
>> compiler.
>>
>> There's a file "outerr.txt" That should have more information about
>> what exactly failed...
>>
>> Can you look there and report back?
>>
>>
>> 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
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>