Bug 84115

Summary: error: Installed (but unpackaged) file(s) found when tried to rebuild from the samba.spec file
Product: [Retired] Red Hat Linux Reporter: Rishi Gangoly <rishi>
Component: sambaAssignee: Jay Fenlason <fenlason>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0CC: jfeeney
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-02-13 21:49:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Rishi Gangoly 2003-02-12 14:08:18 UTC
Description of problem: 

I get this error when rebuilding the samba rpm from the source rpm.
------------------------------------------------
checking for unpackaged file(s): /usr/lib/rpm/check-files
/var/tmp/samba-2.2.7-root

error: Installed (but unpackaged) file(s) found:
    /usr/bin/findsmb
    /usr/share/man1/findsmb.1.gz
    /usr/share/man1/smbsh.1.gz
------------------------------------------------



Version-Release number of selected component (if applicable): samba-2.2.7-
2.src.rpm


How reproducible: rpmbuild -ba samba.spec



Steps to Reproduce:
1.
2.
3.
    
Actual results:


Expected results:


Additional info:
I posted this query on the the mailing list "" and was told to do the following.

echo "%_unpackaged_files_terminate_build  0" >> ~/.rpmmacros
echo "%_missing_doc_files_terminate_build  0" >> ~/.rpmmacros

After doing that the problem went away.

Someone else suggested this link:
http://www.rpm.org/hintskinks/unpackaged-files/

And it was the same thing.

I downloaded the samba source rpm from the samba.org website and did not run 
into this problem and I did not have to change those two macros to get it to 
work.

Comment 1 Jay Fenlason 2003-02-13 21:49:14 UTC
This is fixed in the 2.2.7a packages in the current beta.