2014-09-10 114 views
0

我想在这里提供的源代码RPM http://sourceforge.net/projects/wxpython/files/wxPython/2.8.12.1/wxPython的源代码RPM构建失败

我这样做是因为根在我Centos6盒安装wxPython2.8-2.8.12.1-1.src.rpm

rpmbuild --rebuild wxPython2.8-2.8.12.1-1.src.rpm 

,并在最后我有:

running install_egg_info 
Writing /root/rpmbuild/BUILDROOT/wxPython2.8-2.8.12.1-1.x86_64/usr/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode/wxPython-2.8.12.1-py2.6.egg-info 
warning: wx_install: path file '/root/rpmbuild/BUILDROOT/wxPython2.8-2.8.12.1-1.x86_64/usr/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode.pth' not created 
running build_ext 
running install 
running build 
running build_py 
running install_lib 
creating /root/rpmbuild/BUILDROOT/wxPython2.8-2.8.12.1-1.x86_64/usr/lib/python2.6 
creating /root/rpmbuild/BUILDROOT/wxPython2.8-2.8.12.1-1.x86_64/usr/lib/python2.6/site-packages 
copying build-gtk2.unicode/lib/wxversion.py -> /root/rpmbuild/BUILDROOT/wxPython2.8-2.8.12.1-1.x86_64/usr/lib/python2.6/site-packages 
byte-compiling /root/rpmbuild/BUILDROOT/wxPython2.8-2.8.12.1-1.x86_64/usr/lib/python2.6/site-packages/wxversion.py to wxversion.pyc 
running install_data 
copying src/wx.pth -> /root/rpmbuild/BUILDROOT/wxPython2.8-2.8.12.1-1.x86_64/usr/lib/python2.6/site-packages/ 
running install_egg_info 
Writing /root/rpmbuild/BUILDROOT/wxPython2.8-2.8.12.1-1.x86_64/usr/lib/python2.6/site-packages/wxPython_common-2.8.12.1-py2.6.egg-info 
+ rm /root/rpmbuild/BUILDROOT/wxPython2.8-2.8.12.1-1.x86_64/usr/lib/wxPython-2.8.12.1-gtk2-unicode/bin/wx-config 
+ strip '/root/rpmbuild/BUILDROOT/wxPython2.8-2.8.12.1-1.x86_64/usr/lib*/python2.4/site-packages/wx-2.8*-gtk2-unicode/wx/*.so' 
strip: '/root/rpmbuild/BUILDROOT/wxPython2.8-2.8.12.1-1.x86_64/usr/lib*/python2.4/site-packages/wx-2.8*-gtk2-unicode/wx/*.so': No such file 
error: Bad exit status from /var/tmp/rpm-tmp.yji3iJ (%install) 


RPM build errors: 
    user robind does not exist - using root 
    group robind does not exist - using root 
    user robind does not exist - using root 
    group robind does not exist - using root 
    Bad exit status from /var/tmp/rpm-tmp.yji3iJ (%install) 

任何解决方案?

我使用Python 2.6.6版64位的CentOS 6.5版本

回答

1

的东西出现在该SRPM规范文件被打破。

注意错误中的路径是如何谈论python2.4?以及早期路径(例如在复制行中)如何正确使用python2.6

spec文件中的东西没有从某个地方从正确的位置获取路径。

你将不得不看看spec文件,看看你是否可以找出它或提出wxpython人的错误,并看看他们说什么。

你也可以检查分发包中的补丁,看看它们中的任何一个是否已经解决了这个问题。

+0

我想找到这个,但:如何从.src.rpm提取规范? – Patryk 2014-09-10 13:01:17

+0

'mkdir wxpython-extract; cd wxpython-extract; rpm2cpio ../wxPython2.8-2.8.12.1-1.src.rpm | cpio -id'会将其全部提取到本地。您也可以随时安装SRPM,将其文件放入rpm配置指定的RPM build/spec文件位置(我相信)。 – 2014-09-10 14:05:41

相关问题