[Pkg-samba-maint] FTBFS Unable to build samba 4.7

Andrew Bartlett abartlet at samba.org
Sat Oct 14 08:45:00 UTC 2017


On Mon, 2017-10-09 at 14:15 +0200, L.P.H. van Belle wrote:
> Hai Mathieu and Andrew, 
> 
> I've managed to get passed the error in the package build, still testing some things.
> But i need to know what is "replace" and how does it involve to samba and package building. 
> 
> I changed the following. 
> 
> --bundled-libraries=NONE,pytevent,iniparser,roken,wind,hx509,asn1,heimbase,hcrypto,krb5,gssapi,heimntlm,hdb,kdc,com_err,compile_et,asn1_compile \
> --builtin-libraries=replace,ccan,samba-cluster-support \
> 
> To 
> --bundled-libraries=NONE,pytevent,iniparser,roken,wind,hx509,asn1,heimbase,hcrypto,krb5,gssapi,heimntlm,hdb,kdc,com_err,compile_et,asn1_compile,replace \
> --builtin-libraries=ccan,samba-cluster-support \

libreplace is a compatibility library, designed to allow other
platforms to build Samba just as well as we do on Linux.

It looks like the waf code around strerror_r, which is a bit of a
nightmare frankly, is not causing the right stuff to end up in the
config.h.  We need HAVE_STRERROR_R and STRERROR_R_XSI_NOT_GNU in order
for this to still be a no-op. 

The change, compared with the patch in the link mentioned elsewhere in
the thread, is that we want the XSI strerror_r, not the GNU version.

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 Pkg-samba-maint mailing list