[Pkg-samba-maint] samba-4.16 progress so far

Andrew Bartlett abartlet at samba.org
Sun Mar 27 23:50:51 BST 2022


On Sun, 2022-03-27 at 23:14 +0300, Michael Tokarev wrote:
> A simple (hopefully) set of questions.
> 
>    --bundled-
> libraries=NONE,pytevent,iniparser,roken,replace,wind,hx509,asn1,\
>         heimbase,hcrypto,krb5,gssapi,heimntlm,hdb,kdc,com_err,compile
> _et,asn1_compile \

As per my other mail, try NONE,pytevent or even NONE.

>    --builtin-libraries=ccan,samba-cluster-support \

My guess is that --builtin-libraries=ccan,samba-cluster-support was
added at some point when the extra work to include these small .so
files was considered 'not worth the pain' compared with the static link
cost.  But perhaps someone remembers. 

ccan has gone away in the meantime.

> What does it mean?  For one, samba-cluster-support is missing during
> link
> of smbd without a patch/hack, I can try relinking without this --
> builtin-libraries
> and without the patch to see if that fixes the prob.
> 
> Should we perhaps refresh the list for v4.16?
> 
>    --minimum-library-version="$(shell ./debian/autodeps.py --minimum-
> library-version)" \
> 
> what it is supposed to do?

My suggestion is to remove this line, and the --minimum-library-version 
feature of autodeps.py.  It exists to allow an override of Samba's
upstream rule that we must use a matching library version, and presumes
better-than-samba knowledge of the situation.

I would suggest that while bumping a package version is a pain, that
this is just asking for trouble and has been underused in reality, only
making a few libtalloc versions equivalent. 

See https://salsa.debian.org/samba-team/samba/-/blob/mjt-4.16/debian/library-equivalents

Thank you so much for your efforts and patience!

Andrew Bartlett

-- 
Andrew Bartlett (he/him)       https://samba.org/~abartlet/
Samba Team Member (since 2001) https://samba.org
Samba Team Lead, Catalyst IT   https://catalyst.net.nz/services/samba

Samba Development and Support, Catalyst IT - Expert Open Source
Solutions




More information about the Pkg-samba-maint mailing list