[Freeipa-devel] [PATCH] 0065 Use ldapi with krb5kdc

Rob Crittenden rcritten at redhat.com
Thu Jan 20 18:11:32 UTC 2011


JR Aquino wrote:
> NACK.
>
> Please retest this... I'm not sure how it is related, but I receive an
> error during the make rpm process:
>
> Traceback (most recent call last):
>    File "./makeapi", line 27, in<module>
>      from ipalib import *
>    File
> "/usr/src/freeipa/rpmbuild/BUILD/freeipa-2.0.0GITb9ad279/ipalib/__init__.py
> ", line 878, in<module>
>      from frontend import Command, LocalOrRemote
>    File
> "/usr/src/freeipa/rpmbuild/BUILD/freeipa-2.0.0GITb9ad279/ipalib/frontend.py
> ", line 36, in<module>
>      from ipapython.version import API_VERSION
>    File
> "/usr/src/freeipa/rpmbuild/BUILD/freeipa-2.0.0GITb9ad279/ipapython/version.
> py", line 25, in<module>
>      NUM_VERSION=200
> NameError: name '__NUM_VERSION__' is not defined
> make[1]: *** [version-update] Error 1
> make[1]: Leaving directory
> `/usr/src/freeipa/rpmbuild/BUILD/freeipa-2.0.0GITb9ad279'
> error: Bad exit status from /var/tmp/rpm-tmp.315pIJ (%build)
>
>
> RPM build errors:
>      Bad exit status from /var/tmp/rpm-tmp.315pIJ (%build)
> make: *** [rpms] Error 1

This error is unrelated though I'm unsure what is broken. The first 
thing the build should do is run the version-update target which will do 
substitutions in ipapython/version.py.in into ipapython/version.py. It 
seems that didn't happen or is otherwise broke. Can you see if 
version-update is being called by make?

rob




More information about the Freeipa-devel mailing list