WAF 2.x upgrade for 4.10

Stefan Metzmacher metze at samba.org
Wed Sep 5 10:40:57 UTC 2018


Hi Noel,

thanks for the status update!

metze

Am 05.09.2018 um 12:34 schrieb Noel Power:
> Hi Metz
> 
> There are some extra patches needed, I posted about these previously
> (see attached), I didn't want to want to complicate this important merge
> by trying to get these patches included, I will submit them in a merge
> request later today or tomorrow now that this is in. However please note
> that although these patches will allow a build and configure from pure
> python3 (or at least they used to), getting tests to run under pure
> python3 is another matter :-) there is quite some more work to be done
> for that. However once the remainder of the test port patches are in I
> will start to concentrate on that.
> 
> Noel
>  
> On 05/09/18 10:59, Stefan Metzmacher via samba-technical wrote:
>> Hi Alexander,
>>
>>>> https://gitlab.com/samba-team/samba/merge_requests/62
>>> Thanks!  It also allows an easy way to get the patch, as every merge
>>> request can be appended with .patch to get the patches ready for 'git
>>> am'.
>> Thanks for the work to get this upstream!
>>
>> I'm wonder if the following is already supposed to work?
>>
>> PYTHON=python3 ./configure.developer && PYTHON=python3 make -j
>>
>> As it doesn't for me on ubuntu 18.04 with Python 3.6.5:
>>
>> $ PYTHON=python3 ./configure.developer && PYTHON=python3 make -j
>> Waf: The wscript in '/tmp/master3' is unreadable
>> Traceback (most recent call last):
>>   File "/tmp/master3/third_party/waf/waflib/Scripting.py", line 140, in
>> waf_entry_point
>>     set_main_module(os.path.normpath(os.path.join(Context.run_dir,
>> Context.WSCRIPT_FILE)))
>>   File "/tmp/master3/third_party/waf/waflib/Scripting.py", line 190, in
>> set_main_module
>>     Context.g_module = Context.load_module(file_path)
>>   File "/tmp/master3/third_party/waf/waflib/Context.py", line 672, in
>> load_module
>>     exec(compile(code, path, 'exec'), module.__dict__)
>>   File "/tmp/master3/wscript", line 12, in <module>
>>     import wafsamba, samba_dist, samba_git, samba_version, samba_utils
>>   File "./buildtools/wafsamba/wafsamba.py", line 801
>>     os.chmod(installed_location, 0755)
>>                                     ^
>> SyntaxError: invalid token
>>
>> metze
>>
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180905/cdad8555/signature.sig>


More information about the samba-technical mailing list