[CentOS-devel] Rebuild of coreutils failing

Wed Jun 20 15:07:22 UTC 2007
Rob West <robertfwest at gmail.com>

Hi,

I am trying to build the coreutils binary RPM from the CentOS 5.0 source RPM
using:

sudo rpmbuild --rebuild coreutils-5.97-12.1.el5.src.rpm

However, it is erroring out with the following:

Checking for unpackaged file(s): /usr/lib/rpm/check-files
/var/tmp/coreutils-root
error: Installed (but unpackaged) file(s) found:
   /usr/share/locale/af/LC_TIME/coreutils.mo
  ...
   /usr/share/locale/zh_TW/LC_TIME/coreutils.mo

These are symbolic links to ../LC_MESSAGES/coreutils.mo which are not picked
up by the %find_lang macro in the spec because the
/usr/lib/rpm/find-lang.shscript uses '-type f' on its find.

Any idea what may be wrong?

By the way, here are the versions of some of the related rpms:
rpm-4.4.2-37.el5
glibc-2.5-12
findutils-4.2.27-4.1

Thanks for any help,
Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20070620/a3f0e113/attachment-0006.html>