WAF 2.x upgrade for 4.10

Andrew Bartlett abartlet at samba.org
Thu Aug 2 20:21:58 UTC 2018

On Thu, 2018-08-02 at 21:02 +0100, Noel Power wrote:
> 4)
>   PYTHON=/usr/bin/python3 python3 ./buildtools/bin/waf [FAILS]
> fails with
> "ERROR: grouping library target
> pytalloc-util.cpython-36m-x86_64-linux-gnu not declared in
> samba_python.cpython-36m-x86_64-linux-gnu"
> I haven't tried to get to the bottom of this yet, waf scares me :0
> But I think this is a configuration (as in wbuild) problem because a
> python3 build (using detected python lib version 2.7 works fine)


Can you strip out all the extra python stuff and try again?  We seem to
be on the way to a rough consensus of py3 only for 4.10 and that would
greatly simplify everything.

All that PYTHON_ABI_FLAG stuff has just caused packaging nightmares and
nobody can remember exactly why it was added. 

Andrew Bartlett

Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba

More information about the samba-technical mailing list