Tom Georgoulias wrote:
> Anyone successfully built Koan 1.2.0 on RHEL3 or CentOS 3?  I can't 
> build it on my rhel3.8 server because it requires python-setuptools, and 
> a rebuild of python-setuptools-0.6c8 isn't building because of this error:
>
> setuptools/dist.py:620: Warning: 'yield' will become a reserved keyword 
> in the future
> Traceback (most recent call last):
>    File "setup.py", line 12, in ?
>      from setuptools import setup, find_packages
>    File "setuptools/__init__.py", line 2, in ?
>      from setuptools.extension import Extension, Library
>    File "setuptools/extension.py", line 2, in ?
>      from dist import _get_unpatched
>    File "setuptools/dist.py", line 620
>      yield pkg
>              ^
> SyntaxError: invalid syntax
> error: Bad exit status from /var/tmp/rpm-tmp.70662 (%build)
>
> Was hoping to avoid a trip down a rabbit hole if at all possible...
>   

I verified the functionality for --replace-self code works in EL 3 last 
month (from "make install"), though I did not verify we could rebuild 
the package. That was last done a while ago, though I do know of people 
using koan RPMs on EL 3. (We should /definitely/ document this process 
as there is no EPEL for EL 3).

I would suspect the problem is that the version of python-setuptools you 
are using in your build environment is too new.

--Michael



> Thanks,
> Tom
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://fedorahosted.org/mailman/listinfo/cobbler
>   

_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to