Created attachment 473389 [details] Let rpmbuild strip binaries, make build more verbose. libtalloc 2.0.5-6 installs *.so.* as non-executable, which means rpmbuild will not strip them. Fix attached, along with a change that makes the used CFLAGS visible in the build log.
Thanks for your help with this. I wasn't sure what was causing that to happen. I will apply this fix to libtdb and libtevent as well, which are also suffering this issue, and I've reported https://bugzilla.samba.org/show_bug.cgi?id=7905 upstream to Samba to fix the build system so it generates the libraries correctly.
"Correctly" might be a bit strong word to use when communicating with upstream - unless I'm mistaken, there's no actual need for shared objects to be executable in Linux. The executability requirement is just a quirk in rpmbuild's debuginfo extractor (and I believe also some other things in rpmbuild that deal with shared objects).