[PATCH] Python3 compatible modules - credentials, param, _glue

Andrew Bartlett abartlet at samba.org
Mon Mar 6 09:44:05 UTC 2017


On Mon, 2017-03-06 at 15:47 +1300, Andrew Bartlett wrote:
> On Thu, 2017-03-02 at 10:32 +0100, Lumir Balhar wrote:
> > 
> > Hello.
> > 
> > We are working on it. I fixed the issue with missing copyrights
> > (patch 
> > attached) and now I am working on another one with pytalloc-util.
> > 
> > The problem with pytalloc-util is only in autobuild and the reason
> > is 
> > that pytalloc-util is created as a dependency in the same
> > environment 
> > before build of samba-libs. Then during configuration of samba-
> > libs, 
> > pytalloc-util is found as a system library. This means
> > (unfortunately) 
> > that the build of pytalloc-util for Python is skipped and this
> > missing 
> > dependency causes the problem during the build of samba-libs.
> > 
> > Unfortunately, I don't know a solution for now. But this occurs
> > only
> > in 
> > autobuild.
> 
> I'm sorry, I missed this e-mail. 
> 
> The purpose of the samba-libs build is to ensure that IF talloc were
> installed as a system lib, Samba could build against it.  So we need
> to
> make it work.
> 
> > If this build failure is not a problem or you know the solution, we
> > can 
> > do a quick review of your branch and then agree with the merge.
> > 
> > The Travis build: https://travis-ci.org/samba-team/samba/builds/206
> > 10
> > 6557
> 
> The issue is that we need to find the python3 pytalloc-util.  This is
> the first time we have relied on finding a python3 C library to link
> against. 

It was a complex one, but I've fixed this issue in my py3 branch in mygithub and in 

git://git.samba.org/abartlet/samba.git py3

Please do that review.  Likewise if another team member can review this
branch it would be incredibly helpful, as we also have the --disable-
python patches to merge once this is in.

In the meantime, I'm running a full autobuild on the Catalyst Cloud.

Andrew Bartlett

> 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