Ticket #80 (new question)
Opened 21 months ago
cannot install or create rpm on CentOS 5.4 i386
| Reported by: | risod | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | New Features |
| Component: | None | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
[root@srv1 pybackpack]# ./setup.py bdist_rpm running bdist_rpm writing 'build/bdist.linux-i686/rpm/SPECS/pybackpack.spec' running sdist reading manifest file 'MANIFEST' creating pybackpack-0.5.8 creating pybackpack-0.5.8/pybackpack creating pybackpack-0.5.8/scripts making hard links in pybackpack-0.5.8... hard linking README -> pybackpack-0.5.8 hard linking setup.py -> pybackpack-0.5.8 hard linking pybackpack/init.py -> pybackpack-0.5.8/pybackpack hard linking pybackpack/actions.py -> pybackpack-0.5.8/pybackpack hard linking pybackpack/backupsets.py -> pybackpack-0.5.8/pybackpack hard linking pybackpack/backuptool.py -> pybackpack-0.5.8/pybackpack hard linking pybackpack/copyutils.py -> pybackpack-0.5.8/pybackpack hard linking pybackpack/dialogs.py -> pybackpack-0.5.8/pybackpack hard linking pybackpack/filechooser.py -> pybackpack-0.5.8/pybackpack hard linking pybackpack/gui.py -> pybackpack-0.5.8/pybackpack hard linking pybackpack/loghandler.py -> pybackpack-0.5.8/pybackpack hard linking pybackpack/mkisofs.py -> pybackpack-0.5.8/pybackpack hard linking pybackpack/rdiff_interface.py -> pybackpack-0.5.8/pybackpack hard linking pybackpack/seteditor.py -> pybackpack-0.5.8/pybackpack hard linking pybackpack/version.py -> pybackpack-0.5.8/pybackpack hard linking scripts/pybackpack -> pybackpack-0.5.8/scripts tar -cf dist/pybackpack-0.5.8.tar pybackpack-0.5.8 gzip -f9 dist/pybackpack-0.5.8.tar removing 'pybackpack-0.5.8' (and everything under it) copying dist/pybackpack-0.5.8.tar.gz -> build/bdist.linux-i686/rpm/SOURCES building RPMs rpmbuild -ba --define _topdir /usr/src/pybackpack/build/bdist.linux-i686/rpm --clean build/bdist.linux-i686/rpm/SPECS/pybackpack.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.61581 + umask 022 + cd /usr/src/pybackpack/build/bdist.linux-i686/rpm/BUILD + LANG=C + export LANG + unset DISPLAY + cd /usr/src/pybackpack/build/bdist.linux-i686/rpm/BUILD + rm -rf pybackpack-0.5.8 + /bin/gzip -dc /usr/src/pybackpack/build/bdist.linux-i686/rpm/SOURCES/pybackpack-0.5.8.tar.gz + tar -xvvf - drwxr-xr-x root/root 0 2010-05-11 13:33:34 pybackpack-0.5.8/ -rwxr-xr-x root/root 2938 2010-05-11 13:17:22 pybackpack-0.5.8/setup.py drwxr-xr-x root/root 0 2010-05-11 13:33:34 pybackpack-0.5.8/pybackpack/ -rw-r--r-- root/root 3135 2010-05-11 13:17:22 pybackpack-0.5.8/pybackpack/filechooser.py -rw-r--r-- root/root 1059 2010-05-11 13:17:22 pybackpack-0.5.8/pybackpack/version.py -rw-r--r-- root/root 23677 2010-05-11 13:17:22 pybackpack-0.5.8/pybackpack/gui.py -rw-r--r-- root/root 7881 2010-05-11 13:17:22 pybackpack-0.5.8/pybackpack/seteditor.py -rw-r--r-- root/root 897 2010-05-11 13:17:22 pybackpack-0.5.8/pybackpack/copyutils.py -rw-r--r-- root/root 6522 2010-05-11 13:17:22 pybackpack-0.5.8/pybackpack/rdiff_interface.py -rw-r--r-- root/root 1861 2010-05-11 13:17:22 pybackpack-0.5.8/pybackpack/dialogs.py -rw-r--r-- root/root 1347 2010-05-11 13:17:22 pybackpack-0.5.8/pybackpack/backuptool.py -rw-r--r-- root/root 9610 2010-05-11 13:17:22 pybackpack-0.5.8/pybackpack/actions.py -rw-r--r-- root/root 0 2010-05-11 13:17:22 pybackpack-0.5.8/pybackpack/init.py -rw-r--r-- root/root 1089 2010-05-11 13:17:22 pybackpack-0.5.8/pybackpack/loghandler.py -rw-r--r-- root/root 14655 2010-05-11 13:17:22 pybackpack-0.5.8/pybackpack/backupsets.py -rw-r--r-- root/root 1985 2010-05-11 13:17:22 pybackpack-0.5.8/pybackpack/mkisofs.py -rw-r--r-- root/root 2599 2010-05-11 13:17:22 pybackpack-0.5.8/README -rw-r--r-- root/root 288 2010-05-11 13:33:34 pybackpack-0.5.8/PKG-INFO drwxr-xr-x root/root 0 2010-05-11 13:33:34 pybackpack-0.5.8/scripts/ -rwxr-xr-x root/root 77 2010-05-11 13:17:21 pybackpack-0.5.8/scripts/pybackpack + STATUS=0 + ' 0 -ne 0 ?' + cd pybackpack-0.5.8 ++ /usr/bin/id -u + ' 0 = 0 ?' + /bin/chown -Rhf root . ++ /usr/bin/id -u + ' 0 = 0 ?' + /bin/chgrp -Rhf root . + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.61581 + umask 022 + cd /usr/src/pybackpack/build/bdist.linux-i686/rpm/BUILD + cd pybackpack-0.5.8 + LANG=C + export LANG + unset DISPLAY + python setup.py build running build running build_py creating build creating build/lib creating build/lib/pybackpack copying pybackpack/filechooser.py -> build/lib/pybackpack copying pybackpack/version.py -> build/lib/pybackpack copying pybackpack/gui.py -> build/lib/pybackpack copying pybackpack/seteditor.py -> build/lib/pybackpack copying pybackpack/copyutils.py -> build/lib/pybackpack copying pybackpack/rdiff_interface.py -> build/lib/pybackpack copying pybackpack/dialogs.py -> build/lib/pybackpack copying pybackpack/backuptool.py -> build/lib/pybackpack copying pybackpack/actions.py -> build/lib/pybackpack copying pybackpack/init.py -> build/lib/pybackpack copying pybackpack/loghandler.py -> build/lib/pybackpack copying pybackpack/backupsets.py -> build/lib/pybackpack copying pybackpack/mkisofs.py -> build/lib/pybackpack running build_scripts creating build/scripts-2.4 copying and adjusting scripts/pybackpack -> build/scripts-2.4 changing mode of build/scripts-2.4/pybackpack from 644 to 755 running build_mo + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.61581 + umask 022 + cd /usr/src/pybackpack/build/bdist.linux-i686/rpm/BUILD + cd pybackpack-0.5.8 + LANG=C + export LANG + unset DISPLAY + python setup.py install --root=/var/tmp/pybackpack-0.5.8-1-buildroot --record=INSTALLED_FILES running install running build running build_py running build_scripts running build_mo running install_lib byte-compiling /var/tmp/pybackpack-0.5.8-1-buildroot/usr/lib/python2.4/site-packages/pybackpack/actions.py to actions.pyc
File "/usr/lib/python2.4/site-packages/pybackpack/actions.py", line 202
finally:
SyntaxError?: invalid syntax byte-compiling /var/tmp/pybackpack-0.5.8-1-buildroot/usr/lib/python2.4/site-packages/pybackpack/backupsets.py to backupsets.pyc
File "/usr/lib/python2.4/site-packages/pybackpack/backupsets.py", line 12
class BackupAction?():
SyntaxError?: invalid syntax running install_scripts copying build/scripts-2.4/pybackpack -> /var/tmp/pybackpack-0.5.8-1-buildroot/usr/bin changing mode of /var/tmp/pybackpack-0.5.8-1-buildroot/usr/bin/pybackpack to 755 running install_data error: can't copy 'data/pybackpack.desktop': doesn't exist or not a regular file error: Bad exit status from /var/tmp/rpm-tmp.61581 (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.61581 (%install)
error: command 'rpmbuild' failed with exit status 1 [root@srv1 pybackpack]# ./setup.py bdist_rpm > txt + umask 022 + cd /usr/src/pybackpack/build/bdist.linux-i686/rpm/BUILD + LANG=C + export LANG + unset DISPLAY + cd /usr/src/pybackpack/build/bdist.linux-i686/rpm/BUILD + rm -rf pybackpack-0.5.8 + /bin/gzip -dc /usr/src/pybackpack/build/bdist.linux-i686/rpm/SOURCES/pybackpack-0.5.8.tar.gz + tar -xvvf - + STATUS=0 + ' 0 -ne 0 ?' + cd pybackpack-0.5.8 ++ /usr/bin/id -u + ' 0 = 0 ?' + /bin/chown -Rhf root . ++ /usr/bin/id -u + ' 0 = 0 ?' + /bin/chgrp -Rhf root . + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 + umask 022 + cd /usr/src/pybackpack/build/bdist.linux-i686/rpm/BUILD + cd pybackpack-0.5.8 + LANG=C + export LANG + unset DISPLAY + python setup.py build + exit 0 + umask 022 + cd /usr/src/pybackpack/build/bdist.linux-i686/rpm/BUILD + cd pybackpack-0.5.8 + LANG=C + export LANG + unset DISPLAY + python setup.py install --root=/var/tmp/pybackpack-0.5.8-1-buildroot --record=INSTALLED_FILES
File "/usr/lib/python2.4/site-packages/pybackpack/actions.py", line 202
finally:
SyntaxError?: invalid syntax
File "/usr/lib/python2.4/site-packages/pybackpack/backupsets.py", line 12
class BackupAction?():
SyntaxError?: invalid syntax error: can't copy 'data/pybackpack.desktop': doesn't exist or not a regular file error: Bad exit status from /var/tmp/rpm-tmp.80464 (%install)
Bad exit status from /var/tmp/rpm-tmp.80464 (%install)
error: command 'rpmbuild' failed with exit status 1 [root@srv1 pybackpack]#
