[Python-Dev] Problems building python2.4 SRPM on RHEL4 x64

Eric B. ebenze at hotmail.com
Sat Mar 15 05:57:51 CET 2008


Hi,

I appologize if this is not the right place to post this, but searching 
through the old archives, I ran across the same issue from 3 years ago, but 
I cannot find the resolution to it.

Currently, I am trying to build the python2.4 SRPM from Python.org on a 
CentOS4.6_x64 platform, but the build is failing with a very non-descript 
error message.

....
+ cd /var/tmp/python2.4-2.4-root/usr/bin
+ mv -f pydoc pydoc2.4
+ cd /var/tmp/python2.4-2.4-root/usr/bin
+ mv -f idle idle2.4
+ echo '#!/bin/bash'
+ echo 'exec /usr/bin/python2.4 /usr/lib64/python2.4/idlelib/idle.py'
+ chmod 755 /var/tmp/python2.4-2.4-root/usr/bin/idle2.4
+ cp -a Tools /var/tmp/python2.4-2.4-root/usr/lib64/python2.4
+ rm -f mainpkg.files
+ find /var/tmp/python2.4-2.4-root/usr/lib64/python2.4/lib-dynload -type f
+ sed 's|^/var/tmp/python2.4-2.4-root|/|'
+ grep -v -e '_tkinter.so$'
error: Bad exit status from /var/tmp/rpm-tmp.55639 (%install)


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



The old post I found about this can be found here:
http://mail.python.org/pipermail/python-bugs-list/2005-October/030670.html

I checked the var/tmp/python2.4-2.4-root/usr/lib64 directories and see 
plenty of files in there, but not sure what I should be looking for.

Can anyone point me in the right direction?  Am not sure what to be looking 
for in order to get this to work.

Thanks!

Eric





More information about the Python-Dev mailing list