471,337 Members | 1,088 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

Psyco distutils problem

Hi -

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

xpc5:~/psyco-1.1.1> python setup.py 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 setup.py build
Traceback (most recent call last):
File "setup.py", line 83, in ?
execfile(os.path.join(SOURCEDIR, 'files.py'), data)
IOError: [Errno 2] No such file or directory: 'c/files.py'
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 setup.py bdist does actually work.

Thanks

Jeremy

Jul 18 '05 #1
0 1183

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by KefX | last post: by
7 posts views Thread by Ivan Voras | last post: by
15 posts views Thread by Colin J. Williams | last post: by
3 posts views Thread by Dick Moores | last post: by
7 posts views Thread by Frans Englich | last post: by
reply views Thread by Maarten Sneep | last post: by
5 posts views Thread by Fausto Arinos Barbuto | last post: by
6 posts views Thread by ajikoe | last post: by
6 posts views Thread by danmcleran | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.