Re: problem with rebuilding the samba rpm from the source rpm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On Saturday 01 February 2003 09:23 am, Rishi Gangoly wrote:
>
> > ------------------------------------------------
> > 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
> > ------------------------------------------------
> >
> > :-(
> >
> > I needed to add the --with-nis option and so had to re-compile samba
> > using the source RPM.
> >
> > What does this error mean and why did this happen?
>
> It's a new feature of recent versions of rpm.
> It means that files were installed in the build root, but not included in
> the final rpm package. (Because they were not defined in the %files
> portion of the specfile.)
> To stop it:
>
> echo "%_unpackaged_files_terminate_build  0" >> ~/.rpmmacros
> echo "%_missing_doc_files_terminate_build  0" >> ~/.rpmmacros
>
> I believe installing the redhat-rpm-config package will also define the
> above macros. (in /usr/lib/rpm/redhat/macros)
>
> - --
> - -Michael
>


Hi Michael,

Thanks for this information.

I've just installed the redhat-rpm-config package and started to compile
again. I have a P-100 :-( so it's going to take an hour and a half to
compile.

However, while that is happening, I wanted to know why does Redhat provide
unpackaged files in their source RPMs that have errors like this?

Do you know why or can you guess what the deal is here?

;-)

Rishi




-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux