WAF 2.x upgrade for 4.10

Noel Power nopower at suse.com
Wed Sep 5 10:34:37 UTC 2018


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 --------------
An embedded message was scrubbed...
From: Noel Power via samba-technical <samba-technical at lists.samba.org>
Subject: Re: WAF 2.x upgrade for 4.9
Date: Thu, 2 Aug 2018 21:02:51 +0100
Size: 38135
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180905/7d1d2b38/AttachedMessage.mht>


More information about the samba-technical mailing list