[PATCH] Try to reduce ccan packaging pain

Andrew Bartlett abartlet at samba.org
Thu Apr 5 00:08:38 MDT 2012


I've been told that the issues with bundled ccan libs are still causing
issues for distributors, so I've come up with a patch that I think
should help.  I'm doing this so we can separate these issues from any
other discussion around tdb2, as I think there are technical build
system issues we can address.

These patches re-introduce the private library extension (-samba4, -ldb,
etc), but only for ccan.  This is on the basis (which I need to confirm)
that ccan has no static data that would cause an issue if duplicated.
Libraries with important static data like talloc are not renamed, and
will deliberately cause a library conflict as pre previous behaviour. 

(BTW, Linux distributors should not bundle or distribute libreplace, but
instead depend on libbsd). 

Please let me know if this helps.  The patches are attached, and in
https://git.samba.org/abartlet/samba.git/?p=abartlet/samba.git/.git;a=shortlog;h=refs/heads/less-ccan-pain

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-build-Allow-a-private-library-to-declare-that-it-has.patch
Type: text/x-patch
Size: 1825 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120405/a888d22a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Revert-waf-change-private-libraries-to-use-the-same-.patch
Type: text/x-patch
Size: 1645 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120405/a888d22a/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-ccan-Mark-as-has_no_static_data-to-allow-private-lib.patch
Type: text/x-patch
Size: 831 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120405/a888d22a/attachment-0002.bin>


More information about the samba-technical mailing list