Home » Repos » Report a problem or request a package » Kupfer rebuild on RHEL 6.3
Kupfer rebuild on RHEL 6.3 [message #583] Sun, 28 October 2012 22:05 Go to next message
oliver is currently offline  oliver
Messages: 19
Registered: October 2012
Junior Member
Hi Nux,

thanks for the repo you provide. Very good work!

I have a problem to rebuld kupfer under RHEL 6.3, and maybe oyu have an idea about it:

What i did:

downloaded from your testing repo:

installed them and used:
rpmbuild -ba kupfer.spec
rpmbuild -ba keybinder.spec

keybinder only build if i comment out the following 2 lines in keybinder.spec (line 45+46)
#%filter_provides_in %{python_sitearch}.*\.so$

and i am not sure that is a smart idea.

kupfer.spec gives an error while compiling:
first run:
Traceback (most recent call last):
File "/usr/bin/xml2po", line 185, in <module>
File "/usr/bin/xml2po", line 171, in main
xml2po_main.merge(mofile, filenames[0])
File "/usr/lib/python2.6/site-packages/xml2po/", line 601, in merge = gettext.GNUTranslations(mfile)
File "/usr/lib64/python2.6/", line 180, in __init__
File "/usr/lib64/python2.6/", line 273, in _parse
magic = unpack('<I', buf[:4])[0]
struct.error: unpack requires a string argument of length 4
Waf: Leaving directory `/root/rpmbuild/BUILD/kupfer-v208/build'
Build failed
-> task in '' failed (exit status 1):
{task 12458896: xml2po cs.po, ->}
' /usr/bin/xml2po -mmallard -p ../help/cs/cs.po ../help/C/ > help/cs/ '
error: Bad exit status from /var/tmp/rpm-tmp.GRFxPu (%build)


second run:
RPM build errors:
Installed (but unpackaged) file(s) found:


Do you have any idea why i can not rebuild the packages?

Thanks for your ideas on this.


Re: Kupfer rebuild on RHEL 6.3 [message #584 is a reply to message #583] Sun, 28 October 2012 22:30 Go to previous messageGo to next message
symbianflo is currently offline  symbianflo
Messages: 176
Registered: January 2012
Location: italy
Senior Member

#%filter_provides_in %{python_sitearch}.*\.so$

commented means excluded from rpm ,
and since missing from rpm wont work.

on "second run" you missed all the documentation.
Re: Kupfer rebuild on RHEL 6.3 [message #585 is a reply to message #583] Sun, 28 October 2012 23:03 Go to previous message
nux is currently offline  nux
Messages: 1663
Registered: January 2012
Senior Member


That SRPM should build just fine in mock, that's what I use for packages, not sure why it doesn't build for you. I advise you to use mock for package building.
Previous Topic: alarm clock applet or ?
Next Topic: Caffeine - gnome applet
Goto Forum:

Current Time: Sat Apr 04 04:25:14 BST 2020

Total time taken to generate the page: 0.02614 seconds