[Samba] RPM SPEC rebuild errors

Lonnie lonnie at outstep.com
Mon Aug 15 21:16:58 GMT 2005


Great News Josh,

That cleared it right up and it compiled with no problems.  Thanks again.

I appreciate all of the help Samba group.

Thanks,

Lonnie Cumberland



Josh Kelley wrote:

> Lonnie wrote:
>
>> Checking for unpackaged file(s): /usr/lib/rpm/check-files 
>> /var/tmp/samba-3.0.10-root
>> error: Installed (but unpackaged) file(s) found:
>>   /usr/lib/samba/pdb/mysql.so
>>
>>
>> RPM build errors:
>>    Installed (but unpackaged) file(s) found:
>>   /usr/lib/samba/pdb/mysql.so
>> ----------------------------------------------------
>>
>> This /usr/lib/samba/pdb/mysql.so does not exist and if I understnd 
>> this error then it is saying that it keeps finding it.
>>
>> Can someone please tell me what is happening here?
>>
> RPM builds a tree of files that will go in the final package under a 
> temporary directory ($RPM_BUILD_ROOT, identified as 
> /var/tmp/samba-3.0.10-root above).  It builds/compiles the package, 
> then "installs" it to this temporary directory, then packages it up 
> according to the instructions in your %files section.  The above error 
> means that /usr/lib/samba/pdb/mysql.so was installed to this temporary 
> directory (as /var/tmp/samba-3.0.10-root/usr/lib/samba/pdb/mysql.so), 
> but it's not listed under %files, so RPM doesn't know what to do with 
> it.  Since it's a file that you want, the correct solution is to add 
> it to your %files section.
>
> Josh Kelley



More information about the samba mailing list