WAF 2.x upgrade status

Alexander Bokovoy ab at samba.org
Thu Jun 28 08:56:11 UTC 2018


On to, 28 kesä 2018, Noel Power via samba-technical wrote:
> Hi Alexander
> 
> 
> On 27/06/18 19:29, Andrew Bartlett via samba-technical wrote:
> > On Wed, 2018-06-27 at 18:14 +0300, Alexander Bokovoy via samba-
> > technical wrote:
> >> Hi,
> >>
> >> Since February I am working on and off on migrating to a newer WAF
> >> version. We want to use WAF 2.x as it is compatible with Python 3.
> >> Over years WAF also evolved and most of infrastructure Samba was
> >> building upon since WAF 1.5 times got deprecated.
> >>
> >> Below is a progress I have to date.
> >>
> >> Following gitlab branch contains the current state:
> >> https://gitlab.com/samba-team/devel/samba/commits/abbra-py3-master-waf
> >>
> >> I migrated from WAF 1.8 to 1.9 to 2.0 to 2.0.4 and finally to 2.0.8.
> >> Autobuild still fails but the code passes configure, builds, and in some
> >> targets even 'make test'.
> >>
> >> Thanks to Thomas Nagy help, I've got past the issue I was banging my
> >> head against for long: building Heimdal compilers (asn1_compile and
> >> compile_et).
> >>
> >> What's not working:  anything that require newly built python bindings
> >> in 'make test'. For example, tests fail somehow to find ldb bindings
> >> that were built just now. I'll look at this tomorrow.
> does it work on a second make test issue ? I have seen sometimes in the
> normal build make test does not pick up ldb until the second make test.
> Unfortunately I don't know what triggers this.
There seem to be some issue with PYTHONPATH, not sure why. A cannot have
a second run over the same code in a CI. ;)

Locally I tried to play with the variables unsuccessfully so far.

> >>
> >> https://gitlab.com/samba-team/devel/samba/pipelines/24684552 is a latest
> >> run -- we pass roughly 1/3 of all build jobs.
> > Thank you so much Alexander for your patience and effort in this area!
> That's super news, sounds really promising. Unfortunately I am on
> vacation for 2 weeks from Wed next week (and tomorrow also) so not sure
> if I will get a chance to try this out before I return. 
No problem. Andreas wants me to get this done before first 4.9 RC
anyway, so I need to get full autobuild working during first week of
July.

> >
> > Build system maintenance is important work and I really appreciate
> > everything you have done here.  
> >
> > Thanks also for using GitLab for CI, I do really appriciate everybody
> > who is giving it a go!
> >
> +1 for gitlab CI, it's a life saver for me with the python3 stuff, I
> really appreciate all you have done setting that up Andrew
+1.

-- 
/ Alexander Bokovoy



More information about the samba-technical mailing list