I'm attempting to test samba4 for various applications. I'd like to use the rpms to do it. When I enable the server parts of the spec file, the build breaks. I enable the server portions by doing this: %define enable_samba4 1 %define enable_client 1 %define enable_common 1 %define enable_python 1 %define enable_winbind 0 %define enable_talloc 1 %define enable_tdb 1 %define enable_tevent 1 %define enable_ldb 1 Commenting out the following lines in samba4_common make the build succeed: #%{_bindir}/ad2oLschema #%{_bindir}/oLschema2ldif Even after the build succeeds, the resulting samba4-python rpm is 120MB! Each .so in that package is roughly 15MB.
Confirming the build break and the fix. We explicitly remove those binaries in the %install phase, so they shouldn't be listed in %files. Fixed in samba-4.0.0-14alpha7.