building samba 4.9.x with python > 2.6

Douglas Bagnall douglas.bagnall at catalyst.net.nz
Wed Apr 3 21:28:58 UTC 2019


On 4/04/19 8:24 AM, Alex Braunegg via samba-technical wrote:
> Hi all,
> 
> Whilst I have submitted a bug for Samba 4.9.x not working (compiles without
> issue) with Python 2.6 (13882) on CentOS 6.x, I am looking for suggestions
> on how to re-configure my current rpm spec file or use a ./configure flag to
> force samba to use python35 rather than the default version of python.
> 
> Reading the docs / configure scripts etc, nothing is obvious to me where I
> can say 'go use python version here' to build / compile against.
> 
> Any suggestions are greatly appreciated.

The error reported in https://bugzilla.samba.org/show_bug.cgi?id=13882
doesn't occur in any official Samba release, as far as I can tell. Is
your spec file applying bad patches?

A number of Python 2.6 bugs have been fixed in the latest 4.9 and 4.10:

https://bugzilla.samba.org/show_bug.cgi?id=13837

but not this one, because it doesn't exist. I wouldn't be surprised if
there are more hiding in code less travelled.

cheers,
Douglas



More information about the samba-technical mailing list