Krzysztof Zając wrote:

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/", line 2479, in ?
File "/usr/lib/python2.4/site-packages/", line 585, in require
    needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.4/site-packages/", 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/] 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:

Do you have python-cheetah installed?


Freeipa-users mailing list

Reply via email to