[CentOS-devel] Re: Rebuild of coreutils failing

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

Jeff Johnson kindly answered my question off-line. It seems that I needed to
install the redhat-rpm-config RPM, which overrides find-lang.sh.

Thanks,
Rob

On 6/20/07, Rob West <robertfwest at gmail.com> wrote:
>
> 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.sh script 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/fe91fd80/attachment-0007.html>