On a RHEL4 (update 7) system, when trying to build RPMs from the source tarball, I expand the tarball, cd into samba-3.3.0pre2/packaging/RHEL/, patch for the ccache bug from #5832, and then run the makerpms.sh script... The package build fails after compiles and links, during the packaging steps: ---------------------------------- Provides: samba-doc = 3.3.0pre2-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(VersionedDependencies) <= 3.0.3-1 RPM build errors: File not found: /var/tmp/samba-3.3.0pre2-root/usr/sbin/cifs.upcall bash: Done. ---------------------------------- For some reason, the cifs.upcall utility is not being built or installed. (No cifs.upcall.o file exists in the BUILD directory after the compile processing is done, and no executable exists in the usr/sbin/ directory.
This bug is still present in 3.3.4, the cifs.upcall binary and the man page are missing. However, there is a warning during configure: ... checking keyutils.h usability... no checking keyutils.h presence... no checking for keyutils.h... no checking whether to build cifs.upcall... configure: WARNING: keyutils package is required for cifs.upcall ... So this means that the samba.spec file is missing a dependency on the package keyutils-devel (at least for RHEL4). After installing keyutils-devel, samba compiles just fine: yum -y install keyutils-devel Then run sh makerpm.sh Enjoy your new rpms... ....snip.... Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/samba-3.3.4-root Wrote: /usr/src/redhat/SRPMS/samba-3.3.4-1.src.rpm Wrote: /usr/src/redhat/RPMS/x86_64/samba-3.3.4-1.x86_64.rpm Wrote: /usr/src/redhat/RPMS/x86_64/samba-client-3.3.4-1.x86_64.rpm Wrote: /usr/src/redhat/RPMS/x86_64/samba-common-3.3.4-1.x86_64.rpm Wrote: /usr/src/redhat/RPMS/x86_64/samba-swat-3.3.4-1.x86_64.rpm Wrote: /usr/src/redhat/RPMS/x86_64/samba-doc-3.3.4-1.x86_64.rpm Wrote: /usr/src/redhat/RPMS/x86_64/samba-debuginfo-3.3.4-1.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.71328 + umask 022 + cd /usr/src/redhat/BUILD + cd samba-3.3.4 + rm -rf /var/tmp/samba-3.3.4-root + exit 0 Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.38753 + umask 022 + cd /usr/src/redhat/BUILD + rm -rf samba-3.3.4 + exit 0 makerpms.sh: Done.
Fixed with commit d8de7e31 in master. Will be included in the next releases. Thanks for reporting!