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

JR Aquino JR.Aquino at citrix.com
Thu Jan 20 19:24:59 UTC 2011


On 1/20/11 10:11 AM, "Rob Crittenden" <rcritten at redhat.com> wrote:

>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/versio
>>n.
>> 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

Thank you for catching that Rob!

This was unrelated.  Did a full remove and a new clone.

Patch works correctly.

ACK






More information about the Freeipa-devel mailing list