WAF 2.x upgrade for 4.10

Stefan Metzmacher metze at samba.org
Wed Sep 5 09:59:51 UTC 2018

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
  File "/tmp/master3/third_party/waf/waflib/Scripting.py", line 190, in
    Context.g_module = Context.load_module(file_path)
  File "/tmp/master3/third_party/waf/waflib/Context.py", line 672, in
    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


-------------- 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/2634b7ec/signature.sig>

More information about the samba-technical mailing list