By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,007 Members | 1,020 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,007 IT Pros & Developers. It's quick & easy.

Psyco distutils problem

P: n/a
Hi -

I'm trying to build a Psyco rpm on Fedora 1. I try the command

xpc5:~/psyco-1.1.1> python bdist_rpm

this fails with:

copying dist/psyco-1.1.1.tar.gz -> build/bdist.linux-i686/rpm/SOURCES
building RPMs
rpmbuild -ba --define _topdir /home/jss/psyco-1.1.1/build/bdist.linux-i686/rpm --clean build/bdist.linux-i686/rpm/SPECS/psyco.spec
error: File /home/jss/psyco-1.1.1/build/bdist.linux-i686/rpm/psyco/psyco-1.1.1.tar.gz: No such file or directory
error: command 'rpmbuild' failed with exit status 1

If I then copy the missing file it fails with

+ unset DISPLAY
+ env 'CFLAGS=-O2 -g -pipe -march=i386 -mcpu=i686' python build
Traceback (most recent call last):
File "", line 83, in ?
execfile(os.path.join(SOURCEDIR, ''), data)
IOError: [Errno 2] No such file or directory: 'c/'
error: Bad exit status from /home/jss/psyco-1.1.1/build/bdist.linux-i686/rpm/tmp/rpm-tmp.23601 (%build)
RPM build errors:
Bad exit status from /home/jss/psyco-1.1.1/build/bdist.linux-i686/rpm/tmp/rpm-tmp.23601 (%build)
error: command 'rpmbuild' failed with exit status 1

So it looks like some files aren't being copied. I'm a distutils newbie,
so can someone suggest whether this is a Psyco problem, a Fedora problem,
an RPM problem or what?

Just doing bdist does actually work.



Jul 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.