WAF 2.x upgrade status

Noel Power nopower at suse.com
Thu Jun 28 08:51:21 UTC 2018


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.
>>
>> 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. 
>
> 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

Noel



More information about the samba-technical mailing list