Please rebuild/fix plague for python 2.5

Michael DeHaan mdehaan at redhat.com
Thu Dec 21 16:15:40 UTC 2006


Toshio Kuratomi wrote:
> On Wed, 2006-12-20 at 17:30 -0500, Michael DeHaan wrote:
>
>   
>> I recently got this while queuing a cobbler build on Python 2.4 ...
>>
>>     
> This looks like it was done on devel so you mean python-2.5, right?
>
>   
>> (Begin output)
>>
>> + exit 0
>> Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.70902
>> + umask 022
>> + cd /builddir/build/BUILD
>> + cd cobbler-0.3.5
>> + LANG=C
>> + export LANG
>> + unset DISPLAY
>> + test x/var/tmp/cobbler-0.3.5-1.fc7-buildroot '!=' x
>> + rm -rf /var/tmp/cobbler-0.3.5-1.fc7-buildroot
>> + /usr/bin/python setup.py install --optimize=1 --root=/var/tmp/cobbler-0.3.5-1.fc7-buildroot
>> running install
>> error: invalid Python installation: unable to open /usr/include/python2.5/pyconfig-32.h (No such file or directory)
>> error: Bad exit status from /var/tmp/rpm-tmp.70902 (%install)
>>
>>
>> RPM build errors:
>>     Bad exit status from /var/tmp/rpm-tmp.70902 (%install)
>>
>> (End output)
>>
>> Is this a known issue that is getting resolved, or something i need to act on?  If so, help as to what needs to be tweaked would be appreciated.   This is a noarch RPM, and I did add the BuildRequire of python-devel for distutils.
>>     
>
> It's a change from python-2.4 to python-2.5.
>
>   BuildRequire: python-devel
>
> in the cobbler spec this should fix this.
>
> -Toshio
>   
Correct, I meant 2.5.

I thought I already added the BuildRequire for python-devel, but I 
hadn't.   Thanks.

--Michael




More information about the fedora-extras-list mailing list