You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by Roman Shaposhnik <rv...@apache.org> on 2012/11/05 01:18:03 UTC

Packaging build dependencies

Hi!

right now I'm faced with the boring problem of updating the
toolchain and build slaves for the Bigtop 0.5.0 release. This
time I decided to do it right and look at:
    https://issues.apache.org/jira/browse/BIGTOP-601

Given that at this point the content of this proposed bigtop-build
package is going to be limited to ant, maven and forrest I'm
wondering whether it wouldn't be nicer if packaged those 3
as bigtop-ant, bigtop-maven and bigtop-forrest respectively
and had an honest build dependencies on them in our
SPEC/control files.

We can go even so far as to make sure that we track which
of our supported platforms package that stuff  natively
and have the proper dependencies in place (if possible).

I guess my biggest question is this -- on platforms where
we would still have to have bigtop-[maven|ant|forrest]
as a formal build dependency -- will this upset anything?

Thoughts?

Thanks,
Roman.

P.S. This doesn't touch upon an issue of packaging JDK.
At the moment -- I'm not solving it with the hopes that
we can simply transition to OpenJDK 7 at some point
(which seems to be available on most new platforms).

Re: Packaging build dependencies

Posted by Bruno Mahé <bm...@apache.org>.
On 11/04/2012 04:18 PM, Roman Shaposhnik wrote:
> Hi!
>
> right now I'm faced with the boring problem of updating the
> toolchain and build slaves for the Bigtop 0.5.0 release. This
> time I decided to do it right and look at:
>      https://issues.apache.org/jira/browse/BIGTOP-601
>
> Given that at this point the content of this proposed bigtop-build
> package is going to be limited to ant, maven and forrest I'm
> wondering whether it wouldn't be nicer if packaged those 3
> as bigtop-ant, bigtop-maven and bigtop-forrest respectively
> and had an honest build dependencies on them in our
> SPEC/control files.
>
> We can go even so far as to make sure that we track which
> of our supported platforms package that stuff  natively
> and have the proper dependencies in place (if possible).
>
> I guess my biggest question is this -- on platforms where
> we would still have to have bigtop-[maven|ant|forrest]
> as a formal build dependency -- will this upset anything?
>
> Thoughts?
>
> Thanks,
> Roman.
>
> P.S. This doesn't touch upon an issue of packaging JDK.
> At the moment -- I'm not solving it with the hopes that
> we can simply transition to OpenJDK 7 at some point
> (which seems to be available on most new platforms).
>

1/ It would be better to have separate package for each of them
2/ Given how forrest is being moved out of projects, I am not sure it is 
worth the time spent packaging it.
3/ Maven is a beast. Maven also needs maven to be built. Maven has tons 
of plugins. So I am not sure you want to get into it. Also more and more 
distributions now provide maven 3.
4/ Any dependency packages by Apache Bigtop should not override system 
ones, and no need to provide such dependency when the system already 
provide one.

And above all, these packages of dependencies should not be mandatory.


Re: Packaging build dependencies

Posted by Giridharan Kesavan <gk...@hortonworks.com>.
How are we planning to deal with snappy and other libs?

-Giri


On Sun, Nov 4, 2012 at 4:29 PM, Alejandro Abdelnur <tu...@cloudera.com>wrote:

> not sure about the right answer to this. but you'll need protoc as well,
> no?
>
> Alejandro
>
> On Nov 4, 2012, at 4:18 PM, Roman Shaposhnik <rv...@apache.org> wrote:
>
> > Hi!
> >
> > right now I'm faced with the boring problem of updating the
> > toolchain and build slaves for the Bigtop 0.5.0 release. This
> > time I decided to do it right and look at:
> >    https://issues.apache.org/jira/browse/BIGTOP-601
> >
> > Given that at this point the content of this proposed bigtop-build
> > package is going to be limited to ant, maven and forrest I'm
> > wondering whether it wouldn't be nicer if packaged those 3
> > as bigtop-ant, bigtop-maven and bigtop-forrest respectively
> > and had an honest build dependencies on them in our
> > SPEC/control files.
> >
> > We can go even so far as to make sure that we track which
> > of our supported platforms package that stuff  natively
> > and have the proper dependencies in place (if possible).
> >
> > I guess my biggest question is this -- on platforms where
> > we would still have to have bigtop-[maven|ant|forrest]
> > as a formal build dependency -- will this upset anything?
> >
> > Thoughts?
> >
> > Thanks,
> > Roman.
> >
> > P.S. This doesn't touch upon an issue of packaging JDK.
> > At the moment -- I'm not solving it with the hopes that
> > we can simply transition to OpenJDK 7 at some point
> > (which seems to be available on most new platforms).
>

Re: Packaging build dependencies

Posted by Roman Shaposhnik <rv...@apache.org>.
On Sun, Nov 4, 2012 at 4:29 PM, Alejandro Abdelnur <tu...@cloudera.com> wrote:
> not sure about the right answer to this. but you'll need protoc as well, no?

On Sun, Nov 4, 2012 at 9:33 PM, Giridharan Kesavan
<gk...@hortonworks.com> wrote:
> How are we planning to deal with snappy and other libs?

These are already supposed to be taken care of by the system
packages -- but I'll double check.

Thanks,
Roman.

Re: Packaging build dependencies

Posted by Alejandro Abdelnur <tu...@cloudera.com>.
not sure about the right answer to this. but you'll need protoc as well, no?

Alejandro

On Nov 4, 2012, at 4:18 PM, Roman Shaposhnik <rv...@apache.org> wrote:

> Hi!
> 
> right now I'm faced with the boring problem of updating the
> toolchain and build slaves for the Bigtop 0.5.0 release. This
> time I decided to do it right and look at:
>    https://issues.apache.org/jira/browse/BIGTOP-601
> 
> Given that at this point the content of this proposed bigtop-build
> package is going to be limited to ant, maven and forrest I'm
> wondering whether it wouldn't be nicer if packaged those 3
> as bigtop-ant, bigtop-maven and bigtop-forrest respectively
> and had an honest build dependencies on them in our
> SPEC/control files.
> 
> We can go even so far as to make sure that we track which
> of our supported platforms package that stuff  natively
> and have the proper dependencies in place (if possible).
> 
> I guess my biggest question is this -- on platforms where
> we would still have to have bigtop-[maven|ant|forrest]
> as a formal build dependency -- will this upset anything?
> 
> Thoughts?
> 
> Thanks,
> Roman.
> 
> P.S. This doesn't touch upon an issue of packaging JDK.
> At the moment -- I'm not solving it with the hopes that
> we can simply transition to OpenJDK 7 at some point
> (which seems to be available on most new platforms).