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

Re: [Question] why occur this error



On Sun, 2003-12-07 at 05:51, super wrote:
> hi all..
> 
> I am making or rebuilding rpm package not include redhat 9 or 8.
> 
> When i command  " rpmbuld -ba some_specfile.spec " then rpmbuild generate error as follows..
> 
> What problem??
> 
> 
> Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
> Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/lame-root
> error: Installed (but unpackaged) file(s) found:
>    /usr/share/doc/lame/html/basic.html
>    /usr/share/doc/lame/html/contributors.html
>    /usr/share/doc/lame/html/examples.html
>    /usr/share/doc/lame/html/history.html
>    /usr/share/doc/lame/html/id3.html
>    /usr/share/doc/lame/html/index.html
>    /usr/share/doc/lame/html/lame.css
>    /usr/share/doc/lame/html/modes.html
>    /usr/share/doc/lame/html/node6.html
>    /usr/share/doc/lame/html/switchs.html
> 
> 
> RPM build errors:
>     Installed (but unpackaged) file(s) found:
>    /usr/share/doc/lame/html/basic.html
>    /usr/share/doc/lame/html/contributors.html
>    /usr/share/doc/lame/html/examples.html
>    /usr/share/doc/lame/html/history.html
>    /usr/share/doc/lame/html/id3.html
>    /usr/share/doc/lame/html/index.html
>    /usr/share/doc/lame/html/lame.css
>    /usr/share/doc/lame/html/modes.html
>    /usr/share/doc/lame/html/node6.html
>    /usr/share/doc/lame/html/switchs.html

The installation portion of the build process installed these files.
However, the rpm did not include these files in its package. Usually
this is a sign of an error on the part of the person who created the
spec file -- they left out some files from the package.

You can set _unpackaged_files_terminate_build  to 0 in your .rpmmacros
file if you really want to turn it off (just put a line saying
"%_unpackaged_files_terminate_build 0" in $HOME/.rpmmacros), but that
usually just has the effect of hiding the errors instead of fixing them.

Cheers,
Malcolm





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