Nux!


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:
keybinder-0.0.9-1.el6.nux.src.rpm
kupfer-208-7.1.el6.nux.src.rpm

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$
#%filter_setup

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>
main(sys.argv[1:])
File "/usr/bin/xml2po", line 171, in main
xml2po_main.merge(mofile, filenames[0])
File "/usr/lib/python2.6/site-packages/xml2po/__init__.py", line 601, in merge
self.gt = gettext.GNUTranslations(mfile)
File "/usr/lib64/python2.6/gettext.py", line 180, in __init__
self._parse(fp)
File "/usr/lib64/python2.6/gettext.py", 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,license.page -> license.page}
' /usr/bin/xml2po -mmallard -p ../help/cs/cs.po ../help/C/license.page > help/cs/license.page '
error: Bad exit status from /var/tmp/rpm-tmp.GRFxPu (%build)


*********

second run:
*********
RPM build errors:
Installed (but unpackaged) file(s) found:
/usr/share/gnome/help/kupfer/C/generalusage.page
/usr/share/gnome/help/kupfer/C/index.page
/usr/share/gnome/help/kupfer/C/introduction.page
/usr/share/gnome/help/kupfer/C/keyboard.page
/usr/share/gnome/help/kupfer/C/license.page
/usr/share/gnome/help/kupfer/C/managing-plugins.page
/usr/share/gnome/help/kupfer/C/moreusage.page
/usr/share/gnome/help/kupfer/C/plugin-applications.page
....

*********

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

Thanks for your ideas on this.

Cheers

Oliver
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$
#%filter_setup


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: 1659
Registered: January 2012
Senior Member
Administrator

Hello,

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: Fri Sep 20 00:08:39 BST 2019

Total time taken to generate the page: 0.02038 seconds