2014-09-10 117 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

相關問題