Hello List,
I am attempting to build an rpm from Python-3.1.3.tar.bz2 with the included spec file from /Python-3.1.3/Misc/RPM/ and it fails with the following error: Does anyone have any ideas? # rpmbuild -ba python-3.1.spec mv: cannot stat `idle': No such file or directory + echo '#!/usr/bin/env python2.6' + echo 'import os, sys' + echo 'os.execvp("/usr/bin/python2.6", ["/usr/bin/python2.6", "/usr/lib/python3.1/idlelib/idle.py"] + sys.argv[1:])' + echo 'print "Failed to exec Idle"' + echo 'sys.exit(1)' + chmod 755 /var/tmp/python2.6-3.1.3-root/usr/bin/idle2.6 + cp -a Tools /var/tmp/python2.6-3.1.3-root/usr/lib64/python3.1 + rm -f mainpkg.files + find /var/tmp/python2.6-3.1.3-root/usr/lib64/python3.1/lib-dynload -type f + sed 's|^/var/tmp/python2.6-3.1.3-root|/|' + grep -v -e '_tkinter.so$' error: Bad exit status from /var/tmp/rpm-tmp.7647 (%install) /var/tmp/rpm-tmp.7647 include the following: # check to see if there are any straggling #! lines find "$RPM_BUILD_ROOT" -type f | xargs egrep -n '^#! */usr/local/bin/python' \ | grep ':1:#!' >/tmp/python-rpm-files.$$ || true if [ -s /tmp/python-rpm-files.$$ ] then echo '*****************************************************' cat /tmp/python-rpm-files.$$ cat <<@EOF ***************************************************** There are still files referencing /usr/local/bin/python in the install directory. They are listed above. Please fix the .spec file and try again. If you are an end-user, you probably want to report this to jafo-r...@tummy.com as well. ***************************************************** @EOF rm -f /tmp/python-rpm-files.$$ exit 1 fi rm -f /tmp/python-rpm-files.$$ ######## # CLEAN ######## /usr/lib/rpm/brp-compress /usr/lib/rpm/brp-strip /usr/lib/rpm/brp-strip-static-archive /usr/lib/rpm/brp-strip-comment-note
-- http://mail.python.org/mailman/listinfo/python-list