You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Alexey Varlamov <al...@gmail.com> on 2008/04/02 11:04:50 UTC

Re: Building Harmony on Ubuntu 7.10

Egor, thanks for pointing to the rootcause.
Fixed the log4cxx issue at r643801. Strange, somehow antcall ignores
inheritAll=false so I added marker prefix to avoid collision with
svn.* properties.

--
Alexey


01 Apr 2008 01:34:09 +0400, Egor Pasko <eg...@gmail.com>:
> On the 0x417 day of Apache Harmony Nathan Beyer wrote:
> > Have you tried overriding ANT_HOME with a Ant 1.6.5 version?
>
> tried, no difference :(
>
> > Check that it's not a 1.7 issue.
>
> ..and even not a JDK 1.6 issue :)
>
> > On 30 Mar 2008 12:46:19 +0400, Egor Pasko <eg...@gmail.com> wrote:
> > > On the 0x416 day of Apache Harmony Senaka Fernando wrote:
> > >
> > > > Hi all,
> > >  >
> > >  > Thanks to the valuable discussions on this list I was able to successfully
> > >  > build Harmony on Ubuntu 7.10 in less than a day. Below are some of my
> > >  > experiences.
> > >  >
> > >  > 1. Requirement of ant-optional
> > >  > 2. Requirement of setting ANT_OPTS even on Ubuntu
> > >  > 3. Xerces distribution at given download target is faulty
> > >  > 4. Need to separately checkout log4cxx
> > >
> > >  this is a nasty bug!
> > >  I can fight it with:
> > >
> > >  Index: working_vm/make/extra/log4cxx.xml
> > >  ===================================================================
> > >  --- working_vm/make/extra/log4cxx.xml   (revision 642695)
> > >  +++ working_vm/make/extra/log4cxx.xml   (working copy)
> > >  @@ -24,6 +24,7 @@
> > >      <target name="fetch-depends">
> > >          <ant antfile="${common.resources}/make/svn.xml" target="fetch-svn">
> > >              <property name="dependency" value="log4cxx"/>
> > >  +            <property name="svn.revision" value="${log4cxx.svn.revision}"/>
> > >          </ant>
> > >      </target>
> > >
> > >  But this is a dirty workaround. I have no idea why propertyset in
> > >  fetch-svn target does not work. Waiting for a build guru (the build guru? :)
> > >
> > >
> > >  > 5. Need to install package libxtst-dev
> > >  >
> > >  > Also, some methods discussed on the list weren't required (ex:- soft links
> > >  > for libXtst). In addition to that I noticed a number of warnings when
> > >  > building C/C++ source.
> > >  >
> > >  > Thanks,
> > >  > Senaka
> > >
> > >  --
> > >  Egor Pasko
> > >
> > >
> >
>
> --
> Egor Pasko
>
>

Re: Building Harmony on Ubuntu 7.10

Posted by Egor Pasko <eg...@gmail.com>.
On the 0x41A day of Apache Harmony Alexey Varlamov wrote:
> Egor, thanks for pointing to the rootcause.
> Fixed the log4cxx issue at r643801. Strange, somehow antcall ignores
> inheritAll=false so I added marker prefix to avoid collision with
> svn.* properties.

thanks, Alexey. Helps. Verified :)

> --
> Alexey
> 
> 
> 01 Apr 2008 01:34:09 +0400, Egor Pasko <eg...@gmail.com>:
> > On the 0x417 day of Apache Harmony Nathan Beyer wrote:
> > > Have you tried overriding ANT_HOME with a Ant 1.6.5 version?
> >
> > tried, no difference :(
> >
> > > Check that it's not a 1.7 issue.
> >
> > ..and even not a JDK 1.6 issue :)
> >
> > > On 30 Mar 2008 12:46:19 +0400, Egor Pasko <eg...@gmail.com> wrote:
> > > > On the 0x416 day of Apache Harmony Senaka Fernando wrote:
> > > >
> > > > > Hi all,
> > > >  >
> > > >  > Thanks to the valuable discussions on this list I was able to successfully
> > > >  > build Harmony on Ubuntu 7.10 in less than a day. Below are some of my
> > > >  > experiences.
> > > >  >
> > > >  > 1. Requirement of ant-optional
> > > >  > 2. Requirement of setting ANT_OPTS even on Ubuntu
> > > >  > 3. Xerces distribution at given download target is faulty
> > > >  > 4. Need to separately checkout log4cxx
> > > >
> > > >  this is a nasty bug!
> > > >  I can fight it with:
> > > >
> > > >  Index: working_vm/make/extra/log4cxx.xml
> > > >  ===================================================================
> > > >  --- working_vm/make/extra/log4cxx.xml   (revision 642695)
> > > >  +++ working_vm/make/extra/log4cxx.xml   (working copy)
> > > >  @@ -24,6 +24,7 @@
> > > >      <target name="fetch-depends">
> > > >          <ant antfile="${common.resources}/make/svn.xml" target="fetch-svn">
> > > >              <property name="dependency" value="log4cxx"/>
> > > >  +            <property name="svn.revision" value="${log4cxx.svn.revision}"/>
> > > >          </ant>
> > > >      </target>
> > > >
> > > >  But this is a dirty workaround. I have no idea why propertyset in
> > > >  fetch-svn target does not work. Waiting for a build guru (the build guru? :)
> > > >
> > > >
> > > >  > 5. Need to install package libxtst-dev
> > > >  >
> > > >  > Also, some methods discussed on the list weren't required (ex:- soft links
> > > >  > for libXtst). In addition to that I noticed a number of warnings when
> > > >  > building C/C++ source.
> > > >  >
> > > >  > Thanks,
> > > >  > Senaka
> > > >
> > > >  --
> > > >  Egor Pasko
> > > >
> > > >
> > >
> >
> > --
> > Egor Pasko
> >
> >
> 

-- 
Egor Pasko