Centos wxPython src rpm构建失败

Centos wxPython src rpm构建失败,centos,wxpython,rpm,centos6,rpmbuild,Centos,Wxpython,Rpm,Centos6,Rpmbuild,我想用这里提供的src rpm在我的Centos6机箱上安装wxPython2.8-2.8.12.1-1.src.rpm 我是以root用户的身份这样做的: 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-

我想用这里提供的src rpm在我的Centos6机箱上安装
wxPython2.8-2.8.12.1-1.src.rpm

我是以root用户的身份这样做的:

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)
有什么解决办法吗


我在64位CentOS 6.5版上使用python 2.6.6版,在该SRPM的规范文件中似乎出现了一些问题

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

spec文件中的某些内容无法从正确的位置获取路径

您必须查看spec文件,看看您是否能够找到它,或者向wxpython人员提交一个bug,看看他们说了什么


您还可以检查分发包中的修补程序,看看是否有任何修补程序解决了这个问题。

我正在尝试查找这个问题,但是:如何从.src.rpm提取规范?
mkdir wxpython extract;cd-wxpython提取物;rpm2cpio../wxPython2.8-2.8.12.1-1.src.rpm | cpio-id
将在本地提取所有内容。您也可以始终只安装SRPM,它会将其文件放入RPM配置指定的RPM build/spec文件位置(我相信)。