I cd to samba-3.3.0/packaging/RHEL and run sh makerpms.sh and get the following output. the build fails at the end. This is ran on Fedora 10 X86_64 `basename bin/libwbclient.so` ; \ fi /usr/bin/install -c -m 0644 /root/rpmbuild/BUILD/samba-3.3.0/source/nsswitch/libwbclient/wbclient.h /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/usr/include /usr/bin/install -c bin/libnetapi.so.0 /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/usr/lib64 if test -r bin/libnetapi.so.0 ; then \ ln -s -f `basename bin/libnetapi.so.0` \ /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/usr/lib64/`basename bin/libnetapi.so` ; \ fi : bin/libnetapi.a /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/usr/lib64 /usr/bin/install -c -m 0644 /root/rpmbuild/BUILD/samba-3.3.0/source/lib/netapi/netapi.h /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/usr/include /usr/bin/install -c bin/libsmbclient.so.0 /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/usr/lib64 if test -r bin/libsmbclient.so.0 ; then \ ln -s -f `basename bin/libsmbclient.so.0` \ /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/usr/lib64/`basename bin/libsmbclient.so` ; \ fi : bin/libsmbclient.a /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/usr/lib64 /usr/bin/install -c -m 0644 /root/rpmbuild/BUILD/samba-3.3.0/source/include/libsmbclient.h /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/usr/include /usr/bin/install -c bin/libsmbsharemodes.so.0 /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/usr/lib64 if test -r bin/libsmbsharemodes.so.0 ; then \ ln -s -f `basename bin/libsmbsharemodes.so.0` \ /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/usr/lib64/`basename bin/libsmbsharemodes.so` ; \ fi : bin/libsmbsharemodes.a /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/usr/lib64 /usr/bin/install -c -m 0644 /root/rpmbuild/BUILD/samba-3.3.0/source/include/smb_share_modes.h /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/usr/include Installing /root/rpmbuild/BUILD/samba-3.3.0/source//locale/pam_winbind/de.po as /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64//usr/share/locale/de/LC_MESSAGES/pam_winbind.mo ============================================================== MO files for pam_winbind are installed. ============================================================== ============================================================== All MO files for Samba are installed. You can use "make uninstall" or "make uninstallmo" to remove them. ============================================================== + cd .. + install -m 755 source/nsswitch/libnss_winbind.so /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/lib64/libnss_winbind.so.2 + install -m 755 source/nsswitch/libnss_wins.so /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/lib64/libnss_wins.so.2 + cd /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/lib64 + ln -sf libnss_winbind.so.2 libnss_winbind.so + ln -sf libnss_wins.so.2 libnss_wins.so + /bin/rm -rf '/root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/usr/lib*/samba/security' + echo 127.0.0.1 localhost + install -m644 setup/samba.log /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/etc/logrotate.d/samba + install -m644 setup/swat /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/etc/xinetd.d/swat + install -m644 setup/samba.sysconfig /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/etc/sysconfig/samba + install -m755 setup/smb.init /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/etc/rc.d/init.d/smb + install -m755 setup/winbind.init /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/etc/rc.d/init.d/winbind + install -m644 setup/samba.pamd /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/etc/pam.d/samba + install -m755 setup/smbprint /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/usr/bin + install -m644 setup/smbusers /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/etc/samba/smbusers + install -m644 setup/smb.conf /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/etc/samba/smb.conf + install -m755 source/bin/mount.cifs /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/sbin/mount.cifs + install -m755 source/bin/umount.cifs /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/sbin/umount.cifs + install -m755 source/script/mksmbpasswd.sh /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/usr/bin + /bin/rm /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/usr/sbin/mount.cifs /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/usr/sbin/umount.cifs + ln -s ../../etc/rc.d/init.d/smb /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/usr/sbin/samba + ln -s ../../etc/rc.d/init.d/winbind /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/usr/sbin/winbind + find /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64 -name '*.old' -exec rm -f '{}' ';' + rm -rf docs/htmldocs + rm -rf docs/manpages + cd docs + ln -s /usr/share/swat/help htmldocs + rm -f /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/usr/share/man/man1/log2pcap.1 + rm -f '/root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/usr/share/man/man1/smbsh.1*' + rm -f '/root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/usr/share/man/man5/vfstest.1*' + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip + /usr/lib/rpm/brp-strip-static-archive + /usr/lib/rpm/brp-strip-comment-note Processing files: samba-3.3.0-1 Provides: acl_tdb.so()(64bit) acl_xattr.so()(64bit) ad.so()(64bit) audit.so()(64bit) cap.so()(64bit) config(samba) = 0:3.3.0-1 default_quota.so()(64bit) expand_msdfs.so()(64bit) extd_audit.so()(64bit) fake_perms.so()(64bit) fileid.so()(64bit) full_audit.so()(64bit) netatalk.so()(64bit) readahead.so()(64bit) readonly.so()(64bit) recycle.so()(64bit) rid.so()(64bit) samba = 3.3.0 script.so()(64bit) shadow_copy.so()(64bit) shadow_copy2.so()(64bit) smb_traffic_analyzer.so()(64bit) streams_depot.so()(64bit) streams_xattr.so()(64bit) syncops.so()(64bit) xattr_tdb.so()(64bit) Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(VersionedDependencies) <= 3.0.3-1 Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: /bin/sh ad.so()(64bit) libacl.so.1()(64bit) libacl.so.1(ACL_1.0)(64bit) libattr.so.1()(64bit) libattr.so.1(ATTR_1.0)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.5)(64bit) libcom_err.so.2()(64bit) libcrypt.so.1()(64bit) libcups.so.2()(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.2.5)(64bit) libgssapi_krb5.so.2()(64bit) libgssapi_krb5.so.2(gssapi_krb5_2_MIT)(64bit) libk5crypto.so.3()(64bit) libk5crypto.so.3(k5crypto_3_MIT)(64bit) libkrb5.so.3()(64bit) libkrb5.so.3(krb5_3_MIT)(64bit) liblber-2.4.so.2()(64bit) libldap-2.4.so.2()(64bit) libm.so.6()(64bit) libnsl.so.1()(64bit) libnsl.so.1(GLIBC_2.2.5)(64bit) libpam.so.0()(64bit) libpam.so.0(LIBPAM_1.0)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libresolv.so.2()(64bit) libresolv.so.2(GLIBC_2.2.5)(64bit) libtalloc.so.1()(64bit) libtdb.so.1()(64bit) libwbclient.so.0()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: samba-client-3.3.0-1 Provides: samba-client = 3.3.0-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(VersionedDependencies) <= 3.0.3-1 Requires: /bin/sh /usr/bin/perl libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.5)(64bit) libcom_err.so.2()(64bit) libcrypt.so.1()(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.2.5)(64bit) libgssapi_krb5.so.2()(64bit) libgssapi_krb5.so.2(gssapi_krb5_2_MIT)(64bit) libk5crypto.so.3()(64bit) libk5crypto.so.3(k5crypto_3_MIT)(64bit) libkeyutils.so.1()(64bit) libkeyutils.so.1(KEYUTILS_0.3)(64bit) libkrb5.so.3()(64bit) libkrb5.so.3(krb5_3_MIT)(64bit) liblber-2.4.so.2()(64bit) libldap-2.4.so.2()(64bit) libnsl.so.1()(64bit) libnsl.so.1(GLIBC_2.2.5)(64bit) libresolv.so.2()(64bit) libresolv.so.2(GLIBC_2.2.5)(64bit) libtalloc.so.1()(64bit) libtdb.so.1()(64bit) libuuid.so.1()(64bit) libwbclient.so.0()(64bit) rtld(GNU_HASH) Obsoletes: smbfs Processing files: samba-common-3.3.0-1 Provides: CP437.so()(64bit) CP850.so()(64bit) config(samba-common) = 0:3.3.0-1 libnetapi.so.0()(64bit) libnss_winbind.so.2()(64bit) libnss_wins.so.2()(64bit) libsmbclient.so.0()(64bit) libsmbsharemodes.so.0()(64bit) libtalloc.so.1()(64bit) libtdb.so.1()(64bit) libwbclient.so.0()(64bit) pam_smbpass.so()(64bit) pam_winbind.so()(64bit) samba-common = 3.3.0-1 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(VersionedDependencies) <= 3.0.3-1 Requires(post): /bin/sh Requires(postun): /bin/sh Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.5)(64bit) libcom_err.so.2()(64bit) libcrypt.so.1()(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.2.5)(64bit) libgssapi_krb5.so.2()(64bit) libgssapi_krb5.so.2(gssapi_krb5_2_MIT)(64bit) libk5crypto.so.3()(64bit) libk5crypto.so.3(k5crypto_3_MIT)(64bit) libkrb5.so.3()(64bit) libkrb5.so.3(krb5_3_MIT)(64bit) liblber-2.4.so.2()(64bit) libldap-2.4.so.2()(64bit) libnetapi.so.0()(64bit) libnsl.so.1()(64bit) libnsl.so.1(GLIBC_2.2.5)(64bit) libnss_winbind.so.2()(64bit) libnss_wins.so.2()(64bit) libpam.so.0()(64bit) libpam.so.0(LIBPAM_1.0)(64bit) libpam.so.0(LIBPAM_EXTENSION_1.0)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libresolv.so.2()(64bit) libresolv.so.2(GLIBC_2.2.5)(64bit) libsmbclient.so.0()(64bit) libsmbsharemodes.so.0()(64bit) libtalloc.so.1()(64bit) libtdb.so.1()(64bit) libwbclient.so.0()(64bit) rtld(GNU_HASH) Processing files: samba-swat-3.3.0-1 Provides: config(samba-swat) = 0:3.3.0-1 samba-swat = 3.3.0-1 Requires(interp): /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(VersionedDependencies) <= 3.0.3-1 Requires(post): /bin/sh Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.5)(64bit) libcom_err.so.2()(64bit) libcrypt.so.1()(64bit) libcups.so.2()(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.2.5)(64bit) libgssapi_krb5.so.2()(64bit) libgssapi_krb5.so.2(gssapi_krb5_2_MIT)(64bit) libk5crypto.so.3()(64bit) libk5crypto.so.3(k5crypto_3_MIT)(64bit) libkrb5.so.3()(64bit) libkrb5.so.3(krb5_3_MIT)(64bit) liblber-2.4.so.2()(64bit) libldap-2.4.so.2()(64bit) libm.so.6()(64bit) libnsl.so.1()(64bit) libnsl.so.1(GLIBC_2.2.5)(64bit) libpam.so.0()(64bit) libpam.so.0(LIBPAM_1.0)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libresolv.so.2()(64bit) libresolv.so.2(GLIBC_2.2.5)(64bit) libtalloc.so.1()(64bit) libtdb.so.1()(64bit) libwbclient.so.0()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: samba-doc-3.3.0-1 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.MnJkO3 + umask 022 + cd /root/rpmbuild/BUILD + cd samba-3.3.0 + DOCDIR=/root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/usr/share/doc/samba-doc-3.3.0 + export DOCDIR + rm -rf /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/usr/share/doc/samba-doc-3.3.0 + /bin/mkdir -p /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/usr/share/doc/samba-doc-3.3.0 + cp -pr README COPYING Manifest /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/usr/share/doc/samba-doc-3.3.0 + cp -pr WHATSNEW.txt Roadmap /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/usr/share/doc/samba-doc-3.3.0 + cp -pr docs /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/usr/share/doc/samba-doc-3.3.0 + cp -pr examples/autofs examples/LDAP examples/libsmbclient examples/misc examples/printer-accounting /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/usr/share/doc/samba-doc-3.3.0 + cp -pr examples/printing /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64/usr/share/doc/samba-doc-3.3.0 + exit 0 Provides: samba-doc = 3.3.0-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(VersionedDependencies) <= 3.0.3-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /root/rpmbuild/BUILDROOT/samba-3.3.0-1.x86_64 error: Installed (but unpackaged) file(s) found: /usr/share/locale/de/LC_MESSAGES/pam_winbind.mo /usr/share/man/man7/winbind_krb5_locator.7.gz RPM build errors: Installed (but unpackaged) file(s) found: /usr/share/locale/de/LC_MESSAGES/pam_winbind.mo /usr/share/man/man7/winbind_krb5_locator.7.gz makerpms.sh: Done.
this bug was fixed in https://bugzilla.samba.org/show_bug.cgi?id=6144