combined s3/s4 build - initial build working

Andrew Bartlett abartlet at samba.org
Thu Feb 17 00:25:46 MST 2011


On Wed, 2011-02-16 at 18:13 +1100, tridge at samba.org wrote:
> Hi All,
> 
> As we mentioned last week, Andrew and I have been working towards a
> single top level build that builds all the current s3 binaries as well
> as all the s4 binaries.
> 
> We reached a milestone with that today, where we now have it building
> all the binaries, and preliminary tests show that both sets of
> binaries are functional. We haven't tested all functionality, but the
> basics work (eg. bin/smbd, bin/nmbd, bin/samba, authentication etc).

> Internally, we renamed conflicting subsystems on a case by case
> basis. For example, all the s4 auth subsystems were renamed to be
> auth4_XXX, as that will minimise disruption with existing smb.conf
> files for production s3 systems that refer to particular auth modules
> by name. Some other subsystems instead got a '3' suffix where that was
> simplest.

In the past day, tridge and I have continued working.  We have actually
been able to eliminate most of the duplicate subsystems, rather than
having to rename them. 

The biggest remaining issue is of the duplicated symbols, but the waf
build system has some great tools we can use to help us objectively
determine the scope of the problem.  In particular, I hope to work on
the iconv and debug systems soon. 

While it will take time to completely solve these issues, I don't think
that should block the merging of this work (it just won't be the
preferred way to build and test s3 binaries until that's solved).  

I also hope that soon, we may be able to dispense with the s3build
subdir, and instead simply use some if statements in the source3
wscript.  Doing so will make updating build more reliable and
automatic. 

Tridge and I are working closely with Günther on this, as you will see
in the patches, it is the s3-waf build that is most directly impacted by
this work.  

My branch with the most current changes is at
http://git.samba.org/?p=abartlet/samba.git/.git;a=shortlog;h=refs/heads/toplevel-wip

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco Inc.



More information about the samba-technical mailing list