[Samba] Samba building is broken when some libraries are specified to be built-in to binaries !

Andrew Bartlett abartlet at samba.org
Thu Nov 21 21:45:48 UTC 2019


Try this MR and see if it helps for you:

https://gitlab.com/samba-team/samba/merge_requests/936

The patch file for master is at:
https://gitlab.com/samba-team/samba/merge_requests/936.patch

Andrew Bartlett

On Fri, 2019-11-22 at 00:36 +0300, CpServiceSPb . wrote:
> Ok.
> 
> But to the time in a short term period is there is way to make
> building successfull ?
> May be some temporal solution ?
> 
> One more, I need to build-in to binaries: libreplace,libwinbind-
> client,libwbclien, that is replace,winbind-client,wbclient "targets"
> while building all regarding configure options specified below:
>                 --prefix=/usr \
>                 --enable-fhs \
>                 --sysconfdir=/etc \
>                 --localstatedir=/var \
>                 --libexecdir=/usr/lib/x86_64-linux-gnu \
>                 --with-privatedir=/var/lib/samba/private \
>                 --with-smbpasswd-file=/etc/samba/smbpasswd \
>                 --with-piddir=/var/run/samba \
>                 --with-pammodulesdir=/lib/x86_64-linux-gnu/security \
>                 --with-pam \
>                 --with-syslog \
>                 --with-utmp \
>                 --with-winbind \
>                 --with-shared-
> modules=idmap_rid,idmap_ad,idmap_adex,idmap_hash,idmap_ldap,idmap_tdb
> 2,vfs_dfs_samba4,auth_samba4 \
>                 --with-automount \
>                 --with-ldap \
>                 --with-ads \
>                 --with-dnsupdate \
>                 --with-gpgme \
>                 --libdir=/usr/lib/x86_64-linux-gnu \
>                 --with-modulesdir=/usr/lib/x86_64-linux-gnu/samba \
>                 --datadir=/usr/share \
>                 --with-lockdir=/var/run/samba \
>                 --with-statedir=/var/lib/samba \
>                 --with-cachedir=/var/cache/samba \
>                 --enable-avahi \
>                 --disable-rpath \
>                 --disable-rpath-install \
>                 --bundled-
> libraries=NONE,pytevent,iniparser,roken,wind,hx509,asn1,heimbase,hcry
> pto,krb5,gssapi,heimntlm,hdb,kdc,com_err,compile_et,asn1_compile \
>                 --builtin-libraries=replace,winbind-
> client,wbclient,ccan,samba-cluster-support \
>                 --with-cluster-support \
>                 --with-socketpath=/var/run/ctdb/ctdbd.socket \
>                 --with-logdir=/var/log/ctdb
> 
> чт, 21 нояб. 2019 г. в 23:47, Andrew Bartlett <abartlet at samba.org>:
> > On Tue, 2019-11-19 at 09:36 +0300, CpServiceSPb . via samba wrote:
> > > I try to build Samba 4.10.10 at Ubuntu 18.04 on x86_64 platform
> > as at
> > > armv7l archtectures from sources.
> > > I need build replace,winbind-client,wbclientto binaries
> > > For that I specify
> > >  *--builtin-libraries=replace,winbind-
> > client,wbclien*t,ccan,samba-
> > > cluster-support
> > > 
> > > at configure
> > > 
> > > But in the case I get time to time, the following errors:
> > 
> > These are due to our dependency resolution which has changed flow
> > due
> > to the way you have configured waf. 
> > 
> > I suggest building only the targets you need.  In the long term we
> > should probably only build these binaries if we actually have the
> > --
> > enable-selftest option set.
> > 
> > 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 mailing list