Bug 5494 - Installed but unpackaged files when building RPMs
Summary: Installed but unpackaged files when building RPMs
Status: RESOLVED INVALID
Alias: None
Product: Samba 3.2
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.2.0
Hardware: x86 Linux
: P3 major
Target Milestone: ---
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-28 01:31 UTC by D.L. Meyer
Modified: 2008-05-31 15:29 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description D.L. Meyer 2008-05-28 01:31:45 UTC
When working with the 3.2.0rc1 source tarball, and building RPMs for RHEL4 from the packaging/RHEL/ directory, the third hurdle I had to jump was the presence of 
a number of "Installed (but unpackaged) file(s)":
--------------------
error: Installed (but unpackaged) file(s) found:
   /usr/bin/ldbadd
   /usr/bin/ldbdel
   /usr/bin/ldbedit
   /usr/bin/ldbmodify
   /usr/bin/ldbsearch
--------------------


The following patch/edit to samba.spec remedies this issue:

--------------------
--- RHEL/samba.spec.tmpl        2008-05-23 08:53:36.000000000 -0500
+++ RHEL/samba.spec     2008-05-28 03:02:25.000000000 -0500
@@ -371,6 +371,8 @@
 %{_bindir}/pdbedit
 %{_bindir}/eventlogadm

+%{_bindir}/ldb*
+
 %{_libdir}/samba/idmap/*.so
 %{_libdir}/samba/nss_info/*.so
 %{_libdir}/samba/vfs/*.so
--------------------


After this change, (and after the fixing the related libmsrpc.so problem), the RPM packages build successfully.
Comment 1 D.L. Meyer 2008-05-31 15:29:23 UTC
It turns out that the results of this build were somewhat invalid, as the 3.2.0rc1 RPM build from source did not properly remove/overwrite the symlink created by the 3.2.0pre1 build attempts.   Therefore, this 3.2.0 build attempt appears to have tarred & used the 3.2.0pre1 source tree.

Please see bug #5507 for a resubmission of this error which is accurate against the 3.2.0rc1 source tree.