[PATCHES] Generate shorter name for extra python files

Lukas Slebodnik lslebodn at redhat.com
Sat May 5 08:01:37 UTC 2018

On (29/04/18 00:05), Timur I. Bakeyev via samba-technical wrote:
>Hi, Lukas!
>Just a short update - I've tested your patch on FreeBSD, it doesn't work
>OOTB. One issue is that `pyext_PATTERN` on FreeBSD is set simply to `%s.so`
>for all Python versions, so the trick we use to to build EXTRA_PYTHON
>version doesn't work - binaries for 3.x just simply override 2.x ones. I've
>addressed that by explicitly setting:
That's just a workaround. I agree that it should work by default.

>in the EXTRA_PYTHON branch of the buildtools/wafsamba/samba_python.py. That
>does work with the old patch and, kind of works with the new one, except
>that `make test` is unable to load PY extension for 3.x. I'm still
>investigating what is different with regard to the old patch, which was
>working fine in that case. Lost development VM doesn't help to speed up
>this process though :)

Maybe it will help us if you share log file from configure.


More information about the samba-technical mailing list