[PATCHES] Generate shorter name for extra python files

Andrew Bartlett abartlet at samba.org
Thu Jul 6 22:18:43 UTC 2017


On Thu, 2017-07-06 at 13:52 +0200, Lukas Slebodnik wrote:
> On (06/07/17 22:44), Andrew Bartlett wrote:
> > On Thu, 2017-07-06 at 12:28 +0200, Lukas Slebodnik wrote:
> > > 
> > > It solved also libraries and not only pkgconfig files
> > > 
> > > /usr/lib64/libpyldb-util3.6.so
> > > /usr/lib64/pkgconfig/pyldb-util3.6.pc
> > > 
> > > And we need to have different name for library because
> > > libpyldb-util3.6.so is linked against python3.6 and have to be
> > > used
> > > only by python module for 3.6.
> > > 
> > > Standard libpyldb-util.so is linked with standard python (usually
> > > 2.7)
> > > 
> > > I am open to another suggestion for names. Maybe libpyldb-util-
> > > 3.6.so
> > > but that's minimal change.
> > > 
> > > Could you describe what kind of packaging problems did you have
> > > on debian?
> > > It is not obvious for me from that commit.
> > 
> > Here is the thread:
> > 
> > https://lists.alioth.debian.org/pipermail/pkg-samba-maint/2016-Apri
> > l/018139.html
> > 
> > It looks like I suggested following Fedora, so I'll generally stick
> > to
> > that position.
> > 
> > When reading the thread and trying to read symbol versions,
> > remember
> > the mail archiver has changed @ to _at_ just to confuse
> > you/spammers.
> > 
> 
> Most of the thread there was discussion about changed version symbols
> in library which is not related to python3 work.

No, it is very related.  That is my point.  Debian was trying to work
around the same things, but it ended badly.  We need to solve it all,
not just bits of it. 

> The only think which I do not understand is following sentence
>   "I've tried changing the SAMBA_LIBRARY code
>    to match, but I still get .py3 and -py3 mixups"
> 
> And I do not think that was solved by this patchset.

OK.  Please continue working until it is.

The things we need:

Remove both cpython-35m-x86_64-linux-gnu and 3.5 from
 - ABI/*.sigs files

Then remove at least the cpython-* stuff from
 - the pkgconfig files
 - the installed library names

I'm not sure what to do with the .vscript files

The problem with the current patch is that it now puts more version
info in than we had before, the Samba ABI/*.sigs files are now being
generated per python version.

Sorry,

Andrew Bartlett


-- 
Andrew Bartlett
https://samba.org/~abartlet/
Authentication Developer, Samba Team         https://samba.org
Samba Development and Support, Catalyst IT   
https://catalyst.net.nz/services/samba







More information about the samba-technical mailing list