proposal: merge waf build of s4 to master

simo idra at samba.org
Mon Apr 12 09:11:15 MDT 2010


On Mon, 2010-04-12 at 23:26 +1000, tridge at samba.org wrote:
> Hi Kai,
> 
>  > I've also played with cross-compiling Samba (both 3 and 4) to the Android 
>  > platform recently, but both of them stubbornly resisted my attempts so far, so 
>  > I didn't even think about looking at waf for that.
> 
> I think we just need to get dpkg-cross to convert the native ARM
> packages to cross-packages. Then they should install in
> /usr/arm-linux-gnu and the waf build of s4 should work fine (following
> the steps I put on the wiki page).
> 
> dpkg-cross is a bit of a monster though. It seems to really want a
> debian system, as it keeps trying to install from 'unstable' and the
> -S option to override doesn't seem to work for -i.
> 
> Maybe Simo has a better cross compilation env on Fedora? Simo, do you
> want to try building s4 cross-compiled on ARM?

Sorry, I don't have a cross-compile system ready on my own.
I have some users that do ARM work and that's why I was concerned.

Anyway, I have finished reading the monster thread and at some point it
was proposed to have waf build a make file that wouldn't require python
in released tarballs but only for developers.

That looks like a very brilliant idea especially for talloc, tdb,
tevent.
I would very much like to have that to make talloc/tdb/tevent releases
simpler with less dependencies.



On another topic I disagree on renaming waf specific stuff to use
autoconf/automake and related build tools names, in
particular ./configure

It will totally confuse anyone that knows what ./configure normally is.
Given we are changing build system I see no issue in changing tools
names. Also a lot of packaging systems have smarts to add options that
they know ./configure support, so use ./configure may also cause strange
failures if we are not 100% compatible with what ./configure normally
allows.

Having a ./configure.waf or variations on the theme looks good enough,
and hints all people in the right way about what the tool does and how
it differs from "normal" configure files IMO.

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer <simo at samba.org>
Principal Software Engineer at Red Hat, Inc. <simo at redhat.com>



More information about the samba-technical mailing list