[PATCH] A (possibly controverial) proposal: Remove autoconf build of public shared libraries

Andrew Bartlett abartlet at samba.org
Mon May 21 20:17:23 MDT 2012


On Fri, 2012-05-18 at 12:55 +1000, Andrew Bartlett wrote:

> Thanks Jeremy, I really do appreciate your support. 
> 
> I wondered if you or others on the list could help me with the last part
> of my draft statement, that is a survey of what features are important
> to users who need to retain access to the autoconf build system.  Could
> you use your contacts in our OEM community to help me understand what
> their needs are?
> 
> Are these users (for example) in need of libsmbclient and libnet?  Do
> they need us to publish libtdb and libtalloc for use in the system?  Is
> libsmbsharemodes (which depends on both of these) important?  (I
> certainly expect that due to the way nss_winbind and pam_winbind work,
> that libwbclient would be important. )
> 
> Or do users who cannot run the waf build just want the suite of Samba
> binaries, statically linked?
> 
> The reason I'm asking about libraries specifically is that I'm concerned
> that we have unnecessary and potentially problematic duplication here.
> We certainly need a way to make Samba install on a system without
> libtalloc for example, but should we have two different ways that a
> libtalloc could be installed onto the system, potentially for
> system-wide use?

To illustrate this point, I'm interested in hearing from anybody who
would be impacted by this series of proposed patches.

In short, it removes the production of the public shared libraries from
the autoconf build, except for libwbclient. 

The rationale is as above:  That users who must retain access to the
autoconf build system do not need this facility, and the duplication
could be a problem.  

I understand those users are primarily older Unix systems and NAS
vendors with very old infrastructure.  Neither of these sound like
candidates for system-wide Samba-provided libraries. 

The problem I particularly foresee is that a single release of 'Samba
4.0' will be able to produce shared libraries that differ in subtle
ways.  For example, we recently resolved to keep symbol versions in the
waf build, but these libraries do not ship with symbol versions when
built with autoconf. 

The purpose of the patch is to both resolve this potential issue, and to
streamline each autoconf build system into providing only the facilities
its expected users need, now that we have another system to provide the
'everything else' case.

Please let me know what you think,

Thanks,

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-s3-build-Remove-build-of-libtalloc.so-from-the-autoc.patch
Type: text/x-patch
Size: 5319 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120522/79608ba5/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-s3-build-Remove-build-of-libtdb.so-from-the-autoconf.patch
Type: text/x-patch
Size: 5088 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120522/79608ba5/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-s3-build-Remove-build-of-libnetapi.so-from-the-autoc.patch
Type: text/x-patch
Size: 4309 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120522/79608ba5/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-s3-build-Remove-build-of-libaddns.so-from-the-autoco.patch
Type: text/x-patch
Size: 3669 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120522/79608ba5/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-s3-build-Remove-build-of-libsmbclient.so-from-the-au.patch
Type: text/x-patch
Size: 3598 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120522/79608ba5/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-s3-build-Remove-build-of-libsmbsharemodes.so-from-th.patch
Type: text/x-patch
Size: 5513 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120522/79608ba5/attachment-0005.bin>


More information about the samba-technical mailing list