[CentOS-devel] Re: Rebuild of coreutils failing
Charlie Brady
charlieb-centos-devel at budge.apana.org.au
Thu Jun 21 15:38:17 UTC 2007
On Wed, 20 Jun 2007, Rob West wrote:
> 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.
If that is required in order to build, then shouldn't it be listed via a
BuildRequires?
>
> 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
>>
>
>
More information about the CentOS-devel
mailing list