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

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+O96Rn/07WoAb/SsRAo5IAJ9bF1UYCqavtH4h087KSdc9n1ah9wCgqT38
piSgZytum4odCd1d6vxU4G4=
=hG1n
-----END PGP SIGNATURE-----



-- 
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