[Freeipa-users] problem with build rpm package of freeipa-server for centos

Rob Crittenden rcritten at redhat.com
Tue May 25 18:57:19 UTC 2010


Krzysztof Zając wrote:
> Hi,
> 
> I have to build freeipa package for centos server. I've downloaded 
> *.src.rpm file but after rpmbuild -ba command I receive the following 
> error:
> 
> tg-admin i18n compile
> Traceback (most recent call last):
>   File "/usr/bin/tg-admin", line 5, in ?
>     from pkg_resources import load_entry_point
>   File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 2479, in ?
>     working_set.require(__requires__)
>   File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 585, in 
> require
>     needed = self.resolve(parse_requirements(requirements))
>   File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 483, in 
> resolve
>     raise DistributionNotFound(req)  # XXX put more info here
> pkg_resources.DistributionNotFound: Cheetah>=2.0.1
> make[4]: *** [locales/ja/LC_MESSAGES/messages.mo] Error 1
> make[4]: Leaving directory 
> `/home/kzajac/rpmbuild/BUILD/freeipa-1.2.2/ipa-server/ipa-gui'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory 
> `/home/kzajac/rpmbuild/BUILD/freeipa-1.2.2/ipa-server/ipa-gui'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory 
> `/home/kzajac/rpmbuild/BUILD/freeipa-1.2.2/ipa-server'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory 
> `/home/kzajac/rpmbuild/BUILD/freeipa-1.2.2/ipa-server'
> make: *** [all] Error 1
> error: Bad exit status from /var/tmp/rpm-tmp.88078 (%build)
> 

I'm not entirely sure, it seems like you're missing something though. 
This was seen once before that I know of and we didn't get a follow-up 
if there was a fix: 
http://www.mail-archive.com/freeipa-users@redhat.com/msg00383.html

Do you have python-cheetah installed?

rob




More information about the Freeipa-users mailing list